]>
Commit | Line | Data |
---|---|---|
f05326ba RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3 | * Version 1.3.29 | |
4 | * | |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | #define SWIG_PYTHON_DIRECTOR_NO_VTABLE | |
13 | ||
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
27 | }; | |
28 | #endif | |
29 | ||
30 | /* ----------------------------------------------------------------------------- | |
31 | * This section contains generic SWIG labels for method/variable | |
32 | * declarations/attributes, and other compiler dependent labels. | |
33 | * ----------------------------------------------------------------------------- */ | |
34 | ||
35 | /* template workaround for compilers that cannot correctly implement the C++ standard */ | |
36 | #ifndef SWIGTEMPLATEDISAMBIGUATOR | |
37 | # if defined(__SUNPRO_CC) | |
38 | # if (__SUNPRO_CC <= 0x560) | |
39 | # define SWIGTEMPLATEDISAMBIGUATOR template | |
40 | # else | |
41 | # define SWIGTEMPLATEDISAMBIGUATOR | |
42 | # endif | |
43 | # else | |
44 | # define SWIGTEMPLATEDISAMBIGUATOR | |
45 | # endif | |
46 | #endif | |
47 | ||
48 | /* inline attribute */ | |
49 | #ifndef SWIGINLINE | |
50 | # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) | |
51 | # define SWIGINLINE inline | |
52 | # else | |
53 | # define SWIGINLINE | |
54 | # endif | |
55 | #endif | |
56 | ||
57 | /* attribute recognised by some compilers to avoid 'unused' warnings */ | |
58 | #ifndef SWIGUNUSED | |
59 | # if defined(__GNUC__) | |
60 | # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) | |
61 | # define SWIGUNUSED __attribute__ ((__unused__)) | |
62 | # else | |
63 | # define SWIGUNUSED | |
64 | # endif | |
65 | # elif defined(__ICC) | |
66 | # define SWIGUNUSED __attribute__ ((__unused__)) | |
67 | # else | |
68 | # define SWIGUNUSED | |
69 | # endif | |
70 | #endif | |
71 | ||
72 | #ifndef SWIGUNUSEDPARM | |
73 | # ifdef __cplusplus | |
74 | # define SWIGUNUSEDPARM(p) | |
75 | # else | |
76 | # define SWIGUNUSEDPARM(p) p SWIGUNUSED | |
77 | # endif | |
78 | #endif | |
79 | ||
80 | /* internal SWIG method */ | |
81 | #ifndef SWIGINTERN | |
82 | # define SWIGINTERN static SWIGUNUSED | |
83 | #endif | |
84 | ||
85 | /* internal inline SWIG method */ | |
86 | #ifndef SWIGINTERNINLINE | |
87 | # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE | |
88 | #endif | |
89 | ||
90 | /* exporting methods */ | |
91 | #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) | |
92 | # ifndef GCC_HASCLASSVISIBILITY | |
93 | # define GCC_HASCLASSVISIBILITY | |
94 | # endif | |
95 | #endif | |
96 | ||
97 | #ifndef SWIGEXPORT | |
98 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
99 | # if defined(STATIC_LINKED) | |
100 | # define SWIGEXPORT | |
101 | # else | |
102 | # define SWIGEXPORT __declspec(dllexport) | |
103 | # endif | |
104 | # else | |
105 | # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) | |
106 | # define SWIGEXPORT __attribute__ ((visibility("default"))) | |
107 | # else | |
108 | # define SWIGEXPORT | |
109 | # endif | |
110 | # endif | |
111 | #endif | |
112 | ||
113 | /* calling conventions for Windows */ | |
114 | #ifndef SWIGSTDCALL | |
115 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
116 | # define SWIGSTDCALL __stdcall | |
117 | # else | |
118 | # define SWIGSTDCALL | |
119 | # endif | |
120 | #endif | |
121 | ||
122 | /* Deal with Microsoft's attempt at deprecating C standard runtime functions */ | |
123 | #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) | |
124 | # define _CRT_SECURE_NO_DEPRECATE | |
125 | #endif | |
126 | ||
127 | ||
128 | /* Python.h has to appear first */ | |
129 | #include <Python.h> | |
130 | ||
131 | /* ----------------------------------------------------------------------------- | |
132 | * swigrun.swg | |
133 | * | |
134 | * This file contains generic CAPI SWIG runtime support for pointer | |
135 | * type checking. | |
136 | * ----------------------------------------------------------------------------- */ | |
137 | ||
138 | /* This should only be incremented when either the layout of swig_type_info changes, | |
139 | or for whatever reason, the runtime changes incompatibly */ | |
140 | #define SWIG_RUNTIME_VERSION "2" | |
141 | ||
142 | /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ | |
143 | #ifdef SWIG_TYPE_TABLE | |
144 | # define SWIG_QUOTE_STRING(x) #x | |
145 | # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) | |
146 | # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) | |
147 | #else | |
148 | # define SWIG_TYPE_TABLE_NAME | |
149 | #endif | |
150 | ||
151 | /* | |
152 | You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for | |
153 | creating a static or dynamic library from the swig runtime code. | |
154 | In 99.9% of the cases, swig just needs to declare them as 'static'. | |
155 | ||
156 | But only do this if is strictly necessary, ie, if you have problems | |
157 | with your compiler or so. | |
158 | */ | |
159 | ||
160 | #ifndef SWIGRUNTIME | |
161 | # define SWIGRUNTIME SWIGINTERN | |
162 | #endif | |
163 | ||
164 | #ifndef SWIGRUNTIMEINLINE | |
165 | # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE | |
166 | #endif | |
167 | ||
168 | /* Generic buffer size */ | |
169 | #ifndef SWIG_BUFFER_SIZE | |
170 | # define SWIG_BUFFER_SIZE 1024 | |
171 | #endif | |
172 | ||
173 | /* Flags for pointer conversions */ | |
174 | #define SWIG_POINTER_DISOWN 0x1 | |
175 | ||
176 | /* Flags for new pointer objects */ | |
177 | #define SWIG_POINTER_OWN 0x1 | |
178 | ||
179 | ||
180 | /* | |
181 | Flags/methods for returning states. | |
182 | ||
183 | The swig conversion methods, as ConvertPtr, return and integer | |
184 | that tells if the conversion was successful or not. And if not, | |
185 | an error code can be returned (see swigerrors.swg for the codes). | |
186 | ||
187 | Use the following macros/flags to set or process the returning | |
188 | states. | |
189 | ||
190 | In old swig versions, you usually write code as: | |
191 | ||
192 | if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { | |
193 | // success code | |
194 | } else { | |
195 | //fail code | |
196 | } | |
197 | ||
198 | Now you can be more explicit as: | |
199 | ||
200 | int res = SWIG_ConvertPtr(obj,vptr,ty.flags); | |
201 | if (SWIG_IsOK(res)) { | |
202 | // success code | |
203 | } else { | |
204 | // fail code | |
205 | } | |
206 | ||
207 | that seems to be the same, but now you can also do | |
208 | ||
209 | Type *ptr; | |
210 | int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); | |
211 | if (SWIG_IsOK(res)) { | |
212 | // success code | |
213 | if (SWIG_IsNewObj(res) { | |
214 | ... | |
215 | delete *ptr; | |
216 | } else { | |
217 | ... | |
218 | } | |
219 | } else { | |
220 | // fail code | |
221 | } | |
222 | ||
223 | I.e., now SWIG_ConvertPtr can return new objects and you can | |
224 | identify the case and take care of the deallocation. Of course that | |
225 | requires also to SWIG_ConvertPtr to return new result values, as | |
226 | ||
227 | int SWIG_ConvertPtr(obj, ptr,...) { | |
228 | if (<obj is ok>) { | |
229 | if (<need new object>) { | |
230 | *ptr = <ptr to new allocated object>; | |
231 | return SWIG_NEWOBJ; | |
232 | } else { | |
233 | *ptr = <ptr to old object>; | |
234 | return SWIG_OLDOBJ; | |
235 | } | |
236 | } else { | |
237 | return SWIG_BADOBJ; | |
238 | } | |
239 | } | |
240 | ||
241 | Of course, returning the plain '0(success)/-1(fail)' still works, but you can be | |
242 | more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the | |
243 | swig errors code. | |
244 | ||
245 | Finally, if the SWIG_CASTRANK_MODE is enabled, the result code | |
246 | allows to return the 'cast rank', for example, if you have this | |
247 | ||
248 | int food(double) | |
249 | int fooi(int); | |
250 | ||
251 | and you call | |
252 | ||
253 | food(1) // cast rank '1' (1 -> 1.0) | |
254 | fooi(1) // cast rank '0' | |
255 | ||
256 | just use the SWIG_AddCast()/SWIG_CheckState() | |
257 | ||
258 | ||
259 | */ | |
260 | #define SWIG_OK (0) | |
261 | #define SWIG_ERROR (-1) | |
262 | #define SWIG_IsOK(r) (r >= 0) | |
263 | #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) | |
264 | ||
265 | /* The CastRankLimit says how many bits are used for the cast rank */ | |
266 | #define SWIG_CASTRANKLIMIT (1 << 8) | |
267 | /* The NewMask denotes the object was created (using new/malloc) */ | |
268 | #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1) | |
269 | /* The TmpMask is for in/out typemaps that use temporal objects */ | |
270 | #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1) | |
271 | /* Simple returning values */ | |
272 | #define SWIG_BADOBJ (SWIG_ERROR) | |
273 | #define SWIG_OLDOBJ (SWIG_OK) | |
274 | #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) | |
275 | #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) | |
276 | /* Check, add and del mask methods */ | |
277 | #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) | |
278 | #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) | |
279 | #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) | |
280 | #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) | |
281 | #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) | |
282 | #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) | |
283 | ||
284 | ||
285 | /* Cast-Rank Mode */ | |
286 | #if defined(SWIG_CASTRANK_MODE) | |
287 | # ifndef SWIG_TypeRank | |
288 | # define SWIG_TypeRank unsigned long | |
289 | # endif | |
290 | # ifndef SWIG_MAXCASTRANK /* Default cast allowed */ | |
291 | # define SWIG_MAXCASTRANK (2) | |
292 | # endif | |
293 | # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1) | |
294 | # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK) | |
295 | SWIGINTERNINLINE int SWIG_AddCast(int r) { | |
296 | return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; | |
297 | } | |
298 | SWIGINTERNINLINE int SWIG_CheckState(int r) { | |
299 | return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; | |
300 | } | |
301 | #else /* no cast-rank mode */ | |
302 | # define SWIG_AddCast | |
303 | # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) | |
304 | #endif | |
305 | ||
306 | ||
307 | ||
308 | ||
309 | #include <string.h> | |
310 | ||
311 | #ifdef __cplusplus | |
312 | extern "C" { | |
313 | #endif | |
314 | ||
315 | typedef void *(*swig_converter_func)(void *); | |
316 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
317 | ||
318 | /* Structure to store inforomation on one type */ | |
319 | typedef struct swig_type_info { | |
320 | const char *name; /* mangled name of this type */ | |
321 | const char *str; /* human readable name of this type */ | |
322 | swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ | |
323 | struct swig_cast_info *cast; /* linked list of types that can cast into this type */ | |
324 | void *clientdata; /* language specific type data */ | |
325 | int owndata; /* flag if the structure owns the clientdata */ | |
326 | } swig_type_info; | |
327 | ||
328 | /* Structure to store a type and conversion function used for casting */ | |
329 | typedef struct swig_cast_info { | |
330 | swig_type_info *type; /* pointer to type that is equivalent to this type */ | |
331 | swig_converter_func converter; /* function to cast the void pointers */ | |
332 | struct swig_cast_info *next; /* pointer to next cast in linked list */ | |
333 | struct swig_cast_info *prev; /* pointer to the previous cast */ | |
334 | } swig_cast_info; | |
335 | ||
336 | /* Structure used to store module information | |
337 | * Each module generates one structure like this, and the runtime collects | |
338 | * all of these structures and stores them in a circularly linked list.*/ | |
339 | typedef struct swig_module_info { | |
340 | swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ | |
341 | size_t size; /* Number of types in this module */ | |
342 | struct swig_module_info *next; /* Pointer to next element in circularly linked list */ | |
343 | swig_type_info **type_initial; /* Array of initially generated type structures */ | |
344 | swig_cast_info **cast_initial; /* Array of initially generated casting structures */ | |
345 | void *clientdata; /* Language specific module data */ | |
346 | } swig_module_info; | |
347 | ||
348 | /* | |
349 | Compare two type names skipping the space characters, therefore | |
350 | "char*" == "char *" and "Class<int>" == "Class<int >", etc. | |
351 | ||
352 | Return 0 when the two name types are equivalent, as in | |
353 | strncmp, but skipping ' '. | |
354 | */ | |
355 | SWIGRUNTIME int | |
356 | SWIG_TypeNameComp(const char *f1, const char *l1, | |
357 | const char *f2, const char *l2) { | |
358 | for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { | |
359 | while ((*f1 == ' ') && (f1 != l1)) ++f1; | |
360 | while ((*f2 == ' ') && (f2 != l2)) ++f2; | |
361 | if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; | |
362 | } | |
363 | return (l1 - f1) - (l2 - f2); | |
364 | } | |
365 | ||
366 | /* | |
367 | Check type equivalence in a name list like <name1>|<name2>|... | |
368 | Return 0 if not equal, 1 if equal | |
369 | */ | |
370 | SWIGRUNTIME int | |
371 | SWIG_TypeEquiv(const char *nb, const char *tb) { | |
372 | int equiv = 0; | |
373 | const char* te = tb + strlen(tb); | |
374 | const char* ne = nb; | |
375 | while (!equiv && *ne) { | |
376 | for (nb = ne; *ne; ++ne) { | |
377 | if (*ne == '|') break; | |
378 | } | |
379 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; | |
380 | if (*ne) ++ne; | |
381 | } | |
382 | return equiv; | |
383 | } | |
384 | ||
385 | /* | |
386 | Check type equivalence in a name list like <name1>|<name2>|... | |
387 | Return 0 if equal, -1 if nb < tb, 1 if nb > tb | |
388 | */ | |
389 | SWIGRUNTIME int | |
390 | SWIG_TypeCompare(const char *nb, const char *tb) { | |
391 | int equiv = 0; | |
392 | const char* te = tb + strlen(tb); | |
393 | const char* ne = nb; | |
394 | while (!equiv && *ne) { | |
395 | for (nb = ne; *ne; ++ne) { | |
396 | if (*ne == '|') break; | |
397 | } | |
398 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; | |
399 | if (*ne) ++ne; | |
400 | } | |
401 | return equiv; | |
402 | } | |
403 | ||
404 | ||
405 | /* think of this as a c++ template<> or a scheme macro */ | |
406 | #define SWIG_TypeCheck_Template(comparison, ty) \ | |
407 | if (ty) { \ | |
408 | swig_cast_info *iter = ty->cast; \ | |
409 | while (iter) { \ | |
410 | if (comparison) { \ | |
411 | if (iter == ty->cast) return iter; \ | |
412 | /* Move iter to the top of the linked list */ \ | |
413 | iter->prev->next = iter->next; \ | |
414 | if (iter->next) \ | |
415 | iter->next->prev = iter->prev; \ | |
416 | iter->next = ty->cast; \ | |
417 | iter->prev = 0; \ | |
418 | if (ty->cast) ty->cast->prev = iter; \ | |
419 | ty->cast = iter; \ | |
420 | return iter; \ | |
421 | } \ | |
422 | iter = iter->next; \ | |
423 | } \ | |
424 | } \ | |
425 | return 0 | |
426 | ||
427 | /* | |
428 | Check the typename | |
429 | */ | |
430 | SWIGRUNTIME swig_cast_info * | |
431 | SWIG_TypeCheck(const char *c, swig_type_info *ty) { | |
432 | SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); | |
433 | } | |
434 | ||
435 | /* Same as previous function, except strcmp is replaced with a pointer comparison */ | |
436 | SWIGRUNTIME swig_cast_info * | |
437 | SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { | |
438 | SWIG_TypeCheck_Template(iter->type == from, into); | |
439 | } | |
440 | ||
441 | /* | |
442 | Cast a pointer up an inheritance hierarchy | |
443 | */ | |
444 | SWIGRUNTIMEINLINE void * | |
445 | SWIG_TypeCast(swig_cast_info *ty, void *ptr) { | |
446 | return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); | |
447 | } | |
448 | ||
449 | /* | |
450 | Dynamic pointer casting. Down an inheritance hierarchy | |
451 | */ | |
452 | SWIGRUNTIME swig_type_info * | |
453 | SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { | |
454 | swig_type_info *lastty = ty; | |
455 | if (!ty || !ty->dcast) return ty; | |
456 | while (ty && (ty->dcast)) { | |
457 | ty = (*ty->dcast)(ptr); | |
458 | if (ty) lastty = ty; | |
459 | } | |
460 | return lastty; | |
461 | } | |
462 | ||
463 | /* | |
464 | Return the name associated with this type | |
465 | */ | |
466 | SWIGRUNTIMEINLINE const char * | |
467 | SWIG_TypeName(const swig_type_info *ty) { | |
468 | return ty->name; | |
469 | } | |
470 | ||
471 | /* | |
472 | Return the pretty name associated with this type, | |
473 | that is an unmangled type name in a form presentable to the user. | |
474 | */ | |
475 | SWIGRUNTIME const char * | |
476 | SWIG_TypePrettyName(const swig_type_info *type) { | |
477 | /* The "str" field contains the equivalent pretty names of the | |
478 | type, separated by vertical-bar characters. We choose | |
479 | to print the last name, as it is often (?) the most | |
480 | specific. */ | |
481 | if (!type) return NULL; | |
482 | if (type->str != NULL) { | |
483 | const char *last_name = type->str; | |
484 | const char *s; | |
485 | for (s = type->str; *s; s++) | |
486 | if (*s == '|') last_name = s+1; | |
487 | return last_name; | |
488 | } | |
489 | else | |
490 | return type->name; | |
491 | } | |
492 | ||
493 | /* | |
494 | Set the clientdata field for a type | |
495 | */ | |
496 | SWIGRUNTIME void | |
497 | SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { | |
498 | swig_cast_info *cast = ti->cast; | |
499 | /* if (ti->clientdata == clientdata) return; */ | |
500 | ti->clientdata = clientdata; | |
501 | ||
502 | while (cast) { | |
503 | if (!cast->converter) { | |
504 | swig_type_info *tc = cast->type; | |
505 | if (!tc->clientdata) { | |
506 | SWIG_TypeClientData(tc, clientdata); | |
507 | } | |
508 | } | |
509 | cast = cast->next; | |
510 | } | |
511 | } | |
512 | SWIGRUNTIME void | |
513 | SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) { | |
514 | SWIG_TypeClientData(ti, clientdata); | |
515 | ti->owndata = 1; | |
516 | } | |
517 | ||
518 | /* | |
519 | Search for a swig_type_info structure only by mangled name | |
520 | Search is a O(log #types) | |
521 | ||
522 | We start searching at module start, and finish searching when start == end. | |
523 | Note: if start == end at the beginning of the function, we go all the way around | |
524 | the circular list. | |
525 | */ | |
526 | SWIGRUNTIME swig_type_info * | |
527 | SWIG_MangledTypeQueryModule(swig_module_info *start, | |
528 | swig_module_info *end, | |
529 | const char *name) { | |
530 | swig_module_info *iter = start; | |
531 | do { | |
532 | if (iter->size) { | |
533 | register size_t l = 0; | |
534 | register size_t r = iter->size - 1; | |
535 | do { | |
536 | /* since l+r >= 0, we can (>> 1) instead (/ 2) */ | |
537 | register size_t i = (l + r) >> 1; | |
538 | const char *iname = iter->types[i]->name; | |
539 | if (iname) { | |
540 | register int compare = strcmp(name, iname); | |
541 | if (compare == 0) { | |
542 | return iter->types[i]; | |
543 | } else if (compare < 0) { | |
544 | if (i) { | |
545 | r = i - 1; | |
546 | } else { | |
547 | break; | |
548 | } | |
549 | } else if (compare > 0) { | |
550 | l = i + 1; | |
551 | } | |
552 | } else { | |
553 | break; /* should never happen */ | |
554 | } | |
555 | } while (l <= r); | |
556 | } | |
557 | iter = iter->next; | |
558 | } while (iter != end); | |
559 | return 0; | |
560 | } | |
561 | ||
562 | /* | |
563 | Search for a swig_type_info structure for either a mangled name or a human readable name. | |
564 | It first searches the mangled names of the types, which is a O(log #types) | |
565 | If a type is not found it then searches the human readable names, which is O(#types). | |
566 | ||
567 | We start searching at module start, and finish searching when start == end. | |
568 | Note: if start == end at the beginning of the function, we go all the way around | |
569 | the circular list. | |
570 | */ | |
571 | SWIGRUNTIME swig_type_info * | |
572 | SWIG_TypeQueryModule(swig_module_info *start, | |
573 | swig_module_info *end, | |
574 | const char *name) { | |
575 | /* STEP 1: Search the name field using binary search */ | |
576 | swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); | |
577 | if (ret) { | |
578 | return ret; | |
579 | } else { | |
580 | /* STEP 2: If the type hasn't been found, do a complete search | |
581 | of the str field (the human readable name) */ | |
582 | swig_module_info *iter = start; | |
583 | do { | |
584 | register size_t i = 0; | |
585 | for (; i < iter->size; ++i) { | |
586 | if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) | |
587 | return iter->types[i]; | |
588 | } | |
589 | iter = iter->next; | |
590 | } while (iter != end); | |
591 | } | |
592 | ||
593 | /* neither found a match */ | |
594 | return 0; | |
595 | } | |
596 | ||
597 | /* | |
598 | Pack binary data into a string | |
599 | */ | |
600 | SWIGRUNTIME char * | |
601 | SWIG_PackData(char *c, void *ptr, size_t sz) { | |
602 | static const char hex[17] = "0123456789abcdef"; | |
603 | register const unsigned char *u = (unsigned char *) ptr; | |
604 | register const unsigned char *eu = u + sz; | |
605 | for (; u != eu; ++u) { | |
606 | register unsigned char uu = *u; | |
607 | *(c++) = hex[(uu & 0xf0) >> 4]; | |
608 | *(c++) = hex[uu & 0xf]; | |
609 | } | |
610 | return c; | |
611 | } | |
612 | ||
613 | /* | |
614 | Unpack binary data from a string | |
615 | */ | |
616 | SWIGRUNTIME const char * | |
617 | SWIG_UnpackData(const char *c, void *ptr, size_t sz) { | |
618 | register unsigned char *u = (unsigned char *) ptr; | |
619 | register const unsigned char *eu = u + sz; | |
620 | for (; u != eu; ++u) { | |
621 | register char d = *(c++); | |
622 | register unsigned char uu; | |
623 | if ((d >= '0') && (d <= '9')) | |
624 | uu = ((d - '0') << 4); | |
625 | else if ((d >= 'a') && (d <= 'f')) | |
626 | uu = ((d - ('a'-10)) << 4); | |
627 | else | |
628 | return (char *) 0; | |
629 | d = *(c++); | |
630 | if ((d >= '0') && (d <= '9')) | |
631 | uu |= (d - '0'); | |
632 | else if ((d >= 'a') && (d <= 'f')) | |
633 | uu |= (d - ('a'-10)); | |
634 | else | |
635 | return (char *) 0; | |
636 | *u = uu; | |
637 | } | |
638 | return c; | |
639 | } | |
640 | ||
641 | /* | |
642 | Pack 'void *' into a string buffer. | |
643 | */ | |
644 | SWIGRUNTIME char * | |
645 | SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { | |
646 | char *r = buff; | |
647 | if ((2*sizeof(void *) + 2) > bsz) return 0; | |
648 | *(r++) = '_'; | |
649 | r = SWIG_PackData(r,&ptr,sizeof(void *)); | |
650 | if (strlen(name) + 1 > (bsz - (r - buff))) return 0; | |
651 | strcpy(r,name); | |
652 | return buff; | |
653 | } | |
654 | ||
655 | SWIGRUNTIME const char * | |
656 | SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { | |
657 | if (*c != '_') { | |
658 | if (strcmp(c,"NULL") == 0) { | |
659 | *ptr = (void *) 0; | |
660 | return name; | |
661 | } else { | |
662 | return 0; | |
663 | } | |
664 | } | |
665 | return SWIG_UnpackData(++c,ptr,sizeof(void *)); | |
666 | } | |
667 | ||
668 | SWIGRUNTIME char * | |
669 | SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { | |
670 | char *r = buff; | |
671 | size_t lname = (name ? strlen(name) : 0); | |
672 | if ((2*sz + 2 + lname) > bsz) return 0; | |
673 | *(r++) = '_'; | |
674 | r = SWIG_PackData(r,ptr,sz); | |
675 | if (lname) { | |
676 | strncpy(r,name,lname+1); | |
677 | } else { | |
678 | *r = 0; | |
679 | } | |
680 | return buff; | |
681 | } | |
682 | ||
683 | SWIGRUNTIME const char * | |
684 | SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { | |
685 | if (*c != '_') { | |
686 | if (strcmp(c,"NULL") == 0) { | |
687 | memset(ptr,0,sz); | |
688 | return name; | |
689 | } else { | |
690 | return 0; | |
691 | } | |
692 | } | |
693 | return SWIG_UnpackData(++c,ptr,sz); | |
694 | } | |
695 | ||
696 | #ifdef __cplusplus | |
697 | } | |
698 | #endif | |
699 | ||
700 | /* Errors in SWIG */ | |
701 | #define SWIG_UnknownError -1 | |
702 | #define SWIG_IOError -2 | |
703 | #define SWIG_RuntimeError -3 | |
704 | #define SWIG_IndexError -4 | |
705 | #define SWIG_TypeError -5 | |
706 | #define SWIG_DivisionByZero -6 | |
707 | #define SWIG_OverflowError -7 | |
708 | #define SWIG_SyntaxError -8 | |
709 | #define SWIG_ValueError -9 | |
710 | #define SWIG_SystemError -10 | |
711 | #define SWIG_AttributeError -11 | |
712 | #define SWIG_MemoryError -12 | |
713 | #define SWIG_NullReferenceError -13 | |
714 | ||
715 | ||
716 | ||
717 | /* Python.h has to appear first */ | |
718 | #include <Python.h> | |
719 | ||
720 | /* Add PyOS_snprintf for old Pythons */ | |
721 | #if PY_VERSION_HEX < 0x02020000 | |
722 | # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM) | |
723 | # define PyOS_snprintf _snprintf | |
724 | # else | |
725 | # define PyOS_snprintf snprintf | |
726 | # endif | |
727 | #endif | |
728 | ||
729 | /* A crude PyString_FromFormat implementation for old Pythons */ | |
730 | #if PY_VERSION_HEX < 0x02020000 | |
731 | ||
732 | #ifndef SWIG_PYBUFFER_SIZE | |
733 | # define SWIG_PYBUFFER_SIZE 1024 | |
734 | #endif | |
735 | ||
736 | static PyObject * | |
737 | PyString_FromFormat(const char *fmt, ...) { | |
738 | va_list ap; | |
739 | char buf[SWIG_PYBUFFER_SIZE * 2]; | |
740 | int res; | |
741 | va_start(ap, fmt); | |
742 | res = vsnprintf(buf, sizeof(buf), fmt, ap); | |
743 | va_end(ap); | |
744 | return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf); | |
745 | } | |
746 | #endif | |
747 | ||
748 | /* Add PyObject_Del for old Pythons */ | |
749 | #if PY_VERSION_HEX < 0x01060000 | |
750 | # define PyObject_Del(op) PyMem_DEL((op)) | |
751 | #endif | |
752 | #ifndef PyObject_DEL | |
753 | # define PyObject_DEL PyObject_Del | |
754 | #endif | |
755 | ||
756 | /* A crude PyExc_StopIteration exception for old Pythons */ | |
757 | #if PY_VERSION_HEX < 0x02020000 | |
758 | # ifndef PyExc_StopIteration | |
759 | # define PyExc_StopIteration PyExc_RuntimeError | |
760 | # endif | |
761 | # ifndef PyObject_GenericGetAttr | |
762 | # define PyObject_GenericGetAttr 0 | |
763 | # endif | |
764 | #endif | |
765 | /* Py_NotImplemented is defined in 2.1 and up. */ | |
766 | #if PY_VERSION_HEX < 0x02010000 | |
767 | # ifndef Py_NotImplemented | |
768 | # define Py_NotImplemented PyExc_RuntimeError | |
769 | # endif | |
770 | #endif | |
771 | ||
772 | ||
773 | /* A crude PyString_AsStringAndSize implementation for old Pythons */ | |
774 | #if PY_VERSION_HEX < 0x02010000 | |
775 | # ifndef PyString_AsStringAndSize | |
776 | # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} | |
777 | # endif | |
778 | #endif | |
779 | ||
780 | /* PySequence_Size for old Pythons */ | |
781 | #if PY_VERSION_HEX < 0x02000000 | |
782 | # ifndef PySequence_Size | |
783 | # define PySequence_Size PySequence_Length | |
784 | # endif | |
785 | #endif | |
786 | ||
787 | ||
788 | /* PyBool_FromLong for old Pythons */ | |
789 | #if PY_VERSION_HEX < 0x02030000 | |
790 | static | |
791 | PyObject *PyBool_FromLong(long ok) | |
792 | { | |
793 | PyObject *result = ok ? Py_True : Py_False; | |
794 | Py_INCREF(result); | |
795 | return result; | |
796 | } | |
797 | #endif | |
798 | ||
799 | ||
800 | /* ----------------------------------------------------------------------------- | |
801 | * error manipulation | |
802 | * ----------------------------------------------------------------------------- */ | |
803 | ||
804 | SWIGRUNTIME PyObject* | |
805 | SWIG_Python_ErrorType(int code) { | |
806 | PyObject* type = 0; | |
807 | switch(code) { | |
808 | case SWIG_MemoryError: | |
809 | type = PyExc_MemoryError; | |
810 | break; | |
811 | case SWIG_IOError: | |
812 | type = PyExc_IOError; | |
813 | break; | |
814 | case SWIG_RuntimeError: | |
815 | type = PyExc_RuntimeError; | |
816 | break; | |
817 | case SWIG_IndexError: | |
818 | type = PyExc_IndexError; | |
819 | break; | |
820 | case SWIG_TypeError: | |
821 | type = PyExc_TypeError; | |
822 | break; | |
823 | case SWIG_DivisionByZero: | |
824 | type = PyExc_ZeroDivisionError; | |
825 | break; | |
826 | case SWIG_OverflowError: | |
827 | type = PyExc_OverflowError; | |
828 | break; | |
829 | case SWIG_SyntaxError: | |
830 | type = PyExc_SyntaxError; | |
831 | break; | |
832 | case SWIG_ValueError: | |
833 | type = PyExc_ValueError; | |
834 | break; | |
835 | case SWIG_SystemError: | |
836 | type = PyExc_SystemError; | |
837 | break; | |
838 | case SWIG_AttributeError: | |
839 | type = PyExc_AttributeError; | |
840 | break; | |
841 | default: | |
842 | type = PyExc_RuntimeError; | |
843 | } | |
844 | return type; | |
845 | } | |
846 | ||
847 | ||
848 | SWIGRUNTIME void | |
849 | SWIG_Python_AddErrorMsg(const char* mesg) | |
850 | { | |
851 | PyObject *type = 0; | |
852 | PyObject *value = 0; | |
853 | PyObject *traceback = 0; | |
854 | ||
855 | if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback); | |
856 | if (value) { | |
857 | PyObject *old_str = PyObject_Str(value); | |
858 | PyErr_Clear(); | |
859 | Py_XINCREF(type); | |
860 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
861 | Py_DECREF(old_str); | |
862 | Py_DECREF(value); | |
863 | } else { | |
864 | PyErr_Format(PyExc_RuntimeError, mesg); | |
865 | } | |
866 | } | |
867 | ||
868 | ||
869 | ||
870 | #if defined(SWIG_PYTHON_NO_THREADS) | |
871 | # if defined(SWIG_PYTHON_THREADS) | |
872 | # undef SWIG_PYTHON_THREADS | |
873 | # endif | |
874 | #endif | |
875 | #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */ | |
876 | # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) | |
877 | # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */ | |
878 | # define SWIG_PYTHON_USE_GIL | |
879 | # endif | |
880 | # endif | |
881 | # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ | |
882 | # ifndef SWIG_PYTHON_INITIALIZE_THREADS | |
883 | # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() | |
884 | # endif | |
885 | # ifdef __cplusplus /* C++ code */ | |
886 | class SWIG_Python_Thread_Block { | |
887 | bool status; | |
888 | PyGILState_STATE state; | |
889 | public: | |
890 | void end() { if (status) { PyGILState_Release(state); status = false;} } | |
891 | SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} | |
892 | ~SWIG_Python_Thread_Block() { end(); } | |
893 | }; | |
894 | class SWIG_Python_Thread_Allow { | |
895 | bool status; | |
896 | PyThreadState *save; | |
897 | public: | |
898 | void end() { if (status) { PyEval_RestoreThread(save); status = false; }} | |
899 | SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {} | |
900 | ~SWIG_Python_Thread_Allow() { end(); } | |
901 | }; | |
902 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block | |
903 | # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end() | |
904 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow | |
905 | # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end() | |
906 | # else /* C code */ | |
907 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure() | |
908 | # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block) | |
909 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread() | |
910 | # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow) | |
911 | # endif | |
912 | # else /* Old thread way, not implemented, user must provide it */ | |
913 | # if !defined(SWIG_PYTHON_INITIALIZE_THREADS) | |
914 | # define SWIG_PYTHON_INITIALIZE_THREADS | |
915 | # endif | |
916 | # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) | |
917 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK | |
918 | # endif | |
919 | # if !defined(SWIG_PYTHON_THREAD_END_BLOCK) | |
920 | # define SWIG_PYTHON_THREAD_END_BLOCK | |
921 | # endif | |
922 | # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) | |
923 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW | |
924 | # endif | |
925 | # if !defined(SWIG_PYTHON_THREAD_END_ALLOW) | |
926 | # define SWIG_PYTHON_THREAD_END_ALLOW | |
927 | # endif | |
928 | # endif | |
929 | #else /* No thread support */ | |
930 | # define SWIG_PYTHON_INITIALIZE_THREADS | |
931 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK | |
932 | # define SWIG_PYTHON_THREAD_END_BLOCK | |
933 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW | |
934 | # define SWIG_PYTHON_THREAD_END_ALLOW | |
935 | #endif | |
936 | ||
937 | /* ----------------------------------------------------------------------------- | |
938 | * Python API portion that goes into the runtime | |
939 | * ----------------------------------------------------------------------------- */ | |
940 | ||
941 | #ifdef __cplusplus | |
942 | extern "C" { | |
943 | #if 0 | |
944 | } /* cc-mode */ | |
945 | #endif | |
946 | #endif | |
947 | ||
948 | /* ----------------------------------------------------------------------------- | |
949 | * Constant declarations | |
950 | * ----------------------------------------------------------------------------- */ | |
951 | ||
952 | /* Constant Types */ | |
953 | #define SWIG_PY_POINTER 4 | |
954 | #define SWIG_PY_BINARY 5 | |
955 | ||
956 | /* Constant information structure */ | |
957 | typedef struct swig_const_info { | |
958 | int type; | |
959 | char *name; | |
960 | long lvalue; | |
961 | double dvalue; | |
962 | void *pvalue; | |
963 | swig_type_info **ptype; | |
964 | } swig_const_info; | |
965 | ||
966 | #ifdef __cplusplus | |
967 | #if 0 | |
968 | { /* cc-mode */ | |
969 | #endif | |
970 | } | |
971 | #endif | |
972 | ||
973 | ||
974 | /* ----------------------------------------------------------------------------- | |
975 | * See the LICENSE file for information on copyright, usage and redistribution | |
976 | * of SWIG, and the README file for authors - http://www.swig.org/release.html. | |
977 | * | |
978 | * pyrun.swg | |
979 | * | |
980 | * This file contains the runtime support for Python modules | |
981 | * and includes code for managing global variables and pointer | |
982 | * type checking. | |
983 | * | |
984 | * ----------------------------------------------------------------------------- */ | |
985 | ||
986 | /* Common SWIG API */ | |
987 | ||
d1a49b78 RD |
988 | #if PY_VERSION_HEX < 0x02050000 |
989 | typedef int Py_ssize_t; | |
990 | #endif | |
991 | ||
f05326ba RD |
992 | /* for raw pointers */ |
993 | #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) | |
994 | #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags) | |
995 | #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) | |
996 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags) | |
997 | #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty) | |
998 | #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src) | |
999 | #define swig_owntype int | |
1000 | ||
1001 | /* for raw packed data */ | |
1002 | #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) | |
1003 | #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
1004 | ||
1005 | /* for class or struct pointers */ | |
1006 | #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags) | |
1007 | #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags) | |
1008 | ||
1009 | /* for C or C++ function pointers */ | |
1010 | #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type) | |
1011 | #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0) | |
1012 | ||
1013 | /* for C++ member pointers, ie, member methods */ | |
1014 | #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) | |
1015 | #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
1016 | ||
1017 | ||
1018 | /* Runtime API */ | |
1019 | ||
1020 | #define SWIG_GetModule(clientdata) SWIG_Python_GetModule() | |
1021 | #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) | |
1022 | #define SWIG_NewClientData(obj) PySwigClientData_New(obj) | |
1023 | ||
1024 | #define SWIG_SetErrorObj SWIG_Python_SetErrorObj | |
1025 | #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg | |
1026 | #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code) | |
1027 | #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) | |
1028 | #define SWIG_fail goto fail | |
1029 | ||
1030 | ||
1031 | /* Runtime API implementation */ | |
1032 | ||
1033 | /* Error manipulation */ | |
1034 | ||
1035 | SWIGINTERN void | |
1036 | SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) { | |
1037 | SWIG_PYTHON_THREAD_BEGIN_BLOCK; | |
1038 | PyErr_SetObject(errtype, obj); | |
1039 | Py_DECREF(obj); | |
1040 | SWIG_PYTHON_THREAD_END_BLOCK; | |
1041 | } | |
1042 | ||
1043 | SWIGINTERN void | |
1044 | SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) { | |
1045 | SWIG_PYTHON_THREAD_BEGIN_BLOCK; | |
1046 | PyErr_SetString(errtype, (char *) msg); | |
1047 | SWIG_PYTHON_THREAD_END_BLOCK; | |
1048 | } | |
1049 | ||
1050 | #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) | |
1051 | ||
1052 | /* Set a constant value */ | |
1053 | ||
1054 | SWIGINTERN void | |
1055 | SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) { | |
1056 | PyDict_SetItemString(d, (char*) name, obj); | |
1057 | Py_DECREF(obj); | |
1058 | } | |
1059 | ||
1060 | /* Append a value to the result obj */ | |
1061 | ||
1062 | SWIGINTERN PyObject* | |
1063 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { | |
1064 | #if !defined(SWIG_PYTHON_OUTPUT_TUPLE) | |
1065 | if (!result) { | |
1066 | result = obj; | |
1067 | } else if (result == Py_None) { | |
1068 | Py_DECREF(result); | |
1069 | result = obj; | |
1070 | } else { | |
1071 | if (!PyList_Check(result)) { | |
1072 | PyObject *o2 = result; | |
1073 | result = PyList_New(1); | |
1074 | PyList_SetItem(result, 0, o2); | |
1075 | } | |
1076 | PyList_Append(result,obj); | |
1077 | Py_DECREF(obj); | |
1078 | } | |
1079 | return result; | |
1080 | #else | |
1081 | PyObject* o2; | |
1082 | PyObject* o3; | |
1083 | if (!result) { | |
1084 | result = obj; | |
1085 | } else if (result == Py_None) { | |
1086 | Py_DECREF(result); | |
1087 | result = obj; | |
1088 | } else { | |
1089 | if (!PyTuple_Check(result)) { | |
1090 | o2 = result; | |
1091 | result = PyTuple_New(1); | |
1092 | PyTuple_SET_ITEM(result, 0, o2); | |
1093 | } | |
1094 | o3 = PyTuple_New(1); | |
1095 | PyTuple_SET_ITEM(o3, 0, obj); | |
1096 | o2 = result; | |
1097 | result = PySequence_Concat(o2, o3); | |
1098 | Py_DECREF(o2); | |
1099 | Py_DECREF(o3); | |
1100 | } | |
1101 | return result; | |
1102 | #endif | |
1103 | } | |
1104 | ||
1105 | /* Unpack the argument tuple */ | |
1106 | ||
1107 | SWIGINTERN int | |
1108 | SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs) | |
1109 | { | |
1110 | if (!args) { | |
1111 | if (!min && !max) { | |
1112 | return 1; | |
1113 | } else { | |
1114 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", | |
1115 | name, (min == max ? "" : "at least "), min); | |
1116 | return 0; | |
1117 | } | |
1118 | } | |
1119 | if (!PyTuple_Check(args)) { | |
1120 | PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple"); | |
1121 | return 0; | |
1122 | } else { | |
1123 | register int l = PyTuple_GET_SIZE(args); | |
1124 | if (l < min) { | |
1125 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", | |
1126 | name, (min == max ? "" : "at least "), min, l); | |
1127 | return 0; | |
1128 | } else if (l > max) { | |
1129 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", | |
1130 | name, (min == max ? "" : "at most "), max, l); | |
1131 | return 0; | |
1132 | } else { | |
1133 | register int i; | |
1134 | for (i = 0; i < l; ++i) { | |
1135 | objs[i] = PyTuple_GET_ITEM(args, i); | |
1136 | } | |
1137 | for (; l < max; ++l) { | |
1138 | objs[l] = 0; | |
1139 | } | |
1140 | return i + 1; | |
1141 | } | |
1142 | } | |
1143 | } | |
1144 | ||
1145 | /* A functor is a function object with one single object argument */ | |
1146 | #if PY_VERSION_HEX >= 0x02020000 | |
1147 | #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL); | |
1148 | #else | |
1149 | #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj); | |
1150 | #endif | |
1151 | ||
1152 | /* | |
1153 | Helper for static pointer initialization for both C and C++ code, for example | |
1154 | static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); | |
1155 | */ | |
1156 | #ifdef __cplusplus | |
1157 | #define SWIG_STATIC_POINTER(var) var | |
1158 | #else | |
1159 | #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var | |
1160 | #endif | |
1161 | ||
1162 | /* ----------------------------------------------------------------------------- | |
1163 | * Pointer declarations | |
1164 | * ----------------------------------------------------------------------------- */ | |
1165 | ||
1166 | /* Flags for new pointer objects */ | |
1167 | #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1) | |
1168 | #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) | |
1169 | ||
1170 | #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1) | |
1171 | ||
1172 | #ifdef __cplusplus | |
1173 | extern "C" { | |
1174 | #if 0 | |
1175 | } /* cc-mode */ | |
1176 | #endif | |
1177 | #endif | |
1178 | ||
1179 | /* How to access Py_None */ | |
1180 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
1181 | # ifndef SWIG_PYTHON_NO_BUILD_NONE | |
1182 | # ifndef SWIG_PYTHON_BUILD_NONE | |
1183 | # define SWIG_PYTHON_BUILD_NONE | |
1184 | # endif | |
1185 | # endif | |
1186 | #endif | |
1187 | ||
1188 | #ifdef SWIG_PYTHON_BUILD_NONE | |
1189 | # ifdef Py_None | |
1190 | # undef Py_None | |
1191 | # define Py_None SWIG_Py_None() | |
1192 | # endif | |
1193 | SWIGRUNTIMEINLINE PyObject * | |
1194 | _SWIG_Py_None(void) | |
1195 | { | |
1196 | PyObject *none = Py_BuildValue(""); | |
1197 | Py_DECREF(none); | |
1198 | return none; | |
1199 | } | |
1200 | SWIGRUNTIME PyObject * | |
1201 | SWIG_Py_None(void) | |
1202 | { | |
1203 | static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None(); | |
1204 | return none; | |
1205 | } | |
1206 | #endif | |
1207 | ||
1208 | /* The python void return value */ | |
1209 | ||
1210 | SWIGRUNTIMEINLINE PyObject * | |
1211 | SWIG_Py_Void(void) | |
1212 | { | |
1213 | PyObject *none = Py_None; | |
1214 | Py_INCREF(none); | |
1215 | return none; | |
1216 | } | |
1217 | ||
1218 | /* PySwigClientData */ | |
1219 | ||
1220 | typedef struct { | |
1221 | PyObject *klass; | |
1222 | PyObject *newraw; | |
1223 | PyObject *newargs; | |
1224 | PyObject *destroy; | |
1225 | int delargs; | |
1226 | int implicitconv; | |
1227 | } PySwigClientData; | |
1228 | ||
1229 | SWIGRUNTIMEINLINE int | |
1230 | SWIG_Python_CheckImplicit(swig_type_info *ty) | |
1231 | { | |
1232 | PySwigClientData *data = (PySwigClientData *)ty->clientdata; | |
1233 | return data ? data->implicitconv : 0; | |
1234 | } | |
1235 | ||
1236 | SWIGRUNTIMEINLINE PyObject * | |
1237 | SWIG_Python_ExceptionType(swig_type_info *desc) { | |
1238 | PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0; | |
1239 | PyObject *klass = data ? data->klass : 0; | |
1240 | return (klass ? klass : PyExc_RuntimeError); | |
1241 | } | |
1242 | ||
1243 | ||
1244 | SWIGRUNTIME PySwigClientData * | |
1245 | PySwigClientData_New(PyObject* obj) | |
1246 | { | |
1247 | if (!obj) { | |
1248 | return 0; | |
1249 | } else { | |
1250 | PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData)); | |
1251 | /* the klass element */ | |
1252 | data->klass = obj; | |
1253 | Py_INCREF(data->klass); | |
1254 | /* the newraw method and newargs arguments used to create a new raw instance */ | |
1255 | if (PyClass_Check(obj)) { | |
1256 | data->newraw = 0; | |
1257 | data->newargs = obj; | |
1258 | Py_INCREF(obj); | |
1259 | } else { | |
1260 | #if (PY_VERSION_HEX < 0x02020000) | |
1261 | data->newraw = 0; | |
1262 | #else | |
1263 | data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__"); | |
1264 | #endif | |
1265 | if (data->newraw) { | |
1266 | Py_INCREF(data->newraw); | |
1267 | data->newargs = PyTuple_New(1); | |
1268 | PyTuple_SetItem(data->newargs, 0, obj); | |
1269 | } else { | |
1270 | data->newargs = obj; | |
1271 | } | |
1272 | Py_INCREF(data->newargs); | |
1273 | } | |
1274 | /* the destroy method, aka as the C++ delete method */ | |
1275 | data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__"); | |
1276 | if (PyErr_Occurred()) { | |
1277 | PyErr_Clear(); | |
1278 | data->destroy = 0; | |
1279 | } | |
1280 | if (data->destroy) { | |
1281 | int flags; | |
1282 | Py_INCREF(data->destroy); | |
1283 | flags = PyCFunction_GET_FLAGS(data->destroy); | |
1284 | #ifdef METH_O | |
1285 | data->delargs = !(flags & (METH_O)); | |
1286 | #else | |
1287 | data->delargs = 0; | |
1288 | #endif | |
1289 | } else { | |
1290 | data->delargs = 0; | |
1291 | } | |
1292 | data->implicitconv = 0; | |
1293 | return data; | |
1294 | } | |
1295 | } | |
1296 | ||
1297 | SWIGRUNTIME void | |
1298 | PySwigClientData_Del(PySwigClientData* data) | |
1299 | { | |
1300 | Py_XDECREF(data->newraw); | |
1301 | Py_XDECREF(data->newargs); | |
1302 | Py_XDECREF(data->destroy); | |
1303 | } | |
1304 | ||
1305 | /* =============== PySwigObject =====================*/ | |
1306 | ||
1307 | typedef struct { | |
1308 | PyObject_HEAD | |
1309 | void *ptr; | |
1310 | swig_type_info *ty; | |
1311 | int own; | |
1312 | PyObject *next; | |
1313 | } PySwigObject; | |
1314 | ||
1315 | SWIGRUNTIME PyObject * | |
1316 | PySwigObject_long(PySwigObject *v) | |
1317 | { | |
1318 | return PyLong_FromVoidPtr(v->ptr); | |
1319 | } | |
1320 | ||
1321 | SWIGRUNTIME PyObject * | |
1322 | PySwigObject_format(const char* fmt, PySwigObject *v) | |
1323 | { | |
1324 | PyObject *res = NULL; | |
1325 | PyObject *args = PyTuple_New(1); | |
1326 | if (args) { | |
1327 | if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) { | |
1328 | PyObject *ofmt = PyString_FromString(fmt); | |
1329 | if (ofmt) { | |
1330 | res = PyString_Format(ofmt,args); | |
1331 | Py_DECREF(ofmt); | |
1332 | } | |
1333 | Py_DECREF(args); | |
1334 | } | |
1335 | } | |
1336 | return res; | |
1337 | } | |
1338 | ||
1339 | SWIGRUNTIME PyObject * | |
1340 | PySwigObject_oct(PySwigObject *v) | |
1341 | { | |
1342 | return PySwigObject_format("%o",v); | |
1343 | } | |
1344 | ||
1345 | SWIGRUNTIME PyObject * | |
1346 | PySwigObject_hex(PySwigObject *v) | |
1347 | { | |
1348 | return PySwigObject_format("%x",v); | |
1349 | } | |
1350 | ||
1351 | SWIGRUNTIME PyObject * | |
1352 | #ifdef METH_NOARGS | |
1353 | PySwigObject_repr(PySwigObject *v) | |
1354 | #else | |
1355 | PySwigObject_repr(PySwigObject *v, PyObject *args) | |
1356 | #endif | |
1357 | { | |
1358 | const char *name = SWIG_TypePrettyName(v->ty); | |
1359 | PyObject *hex = PySwigObject_hex(v); | |
1360 | PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex)); | |
1361 | Py_DECREF(hex); | |
1362 | if (v->next) { | |
1363 | #ifdef METH_NOARGS | |
1364 | PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next); | |
1365 | #else | |
1366 | PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args); | |
1367 | #endif | |
1368 | PyString_ConcatAndDel(&repr,nrep); | |
1369 | } | |
1370 | return repr; | |
1371 | } | |
1372 | ||
1373 | SWIGRUNTIME int | |
1374 | PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) | |
1375 | { | |
1376 | #ifdef METH_NOARGS | |
1377 | PyObject *repr = PySwigObject_repr(v); | |
1378 | #else | |
1379 | PyObject *repr = PySwigObject_repr(v, NULL); | |
1380 | #endif | |
1381 | if (repr) { | |
1382 | fputs(PyString_AsString(repr), fp); | |
1383 | Py_DECREF(repr); | |
1384 | return 0; | |
1385 | } else { | |
1386 | return 1; | |
1387 | } | |
1388 | } | |
1389 | ||
1390 | SWIGRUNTIME PyObject * | |
1391 | PySwigObject_str(PySwigObject *v) | |
1392 | { | |
1393 | char result[SWIG_BUFFER_SIZE]; | |
1394 | return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ? | |
1395 | PyString_FromString(result) : 0; | |
1396 | } | |
1397 | ||
1398 | SWIGRUNTIME int | |
1399 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
1400 | { | |
1401 | void *i = v->ptr; | |
1402 | void *j = w->ptr; | |
1403 | return (i < j) ? -1 : ((i > j) ? 1 : 0); | |
1404 | } | |
1405 | ||
1406 | SWIGRUNTIME PyTypeObject* _PySwigObject_type(void); | |
1407 | ||
1408 | SWIGRUNTIME PyTypeObject* | |
1409 | PySwigObject_type(void) { | |
1410 | static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type(); | |
1411 | return type; | |
1412 | } | |
1413 | ||
1414 | SWIGRUNTIMEINLINE int | |
1415 | PySwigObject_Check(PyObject *op) { | |
1416 | return ((op)->ob_type == PySwigObject_type()) | |
1417 | || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); | |
1418 | } | |
1419 | ||
1420 | SWIGRUNTIME PyObject * | |
1421 | PySwigObject_New(void *ptr, swig_type_info *ty, int own); | |
1422 | ||
1423 | SWIGRUNTIME void | |
1424 | PySwigObject_dealloc(PyObject *v) | |
1425 | { | |
1426 | PySwigObject *sobj = (PySwigObject *) v; | |
1427 | PyObject *next = sobj->next; | |
1428 | if (sobj->own) { | |
1429 | swig_type_info *ty = sobj->ty; | |
1430 | PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; | |
1431 | PyObject *destroy = data ? data->destroy : 0; | |
1432 | if (destroy) { | |
1433 | /* destroy is always a VARARGS method */ | |
1434 | PyObject *res; | |
1435 | if (data->delargs) { | |
1436 | /* we need to create a temporal object to carry the destroy operation */ | |
1437 | PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0); | |
1438 | res = SWIG_Python_CallFunctor(destroy, tmp); | |
1439 | Py_DECREF(tmp); | |
1440 | } else { | |
1441 | PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); | |
1442 | PyObject *mself = PyCFunction_GET_SELF(destroy); | |
1443 | res = ((*meth)(mself, v)); | |
1444 | } | |
1445 | Py_XDECREF(res); | |
1446 | } else { | |
1447 | const char *name = SWIG_TypePrettyName(ty); | |
1448 | #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) | |
1449 | printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name); | |
1450 | #endif | |
1451 | } | |
1452 | } | |
1453 | Py_XDECREF(next); | |
1454 | PyObject_DEL(v); | |
1455 | } | |
1456 | ||
1457 | SWIGRUNTIME PyObject* | |
1458 | PySwigObject_append(PyObject* v, PyObject* next) | |
1459 | { | |
1460 | PySwigObject *sobj = (PySwigObject *) v; | |
1461 | #ifndef METH_O | |
1462 | PyObject *tmp = 0; | |
1463 | if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL; | |
1464 | next = tmp; | |
1465 | #endif | |
1466 | if (!PySwigObject_Check(next)) { | |
1467 | return NULL; | |
1468 | } | |
1469 | sobj->next = next; | |
1470 | Py_INCREF(next); | |
1471 | return SWIG_Py_Void(); | |
1472 | } | |
1473 | ||
1474 | SWIGRUNTIME PyObject* | |
1475 | #ifdef METH_NOARGS | |
1476 | PySwigObject_next(PyObject* v) | |
1477 | #else | |
1478 | PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1479 | #endif | |
1480 | { | |
1481 | PySwigObject *sobj = (PySwigObject *) v; | |
1482 | if (sobj->next) { | |
1483 | Py_INCREF(sobj->next); | |
1484 | return sobj->next; | |
1485 | } else { | |
1486 | return SWIG_Py_Void(); | |
1487 | } | |
1488 | } | |
1489 | ||
1490 | SWIGINTERN PyObject* | |
1491 | #ifdef METH_NOARGS | |
1492 | PySwigObject_disown(PyObject *v) | |
1493 | #else | |
1494 | PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1495 | #endif | |
1496 | { | |
1497 | PySwigObject *sobj = (PySwigObject *)v; | |
1498 | sobj->own = 0; | |
1499 | return SWIG_Py_Void(); | |
1500 | } | |
1501 | ||
1502 | SWIGINTERN PyObject* | |
1503 | #ifdef METH_NOARGS | |
1504 | PySwigObject_acquire(PyObject *v) | |
1505 | #else | |
1506 | PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1507 | #endif | |
1508 | { | |
1509 | PySwigObject *sobj = (PySwigObject *)v; | |
1510 | sobj->own = SWIG_POINTER_OWN; | |
1511 | return SWIG_Py_Void(); | |
1512 | } | |
1513 | ||
1514 | SWIGINTERN PyObject* | |
1515 | PySwigObject_own(PyObject *v, PyObject *args) | |
1516 | { | |
1517 | PyObject *val = 0; | |
1518 | #if (PY_VERSION_HEX < 0x02020000) | |
1519 | if (!PyArg_ParseTuple(args,(char *)"|O:own",&val)) | |
1520 | #else | |
1521 | if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) | |
1522 | #endif | |
1523 | { | |
1524 | return NULL; | |
1525 | } | |
1526 | else | |
1527 | { | |
1528 | PySwigObject *sobj = (PySwigObject *)v; | |
1529 | PyObject *obj = PyBool_FromLong(sobj->own); | |
1530 | if (val) { | |
1531 | #ifdef METH_NOARGS | |
1532 | if (PyObject_IsTrue(val)) { | |
1533 | PySwigObject_acquire(v); | |
1534 | } else { | |
1535 | PySwigObject_disown(v); | |
1536 | } | |
1537 | #else | |
1538 | if (PyObject_IsTrue(val)) { | |
1539 | PySwigObject_acquire(v,args); | |
1540 | } else { | |
1541 | PySwigObject_disown(v,args); | |
1542 | } | |
1543 | #endif | |
1544 | } | |
1545 | return obj; | |
1546 | } | |
1547 | } | |
1548 | ||
1549 | #ifdef METH_O | |
1550 | static PyMethodDef | |
1551 | swigobject_methods[] = { | |
1552 | {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"}, | |
1553 | {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"}, | |
1554 | {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, | |
1555 | {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"}, | |
1556 | {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"}, | |
1557 | {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"}, | |
1558 | {0, 0, 0, 0} | |
1559 | }; | |
1560 | #else | |
1561 | static PyMethodDef | |
1562 | swigobject_methods[] = { | |
1563 | {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"}, | |
1564 | {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"}, | |
1565 | {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, | |
1566 | {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"}, | |
1567 | {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"}, | |
1568 | {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"}, | |
1569 | {0, 0, 0, 0} | |
1570 | }; | |
1571 | #endif | |
1572 | ||
1573 | #if PY_VERSION_HEX < 0x02020000 | |
1574 | SWIGINTERN PyObject * | |
1575 | PySwigObject_getattr(PySwigObject *sobj,char *name) | |
1576 | { | |
1577 | return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name); | |
1578 | } | |
1579 | #endif | |
1580 | ||
1581 | SWIGRUNTIME PyTypeObject* | |
1582 | _PySwigObject_type(void) { | |
1583 | static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer"; | |
1584 | ||
1585 | static PyNumberMethods PySwigObject_as_number = { | |
1586 | (binaryfunc)0, /*nb_add*/ | |
1587 | (binaryfunc)0, /*nb_subtract*/ | |
1588 | (binaryfunc)0, /*nb_multiply*/ | |
1589 | (binaryfunc)0, /*nb_divide*/ | |
1590 | (binaryfunc)0, /*nb_remainder*/ | |
1591 | (binaryfunc)0, /*nb_divmod*/ | |
1592 | (ternaryfunc)0,/*nb_power*/ | |
1593 | (unaryfunc)0, /*nb_negative*/ | |
1594 | (unaryfunc)0, /*nb_positive*/ | |
1595 | (unaryfunc)0, /*nb_absolute*/ | |
1596 | (inquiry)0, /*nb_nonzero*/ | |
1597 | 0, /*nb_invert*/ | |
1598 | 0, /*nb_lshift*/ | |
1599 | 0, /*nb_rshift*/ | |
1600 | 0, /*nb_and*/ | |
1601 | 0, /*nb_xor*/ | |
1602 | 0, /*nb_or*/ | |
1603 | (coercion)0, /*nb_coerce*/ | |
1604 | (unaryfunc)PySwigObject_long, /*nb_int*/ | |
1605 | (unaryfunc)PySwigObject_long, /*nb_long*/ | |
1606 | (unaryfunc)0, /*nb_float*/ | |
1607 | (unaryfunc)PySwigObject_oct, /*nb_oct*/ | |
1608 | (unaryfunc)PySwigObject_hex, /*nb_hex*/ | |
1609 | #if PY_VERSION_HEX >= 0x02020000 | |
1610 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ | |
1611 | #elif PY_VERSION_HEX >= 0x02000000 | |
1612 | 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ | |
1613 | #endif | |
1614 | }; | |
1615 | ||
1616 | static PyTypeObject pyswigobject_type; | |
1617 | static int type_init = 0; | |
1618 | if (!type_init) { | |
1619 | const PyTypeObject tmp | |
1620 | = { | |
1621 | PyObject_HEAD_INIT(NULL) | |
1622 | 0, /* ob_size */ | |
1623 | (char *)"PySwigObject", /* tp_name */ | |
1624 | sizeof(PySwigObject), /* tp_basicsize */ | |
1625 | 0, /* tp_itemsize */ | |
1626 | (destructor)PySwigObject_dealloc, /* tp_dealloc */ | |
1627 | (printfunc)PySwigObject_print, /* tp_print */ | |
1628 | #if PY_VERSION_HEX < 0x02020000 | |
1629 | (getattrfunc)PySwigObject_getattr, /* tp_getattr */ | |
1630 | #else | |
1631 | (getattrfunc)0, /* tp_getattr */ | |
1632 | #endif | |
1633 | (setattrfunc)0, /* tp_setattr */ | |
1634 | (cmpfunc)PySwigObject_compare, /* tp_compare */ | |
1635 | (reprfunc)PySwigObject_repr, /* tp_repr */ | |
1636 | &PySwigObject_as_number, /* tp_as_number */ | |
1637 | 0, /* tp_as_sequence */ | |
1638 | 0, /* tp_as_mapping */ | |
1639 | (hashfunc)0, /* tp_hash */ | |
1640 | (ternaryfunc)0, /* tp_call */ | |
1641 | (reprfunc)PySwigObject_str, /* tp_str */ | |
1642 | PyObject_GenericGetAttr, /* tp_getattro */ | |
1643 | 0, /* tp_setattro */ | |
1644 | 0, /* tp_as_buffer */ | |
1645 | Py_TPFLAGS_DEFAULT, /* tp_flags */ | |
1646 | swigobject_doc, /* tp_doc */ | |
1647 | 0, /* tp_traverse */ | |
1648 | 0, /* tp_clear */ | |
1649 | 0, /* tp_richcompare */ | |
1650 | 0, /* tp_weaklistoffset */ | |
1651 | #if PY_VERSION_HEX >= 0x02020000 | |
1652 | 0, /* tp_iter */ | |
1653 | 0, /* tp_iternext */ | |
1654 | swigobject_methods, /* tp_methods */ | |
1655 | 0, /* tp_members */ | |
1656 | 0, /* tp_getset */ | |
1657 | 0, /* tp_base */ | |
1658 | 0, /* tp_dict */ | |
1659 | 0, /* tp_descr_get */ | |
1660 | 0, /* tp_descr_set */ | |
1661 | 0, /* tp_dictoffset */ | |
1662 | 0, /* tp_init */ | |
1663 | 0, /* tp_alloc */ | |
1664 | 0, /* tp_new */ | |
1665 | 0, /* tp_free */ | |
1666 | 0, /* tp_is_gc */ | |
1667 | 0, /* tp_bases */ | |
1668 | 0, /* tp_mro */ | |
1669 | 0, /* tp_cache */ | |
1670 | 0, /* tp_subclasses */ | |
1671 | 0, /* tp_weaklist */ | |
1672 | #endif | |
1673 | #if PY_VERSION_HEX >= 0x02030000 | |
1674 | 0, /* tp_del */ | |
1675 | #endif | |
1676 | #ifdef COUNT_ALLOCS | |
1677 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
1678 | #endif | |
1679 | }; | |
1680 | pyswigobject_type = tmp; | |
1681 | pyswigobject_type.ob_type = &PyType_Type; | |
1682 | type_init = 1; | |
1683 | } | |
1684 | return &pyswigobject_type; | |
1685 | } | |
1686 | ||
1687 | SWIGRUNTIME PyObject * | |
1688 | PySwigObject_New(void *ptr, swig_type_info *ty, int own) | |
1689 | { | |
1690 | PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type()); | |
1691 | if (sobj) { | |
1692 | sobj->ptr = ptr; | |
1693 | sobj->ty = ty; | |
1694 | sobj->own = own; | |
1695 | sobj->next = 0; | |
1696 | } | |
1697 | return (PyObject *)sobj; | |
1698 | } | |
1699 | ||
1700 | /* ----------------------------------------------------------------------------- | |
1701 | * Implements a simple Swig Packed type, and use it instead of string | |
1702 | * ----------------------------------------------------------------------------- */ | |
1703 | ||
1704 | typedef struct { | |
1705 | PyObject_HEAD | |
1706 | void *pack; | |
1707 | swig_type_info *ty; | |
1708 | size_t size; | |
1709 | } PySwigPacked; | |
1710 | ||
1711 | SWIGRUNTIME int | |
1712 | PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags)) | |
1713 | { | |
1714 | char result[SWIG_BUFFER_SIZE]; | |
1715 | fputs("<Swig Packed ", fp); | |
1716 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
1717 | fputs("at ", fp); | |
1718 | fputs(result, fp); | |
1719 | } | |
1720 | fputs(v->ty->name,fp); | |
1721 | fputs(">", fp); | |
1722 | return 0; | |
1723 | } | |
1724 | ||
1725 | SWIGRUNTIME PyObject * | |
1726 | PySwigPacked_repr(PySwigPacked *v) | |
1727 | { | |
1728 | char result[SWIG_BUFFER_SIZE]; | |
1729 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
1730 | return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name); | |
1731 | } else { | |
1732 | return PyString_FromFormat("<Swig Packed %s>", v->ty->name); | |
1733 | } | |
1734 | } | |
1735 | ||
1736 | SWIGRUNTIME PyObject * | |
1737 | PySwigPacked_str(PySwigPacked *v) | |
1738 | { | |
1739 | char result[SWIG_BUFFER_SIZE]; | |
1740 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ | |
1741 | return PyString_FromFormat("%s%s", result, v->ty->name); | |
1742 | } else { | |
1743 | return PyString_FromString(v->ty->name); | |
1744 | } | |
1745 | } | |
1746 | ||
1747 | SWIGRUNTIME int | |
1748 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
1749 | { | |
1750 | size_t i = v->size; | |
1751 | size_t j = w->size; | |
1752 | int s = (i < j) ? -1 : ((i > j) ? 1 : 0); | |
1753 | return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); | |
1754 | } | |
1755 | ||
1756 | SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void); | |
1757 | ||
1758 | SWIGRUNTIME PyTypeObject* | |
1759 | PySwigPacked_type(void) { | |
1760 | static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type(); | |
1761 | return type; | |
1762 | } | |
1763 | ||
1764 | SWIGRUNTIMEINLINE int | |
1765 | PySwigPacked_Check(PyObject *op) { | |
1766 | return ((op)->ob_type == _PySwigPacked_type()) | |
1767 | || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); | |
1768 | } | |
1769 | ||
1770 | SWIGRUNTIME void | |
1771 | PySwigPacked_dealloc(PyObject *v) | |
1772 | { | |
1773 | if (PySwigPacked_Check(v)) { | |
1774 | PySwigPacked *sobj = (PySwigPacked *) v; | |
1775 | free(sobj->pack); | |
1776 | } | |
1777 | PyObject_DEL(v); | |
1778 | } | |
1779 | ||
1780 | SWIGRUNTIME PyTypeObject* | |
1781 | _PySwigPacked_type(void) { | |
1782 | static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer"; | |
1783 | static PyTypeObject pyswigpacked_type; | |
1784 | static int type_init = 0; | |
1785 | if (!type_init) { | |
1786 | const PyTypeObject tmp | |
1787 | = { | |
1788 | PyObject_HEAD_INIT(NULL) | |
1789 | 0, /* ob_size */ | |
1790 | (char *)"PySwigPacked", /* tp_name */ | |
1791 | sizeof(PySwigPacked), /* tp_basicsize */ | |
1792 | 0, /* tp_itemsize */ | |
1793 | (destructor)PySwigPacked_dealloc, /* tp_dealloc */ | |
1794 | (printfunc)PySwigPacked_print, /* tp_print */ | |
1795 | (getattrfunc)0, /* tp_getattr */ | |
1796 | (setattrfunc)0, /* tp_setattr */ | |
1797 | (cmpfunc)PySwigPacked_compare, /* tp_compare */ | |
1798 | (reprfunc)PySwigPacked_repr, /* tp_repr */ | |
1799 | 0, /* tp_as_number */ | |
1800 | 0, /* tp_as_sequence */ | |
1801 | 0, /* tp_as_mapping */ | |
1802 | (hashfunc)0, /* tp_hash */ | |
1803 | (ternaryfunc)0, /* tp_call */ | |
1804 | (reprfunc)PySwigPacked_str, /* tp_str */ | |
1805 | PyObject_GenericGetAttr, /* tp_getattro */ | |
1806 | 0, /* tp_setattro */ | |
1807 | 0, /* tp_as_buffer */ | |
1808 | Py_TPFLAGS_DEFAULT, /* tp_flags */ | |
1809 | swigpacked_doc, /* tp_doc */ | |
1810 | 0, /* tp_traverse */ | |
1811 | 0, /* tp_clear */ | |
1812 | 0, /* tp_richcompare */ | |
1813 | 0, /* tp_weaklistoffset */ | |
1814 | #if PY_VERSION_HEX >= 0x02020000 | |
1815 | 0, /* tp_iter */ | |
1816 | 0, /* tp_iternext */ | |
1817 | 0, /* tp_methods */ | |
1818 | 0, /* tp_members */ | |
1819 | 0, /* tp_getset */ | |
1820 | 0, /* tp_base */ | |
1821 | 0, /* tp_dict */ | |
1822 | 0, /* tp_descr_get */ | |
1823 | 0, /* tp_descr_set */ | |
1824 | 0, /* tp_dictoffset */ | |
1825 | 0, /* tp_init */ | |
1826 | 0, /* tp_alloc */ | |
1827 | 0, /* tp_new */ | |
1828 | 0, /* tp_free */ | |
1829 | 0, /* tp_is_gc */ | |
1830 | 0, /* tp_bases */ | |
1831 | 0, /* tp_mro */ | |
1832 | 0, /* tp_cache */ | |
1833 | 0, /* tp_subclasses */ | |
1834 | 0, /* tp_weaklist */ | |
1835 | #endif | |
1836 | #if PY_VERSION_HEX >= 0x02030000 | |
1837 | 0, /* tp_del */ | |
1838 | #endif | |
1839 | #ifdef COUNT_ALLOCS | |
1840 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
1841 | #endif | |
1842 | }; | |
1843 | pyswigpacked_type = tmp; | |
1844 | pyswigpacked_type.ob_type = &PyType_Type; | |
1845 | type_init = 1; | |
1846 | } | |
1847 | return &pyswigpacked_type; | |
1848 | } | |
1849 | ||
1850 | SWIGRUNTIME PyObject * | |
1851 | PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty) | |
1852 | { | |
1853 | PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type()); | |
1854 | if (sobj) { | |
1855 | void *pack = malloc(size); | |
1856 | if (pack) { | |
1857 | memcpy(pack, ptr, size); | |
1858 | sobj->pack = pack; | |
1859 | sobj->ty = ty; | |
1860 | sobj->size = size; | |
1861 | } else { | |
1862 | PyObject_DEL((PyObject *) sobj); | |
1863 | sobj = 0; | |
1864 | } | |
1865 | } | |
1866 | return (PyObject *) sobj; | |
1867 | } | |
1868 | ||
1869 | SWIGRUNTIME swig_type_info * | |
1870 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) | |
1871 | { | |
1872 | if (PySwigPacked_Check(obj)) { | |
1873 | PySwigPacked *sobj = (PySwigPacked *)obj; | |
1874 | if (sobj->size != size) return 0; | |
1875 | memcpy(ptr, sobj->pack, size); | |
1876 | return sobj->ty; | |
1877 | } else { | |
1878 | return 0; | |
1879 | } | |
1880 | } | |
1881 | ||
1882 | /* ----------------------------------------------------------------------------- | |
1883 | * pointers/data manipulation | |
1884 | * ----------------------------------------------------------------------------- */ | |
1885 | ||
1886 | SWIGRUNTIMEINLINE PyObject * | |
1887 | _SWIG_This(void) | |
1888 | { | |
1889 | return PyString_FromString("this"); | |
1890 | } | |
1891 | ||
1892 | SWIGRUNTIME PyObject * | |
1893 | SWIG_This(void) | |
1894 | { | |
1895 | static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This(); | |
1896 | return swig_this; | |
1897 | } | |
1898 | ||
1899 | /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ | |
1900 | ||
1901 | SWIGRUNTIME PySwigObject * | |
1902 | SWIG_Python_GetSwigThis(PyObject *pyobj) | |
1903 | { | |
1904 | if (PySwigObject_Check(pyobj)) { | |
1905 | return (PySwigObject *) pyobj; | |
1906 | } else { | |
1907 | PyObject *obj = 0; | |
1908 | #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) | |
1909 | if (PyInstance_Check(pyobj)) { | |
1910 | obj = _PyInstance_Lookup(pyobj, SWIG_This()); | |
1911 | } else { | |
1912 | PyObject **dictptr = _PyObject_GetDictPtr(pyobj); | |
1913 | if (dictptr != NULL) { | |
1914 | PyObject *dict = *dictptr; | |
1915 | obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0; | |
1916 | } else { | |
1917 | #ifdef PyWeakref_CheckProxy | |
1918 | if (PyWeakref_CheckProxy(pyobj)) { | |
1919 | PyObject *wobj = PyWeakref_GET_OBJECT(pyobj); | |
1920 | return wobj ? SWIG_Python_GetSwigThis(wobj) : 0; | |
1921 | } | |
1922 | #endif | |
1923 | obj = PyObject_GetAttr(pyobj,SWIG_This()); | |
1924 | if (obj) { | |
1925 | Py_DECREF(obj); | |
1926 | } else { | |
1927 | if (PyErr_Occurred()) PyErr_Clear(); | |
1928 | return 0; | |
1929 | } | |
1930 | } | |
1931 | } | |
1932 | #else | |
1933 | obj = PyObject_GetAttr(pyobj,SWIG_This()); | |
1934 | if (obj) { | |
1935 | Py_DECREF(obj); | |
1936 | } else { | |
1937 | if (PyErr_Occurred()) PyErr_Clear(); | |
1938 | return 0; | |
1939 | } | |
1940 | #endif | |
1941 | if (obj && !PySwigObject_Check(obj)) { | |
1942 | /* a PyObject is called 'this', try to get the 'real this' | |
1943 | PySwigObject from it */ | |
1944 | return SWIG_Python_GetSwigThis(obj); | |
1945 | } | |
1946 | return (PySwigObject *)obj; | |
1947 | } | |
1948 | } | |
1949 | ||
1950 | /* Acquire a pointer value */ | |
1951 | ||
1952 | SWIGRUNTIME int | |
1953 | SWIG_Python_AcquirePtr(PyObject *obj, int own) { | |
1954 | if (own) { | |
1955 | PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); | |
1956 | if (sobj) { | |
1957 | int oldown = sobj->own; | |
1958 | sobj->own = own; | |
1959 | return oldown; | |
1960 | } | |
1961 | } | |
1962 | return 0; | |
1963 | } | |
1964 | ||
1965 | /* Convert a pointer value */ | |
1966 | ||
1967 | SWIGRUNTIME int | |
1968 | SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) { | |
1969 | if (!obj) return SWIG_ERROR; | |
1970 | if (obj == Py_None) { | |
1971 | if (ptr) *ptr = 0; | |
1972 | return SWIG_OK; | |
1973 | } else { | |
1974 | PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); | |
1975 | while (sobj) { | |
1976 | void *vptr = sobj->ptr; | |
1977 | if (ty) { | |
1978 | swig_type_info *to = sobj->ty; | |
1979 | if (to == ty) { | |
1980 | /* no type cast needed */ | |
1981 | if (ptr) *ptr = vptr; | |
1982 | break; | |
1983 | } else { | |
1984 | swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); | |
1985 | if (!tc) { | |
1986 | sobj = (PySwigObject *)sobj->next; | |
1987 | } else { | |
1988 | if (ptr) *ptr = SWIG_TypeCast(tc,vptr); | |
1989 | break; | |
1990 | } | |
1991 | } | |
1992 | } else { | |
1993 | if (ptr) *ptr = vptr; | |
1994 | break; | |
1995 | } | |
1996 | } | |
1997 | if (sobj) { | |
1998 | if (own) *own = sobj->own; | |
1999 | if (flags & SWIG_POINTER_DISOWN) { | |
2000 | sobj->own = 0; | |
2001 | } | |
2002 | return SWIG_OK; | |
2003 | } else { | |
2004 | int res = SWIG_ERROR; | |
2005 | if (flags & SWIG_POINTER_IMPLICIT_CONV) { | |
2006 | PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; | |
2007 | if (data && !data->implicitconv) { | |
2008 | PyObject *klass = data->klass; | |
2009 | if (klass) { | |
2010 | PyObject *impconv; | |
2011 | data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/ | |
2012 | impconv = SWIG_Python_CallFunctor(klass, obj); | |
2013 | data->implicitconv = 0; | |
2014 | if (PyErr_Occurred()) { | |
2015 | PyErr_Clear(); | |
2016 | impconv = 0; | |
2017 | } | |
2018 | if (impconv) { | |
2019 | PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv); | |
2020 | if (iobj) { | |
2021 | void *vptr; | |
2022 | res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0); | |
2023 | if (SWIG_IsOK(res)) { | |
2024 | if (ptr) { | |
2025 | *ptr = vptr; | |
2026 | /* transfer the ownership to 'ptr' */ | |
2027 | iobj->own = 0; | |
2028 | res = SWIG_AddCast(res); | |
2029 | res = SWIG_AddNewMask(res); | |
2030 | } else { | |
2031 | res = SWIG_AddCast(res); | |
2032 | } | |
2033 | } | |
2034 | } | |
2035 | Py_DECREF(impconv); | |
2036 | } | |
2037 | } | |
2038 | } | |
2039 | } | |
2040 | return res; | |
2041 | } | |
2042 | } | |
2043 | } | |
2044 | ||
2045 | /* Convert a function ptr value */ | |
2046 | ||
2047 | SWIGRUNTIME int | |
2048 | SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) { | |
2049 | if (!PyCFunction_Check(obj)) { | |
2050 | return SWIG_ConvertPtr(obj, ptr, ty, 0); | |
2051 | } else { | |
2052 | void *vptr = 0; | |
2053 | ||
2054 | /* here we get the method pointer for callbacks */ | |
d1a49b78 | 2055 | const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); |
f05326ba RD |
2056 | const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; |
2057 | if (desc) { | |
2058 | desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0; | |
2059 | if (!desc) return SWIG_ERROR; | |
2060 | } | |
2061 | if (ty) { | |
2062 | swig_cast_info *tc = SWIG_TypeCheck(desc,ty); | |
2063 | if (!tc) return SWIG_ERROR; | |
2064 | *ptr = SWIG_TypeCast(tc,vptr); | |
2065 | } else { | |
2066 | *ptr = vptr; | |
2067 | } | |
2068 | return SWIG_OK; | |
2069 | } | |
2070 | } | |
2071 | ||
2072 | /* Convert a packed value value */ | |
2073 | ||
2074 | SWIGRUNTIME int | |
2075 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) { | |
2076 | swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz); | |
2077 | if (!to) return SWIG_ERROR; | |
2078 | if (ty) { | |
2079 | if (to != ty) { | |
2080 | /* check type cast? */ | |
2081 | swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); | |
2082 | if (!tc) return SWIG_ERROR; | |
2083 | } | |
2084 | } | |
2085 | return SWIG_OK; | |
2086 | } | |
2087 | ||
2088 | /* ----------------------------------------------------------------------------- | |
2089 | * Create a new pointer object | |
2090 | * ----------------------------------------------------------------------------- */ | |
2091 | ||
2092 | /* | |
2093 | Create a new instance object, whitout calling __init__, and set the | |
2094 | 'this' attribute. | |
2095 | */ | |
2096 | ||
2097 | SWIGRUNTIME PyObject* | |
2098 | SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this) | |
2099 | { | |
2100 | #if (PY_VERSION_HEX >= 0x02020000) | |
2101 | PyObject *inst = 0; | |
2102 | PyObject *newraw = data->newraw; | |
2103 | if (newraw) { | |
2104 | inst = PyObject_Call(newraw, data->newargs, NULL); | |
2105 | if (inst) { | |
2106 | #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) | |
2107 | PyObject **dictptr = _PyObject_GetDictPtr(inst); | |
2108 | if (dictptr != NULL) { | |
2109 | PyObject *dict = *dictptr; | |
2110 | if (dict == NULL) { | |
2111 | dict = PyDict_New(); | |
2112 | *dictptr = dict; | |
2113 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2114 | } | |
2115 | } | |
2116 | #else | |
2117 | PyObject *key = SWIG_This(); | |
2118 | PyObject_SetAttr(inst, key, swig_this); | |
2119 | #endif | |
2120 | } | |
2121 | } else { | |
2122 | PyObject *dict = PyDict_New(); | |
2123 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2124 | inst = PyInstance_NewRaw(data->newargs, dict); | |
2125 | Py_DECREF(dict); | |
2126 | } | |
2127 | return inst; | |
2128 | #else | |
2129 | #if (PY_VERSION_HEX >= 0x02010000) | |
2130 | PyObject *inst; | |
2131 | PyObject *dict = PyDict_New(); | |
2132 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2133 | inst = PyInstance_NewRaw(data->newargs, dict); | |
2134 | Py_DECREF(dict); | |
2135 | return (PyObject *) inst; | |
2136 | #else | |
2137 | PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type); | |
2138 | if (inst == NULL) { | |
2139 | return NULL; | |
2140 | } | |
2141 | inst->in_class = (PyClassObject *)data->newargs; | |
2142 | Py_INCREF(inst->in_class); | |
2143 | inst->in_dict = PyDict_New(); | |
2144 | if (inst->in_dict == NULL) { | |
2145 | Py_DECREF(inst); | |
2146 | return NULL; | |
2147 | } | |
2148 | #ifdef Py_TPFLAGS_HAVE_WEAKREFS | |
2149 | inst->in_weakreflist = NULL; | |
2150 | #endif | |
2151 | #ifdef Py_TPFLAGS_GC | |
2152 | PyObject_GC_Init(inst); | |
2153 | #endif | |
2154 | PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this); | |
2155 | return (PyObject *) inst; | |
2156 | #endif | |
2157 | #endif | |
2158 | } | |
2159 | ||
2160 | SWIGRUNTIME void | |
2161 | SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) | |
2162 | { | |
2163 | PyObject *dict; | |
2164 | #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) | |
2165 | PyObject **dictptr = _PyObject_GetDictPtr(inst); | |
2166 | if (dictptr != NULL) { | |
2167 | dict = *dictptr; | |
2168 | if (dict == NULL) { | |
2169 | dict = PyDict_New(); | |
2170 | *dictptr = dict; | |
2171 | } | |
2172 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2173 | return; | |
2174 | } | |
2175 | #endif | |
2176 | dict = PyObject_GetAttrString(inst, "__dict__"); | |
2177 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2178 | Py_DECREF(dict); | |
2179 | } | |
2180 | ||
2181 | ||
2182 | SWIGINTERN PyObject * | |
2183 | SWIG_Python_InitShadowInstance(PyObject *args) { | |
2184 | PyObject *obj[2]; | |
2185 | if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) { | |
2186 | return NULL; | |
2187 | } else { | |
2188 | PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]); | |
2189 | if (sthis) { | |
2190 | PySwigObject_append((PyObject*) sthis, obj[1]); | |
2191 | } else { | |
2192 | SWIG_Python_SetSwigThis(obj[0], obj[1]); | |
2193 | } | |
2194 | return SWIG_Py_Void(); | |
2195 | } | |
2196 | } | |
2197 | ||
2198 | /* Create a new pointer object */ | |
2199 | ||
2200 | SWIGRUNTIME PyObject * | |
2201 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) { | |
2202 | if (!ptr) { | |
2203 | return SWIG_Py_Void(); | |
2204 | } else { | |
2205 | int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0; | |
2206 | PyObject *robj = PySwigObject_New(ptr, type, own); | |
2207 | PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0; | |
2208 | if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) { | |
2209 | PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj); | |
2210 | if (inst) { | |
2211 | Py_DECREF(robj); | |
2212 | robj = inst; | |
2213 | } | |
2214 | } | |
2215 | return robj; | |
2216 | } | |
2217 | } | |
2218 | ||
2219 | /* Create a new packed object */ | |
2220 | ||
2221 | SWIGRUNTIMEINLINE PyObject * | |
2222 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { | |
2223 | return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void(); | |
2224 | } | |
2225 | ||
2226 | /* -----------------------------------------------------------------------------* | |
2227 | * Get type list | |
2228 | * -----------------------------------------------------------------------------*/ | |
2229 | ||
2230 | #ifdef SWIG_LINK_RUNTIME | |
2231 | void *SWIG_ReturnGlobalTypeList(void *); | |
2232 | #endif | |
2233 | ||
2234 | SWIGRUNTIME swig_module_info * | |
2235 | SWIG_Python_GetModule(void) { | |
2236 | static void *type_pointer = (void *)0; | |
2237 | /* first check if module already created */ | |
2238 | if (!type_pointer) { | |
2239 | #ifdef SWIG_LINK_RUNTIME | |
2240 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
2241 | #else | |
2242 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
2243 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
2244 | if (PyErr_Occurred()) { | |
2245 | PyErr_Clear(); | |
2246 | type_pointer = (void *)0; | |
2247 | } | |
2248 | #endif | |
2249 | } | |
2250 | return (swig_module_info *) type_pointer; | |
2251 | } | |
2252 | ||
2253 | #if PY_MAJOR_VERSION < 2 | |
2254 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
2255 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
2256 | SWIGINTERN int | |
2257 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
2258 | { | |
2259 | PyObject *dict; | |
2260 | if (!PyModule_Check(m)) { | |
2261 | PyErr_SetString(PyExc_TypeError, | |
2262 | "PyModule_AddObject() needs module as first arg"); | |
2263 | return SWIG_ERROR; | |
2264 | } | |
2265 | if (!o) { | |
2266 | PyErr_SetString(PyExc_TypeError, | |
2267 | "PyModule_AddObject() needs non-NULL value"); | |
2268 | return SWIG_ERROR; | |
2269 | } | |
2270 | ||
2271 | dict = PyModule_GetDict(m); | |
2272 | if (dict == NULL) { | |
2273 | /* Internal error -- modules must have a dict! */ | |
2274 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
2275 | PyModule_GetName(m)); | |
2276 | return SWIG_ERROR; | |
2277 | } | |
2278 | if (PyDict_SetItemString(dict, name, o)) | |
2279 | return SWIG_ERROR; | |
2280 | Py_DECREF(o); | |
2281 | return SWIG_OK; | |
2282 | } | |
2283 | #endif | |
2284 | ||
2285 | SWIGRUNTIME void | |
2286 | SWIG_Python_DestroyModule(void *vptr) | |
2287 | { | |
2288 | swig_module_info *swig_module = (swig_module_info *) vptr; | |
2289 | swig_type_info **types = swig_module->types; | |
2290 | size_t i; | |
2291 | for (i =0; i < swig_module->size; ++i) { | |
2292 | swig_type_info *ty = types[i]; | |
2293 | if (ty->owndata) { | |
2294 | PySwigClientData *data = (PySwigClientData *) ty->clientdata; | |
2295 | if (data) PySwigClientData_Del(data); | |
2296 | } | |
2297 | } | |
2298 | Py_DECREF(SWIG_This()); | |
2299 | } | |
2300 | ||
2301 | SWIGRUNTIME void | |
2302 | SWIG_Python_SetModule(swig_module_info *swig_module) { | |
2303 | static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ | |
2304 | ||
2305 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
2306 | swig_empty_runtime_method_table); | |
2307 | PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule); | |
2308 | if (pointer && module) { | |
2309 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
2310 | } else { | |
2311 | Py_XDECREF(pointer); | |
2312 | } | |
2313 | } | |
2314 | ||
2315 | /* The python cached type query */ | |
2316 | SWIGRUNTIME PyObject * | |
2317 | SWIG_Python_TypeCache() { | |
2318 | static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New(); | |
2319 | return cache; | |
2320 | } | |
2321 | ||
2322 | SWIGRUNTIME swig_type_info * | |
2323 | SWIG_Python_TypeQuery(const char *type) | |
2324 | { | |
2325 | PyObject *cache = SWIG_Python_TypeCache(); | |
2326 | PyObject *key = PyString_FromString(type); | |
2327 | PyObject *obj = PyDict_GetItem(cache, key); | |
2328 | swig_type_info *descriptor; | |
2329 | if (obj) { | |
2330 | descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj); | |
2331 | } else { | |
2332 | swig_module_info *swig_module = SWIG_Python_GetModule(); | |
2333 | descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type); | |
2334 | if (descriptor) { | |
2335 | obj = PyCObject_FromVoidPtr(descriptor, NULL); | |
2336 | PyDict_SetItem(cache, key, obj); | |
2337 | Py_DECREF(obj); | |
2338 | } | |
2339 | } | |
2340 | Py_DECREF(key); | |
2341 | return descriptor; | |
2342 | } | |
2343 | ||
2344 | /* | |
2345 | For backward compatibility only | |
2346 | */ | |
2347 | #define SWIG_POINTER_EXCEPTION 0 | |
2348 | #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) | |
2349 | #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
2350 | ||
2351 | SWIGRUNTIME int | |
2352 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
2353 | { | |
2354 | if (PyErr_Occurred()) { | |
2355 | PyObject *type = 0; | |
2356 | PyObject *value = 0; | |
2357 | PyObject *traceback = 0; | |
2358 | PyErr_Fetch(&type, &value, &traceback); | |
2359 | if (value) { | |
2360 | PyObject *old_str = PyObject_Str(value); | |
2361 | Py_XINCREF(type); | |
2362 | PyErr_Clear(); | |
2363 | if (infront) { | |
2364 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
2365 | } else { | |
2366 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
2367 | } | |
2368 | Py_DECREF(old_str); | |
2369 | } | |
2370 | return 1; | |
2371 | } else { | |
2372 | return 0; | |
2373 | } | |
2374 | } | |
2375 | ||
2376 | SWIGRUNTIME int | |
2377 | SWIG_Python_ArgFail(int argnum) | |
2378 | { | |
2379 | if (PyErr_Occurred()) { | |
2380 | /* add information about failing argument */ | |
2381 | char mesg[256]; | |
2382 | PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); | |
2383 | return SWIG_Python_AddErrMesg(mesg, 1); | |
2384 | } else { | |
2385 | return 0; | |
2386 | } | |
2387 | } | |
2388 | ||
2389 | SWIGRUNTIMEINLINE const char * | |
2390 | PySwigObject_GetDesc(PyObject *self) | |
2391 | { | |
2392 | PySwigObject *v = (PySwigObject *)self; | |
2393 | swig_type_info *ty = v ? v->ty : 0; | |
2394 | return ty ? ty->str : (char*)""; | |
2395 | } | |
2396 | ||
2397 | SWIGRUNTIME void | |
2398 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
2399 | { | |
2400 | if (type) { | |
2401 | #if defined(SWIG_COBJECT_TYPES) | |
2402 | if (obj && PySwigObject_Check(obj)) { | |
2403 | const char *otype = (const char *) PySwigObject_GetDesc(obj); | |
2404 | if (otype) { | |
2405 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", | |
2406 | type, otype); | |
2407 | return; | |
2408 | } | |
2409 | } else | |
2410 | #endif | |
2411 | { | |
2412 | const char *otype = (obj ? obj->ob_type->tp_name : 0); | |
2413 | if (otype) { | |
2414 | PyObject *str = PyObject_Str(obj); | |
2415 | const char *cstr = str ? PyString_AsString(str) : 0; | |
2416 | if (cstr) { | |
2417 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", | |
2418 | type, otype, cstr); | |
2419 | } else { | |
2420 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", | |
2421 | type, otype); | |
2422 | } | |
2423 | Py_XDECREF(str); | |
2424 | return; | |
2425 | } | |
2426 | } | |
2427 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
2428 | } else { | |
2429 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
2430 | } | |
2431 | } | |
2432 | ||
2433 | ||
2434 | /* Convert a pointer value, signal an exception on a type mismatch */ | |
2435 | SWIGRUNTIME void * | |
2436 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
2437 | void *result; | |
2438 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
2439 | PyErr_Clear(); | |
2440 | if (flags & SWIG_POINTER_EXCEPTION) { | |
2441 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
2442 | SWIG_Python_ArgFail(argnum); | |
2443 | } | |
2444 | } | |
2445 | return result; | |
2446 | } | |
2447 | ||
2448 | ||
2449 | #ifdef __cplusplus | |
2450 | #if 0 | |
2451 | { /* cc-mode */ | |
2452 | #endif | |
2453 | } | |
2454 | #endif | |
2455 | ||
2456 | ||
2457 | ||
2458 | #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) | |
2459 | ||
2460 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else | |
2461 | ||
2462 | ||
2463 | ||
2464 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
2465 | ||
2466 | #define SWIGTYPE_p_char swig_types[0] | |
2467 | #define SWIGTYPE_p_form_ops_t swig_types[1] | |
2468 | #define SWIGTYPE_p_int swig_types[2] | |
2469 | #define SWIGTYPE_p_long swig_types[3] | |
2470 | #define SWIGTYPE_p_unsigned_char swig_types[4] | |
2471 | #define SWIGTYPE_p_unsigned_int swig_types[5] | |
2472 | #define SWIGTYPE_p_unsigned_long swig_types[6] | |
2473 | #define SWIGTYPE_p_wxANIHandler swig_types[7] | |
2474 | #define SWIGTYPE_p_wxAcceleratorTable swig_types[8] | |
2475 | #define SWIGTYPE_p_wxActivateEvent swig_types[9] | |
2476 | #define SWIGTYPE_p_wxArrayInt swig_types[10] | |
2477 | #define SWIGTYPE_p_wxBMPHandler swig_types[11] | |
2478 | #define SWIGTYPE_p_wxBitmap swig_types[12] | |
2479 | #define SWIGTYPE_p_wxBoxSizer swig_types[13] | |
453fb36b RD |
2480 | #define SWIGTYPE_p_wxCURHandler swig_types[14] |
2481 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15] | |
2482 | #define SWIGTYPE_p_wxChar swig_types[16] | |
2483 | #define SWIGTYPE_p_wxChildFocusEvent swig_types[17] | |
2484 | #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18] | |
2485 | #define SWIGTYPE_p_wxCloseEvent swig_types[19] | |
2486 | #define SWIGTYPE_p_wxColour swig_types[20] | |
2487 | #define SWIGTYPE_p_wxColourData swig_types[21] | |
2488 | #define SWIGTYPE_p_wxColourDialog swig_types[22] | |
2489 | #define SWIGTYPE_p_wxCommandEvent swig_types[23] | |
2490 | #define SWIGTYPE_p_wxContextMenuEvent swig_types[24] | |
2491 | #define SWIGTYPE_p_wxControl swig_types[25] | |
2492 | #define SWIGTYPE_p_wxControlWithItems swig_types[26] | |
2493 | #define SWIGTYPE_p_wxDateEvent swig_types[27] | |
2494 | #define SWIGTYPE_p_wxDialog swig_types[28] | |
2495 | #define SWIGTYPE_p_wxDirDialog swig_types[29] | |
2496 | #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30] | |
2497 | #define SWIGTYPE_p_wxDropFilesEvent swig_types[31] | |
2498 | #define SWIGTYPE_p_wxDuplexMode swig_types[32] | |
2499 | #define SWIGTYPE_p_wxEraseEvent swig_types[33] | |
2500 | #define SWIGTYPE_p_wxEvent swig_types[34] | |
4976f996 RD |
2501 | #define SWIGTYPE_p_wxEventBlocker swig_types[35] |
2502 | #define SWIGTYPE_p_wxEvtHandler swig_types[36] | |
2503 | #define SWIGTYPE_p_wxFSFile swig_types[37] | |
2504 | #define SWIGTYPE_p_wxFileDialog swig_types[38] | |
2505 | #define SWIGTYPE_p_wxFileSystem swig_types[39] | |
2506 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[40] | |
2507 | #define SWIGTYPE_p_wxFindReplaceData swig_types[41] | |
2508 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[42] | |
2509 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[43] | |
2510 | #define SWIGTYPE_p_wxFocusEvent swig_types[44] | |
2511 | #define SWIGTYPE_p_wxFont swig_types[45] | |
2512 | #define SWIGTYPE_p_wxFontData swig_types[46] | |
2513 | #define SWIGTYPE_p_wxFontDialog swig_types[47] | |
2514 | #define SWIGTYPE_p_wxFrame swig_types[48] | |
2515 | #define SWIGTYPE_p_wxGBSizerItem swig_types[49] | |
2516 | #define SWIGTYPE_p_wxGIFHandler swig_types[50] | |
2517 | #define SWIGTYPE_p_wxGridBagSizer swig_types[51] | |
2518 | #define SWIGTYPE_p_wxGridSizer swig_types[52] | |
2519 | #define SWIGTYPE_p_wxICOHandler swig_types[53] | |
2520 | #define SWIGTYPE_p_wxIconizeEvent swig_types[54] | |
2521 | #define SWIGTYPE_p_wxIdleEvent swig_types[55] | |
2522 | #define SWIGTYPE_p_wxImage swig_types[56] | |
2523 | #define SWIGTYPE_p_wxImageHandler swig_types[57] | |
2524 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[58] | |
2525 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[59] | |
2526 | #define SWIGTYPE_p_wxJPEGHandler swig_types[60] | |
2527 | #define SWIGTYPE_p_wxKeyEvent swig_types[61] | |
2528 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[62] | |
2529 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[63] | |
2530 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[64] | |
2531 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[65] | |
2532 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[66] | |
2533 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[67] | |
2534 | #define SWIGTYPE_p_wxMenu swig_types[68] | |
2535 | #define SWIGTYPE_p_wxMenuBar swig_types[69] | |
2536 | #define SWIGTYPE_p_wxMenuEvent swig_types[70] | |
2537 | #define SWIGTYPE_p_wxMenuItem swig_types[71] | |
2538 | #define SWIGTYPE_p_wxMessageDialog swig_types[72] | |
2539 | #define SWIGTYPE_p_wxMiniFrame swig_types[73] | |
2540 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[74] | |
2541 | #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[75] | |
2542 | #define SWIGTYPE_p_wxMouseEvent swig_types[76] | |
2543 | #define SWIGTYPE_p_wxMoveEvent swig_types[77] | |
2544 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[78] | |
2545 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[79] | |
2546 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[80] | |
2547 | #define SWIGTYPE_p_wxNotifyEvent swig_types[81] | |
2548 | #define SWIGTYPE_p_wxNumberEntryDialog swig_types[82] | |
2549 | #define SWIGTYPE_p_wxObject swig_types[83] | |
2550 | #define SWIGTYPE_p_wxPCXHandler swig_types[84] | |
2551 | #define SWIGTYPE_p_wxPNGHandler swig_types[85] | |
2552 | #define SWIGTYPE_p_wxPNMHandler swig_types[86] | |
2553 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[87] | |
2554 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88] | |
2555 | #define SWIGTYPE_p_wxPaintEvent swig_types[89] | |
2556 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90] | |
2557 | #define SWIGTYPE_p_wxPanel swig_types[91] | |
2558 | #define SWIGTYPE_p_wxPaperSize swig_types[92] | |
2559 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93] | |
2560 | #define SWIGTYPE_p_wxPopupWindow swig_types[94] | |
2561 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[95] | |
2562 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[96] | |
2563 | #define SWIGTYPE_p_wxPreviewFrame swig_types[97] | |
2564 | #define SWIGTYPE_p_wxPrintData swig_types[98] | |
2565 | #define SWIGTYPE_p_wxPrintDialog swig_types[99] | |
2566 | #define SWIGTYPE_p_wxPrintDialogData swig_types[100] | |
2567 | #define SWIGTYPE_p_wxPrintPreview swig_types[101] | |
2568 | #define SWIGTYPE_p_wxPrinter swig_types[102] | |
2569 | #define SWIGTYPE_p_wxProgressDialog swig_types[103] | |
2570 | #define SWIGTYPE_p_wxPyApp swig_types[104] | |
2571 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[105] | |
2572 | #define SWIGTYPE_p_wxPyEvent swig_types[106] | |
2573 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[107] | |
2574 | #define SWIGTYPE_p_wxPyImageHandler swig_types[108] | |
2575 | #define SWIGTYPE_p_wxPyPanel swig_types[109] | |
2576 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[110] | |
2577 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[111] | |
2578 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[112] | |
2579 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[113] | |
2580 | #define SWIGTYPE_p_wxPyPrintout swig_types[114] | |
2581 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[115] | |
2582 | #define SWIGTYPE_p_wxPySizer swig_types[116] | |
2583 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[117] | |
2584 | #define SWIGTYPE_p_wxPyVListBox swig_types[118] | |
2585 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[119] | |
2586 | #define SWIGTYPE_p_wxPyValidator swig_types[120] | |
2587 | #define SWIGTYPE_p_wxPyWindow swig_types[121] | |
2588 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[122] | |
2589 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[123] | |
2590 | #define SWIGTYPE_p_wxRichTextAttr swig_types[124] | |
2591 | #define SWIGTYPE_p_wxRichTextBuffer swig_types[125] | |
2592 | #define SWIGTYPE_p_wxRichTextCtrl swig_types[126] | |
2593 | #define SWIGTYPE_p_wxRichTextEvent swig_types[127] | |
2594 | #define SWIGTYPE_p_wxRichTextImageBlock swig_types[128] | |
2595 | #define SWIGTYPE_p_wxRichTextRange swig_types[129] | |
2596 | #define SWIGTYPE_p_wxRichTextStyleSheet swig_types[130] | |
2597 | #define SWIGTYPE_p_wxSashEvent swig_types[131] | |
2598 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[132] | |
2599 | #define SWIGTYPE_p_wxSashWindow swig_types[133] | |
2600 | #define SWIGTYPE_p_wxScrollEvent swig_types[134] | |
2601 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[135] | |
2602 | #define SWIGTYPE_p_wxScrolledWindow swig_types[136] | |
2603 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[137] | |
2604 | #define SWIGTYPE_p_wxShowEvent swig_types[138] | |
2605 | #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[139] | |
2606 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[140] | |
2607 | #define SWIGTYPE_p_wxSizeEvent swig_types[141] | |
2608 | #define SWIGTYPE_p_wxSizer swig_types[142] | |
2609 | #define SWIGTYPE_p_wxSizerItem swig_types[143] | |
2610 | #define SWIGTYPE_p_wxSplashScreen swig_types[144] | |
2611 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[145] | |
2612 | #define SWIGTYPE_p_wxSplitterEvent swig_types[146] | |
2613 | #define SWIGTYPE_p_wxSplitterWindow swig_types[147] | |
2614 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[148] | |
2615 | #define SWIGTYPE_p_wxStatusBar swig_types[149] | |
2616 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150] | |
2617 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151] | |
2618 | #define SWIGTYPE_p_wxTGAHandler swig_types[152] | |
2619 | #define SWIGTYPE_p_wxTIFFHandler swig_types[153] | |
2620 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[154] | |
2621 | #define SWIGTYPE_p_wxTextCoord swig_types[155] | |
2622 | #define SWIGTYPE_p_wxTextCtrlHitTestResult swig_types[156] | |
2623 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[157] | |
2624 | #define SWIGTYPE_p_wxTipWindow swig_types[158] | |
2625 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[159] | |
2626 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[160] | |
2627 | #define SWIGTYPE_p_wxValidator swig_types[161] | |
2628 | #define SWIGTYPE_p_wxWindow swig_types[162] | |
2629 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163] | |
2630 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164] | |
2631 | #define SWIGTYPE_p_wxXPMHandler swig_types[165] | |
2632 | static swig_type_info *swig_types[167]; | |
2633 | static swig_module_info swig_module = {swig_types, 166, 0, 0, 0, 0}; | |
f05326ba RD |
2634 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
2635 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
2636 | ||
2637 | /* -------- TYPES TABLE (END) -------- */ | |
2638 | ||
2639 | #if (PY_VERSION_HEX <= 0x02000000) | |
2640 | # if !defined(SWIG_PYTHON_CLASSIC) | |
2641 | # error "This python version requires to use swig with the '-classic' option" | |
2642 | # endif | |
2643 | #endif | |
2644 | #if (PY_VERSION_HEX <= 0x02020000) | |
2645 | # error "This python version requires to use swig with the '-nomodern' option" | |
2646 | #endif | |
2647 | #if (PY_VERSION_HEX <= 0x02020000) | |
2648 | # error "This python version requires to use swig with the '-nomodernargs' option" | |
2649 | #endif | |
2650 | #ifndef METH_O | |
2651 | # error "This python version requires to use swig with the '-nofastunpack' option" | |
2652 | #endif | |
2653 | ||
2654 | /*----------------------------------------------- | |
2655 | @(target):= _richtext.so | |
2656 | ------------------------------------------------*/ | |
2657 | #define SWIG_init init_richtext | |
2658 | ||
2659 | #define SWIG_name "_richtext" | |
2660 | ||
2661 | #define SWIGVERSION 0x010329 | |
2662 | ||
2663 | ||
2664 | #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) | |
2665 | #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) | |
2666 | ||
2667 | ||
2668 | #include <stdexcept> | |
2669 | ||
2670 | ||
2671 | namespace swig { | |
2672 | class PyObject_ptr { | |
2673 | protected: | |
2674 | PyObject *_obj; | |
2675 | ||
2676 | public: | |
2677 | PyObject_ptr() :_obj(0) | |
2678 | { | |
2679 | } | |
2680 | ||
2681 | PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) | |
2682 | { | |
2683 | Py_XINCREF(_obj); | |
2684 | } | |
2685 | ||
2686 | PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) | |
2687 | { | |
2688 | if (initial_ref) Py_XINCREF(_obj); | |
2689 | } | |
2690 | ||
2691 | PyObject_ptr & operator=(const PyObject_ptr& item) | |
2692 | { | |
2693 | Py_XINCREF(item._obj); | |
2694 | Py_XDECREF(_obj); | |
2695 | _obj = item._obj; | |
2696 | return *this; | |
2697 | } | |
2698 | ||
2699 | ~PyObject_ptr() | |
2700 | { | |
2701 | Py_XDECREF(_obj); | |
2702 | } | |
2703 | ||
2704 | operator PyObject *() const | |
2705 | { | |
2706 | return _obj; | |
2707 | } | |
2708 | ||
2709 | PyObject *operator->() const | |
2710 | { | |
2711 | return _obj; | |
2712 | } | |
2713 | }; | |
2714 | } | |
2715 | ||
2716 | ||
2717 | namespace swig { | |
2718 | struct PyObject_var : PyObject_ptr { | |
2719 | PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } | |
2720 | ||
2721 | PyObject_var & operator = (PyObject* obj) | |
2722 | { | |
2723 | Py_XDECREF(_obj); | |
2724 | _obj = obj; | |
2725 | return *this; | |
2726 | } | |
2727 | }; | |
2728 | } | |
2729 | ||
2730 | ||
2731 | #include "wx/wxPython/wxPython.h" | |
2732 | #include "wx/wxPython/pyclasses.h" | |
2733 | #include "wx/wxPython/printfw.h" | |
2734 | #include "wx/wxPython/twoitem.h" | |
2735 | ||
2736 | #include <wx/richtext/richtextctrl.h> | |
2737 | ||
2738 | ||
2739 | class wxEffects; | |
2740 | class wxBufferedDC; | |
2741 | class wxBufferedPaintDC; | |
2742 | class wxMetaFile; | |
2743 | class wxMetaFileDC; | |
2744 | class wxPrinterDC; | |
2745 | ||
2746 | ||
2747 | ||
2748 | #define SWIG_From_long PyInt_FromLong | |
2749 | ||
2750 | ||
2751 | SWIGINTERNINLINE PyObject * | |
2752 | SWIG_From_int (int value) | |
2753 | { | |
2754 | return SWIG_From_long (value); | |
2755 | } | |
2756 | ||
2757 | static const wxString wxPyEmptyString(wxEmptyString); | |
2758 | ||
2759 | ||
2760 | bool wxRichTextRange_helper(PyObject* source, wxRichTextRange** obj) | |
2761 | { | |
2762 | if (source == Py_None) { | |
2763 | **obj = wxRICHTEXT_NONE; | |
2764 | return true; | |
2765 | } | |
2766 | return wxPyTwoIntItem_helper(source, obj, wxT("wxRichTextRange")); | |
2767 | } | |
2768 | ||
2769 | ||
2770 | SWIGINTERN int | |
2771 | SWIG_AsVal_long (PyObject* obj, long* val) | |
2772 | { | |
2773 | if (PyNumber_Check(obj)) { | |
2774 | if (val) *val = PyInt_AsLong(obj); | |
2775 | return SWIG_OK; | |
2776 | } | |
2777 | return SWIG_TypeError; | |
2778 | } | |
2779 | ||
2780 | SWIGINTERN bool wxRichTextRange___eq__(wxRichTextRange *self,PyObject *other){ | |
2781 | wxRichTextRange temp, *obj = &temp; | |
2782 | if ( other == Py_None ) return false; | |
2783 | if ( ! wxRichTextRange_helper(other, &obj) ) { | |
2784 | PyErr_Clear(); | |
2785 | return false; | |
2786 | } | |
2787 | return self->operator==(*obj); | |
2788 | } | |
2789 | SWIGINTERN PyObject *wxRichTextRange_Get(wxRichTextRange *self){ | |
2790 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2791 | PyObject* tup = PyTuple_New(2); | |
2792 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetStart())); | |
2793 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetEnd())); | |
2794 | wxPyEndBlockThreads(blocked); | |
2795 | return tup; | |
2796 | } | |
2797 | ||
2798 | wxRichTextRange wxPy_RTR_ALL(wxRICHTEXT_ALL); | |
2799 | wxRichTextRange wxPy_RTR_NONE(wxRICHTEXT_NONE); | |
2800 | ||
2801 | ||
2802 | #include <limits.h> | |
2803 | #ifndef LLONG_MIN | |
2804 | # define LLONG_MIN LONG_LONG_MIN | |
2805 | #endif | |
2806 | #ifndef LLONG_MAX | |
2807 | # define LLONG_MAX LONG_LONG_MAX | |
2808 | #endif | |
2809 | #ifndef ULLONG_MAX | |
2810 | # define ULLONG_MAX ULONG_LONG_MAX | |
2811 | #endif | |
2812 | ||
2813 | ||
2814 | SWIGINTERN int | |
2815 | SWIG_AsVal_int (PyObject * obj, int *val) | |
2816 | { | |
2817 | long v; | |
2818 | int res = SWIG_AsVal_long (obj, &v); | |
2819 | if (SWIG_IsOK(res)) { | |
2820 | if ((v < INT_MIN || v > INT_MAX)) { | |
2821 | return SWIG_OverflowError; | |
2822 | } else { | |
2823 | if (val) *val = static_cast< int >(v); | |
2824 | } | |
2825 | } | |
2826 | return res; | |
2827 | } | |
2828 | ||
2829 | ||
2830 | SWIGINTERN int | |
2831 | SWIG_AsVal_bool (PyObject *obj, bool *val) | |
2832 | { | |
2833 | if (obj == Py_True) { | |
2834 | if (val) *val = true; | |
2835 | return SWIG_OK; | |
2836 | } else if (obj == Py_False) { | |
2837 | if (val) *val = false; | |
2838 | return SWIG_OK; | |
2839 | } else { | |
2840 | long v = 0; | |
2841 | int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0)); | |
2842 | if (SWIG_IsOK(res) && val) *val = v ? true : false; | |
2843 | return res; | |
2844 | } | |
2845 | } | |
2846 | ||
2847 | ||
2848 | SWIGINTERN int | |
2849 | SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) | |
2850 | { | |
2851 | long v = 0; | |
2852 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
2853 | return SWIG_TypeError; | |
2854 | } | |
2855 | else if (val) | |
2856 | *val = (unsigned long)v; | |
2857 | return SWIG_OK; | |
2858 | } | |
2859 | ||
f05326ba RD |
2860 | #ifdef __cplusplus |
2861 | extern "C" { | |
2862 | #endif | |
2863 | SWIGINTERN PyObject *_wrap_new_RichTextRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
2864 | PyObject *resultobj = 0; | |
2865 | long arg1 = (long) 0 ; | |
2866 | long arg2 = (long) 0 ; | |
2867 | wxRichTextRange *result = 0 ; | |
2868 | long val1 ; | |
2869 | int ecode1 = 0 ; | |
2870 | long val2 ; | |
2871 | int ecode2 = 0 ; | |
2872 | PyObject * obj0 = 0 ; | |
2873 | PyObject * obj1 = 0 ; | |
2874 | char * kwnames[] = { | |
2875 | (char *) "start",(char *) "end", NULL | |
2876 | }; | |
2877 | ||
2878 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RichTextRange",kwnames,&obj0,&obj1)) SWIG_fail; | |
2879 | if (obj0) { | |
2880 | ecode1 = SWIG_AsVal_long(obj0, &val1); | |
2881 | if (!SWIG_IsOK(ecode1)) { | |
2882 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RichTextRange" "', expected argument " "1"" of type '" "long""'"); | |
2883 | } | |
2884 | arg1 = static_cast< long >(val1); | |
2885 | } | |
2886 | if (obj1) { | |
2887 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
2888 | if (!SWIG_IsOK(ecode2)) { | |
2889 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RichTextRange" "', expected argument " "2"" of type '" "long""'"); | |
2890 | } | |
2891 | arg2 = static_cast< long >(val2); | |
2892 | } | |
2893 | { | |
2894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2895 | result = (wxRichTextRange *)new wxRichTextRange(arg1,arg2); | |
2896 | wxPyEndAllowThreads(__tstate); | |
2897 | if (PyErr_Occurred()) SWIG_fail; | |
2898 | } | |
2899 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_NEW | 0 ); | |
2900 | return resultobj; | |
2901 | fail: | |
2902 | return NULL; | |
2903 | } | |
2904 | ||
2905 | ||
2906 | SWIGINTERN PyObject *_wrap_delete_RichTextRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
2907 | PyObject *resultobj = 0; | |
2908 | wxRichTextRange *arg1 = (wxRichTextRange *) 0 ; | |
2909 | void *argp1 = 0 ; | |
2910 | int res1 = 0 ; | |
2911 | PyObject *swig_obj[1] ; | |
2912 | ||
2913 | if (!args) SWIG_fail; | |
2914 | swig_obj[0] = args; | |
2915 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_DISOWN | 0 ); | |
2916 | if (!SWIG_IsOK(res1)) { | |
2917 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'"); | |
2918 | } | |
2919 | arg1 = reinterpret_cast< wxRichTextRange * >(argp1); | |
2920 | { | |
2921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2922 | delete arg1; | |
2923 | ||
2924 | wxPyEndAllowThreads(__tstate); | |
2925 | if (PyErr_Occurred()) SWIG_fail; | |
2926 | } | |
2927 | resultobj = SWIG_Py_Void(); | |
2928 | return resultobj; | |
2929 | fail: | |
2930 | return NULL; | |
2931 | } | |
2932 | ||
2933 | ||
2934 | SWIGINTERN PyObject *_wrap_RichTextRange___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
2935 | PyObject *resultobj = 0; | |
2936 | wxRichTextRange *arg1 = (wxRichTextRange *) 0 ; | |
2937 | PyObject *arg2 = (PyObject *) 0 ; | |
2938 | bool result; | |
2939 | void *argp1 = 0 ; | |
2940 | int res1 = 0 ; | |
2941 | PyObject * obj0 = 0 ; | |
2942 | PyObject * obj1 = 0 ; | |
2943 | char * kwnames[] = { | |
2944 | (char *) "self",(char *) "other", NULL | |
2945 | }; | |
2946 | ||
2947 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange___eq__",kwnames,&obj0,&obj1)) SWIG_fail; | |
2948 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 ); | |
2949 | if (!SWIG_IsOK(res1)) { | |
2950 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange___eq__" "', expected argument " "1"" of type '" "wxRichTextRange *""'"); | |
2951 | } | |
2952 | arg1 = reinterpret_cast< wxRichTextRange * >(argp1); | |
2953 | arg2 = obj1; | |
2954 | { | |
2955 | result = (bool)wxRichTextRange___eq__(arg1,arg2); | |
2956 | if (PyErr_Occurred()) SWIG_fail; | |
2957 | } | |
2958 | { | |
2959 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2960 | } | |
2961 | return resultobj; | |
2962 | fail: | |
2963 | return NULL; | |
2964 | } | |
2965 | ||
2966 | ||
2967 | SWIGINTERN PyObject *_wrap_RichTextRange___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
2968 | PyObject *resultobj = 0; | |
2969 | wxRichTextRange *arg1 = (wxRichTextRange *) 0 ; | |
2970 | wxRichTextRange *arg2 = 0 ; | |
2971 | wxRichTextRange result; | |
2972 | void *argp1 = 0 ; | |
2973 | int res1 = 0 ; | |
2974 | wxRichTextRange temp2 ; | |
2975 | PyObject * obj0 = 0 ; | |
2976 | PyObject * obj1 = 0 ; | |
2977 | char * kwnames[] = { | |
2978 | (char *) "self",(char *) "range", NULL | |
2979 | }; | |
2980 | ||
2981 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange___sub__",kwnames,&obj0,&obj1)) SWIG_fail; | |
2982 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 ); | |
2983 | if (!SWIG_IsOK(res1)) { | |
2984 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange___sub__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'"); | |
2985 | } | |
2986 | arg1 = reinterpret_cast< wxRichTextRange * >(argp1); | |
2987 | { | |
2988 | arg2 = &temp2; | |
2989 | if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail; | |
2990 | } | |
2991 | { | |
2992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2993 | result = ((wxRichTextRange const *)arg1)->operator -((wxRichTextRange const &)*arg2); | |
2994 | wxPyEndAllowThreads(__tstate); | |
2995 | if (PyErr_Occurred()) SWIG_fail; | |
2996 | } | |
2997 | resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 ); | |
2998 | return resultobj; | |
2999 | fail: | |
3000 | return NULL; | |
3001 | } | |
3002 | ||
3003 | ||
3004 | SWIGINTERN PyObject *_wrap_RichTextRange___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3005 | PyObject *resultobj = 0; | |
3006 | wxRichTextRange *arg1 = (wxRichTextRange *) 0 ; | |
3007 | wxRichTextRange *arg2 = 0 ; | |
3008 | wxRichTextRange result; | |
3009 | void *argp1 = 0 ; | |
3010 | int res1 = 0 ; | |
3011 | wxRichTextRange temp2 ; | |
3012 | PyObject * obj0 = 0 ; | |
3013 | PyObject * obj1 = 0 ; | |
3014 | char * kwnames[] = { | |
3015 | (char *) "self",(char *) "range", NULL | |
3016 | }; | |
3017 | ||
3018 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange___add__",kwnames,&obj0,&obj1)) SWIG_fail; | |
3019 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 ); | |
3020 | if (!SWIG_IsOK(res1)) { | |
3021 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange___add__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'"); | |
3022 | } | |
3023 | arg1 = reinterpret_cast< wxRichTextRange * >(argp1); | |
3024 | { | |
3025 | arg2 = &temp2; | |
3026 | if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail; | |
3027 | } | |
3028 | { | |
3029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3030 | result = ((wxRichTextRange const *)arg1)->operator +((wxRichTextRange const &)*arg2); | |
3031 | wxPyEndAllowThreads(__tstate); | |
3032 | if (PyErr_Occurred()) SWIG_fail; | |
3033 | } | |
3034 | resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 ); | |
3035 | return resultobj; | |
3036 | fail: | |
3037 | return NULL; | |
3038 | } | |
3039 | ||
3040 | ||
3041 | SWIGINTERN PyObject *_wrap_RichTextRange_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3042 | PyObject *resultobj = 0; | |
3043 | wxRichTextRange *arg1 = (wxRichTextRange *) 0 ; | |
3044 | long arg2 ; | |
3045 | long arg3 ; | |
3046 | void *argp1 = 0 ; | |
3047 | int res1 = 0 ; | |
3048 | long val2 ; | |
3049 | int ecode2 = 0 ; | |
3050 | long val3 ; | |
3051 | int ecode3 = 0 ; | |
3052 | PyObject * obj0 = 0 ; | |
3053 | PyObject * obj1 = 0 ; | |
3054 | PyObject * obj2 = 0 ; | |
3055 | char * kwnames[] = { | |
3056 | (char *) "self",(char *) "start",(char *) "end", NULL | |
3057 | }; | |
3058 | ||
3059 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextRange_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
3060 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 ); | |
3061 | if (!SWIG_IsOK(res1)) { | |
3062 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_SetRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'"); | |
3063 | } | |
3064 | arg1 = reinterpret_cast< wxRichTextRange * >(argp1); | |
3065 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
3066 | if (!SWIG_IsOK(ecode2)) { | |
3067 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_SetRange" "', expected argument " "2"" of type '" "long""'"); | |
3068 | } | |
3069 | arg2 = static_cast< long >(val2); | |
3070 | ecode3 = SWIG_AsVal_long(obj2, &val3); | |
3071 | if (!SWIG_IsOK(ecode3)) { | |
3072 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextRange_SetRange" "', expected argument " "3"" of type '" "long""'"); | |
3073 | } | |
3074 | arg3 = static_cast< long >(val3); | |
3075 | { | |
3076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3077 | (arg1)->SetRange(arg2,arg3); | |
3078 | wxPyEndAllowThreads(__tstate); | |
3079 | if (PyErr_Occurred()) SWIG_fail; | |
3080 | } | |
3081 | resultobj = SWIG_Py_Void(); | |
3082 | return resultobj; | |
3083 | fail: | |
3084 | return NULL; | |
3085 | } | |
3086 | ||
3087 | ||
3088 | SWIGINTERN PyObject *_wrap_RichTextRange_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3089 | PyObject *resultobj = 0; | |
3090 | wxRichTextRange *arg1 = (wxRichTextRange *) 0 ; | |
3091 | long arg2 ; | |
3092 | void *argp1 = 0 ; | |
3093 | int res1 = 0 ; | |
3094 | long val2 ; | |
3095 | int ecode2 = 0 ; | |
3096 | PyObject * obj0 = 0 ; | |
3097 | PyObject * obj1 = 0 ; | |
3098 | char * kwnames[] = { | |
3099 | (char *) "self",(char *) "start", NULL | |
3100 | }; | |
3101 | ||
3102 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_SetStart",kwnames,&obj0,&obj1)) SWIG_fail; | |
3103 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 ); | |
3104 | if (!SWIG_IsOK(res1)) { | |
3105 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_SetStart" "', expected argument " "1"" of type '" "wxRichTextRange *""'"); | |
3106 | } | |
3107 | arg1 = reinterpret_cast< wxRichTextRange * >(argp1); | |
3108 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
3109 | if (!SWIG_IsOK(ecode2)) { | |
3110 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_SetStart" "', expected argument " "2"" of type '" "long""'"); | |
3111 | } | |
3112 | arg2 = static_cast< long >(val2); | |
3113 | { | |
3114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3115 | (arg1)->SetStart(arg2); | |
3116 | wxPyEndAllowThreads(__tstate); | |
3117 | if (PyErr_Occurred()) SWIG_fail; | |
3118 | } | |
3119 | resultobj = SWIG_Py_Void(); | |
3120 | return resultobj; | |
3121 | fail: | |
3122 | return NULL; | |
3123 | } | |
3124 | ||
3125 | ||
3126 | SWIGINTERN PyObject *_wrap_RichTextRange_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3127 | PyObject *resultobj = 0; | |
3128 | wxRichTextRange *arg1 = (wxRichTextRange *) 0 ; | |
3129 | long result; | |
3130 | void *argp1 = 0 ; | |
3131 | int res1 = 0 ; | |
3132 | PyObject *swig_obj[1] ; | |
3133 | ||
3134 | if (!args) SWIG_fail; | |
3135 | swig_obj[0] = args; | |
3136 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 ); | |
3137 | if (!SWIG_IsOK(res1)) { | |
3138 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_GetStart" "', expected argument " "1"" of type '" "wxRichTextRange const *""'"); | |
3139 | } | |
3140 | arg1 = reinterpret_cast< wxRichTextRange * >(argp1); | |
3141 | { | |
3142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3143 | result = (long)((wxRichTextRange const *)arg1)->GetStart(); | |
3144 | wxPyEndAllowThreads(__tstate); | |
3145 | if (PyErr_Occurred()) SWIG_fail; | |
3146 | } | |
3147 | resultobj = SWIG_From_long(static_cast< long >(result)); | |
3148 | return resultobj; | |
3149 | fail: | |
3150 | return NULL; | |
3151 | } | |
3152 | ||
3153 | ||
3154 | SWIGINTERN PyObject *_wrap_RichTextRange_SetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3155 | PyObject *resultobj = 0; | |
3156 | wxRichTextRange *arg1 = (wxRichTextRange *) 0 ; | |
3157 | long arg2 ; | |
3158 | void *argp1 = 0 ; | |
3159 | int res1 = 0 ; | |
3160 | long val2 ; | |
3161 | int ecode2 = 0 ; | |
3162 | PyObject * obj0 = 0 ; | |
3163 | PyObject * obj1 = 0 ; | |
3164 | char * kwnames[] = { | |
3165 | (char *) "self",(char *) "end", NULL | |
3166 | }; | |
3167 | ||
3168 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_SetEnd",kwnames,&obj0,&obj1)) SWIG_fail; | |
3169 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 ); | |
3170 | if (!SWIG_IsOK(res1)) { | |
3171 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_SetEnd" "', expected argument " "1"" of type '" "wxRichTextRange *""'"); | |
3172 | } | |
3173 | arg1 = reinterpret_cast< wxRichTextRange * >(argp1); | |
3174 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
3175 | if (!SWIG_IsOK(ecode2)) { | |
3176 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_SetEnd" "', expected argument " "2"" of type '" "long""'"); | |
3177 | } | |
3178 | arg2 = static_cast< long >(val2); | |
3179 | { | |
3180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3181 | (arg1)->SetEnd(arg2); | |
3182 | wxPyEndAllowThreads(__tstate); | |
3183 | if (PyErr_Occurred()) SWIG_fail; | |
3184 | } | |
3185 | resultobj = SWIG_Py_Void(); | |
3186 | return resultobj; | |
3187 | fail: | |
3188 | return NULL; | |
3189 | } | |
3190 | ||
3191 | ||
3192 | SWIGINTERN PyObject *_wrap_RichTextRange_GetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3193 | PyObject *resultobj = 0; | |
3194 | wxRichTextRange *arg1 = (wxRichTextRange *) 0 ; | |
3195 | long result; | |
3196 | void *argp1 = 0 ; | |
3197 | int res1 = 0 ; | |
3198 | PyObject *swig_obj[1] ; | |
3199 | ||
3200 | if (!args) SWIG_fail; | |
3201 | swig_obj[0] = args; | |
3202 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 ); | |
3203 | if (!SWIG_IsOK(res1)) { | |
3204 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_GetEnd" "', expected argument " "1"" of type '" "wxRichTextRange const *""'"); | |
3205 | } | |
3206 | arg1 = reinterpret_cast< wxRichTextRange * >(argp1); | |
3207 | { | |
3208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3209 | result = (long)((wxRichTextRange const *)arg1)->GetEnd(); | |
3210 | wxPyEndAllowThreads(__tstate); | |
3211 | if (PyErr_Occurred()) SWIG_fail; | |
3212 | } | |
3213 | resultobj = SWIG_From_long(static_cast< long >(result)); | |
3214 | return resultobj; | |
3215 | fail: | |
3216 | return NULL; | |
3217 | } | |
3218 | ||
3219 | ||
3220 | SWIGINTERN PyObject *_wrap_RichTextRange_IsOutside(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3221 | PyObject *resultobj = 0; | |
3222 | wxRichTextRange *arg1 = (wxRichTextRange *) 0 ; | |
3223 | wxRichTextRange *arg2 = 0 ; | |
3224 | bool result; | |
3225 | void *argp1 = 0 ; | |
3226 | int res1 = 0 ; | |
3227 | wxRichTextRange temp2 ; | |
3228 | PyObject * obj0 = 0 ; | |
3229 | PyObject * obj1 = 0 ; | |
3230 | char * kwnames[] = { | |
3231 | (char *) "self",(char *) "range", NULL | |
3232 | }; | |
3233 | ||
3234 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_IsOutside",kwnames,&obj0,&obj1)) SWIG_fail; | |
3235 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 ); | |
3236 | if (!SWIG_IsOK(res1)) { | |
3237 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_IsOutside" "', expected argument " "1"" of type '" "wxRichTextRange const *""'"); | |
3238 | } | |
3239 | arg1 = reinterpret_cast< wxRichTextRange * >(argp1); | |
3240 | { | |
3241 | arg2 = &temp2; | |
3242 | if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail; | |
3243 | } | |
3244 | { | |
3245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3246 | result = (bool)((wxRichTextRange const *)arg1)->IsOutside((wxRichTextRange const &)*arg2); | |
3247 | wxPyEndAllowThreads(__tstate); | |
3248 | if (PyErr_Occurred()) SWIG_fail; | |
3249 | } | |
3250 | { | |
3251 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3252 | } | |
3253 | return resultobj; | |
3254 | fail: | |
3255 | return NULL; | |
3256 | } | |
3257 | ||
3258 | ||
3259 | SWIGINTERN PyObject *_wrap_RichTextRange_IsWithin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3260 | PyObject *resultobj = 0; | |
3261 | wxRichTextRange *arg1 = (wxRichTextRange *) 0 ; | |
3262 | wxRichTextRange *arg2 = 0 ; | |
3263 | bool result; | |
3264 | void *argp1 = 0 ; | |
3265 | int res1 = 0 ; | |
3266 | wxRichTextRange temp2 ; | |
3267 | PyObject * obj0 = 0 ; | |
3268 | PyObject * obj1 = 0 ; | |
3269 | char * kwnames[] = { | |
3270 | (char *) "self",(char *) "range", NULL | |
3271 | }; | |
3272 | ||
3273 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_IsWithin",kwnames,&obj0,&obj1)) SWIG_fail; | |
3274 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 ); | |
3275 | if (!SWIG_IsOK(res1)) { | |
3276 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_IsWithin" "', expected argument " "1"" of type '" "wxRichTextRange const *""'"); | |
3277 | } | |
3278 | arg1 = reinterpret_cast< wxRichTextRange * >(argp1); | |
3279 | { | |
3280 | arg2 = &temp2; | |
3281 | if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail; | |
3282 | } | |
3283 | { | |
3284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3285 | result = (bool)((wxRichTextRange const *)arg1)->IsWithin((wxRichTextRange const &)*arg2); | |
3286 | wxPyEndAllowThreads(__tstate); | |
3287 | if (PyErr_Occurred()) SWIG_fail; | |
3288 | } | |
3289 | { | |
3290 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3291 | } | |
3292 | return resultobj; | |
3293 | fail: | |
3294 | return NULL; | |
3295 | } | |
3296 | ||
3297 | ||
3298 | SWIGINTERN PyObject *_wrap_RichTextRange_Contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3299 | PyObject *resultobj = 0; | |
3300 | wxRichTextRange *arg1 = (wxRichTextRange *) 0 ; | |
3301 | long arg2 ; | |
3302 | bool result; | |
3303 | void *argp1 = 0 ; | |
3304 | int res1 = 0 ; | |
3305 | long val2 ; | |
3306 | int ecode2 = 0 ; | |
3307 | PyObject * obj0 = 0 ; | |
3308 | PyObject * obj1 = 0 ; | |
3309 | char * kwnames[] = { | |
3310 | (char *) "self",(char *) "pos", NULL | |
3311 | }; | |
3312 | ||
3313 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_Contains",kwnames,&obj0,&obj1)) SWIG_fail; | |
3314 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 ); | |
3315 | if (!SWIG_IsOK(res1)) { | |
3316 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_Contains" "', expected argument " "1"" of type '" "wxRichTextRange const *""'"); | |
3317 | } | |
3318 | arg1 = reinterpret_cast< wxRichTextRange * >(argp1); | |
3319 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
3320 | if (!SWIG_IsOK(ecode2)) { | |
3321 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_Contains" "', expected argument " "2"" of type '" "long""'"); | |
3322 | } | |
3323 | arg2 = static_cast< long >(val2); | |
3324 | { | |
3325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3326 | result = (bool)((wxRichTextRange const *)arg1)->Contains(arg2); | |
3327 | wxPyEndAllowThreads(__tstate); | |
3328 | if (PyErr_Occurred()) SWIG_fail; | |
3329 | } | |
3330 | { | |
3331 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3332 | } | |
3333 | return resultobj; | |
3334 | fail: | |
3335 | return NULL; | |
3336 | } | |
3337 | ||
3338 | ||
3339 | SWIGINTERN PyObject *_wrap_RichTextRange_LimitTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3340 | PyObject *resultobj = 0; | |
3341 | wxRichTextRange *arg1 = (wxRichTextRange *) 0 ; | |
3342 | wxRichTextRange *arg2 = 0 ; | |
3343 | bool result; | |
3344 | void *argp1 = 0 ; | |
3345 | int res1 = 0 ; | |
3346 | wxRichTextRange temp2 ; | |
3347 | PyObject * obj0 = 0 ; | |
3348 | PyObject * obj1 = 0 ; | |
3349 | char * kwnames[] = { | |
3350 | (char *) "self",(char *) "range", NULL | |
3351 | }; | |
3352 | ||
3353 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_LimitTo",kwnames,&obj0,&obj1)) SWIG_fail; | |
3354 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 ); | |
3355 | if (!SWIG_IsOK(res1)) { | |
3356 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_LimitTo" "', expected argument " "1"" of type '" "wxRichTextRange *""'"); | |
3357 | } | |
3358 | arg1 = reinterpret_cast< wxRichTextRange * >(argp1); | |
3359 | { | |
3360 | arg2 = &temp2; | |
3361 | if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail; | |
3362 | } | |
3363 | { | |
3364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3365 | result = (bool)(arg1)->LimitTo((wxRichTextRange const &)*arg2); | |
3366 | wxPyEndAllowThreads(__tstate); | |
3367 | if (PyErr_Occurred()) SWIG_fail; | |
3368 | } | |
3369 | { | |
3370 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3371 | } | |
3372 | return resultobj; | |
3373 | fail: | |
3374 | return NULL; | |
3375 | } | |
3376 | ||
3377 | ||
3378 | SWIGINTERN PyObject *_wrap_RichTextRange_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3379 | PyObject *resultobj = 0; | |
3380 | wxRichTextRange *arg1 = (wxRichTextRange *) 0 ; | |
3381 | long result; | |
3382 | void *argp1 = 0 ; | |
3383 | int res1 = 0 ; | |
3384 | PyObject *swig_obj[1] ; | |
3385 | ||
3386 | if (!args) SWIG_fail; | |
3387 | swig_obj[0] = args; | |
3388 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 ); | |
3389 | if (!SWIG_IsOK(res1)) { | |
3390 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_GetLength" "', expected argument " "1"" of type '" "wxRichTextRange const *""'"); | |
3391 | } | |
3392 | arg1 = reinterpret_cast< wxRichTextRange * >(argp1); | |
3393 | { | |
3394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3395 | result = (long)((wxRichTextRange const *)arg1)->GetLength(); | |
3396 | wxPyEndAllowThreads(__tstate); | |
3397 | if (PyErr_Occurred()) SWIG_fail; | |
3398 | } | |
3399 | resultobj = SWIG_From_long(static_cast< long >(result)); | |
3400 | return resultobj; | |
3401 | fail: | |
3402 | return NULL; | |
3403 | } | |
3404 | ||
3405 | ||
3406 | SWIGINTERN PyObject *_wrap_RichTextRange_Swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3407 | PyObject *resultobj = 0; | |
3408 | wxRichTextRange *arg1 = (wxRichTextRange *) 0 ; | |
3409 | void *argp1 = 0 ; | |
3410 | int res1 = 0 ; | |
3411 | PyObject *swig_obj[1] ; | |
3412 | ||
3413 | if (!args) SWIG_fail; | |
3414 | swig_obj[0] = args; | |
3415 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 ); | |
3416 | if (!SWIG_IsOK(res1)) { | |
3417 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_Swap" "', expected argument " "1"" of type '" "wxRichTextRange *""'"); | |
3418 | } | |
3419 | arg1 = reinterpret_cast< wxRichTextRange * >(argp1); | |
3420 | { | |
3421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3422 | (arg1)->Swap(); | |
3423 | wxPyEndAllowThreads(__tstate); | |
3424 | if (PyErr_Occurred()) SWIG_fail; | |
3425 | } | |
3426 | resultobj = SWIG_Py_Void(); | |
3427 | return resultobj; | |
3428 | fail: | |
3429 | return NULL; | |
3430 | } | |
3431 | ||
3432 | ||
3433 | SWIGINTERN PyObject *_wrap_RichTextRange_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3434 | PyObject *resultobj = 0; | |
3435 | wxRichTextRange *arg1 = (wxRichTextRange *) 0 ; | |
3436 | PyObject *result = 0 ; | |
3437 | void *argp1 = 0 ; | |
3438 | int res1 = 0 ; | |
3439 | PyObject *swig_obj[1] ; | |
3440 | ||
3441 | if (!args) SWIG_fail; | |
3442 | swig_obj[0] = args; | |
3443 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 ); | |
3444 | if (!SWIG_IsOK(res1)) { | |
3445 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_Get" "', expected argument " "1"" of type '" "wxRichTextRange *""'"); | |
3446 | } | |
3447 | arg1 = reinterpret_cast< wxRichTextRange * >(argp1); | |
3448 | { | |
3449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3450 | result = (PyObject *)wxRichTextRange_Get(arg1); | |
3451 | wxPyEndAllowThreads(__tstate); | |
3452 | if (PyErr_Occurred()) SWIG_fail; | |
3453 | } | |
3454 | resultobj = result; | |
3455 | return resultobj; | |
3456 | fail: | |
3457 | return NULL; | |
3458 | } | |
3459 | ||
3460 | ||
3461 | SWIGINTERN PyObject *RichTextRange_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3462 | PyObject *obj; | |
3463 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
3464 | SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextRange, SWIG_NewClientData(obj)); | |
3465 | return SWIG_Py_Void(); | |
3466 | } | |
3467 | ||
3468 | SWIGINTERN PyObject *RichTextRange_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3469 | return SWIG_Python_InitShadowInstance(args); | |
3470 | } | |
3471 | ||
3472 | SWIGINTERN int RICHTEXT_ALL_set(PyObject *) { | |
3473 | SWIG_Error(SWIG_AttributeError,"Variable RICHTEXT_ALL is read-only."); | |
3474 | return 1; | |
3475 | } | |
3476 | ||
3477 | ||
3478 | SWIGINTERN PyObject *RICHTEXT_ALL_get(void) { | |
3479 | PyObject *pyobj = 0; | |
3480 | ||
3481 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_ALL), SWIGTYPE_p_wxRichTextRange, 0 ); | |
3482 | return pyobj; | |
3483 | } | |
3484 | ||
3485 | ||
3486 | SWIGINTERN int RICHTEXT_NONE_set(PyObject *) { | |
3487 | SWIG_Error(SWIG_AttributeError,"Variable RICHTEXT_NONE is read-only."); | |
3488 | return 1; | |
3489 | } | |
3490 | ||
3491 | ||
3492 | SWIGINTERN PyObject *RICHTEXT_NONE_get(void) { | |
3493 | PyObject *pyobj = 0; | |
3494 | ||
3495 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_NONE), SWIGTYPE_p_wxRichTextRange, 0 ); | |
3496 | return pyobj; | |
3497 | } | |
3498 | ||
3499 | ||
3500 | SWIGINTERN PyObject *_wrap_new_RichTextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3501 | PyObject *resultobj = 0; | |
3502 | wxColour const &arg1_defvalue = wxNullColour ; | |
3503 | wxColour *arg1 = (wxColour *) &arg1_defvalue ; | |
3504 | wxColour const &arg2_defvalue = wxNullColour ; | |
3505 | wxColour *arg2 = (wxColour *) &arg2_defvalue ; | |
3506 | wxTextAttrAlignment arg3 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ; | |
3507 | wxRichTextAttr *result = 0 ; | |
3508 | wxColour temp1 ; | |
3509 | wxColour temp2 ; | |
3510 | int val3 ; | |
3511 | int ecode3 = 0 ; | |
3512 | PyObject * obj0 = 0 ; | |
3513 | PyObject * obj1 = 0 ; | |
3514 | PyObject * obj2 = 0 ; | |
3515 | char * kwnames[] = { | |
3516 | (char *) "colText",(char *) "colBack",(char *) "alignment", NULL | |
3517 | }; | |
3518 | ||
3519 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_RichTextAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
3520 | if (obj0) { | |
3521 | { | |
3522 | arg1 = &temp1; | |
3523 | if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail; | |
3524 | } | |
3525 | } | |
3526 | if (obj1) { | |
3527 | { | |
3528 | arg2 = &temp2; | |
3529 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3530 | } | |
3531 | } | |
3532 | if (obj2) { | |
3533 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
3534 | if (!SWIG_IsOK(ecode3)) { | |
3535 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_RichTextAttr" "', expected argument " "3"" of type '" "wxTextAttrAlignment""'"); | |
3536 | } | |
3537 | arg3 = static_cast< wxTextAttrAlignment >(val3); | |
3538 | } | |
3539 | { | |
3540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3541 | result = (wxRichTextAttr *)new wxRichTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,arg3); | |
3542 | wxPyEndAllowThreads(__tstate); | |
3543 | if (PyErr_Occurred()) SWIG_fail; | |
3544 | } | |
3545 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextAttr, SWIG_POINTER_NEW | 0 ); | |
3546 | return resultobj; | |
3547 | fail: | |
3548 | return NULL; | |
3549 | } | |
3550 | ||
3551 | ||
3552 | SWIGINTERN PyObject *_wrap_delete_RichTextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3553 | PyObject *resultobj = 0; | |
3554 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
3555 | void *argp1 = 0 ; | |
3556 | int res1 = 0 ; | |
3557 | PyObject *swig_obj[1] ; | |
3558 | ||
3559 | if (!args) SWIG_fail; | |
3560 | swig_obj[0] = args; | |
3561 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, SWIG_POINTER_DISOWN | 0 ); | |
3562 | if (!SWIG_IsOK(res1)) { | |
3563 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextAttr" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
3564 | } | |
3565 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
3566 | { | |
3567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3568 | delete arg1; | |
3569 | ||
3570 | wxPyEndAllowThreads(__tstate); | |
3571 | if (PyErr_Occurred()) SWIG_fail; | |
3572 | } | |
3573 | resultobj = SWIG_Py_Void(); | |
3574 | return resultobj; | |
3575 | fail: | |
3576 | return NULL; | |
3577 | } | |
3578 | ||
3579 | ||
3580 | SWIGINTERN PyObject *_wrap_RichTextAttr_CreateFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3581 | PyObject *resultobj = 0; | |
3582 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
453fb36b | 3583 | wxFont result; |
f05326ba RD |
3584 | void *argp1 = 0 ; |
3585 | int res1 = 0 ; | |
3586 | PyObject *swig_obj[1] ; | |
3587 | ||
3588 | if (!args) SWIG_fail; | |
3589 | swig_obj[0] = args; | |
3590 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
3591 | if (!SWIG_IsOK(res1)) { | |
3592 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_CreateFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
3593 | } | |
3594 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
3595 | { | |
3596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3597 | result = ((wxRichTextAttr const *)arg1)->CreateFont(); | |
3598 | wxPyEndAllowThreads(__tstate); | |
3599 | if (PyErr_Occurred()) SWIG_fail; | |
3600 | } | |
3601 | resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); | |
3602 | return resultobj; | |
3603 | fail: | |
3604 | return NULL; | |
3605 | } | |
3606 | ||
3607 | ||
3608 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3609 | PyObject *resultobj = 0; | |
3610 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
3611 | wxFont *arg2 = 0 ; | |
3612 | bool result; | |
3613 | void *argp1 = 0 ; | |
3614 | int res1 = 0 ; | |
3615 | void *argp2 = 0 ; | |
3616 | int res2 = 0 ; | |
3617 | PyObject * obj0 = 0 ; | |
3618 | PyObject * obj1 = 0 ; | |
3619 | char * kwnames[] = { | |
3620 | (char *) "self",(char *) "font", NULL | |
3621 | }; | |
3622 | ||
3623 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_GetFontAttributes",kwnames,&obj0,&obj1)) SWIG_fail; | |
3624 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
3625 | if (!SWIG_IsOK(res1)) { | |
3626 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
3627 | } | |
3628 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
3629 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
3630 | if (!SWIG_IsOK(res2)) { | |
3631 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
3632 | } | |
3633 | if (!argp2) { | |
3634 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
3635 | } | |
3636 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
3637 | { | |
3638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3639 | result = (bool)(arg1)->GetFontAttributes((wxFont const &)*arg2); | |
3640 | wxPyEndAllowThreads(__tstate); | |
3641 | if (PyErr_Occurred()) SWIG_fail; | |
3642 | } | |
3643 | { | |
3644 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3645 | } | |
3646 | return resultobj; | |
3647 | fail: | |
3648 | return NULL; | |
3649 | } | |
3650 | ||
3651 | ||
3652 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3653 | PyObject *resultobj = 0; | |
3654 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
3655 | wxColour *arg2 = 0 ; | |
3656 | void *argp1 = 0 ; | |
3657 | int res1 = 0 ; | |
3658 | wxColour temp2 ; | |
3659 | PyObject * obj0 = 0 ; | |
3660 | PyObject * obj1 = 0 ; | |
3661 | char * kwnames[] = { | |
3662 | (char *) "self",(char *) "colText", NULL | |
3663 | }; | |
3664 | ||
3665 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
3666 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
3667 | if (!SWIG_IsOK(res1)) { | |
3668 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
3669 | } | |
3670 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
3671 | { | |
3672 | arg2 = &temp2; | |
3673 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3674 | } | |
3675 | { | |
3676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3677 | (arg1)->SetTextColour((wxColour const &)*arg2); | |
3678 | wxPyEndAllowThreads(__tstate); | |
3679 | if (PyErr_Occurred()) SWIG_fail; | |
3680 | } | |
3681 | resultobj = SWIG_Py_Void(); | |
3682 | return resultobj; | |
3683 | fail: | |
3684 | return NULL; | |
3685 | } | |
3686 | ||
3687 | ||
3688 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3689 | PyObject *resultobj = 0; | |
3690 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
3691 | wxColour *arg2 = 0 ; | |
3692 | void *argp1 = 0 ; | |
3693 | int res1 = 0 ; | |
3694 | wxColour temp2 ; | |
3695 | PyObject * obj0 = 0 ; | |
3696 | PyObject * obj1 = 0 ; | |
3697 | char * kwnames[] = { | |
3698 | (char *) "self",(char *) "colBack", NULL | |
3699 | }; | |
3700 | ||
3701 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
3702 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
3703 | if (!SWIG_IsOK(res1)) { | |
3704 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
3705 | } | |
3706 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
3707 | { | |
3708 | arg2 = &temp2; | |
3709 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3710 | } | |
3711 | { | |
3712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3713 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); | |
3714 | wxPyEndAllowThreads(__tstate); | |
3715 | if (PyErr_Occurred()) SWIG_fail; | |
3716 | } | |
3717 | resultobj = SWIG_Py_Void(); | |
3718 | return resultobj; | |
3719 | fail: | |
3720 | return NULL; | |
3721 | } | |
3722 | ||
3723 | ||
3724 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3725 | PyObject *resultobj = 0; | |
3726 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
3727 | wxTextAttrAlignment arg2 ; | |
3728 | void *argp1 = 0 ; | |
3729 | int res1 = 0 ; | |
3730 | int val2 ; | |
3731 | int ecode2 = 0 ; | |
3732 | PyObject * obj0 = 0 ; | |
3733 | PyObject * obj1 = 0 ; | |
3734 | char * kwnames[] = { | |
3735 | (char *) "self",(char *) "alignment", NULL | |
3736 | }; | |
3737 | ||
3738 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail; | |
3739 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
3740 | if (!SWIG_IsOK(res1)) { | |
3741 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
3742 | } | |
3743 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
3744 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
3745 | if (!SWIG_IsOK(ecode2)) { | |
3746 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); | |
3747 | } | |
3748 | arg2 = static_cast< wxTextAttrAlignment >(val2); | |
3749 | { | |
3750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3751 | (arg1)->SetAlignment(arg2); | |
3752 | wxPyEndAllowThreads(__tstate); | |
3753 | if (PyErr_Occurred()) SWIG_fail; | |
3754 | } | |
3755 | resultobj = SWIG_Py_Void(); | |
3756 | return resultobj; | |
3757 | fail: | |
3758 | return NULL; | |
3759 | } | |
3760 | ||
3761 | ||
3762 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3763 | PyObject *resultobj = 0; | |
3764 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
3765 | wxArrayInt *arg2 = 0 ; | |
3766 | void *argp1 = 0 ; | |
3767 | int res1 = 0 ; | |
3768 | bool temp2 = false ; | |
3769 | PyObject * obj0 = 0 ; | |
3770 | PyObject * obj1 = 0 ; | |
3771 | char * kwnames[] = { | |
3772 | (char *) "self",(char *) "tabs", NULL | |
3773 | }; | |
3774 | ||
3775 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail; | |
3776 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
3777 | if (!SWIG_IsOK(res1)) { | |
3778 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
3779 | } | |
3780 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
3781 | { | |
3782 | if (! PySequence_Check(obj1)) { | |
3783 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
3784 | SWIG_fail; | |
3785 | } | |
3786 | arg2 = new wxArrayInt; | |
3787 | temp2 = true; | |
3788 | int i, len=PySequence_Length(obj1); | |
3789 | for (i=0; i<len; i++) { | |
3790 | PyObject* item = PySequence_GetItem(obj1, i); | |
3791 | PyObject* number = PyNumber_Int(item); | |
ec8a7755 RD |
3792 | if (!number) { |
3793 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
3794 | SWIG_fail; | |
3795 | } | |
f05326ba RD |
3796 | arg2->Add(PyInt_AS_LONG(number)); |
3797 | Py_DECREF(item); | |
3798 | Py_DECREF(number); | |
3799 | } | |
3800 | } | |
3801 | { | |
3802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3803 | (arg1)->SetTabs((wxArrayInt const &)*arg2); | |
3804 | wxPyEndAllowThreads(__tstate); | |
3805 | if (PyErr_Occurred()) SWIG_fail; | |
3806 | } | |
3807 | resultobj = SWIG_Py_Void(); | |
3808 | { | |
3809 | if (temp2) delete arg2; | |
3810 | } | |
3811 | return resultobj; | |
3812 | fail: | |
3813 | { | |
3814 | if (temp2) delete arg2; | |
3815 | } | |
3816 | return NULL; | |
3817 | } | |
3818 | ||
3819 | ||
3820 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3821 | PyObject *resultobj = 0; | |
3822 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
3823 | int arg2 ; | |
3824 | int arg3 = (int) 0 ; | |
3825 | void *argp1 = 0 ; | |
3826 | int res1 = 0 ; | |
3827 | int val2 ; | |
3828 | int ecode2 = 0 ; | |
3829 | int val3 ; | |
3830 | int ecode3 = 0 ; | |
3831 | PyObject * obj0 = 0 ; | |
3832 | PyObject * obj1 = 0 ; | |
3833 | PyObject * obj2 = 0 ; | |
3834 | char * kwnames[] = { | |
3835 | (char *) "self",(char *) "indent",(char *) "subIndent", NULL | |
3836 | }; | |
3837 | ||
3838 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
3839 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
3840 | if (!SWIG_IsOK(res1)) { | |
3841 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
3842 | } | |
3843 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
3844 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
3845 | if (!SWIG_IsOK(ecode2)) { | |
3846 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'"); | |
3847 | } | |
3848 | arg2 = static_cast< int >(val2); | |
3849 | if (obj2) { | |
3850 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
3851 | if (!SWIG_IsOK(ecode3)) { | |
3852 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'"); | |
3853 | } | |
3854 | arg3 = static_cast< int >(val3); | |
3855 | } | |
3856 | { | |
3857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3858 | (arg1)->SetLeftIndent(arg2,arg3); | |
3859 | wxPyEndAllowThreads(__tstate); | |
3860 | if (PyErr_Occurred()) SWIG_fail; | |
3861 | } | |
3862 | resultobj = SWIG_Py_Void(); | |
3863 | return resultobj; | |
3864 | fail: | |
3865 | return NULL; | |
3866 | } | |
3867 | ||
3868 | ||
3869 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3870 | PyObject *resultobj = 0; | |
3871 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
3872 | int arg2 ; | |
3873 | void *argp1 = 0 ; | |
3874 | int res1 = 0 ; | |
3875 | int val2 ; | |
3876 | int ecode2 = 0 ; | |
3877 | PyObject * obj0 = 0 ; | |
3878 | PyObject * obj1 = 0 ; | |
3879 | char * kwnames[] = { | |
3880 | (char *) "self",(char *) "indent", NULL | |
3881 | }; | |
3882 | ||
3883 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail; | |
3884 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
3885 | if (!SWIG_IsOK(res1)) { | |
3886 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
3887 | } | |
3888 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
3889 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
3890 | if (!SWIG_IsOK(ecode2)) { | |
3891 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'"); | |
3892 | } | |
3893 | arg2 = static_cast< int >(val2); | |
3894 | { | |
3895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3896 | (arg1)->SetRightIndent(arg2); | |
3897 | wxPyEndAllowThreads(__tstate); | |
3898 | if (PyErr_Occurred()) SWIG_fail; | |
3899 | } | |
3900 | resultobj = SWIG_Py_Void(); | |
3901 | return resultobj; | |
3902 | fail: | |
3903 | return NULL; | |
3904 | } | |
3905 | ||
3906 | ||
3907 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3908 | PyObject *resultobj = 0; | |
3909 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
3910 | int arg2 ; | |
3911 | void *argp1 = 0 ; | |
3912 | int res1 = 0 ; | |
3913 | int val2 ; | |
3914 | int ecode2 = 0 ; | |
3915 | PyObject * obj0 = 0 ; | |
3916 | PyObject * obj1 = 0 ; | |
3917 | char * kwnames[] = { | |
3918 | (char *) "self",(char *) "pointSize", NULL | |
3919 | }; | |
3920 | ||
3921 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
3922 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
3923 | if (!SWIG_IsOK(res1)) { | |
3924 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
3925 | } | |
3926 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
3927 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
3928 | if (!SWIG_IsOK(ecode2)) { | |
3929 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "2"" of type '" "int""'"); | |
3930 | } | |
3931 | arg2 = static_cast< int >(val2); | |
3932 | { | |
3933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3934 | (arg1)->SetFontSize(arg2); | |
3935 | wxPyEndAllowThreads(__tstate); | |
3936 | if (PyErr_Occurred()) SWIG_fail; | |
3937 | } | |
3938 | resultobj = SWIG_Py_Void(); | |
3939 | return resultobj; | |
3940 | fail: | |
3941 | return NULL; | |
3942 | } | |
3943 | ||
3944 | ||
3945 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3946 | PyObject *resultobj = 0; | |
3947 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
3948 | int arg2 ; | |
3949 | void *argp1 = 0 ; | |
3950 | int res1 = 0 ; | |
3951 | int val2 ; | |
3952 | int ecode2 = 0 ; | |
3953 | PyObject * obj0 = 0 ; | |
3954 | PyObject * obj1 = 0 ; | |
3955 | char * kwnames[] = { | |
3956 | (char *) "self",(char *) "fontStyle", NULL | |
3957 | }; | |
3958 | ||
3959 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontStyle",kwnames,&obj0,&obj1)) SWIG_fail; | |
3960 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
3961 | if (!SWIG_IsOK(res1)) { | |
3962 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
3963 | } | |
3964 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
3965 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
3966 | if (!SWIG_IsOK(ecode2)) { | |
3967 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "2"" of type '" "int""'"); | |
3968 | } | |
3969 | arg2 = static_cast< int >(val2); | |
3970 | { | |
3971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3972 | (arg1)->SetFontStyle(arg2); | |
3973 | wxPyEndAllowThreads(__tstate); | |
3974 | if (PyErr_Occurred()) SWIG_fail; | |
3975 | } | |
3976 | resultobj = SWIG_Py_Void(); | |
3977 | return resultobj; | |
3978 | fail: | |
3979 | return NULL; | |
3980 | } | |
3981 | ||
3982 | ||
3983 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3984 | PyObject *resultobj = 0; | |
3985 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
3986 | int arg2 ; | |
3987 | void *argp1 = 0 ; | |
3988 | int res1 = 0 ; | |
3989 | int val2 ; | |
3990 | int ecode2 = 0 ; | |
3991 | PyObject * obj0 = 0 ; | |
3992 | PyObject * obj1 = 0 ; | |
3993 | char * kwnames[] = { | |
3994 | (char *) "self",(char *) "fontWeight", NULL | |
3995 | }; | |
3996 | ||
3997 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontWeight",kwnames,&obj0,&obj1)) SWIG_fail; | |
3998 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
3999 | if (!SWIG_IsOK(res1)) { | |
4000 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
4001 | } | |
4002 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4003 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4004 | if (!SWIG_IsOK(ecode2)) { | |
4005 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "2"" of type '" "int""'"); | |
4006 | } | |
4007 | arg2 = static_cast< int >(val2); | |
4008 | { | |
4009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4010 | (arg1)->SetFontWeight(arg2); | |
4011 | wxPyEndAllowThreads(__tstate); | |
4012 | if (PyErr_Occurred()) SWIG_fail; | |
4013 | } | |
4014 | resultobj = SWIG_Py_Void(); | |
4015 | return resultobj; | |
4016 | fail: | |
4017 | return NULL; | |
4018 | } | |
4019 | ||
4020 | ||
4021 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4022 | PyObject *resultobj = 0; | |
4023 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4024 | wxString *arg2 = 0 ; | |
4025 | void *argp1 = 0 ; | |
4026 | int res1 = 0 ; | |
4027 | bool temp2 = false ; | |
4028 | PyObject * obj0 = 0 ; | |
4029 | PyObject * obj1 = 0 ; | |
4030 | char * kwnames[] = { | |
4031 | (char *) "self",(char *) "faceName", NULL | |
4032 | }; | |
4033 | ||
4034 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontFaceName",kwnames,&obj0,&obj1)) SWIG_fail; | |
4035 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4036 | if (!SWIG_IsOK(res1)) { | |
4037 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
4038 | } | |
4039 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4040 | { | |
4041 | arg2 = wxString_in_helper(obj1); | |
4042 | if (arg2 == NULL) SWIG_fail; | |
4043 | temp2 = true; | |
4044 | } | |
4045 | { | |
4046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4047 | (arg1)->SetFontFaceName((wxString const &)*arg2); | |
4048 | wxPyEndAllowThreads(__tstate); | |
4049 | if (PyErr_Occurred()) SWIG_fail; | |
4050 | } | |
4051 | resultobj = SWIG_Py_Void(); | |
4052 | { | |
4053 | if (temp2) | |
4054 | delete arg2; | |
4055 | } | |
4056 | return resultobj; | |
4057 | fail: | |
4058 | { | |
4059 | if (temp2) | |
4060 | delete arg2; | |
4061 | } | |
4062 | return NULL; | |
4063 | } | |
4064 | ||
4065 | ||
4066 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4067 | PyObject *resultobj = 0; | |
4068 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4069 | bool arg2 ; | |
4070 | void *argp1 = 0 ; | |
4071 | int res1 = 0 ; | |
4072 | bool val2 ; | |
4073 | int ecode2 = 0 ; | |
4074 | PyObject * obj0 = 0 ; | |
4075 | PyObject * obj1 = 0 ; | |
4076 | char * kwnames[] = { | |
4077 | (char *) "self",(char *) "underlined", NULL | |
4078 | }; | |
4079 | ||
4080 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail; | |
4081 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4082 | if (!SWIG_IsOK(res1)) { | |
4083 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
4084 | } | |
4085 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4086 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4087 | if (!SWIG_IsOK(ecode2)) { | |
4088 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "2"" of type '" "bool""'"); | |
4089 | } | |
4090 | arg2 = static_cast< bool >(val2); | |
4091 | { | |
4092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4093 | (arg1)->SetFontUnderlined(arg2); | |
4094 | wxPyEndAllowThreads(__tstate); | |
4095 | if (PyErr_Occurred()) SWIG_fail; | |
4096 | } | |
4097 | resultobj = SWIG_Py_Void(); | |
4098 | return resultobj; | |
4099 | fail: | |
4100 | return NULL; | |
4101 | } | |
4102 | ||
4103 | ||
4104 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4105 | PyObject *resultobj = 0; | |
4106 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4107 | long arg2 ; | |
4108 | void *argp1 = 0 ; | |
4109 | int res1 = 0 ; | |
4110 | long val2 ; | |
4111 | int ecode2 = 0 ; | |
4112 | PyObject * obj0 = 0 ; | |
4113 | PyObject * obj1 = 0 ; | |
4114 | char * kwnames[] = { | |
4115 | (char *) "self",(char *) "flags", NULL | |
4116 | }; | |
4117 | ||
4118 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; | |
4119 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4120 | if (!SWIG_IsOK(res1)) { | |
4121 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
4122 | } | |
4123 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4124 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
4125 | if (!SWIG_IsOK(ecode2)) { | |
4126 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'"); | |
4127 | } | |
4128 | arg2 = static_cast< long >(val2); | |
4129 | { | |
4130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4131 | (arg1)->SetFlags(arg2); | |
4132 | wxPyEndAllowThreads(__tstate); | |
4133 | if (PyErr_Occurred()) SWIG_fail; | |
4134 | } | |
4135 | resultobj = SWIG_Py_Void(); | |
4136 | return resultobj; | |
4137 | fail: | |
4138 | return NULL; | |
4139 | } | |
4140 | ||
4141 | ||
4142 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4143 | PyObject *resultobj = 0; | |
4144 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4145 | wxString *arg2 = 0 ; | |
4146 | void *argp1 = 0 ; | |
4147 | int res1 = 0 ; | |
4148 | bool temp2 = false ; | |
4149 | PyObject * obj0 = 0 ; | |
4150 | PyObject * obj1 = 0 ; | |
4151 | char * kwnames[] = { | |
4152 | (char *) "self",(char *) "name", NULL | |
4153 | }; | |
4154 | ||
4155 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetCharacterStyleName",kwnames,&obj0,&obj1)) SWIG_fail; | |
4156 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4157 | if (!SWIG_IsOK(res1)) { | |
4158 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
4159 | } | |
4160 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4161 | { | |
4162 | arg2 = wxString_in_helper(obj1); | |
4163 | if (arg2 == NULL) SWIG_fail; | |
4164 | temp2 = true; | |
4165 | } | |
4166 | { | |
4167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4168 | (arg1)->SetCharacterStyleName((wxString const &)*arg2); | |
4169 | wxPyEndAllowThreads(__tstate); | |
4170 | if (PyErr_Occurred()) SWIG_fail; | |
4171 | } | |
4172 | resultobj = SWIG_Py_Void(); | |
4173 | { | |
4174 | if (temp2) | |
4175 | delete arg2; | |
4176 | } | |
4177 | return resultobj; | |
4178 | fail: | |
4179 | { | |
4180 | if (temp2) | |
4181 | delete arg2; | |
4182 | } | |
4183 | return NULL; | |
4184 | } | |
4185 | ||
4186 | ||
4187 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4188 | PyObject *resultobj = 0; | |
4189 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4190 | wxString *arg2 = 0 ; | |
4191 | void *argp1 = 0 ; | |
4192 | int res1 = 0 ; | |
4193 | bool temp2 = false ; | |
4194 | PyObject * obj0 = 0 ; | |
4195 | PyObject * obj1 = 0 ; | |
4196 | char * kwnames[] = { | |
4197 | (char *) "self",(char *) "name", NULL | |
4198 | }; | |
4199 | ||
4200 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetParagraphStyleName",kwnames,&obj0,&obj1)) SWIG_fail; | |
4201 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4202 | if (!SWIG_IsOK(res1)) { | |
4203 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
4204 | } | |
4205 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4206 | { | |
4207 | arg2 = wxString_in_helper(obj1); | |
4208 | if (arg2 == NULL) SWIG_fail; | |
4209 | temp2 = true; | |
4210 | } | |
4211 | { | |
4212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4213 | (arg1)->SetParagraphStyleName((wxString const &)*arg2); | |
4214 | wxPyEndAllowThreads(__tstate); | |
4215 | if (PyErr_Occurred()) SWIG_fail; | |
4216 | } | |
4217 | resultobj = SWIG_Py_Void(); | |
4218 | { | |
4219 | if (temp2) | |
4220 | delete arg2; | |
4221 | } | |
4222 | return resultobj; | |
4223 | fail: | |
4224 | { | |
4225 | if (temp2) | |
4226 | delete arg2; | |
4227 | } | |
4228 | return NULL; | |
4229 | } | |
4230 | ||
4231 | ||
4232 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4233 | PyObject *resultobj = 0; | |
4234 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4235 | int arg2 ; | |
4236 | void *argp1 = 0 ; | |
4237 | int res1 = 0 ; | |
4238 | int val2 ; | |
4239 | int ecode2 = 0 ; | |
4240 | PyObject * obj0 = 0 ; | |
4241 | PyObject * obj1 = 0 ; | |
4242 | char * kwnames[] = { | |
4243 | (char *) "self",(char *) "spacing", NULL | |
4244 | }; | |
4245 | ||
4246 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetParagraphSpacingAfter",kwnames,&obj0,&obj1)) SWIG_fail; | |
4247 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4248 | if (!SWIG_IsOK(res1)) { | |
4249 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
4250 | } | |
4251 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4252 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4253 | if (!SWIG_IsOK(ecode2)) { | |
4254 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "2"" of type '" "int""'"); | |
4255 | } | |
4256 | arg2 = static_cast< int >(val2); | |
4257 | { | |
4258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4259 | (arg1)->SetParagraphSpacingAfter(arg2); | |
4260 | wxPyEndAllowThreads(__tstate); | |
4261 | if (PyErr_Occurred()) SWIG_fail; | |
4262 | } | |
4263 | resultobj = SWIG_Py_Void(); | |
4264 | return resultobj; | |
4265 | fail: | |
4266 | return NULL; | |
4267 | } | |
4268 | ||
4269 | ||
4270 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4271 | PyObject *resultobj = 0; | |
4272 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4273 | int arg2 ; | |
4274 | void *argp1 = 0 ; | |
4275 | int res1 = 0 ; | |
4276 | int val2 ; | |
4277 | int ecode2 = 0 ; | |
4278 | PyObject * obj0 = 0 ; | |
4279 | PyObject * obj1 = 0 ; | |
4280 | char * kwnames[] = { | |
4281 | (char *) "self",(char *) "spacing", NULL | |
4282 | }; | |
4283 | ||
4284 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetParagraphSpacingBefore",kwnames,&obj0,&obj1)) SWIG_fail; | |
4285 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4286 | if (!SWIG_IsOK(res1)) { | |
4287 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
4288 | } | |
4289 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4290 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4291 | if (!SWIG_IsOK(ecode2)) { | |
4292 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "2"" of type '" "int""'"); | |
4293 | } | |
4294 | arg2 = static_cast< int >(val2); | |
4295 | { | |
4296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4297 | (arg1)->SetParagraphSpacingBefore(arg2); | |
4298 | wxPyEndAllowThreads(__tstate); | |
4299 | if (PyErr_Occurred()) SWIG_fail; | |
4300 | } | |
4301 | resultobj = SWIG_Py_Void(); | |
4302 | return resultobj; | |
4303 | fail: | |
4304 | return NULL; | |
4305 | } | |
4306 | ||
4307 | ||
4308 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4309 | PyObject *resultobj = 0; | |
4310 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4311 | int arg2 ; | |
4312 | void *argp1 = 0 ; | |
4313 | int res1 = 0 ; | |
4314 | int val2 ; | |
4315 | int ecode2 = 0 ; | |
4316 | PyObject * obj0 = 0 ; | |
4317 | PyObject * obj1 = 0 ; | |
4318 | char * kwnames[] = { | |
4319 | (char *) "self",(char *) "spacing", NULL | |
4320 | }; | |
4321 | ||
4322 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail; | |
4323 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4324 | if (!SWIG_IsOK(res1)) { | |
4325 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
4326 | } | |
4327 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4328 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4329 | if (!SWIG_IsOK(ecode2)) { | |
4330 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "2"" of type '" "int""'"); | |
4331 | } | |
4332 | arg2 = static_cast< int >(val2); | |
4333 | { | |
4334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4335 | (arg1)->SetLineSpacing(arg2); | |
4336 | wxPyEndAllowThreads(__tstate); | |
4337 | if (PyErr_Occurred()) SWIG_fail; | |
4338 | } | |
4339 | resultobj = SWIG_Py_Void(); | |
4340 | return resultobj; | |
4341 | fail: | |
4342 | return NULL; | |
4343 | } | |
4344 | ||
4345 | ||
4346 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4347 | PyObject *resultobj = 0; | |
4348 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4349 | int arg2 ; | |
4350 | void *argp1 = 0 ; | |
4351 | int res1 = 0 ; | |
4352 | int val2 ; | |
4353 | int ecode2 = 0 ; | |
4354 | PyObject * obj0 = 0 ; | |
4355 | PyObject * obj1 = 0 ; | |
4356 | char * kwnames[] = { | |
4357 | (char *) "self",(char *) "style", NULL | |
4358 | }; | |
4359 | ||
4360 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletStyle",kwnames,&obj0,&obj1)) SWIG_fail; | |
4361 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4362 | if (!SWIG_IsOK(res1)) { | |
4363 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
4364 | } | |
4365 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4366 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4367 | if (!SWIG_IsOK(ecode2)) { | |
4368 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "2"" of type '" "int""'"); | |
4369 | } | |
4370 | arg2 = static_cast< int >(val2); | |
4371 | { | |
4372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4373 | (arg1)->SetBulletStyle(arg2); | |
4374 | wxPyEndAllowThreads(__tstate); | |
4375 | if (PyErr_Occurred()) SWIG_fail; | |
4376 | } | |
4377 | resultobj = SWIG_Py_Void(); | |
4378 | return resultobj; | |
4379 | fail: | |
4380 | return NULL; | |
4381 | } | |
4382 | ||
4383 | ||
4384 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4385 | PyObject *resultobj = 0; | |
4386 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4387 | int arg2 ; | |
4388 | void *argp1 = 0 ; | |
4389 | int res1 = 0 ; | |
4390 | int val2 ; | |
4391 | int ecode2 = 0 ; | |
4392 | PyObject * obj0 = 0 ; | |
4393 | PyObject * obj1 = 0 ; | |
4394 | char * kwnames[] = { | |
4395 | (char *) "self",(char *) "n", NULL | |
4396 | }; | |
4397 | ||
4398 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletNumber",kwnames,&obj0,&obj1)) SWIG_fail; | |
4399 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4400 | if (!SWIG_IsOK(res1)) { | |
4401 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
4402 | } | |
4403 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4404 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4405 | if (!SWIG_IsOK(ecode2)) { | |
4406 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "2"" of type '" "int""'"); | |
4407 | } | |
4408 | arg2 = static_cast< int >(val2); | |
4409 | { | |
4410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4411 | (arg1)->SetBulletNumber(arg2); | |
4412 | wxPyEndAllowThreads(__tstate); | |
4413 | if (PyErr_Occurred()) SWIG_fail; | |
4414 | } | |
4415 | resultobj = SWIG_Py_Void(); | |
4416 | return resultobj; | |
4417 | fail: | |
4418 | return NULL; | |
4419 | } | |
4420 | ||
4421 | ||
70d7cb34 | 4422 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
f05326ba RD |
4423 | PyObject *resultobj = 0; |
4424 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4425 | wxChar arg2 ; | |
4426 | void *argp1 = 0 ; | |
4427 | int res1 = 0 ; | |
4428 | void *argp2 ; | |
4429 | int res2 = 0 ; | |
4430 | PyObject * obj0 = 0 ; | |
4431 | PyObject * obj1 = 0 ; | |
4432 | char * kwnames[] = { | |
4433 | (char *) "self",(char *) "symbol", NULL | |
4434 | }; | |
4435 | ||
70d7cb34 | 4436 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletText",kwnames,&obj0,&obj1)) SWIG_fail; |
f05326ba RD |
4437 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); |
4438 | if (!SWIG_IsOK(res1)) { | |
70d7cb34 | 4439 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletText" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); |
f05326ba RD |
4440 | } |
4441 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4442 | { | |
4443 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxChar, 0 | 0); | |
4444 | if (!SWIG_IsOK(res2)) { | |
70d7cb34 | 4445 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextAttr_SetBulletText" "', expected argument " "2"" of type '" "wxChar""'"); |
f05326ba RD |
4446 | } |
4447 | if (!argp2) { | |
70d7cb34 | 4448 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextAttr_SetBulletText" "', expected argument " "2"" of type '" "wxChar""'"); |
f05326ba RD |
4449 | } else { |
4450 | wxChar * temp = reinterpret_cast< wxChar * >(argp2); | |
4451 | arg2 = *temp; | |
4452 | if (SWIG_IsNewObj(res2)) delete temp; | |
4453 | } | |
4454 | } | |
4455 | { | |
4456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
70d7cb34 | 4457 | (arg1)->SetBulletText(arg2); |
f05326ba RD |
4458 | wxPyEndAllowThreads(__tstate); |
4459 | if (PyErr_Occurred()) SWIG_fail; | |
4460 | } | |
4461 | resultobj = SWIG_Py_Void(); | |
4462 | return resultobj; | |
4463 | fail: | |
4464 | return NULL; | |
4465 | } | |
4466 | ||
4467 | ||
b39fe951 RD |
4468 | SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
4469 | PyObject *resultobj = 0; | |
4470 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4471 | wxString *arg2 = 0 ; | |
4472 | void *argp1 = 0 ; | |
4473 | int res1 = 0 ; | |
4474 | bool temp2 = false ; | |
4475 | PyObject * obj0 = 0 ; | |
4476 | PyObject * obj1 = 0 ; | |
4477 | char * kwnames[] = { | |
4478 | (char *) "self",(char *) "bulletFont", NULL | |
4479 | }; | |
4480 | ||
4481 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
4482 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4483 | if (!SWIG_IsOK(res1)) { | |
4484 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletFont" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); | |
4485 | } | |
4486 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4487 | { | |
4488 | arg2 = wxString_in_helper(obj1); | |
4489 | if (arg2 == NULL) SWIG_fail; | |
4490 | temp2 = true; | |
4491 | } | |
4492 | { | |
4493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4494 | (arg1)->SetBulletFont((wxString const &)*arg2); | |
4495 | wxPyEndAllowThreads(__tstate); | |
4496 | if (PyErr_Occurred()) SWIG_fail; | |
4497 | } | |
4498 | resultobj = SWIG_Py_Void(); | |
4499 | { | |
4500 | if (temp2) | |
4501 | delete arg2; | |
4502 | } | |
4503 | return resultobj; | |
4504 | fail: | |
4505 | { | |
4506 | if (temp2) | |
4507 | delete arg2; | |
4508 | } | |
4509 | return NULL; | |
4510 | } | |
4511 | ||
4512 | ||
f05326ba RD |
4513 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4514 | PyObject *resultobj = 0; | |
4515 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4516 | wxColour *result = 0 ; | |
4517 | void *argp1 = 0 ; | |
4518 | int res1 = 0 ; | |
4519 | PyObject *swig_obj[1] ; | |
4520 | ||
4521 | if (!args) SWIG_fail; | |
4522 | swig_obj[0] = args; | |
4523 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4524 | if (!SWIG_IsOK(res1)) { | |
4525 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
4526 | } | |
4527 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4528 | { | |
4529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4530 | { | |
4531 | wxColour const &_result_ref = ((wxRichTextAttr const *)arg1)->GetTextColour(); | |
4532 | result = (wxColour *) &_result_ref; | |
4533 | } | |
4534 | wxPyEndAllowThreads(__tstate); | |
4535 | if (PyErr_Occurred()) SWIG_fail; | |
4536 | } | |
4537 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); | |
4538 | return resultobj; | |
4539 | fail: | |
4540 | return NULL; | |
4541 | } | |
4542 | ||
4543 | ||
4544 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4545 | PyObject *resultobj = 0; | |
4546 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4547 | wxColour *result = 0 ; | |
4548 | void *argp1 = 0 ; | |
4549 | int res1 = 0 ; | |
4550 | PyObject *swig_obj[1] ; | |
4551 | ||
4552 | if (!args) SWIG_fail; | |
4553 | swig_obj[0] = args; | |
4554 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4555 | if (!SWIG_IsOK(res1)) { | |
4556 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
4557 | } | |
4558 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4559 | { | |
4560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4561 | { | |
4562 | wxColour const &_result_ref = ((wxRichTextAttr const *)arg1)->GetBackgroundColour(); | |
4563 | result = (wxColour *) &_result_ref; | |
4564 | } | |
4565 | wxPyEndAllowThreads(__tstate); | |
4566 | if (PyErr_Occurred()) SWIG_fail; | |
4567 | } | |
4568 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); | |
4569 | return resultobj; | |
4570 | fail: | |
4571 | return NULL; | |
4572 | } | |
4573 | ||
4574 | ||
4575 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4576 | PyObject *resultobj = 0; | |
4577 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4578 | wxTextAttrAlignment result; | |
4579 | void *argp1 = 0 ; | |
4580 | int res1 = 0 ; | |
4581 | PyObject *swig_obj[1] ; | |
4582 | ||
4583 | if (!args) SWIG_fail; | |
4584 | swig_obj[0] = args; | |
4585 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4586 | if (!SWIG_IsOK(res1)) { | |
4587 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
4588 | } | |
4589 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4590 | { | |
4591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4592 | result = (wxTextAttrAlignment)((wxRichTextAttr const *)arg1)->GetAlignment(); | |
4593 | wxPyEndAllowThreads(__tstate); | |
4594 | if (PyErr_Occurred()) SWIG_fail; | |
4595 | } | |
4596 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4597 | return resultobj; | |
4598 | fail: | |
4599 | return NULL; | |
4600 | } | |
4601 | ||
4602 | ||
4603 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4604 | PyObject *resultobj = 0; | |
4605 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4606 | wxArrayInt *result = 0 ; | |
4607 | void *argp1 = 0 ; | |
4608 | int res1 = 0 ; | |
4609 | PyObject *swig_obj[1] ; | |
4610 | ||
4611 | if (!args) SWIG_fail; | |
4612 | swig_obj[0] = args; | |
4613 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4614 | if (!SWIG_IsOK(res1)) { | |
4615 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
4616 | } | |
4617 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4618 | { | |
4619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4620 | { | |
4621 | wxArrayInt const &_result_ref = ((wxRichTextAttr const *)arg1)->GetTabs(); | |
4622 | result = (wxArrayInt *) &_result_ref; | |
4623 | } | |
4624 | wxPyEndAllowThreads(__tstate); | |
4625 | if (PyErr_Occurred()) SWIG_fail; | |
4626 | } | |
4627 | { | |
b39fe951 | 4628 | resultobj = wxArrayInt2PyList_helper(*result); |
f05326ba RD |
4629 | } |
4630 | return resultobj; | |
4631 | fail: | |
4632 | return NULL; | |
4633 | } | |
4634 | ||
4635 | ||
4636 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4637 | PyObject *resultobj = 0; | |
4638 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4639 | long result; | |
4640 | void *argp1 = 0 ; | |
4641 | int res1 = 0 ; | |
4642 | PyObject *swig_obj[1] ; | |
4643 | ||
4644 | if (!args) SWIG_fail; | |
4645 | swig_obj[0] = args; | |
4646 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4647 | if (!SWIG_IsOK(res1)) { | |
4648 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
4649 | } | |
4650 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4651 | { | |
4652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4653 | result = (long)((wxRichTextAttr const *)arg1)->GetLeftIndent(); | |
4654 | wxPyEndAllowThreads(__tstate); | |
4655 | if (PyErr_Occurred()) SWIG_fail; | |
4656 | } | |
4657 | resultobj = SWIG_From_long(static_cast< long >(result)); | |
4658 | return resultobj; | |
4659 | fail: | |
4660 | return NULL; | |
4661 | } | |
4662 | ||
4663 | ||
4664 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4665 | PyObject *resultobj = 0; | |
4666 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4667 | long result; | |
4668 | void *argp1 = 0 ; | |
4669 | int res1 = 0 ; | |
4670 | PyObject *swig_obj[1] ; | |
4671 | ||
4672 | if (!args) SWIG_fail; | |
4673 | swig_obj[0] = args; | |
4674 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4675 | if (!SWIG_IsOK(res1)) { | |
4676 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
4677 | } | |
4678 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4679 | { | |
4680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4681 | result = (long)((wxRichTextAttr const *)arg1)->GetLeftSubIndent(); | |
4682 | wxPyEndAllowThreads(__tstate); | |
4683 | if (PyErr_Occurred()) SWIG_fail; | |
4684 | } | |
4685 | resultobj = SWIG_From_long(static_cast< long >(result)); | |
4686 | return resultobj; | |
4687 | fail: | |
4688 | return NULL; | |
4689 | } | |
4690 | ||
4691 | ||
4692 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4693 | PyObject *resultobj = 0; | |
4694 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4695 | long result; | |
4696 | void *argp1 = 0 ; | |
4697 | int res1 = 0 ; | |
4698 | PyObject *swig_obj[1] ; | |
4699 | ||
4700 | if (!args) SWIG_fail; | |
4701 | swig_obj[0] = args; | |
4702 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4703 | if (!SWIG_IsOK(res1)) { | |
4704 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
4705 | } | |
4706 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4707 | { | |
4708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4709 | result = (long)((wxRichTextAttr const *)arg1)->GetRightIndent(); | |
4710 | wxPyEndAllowThreads(__tstate); | |
4711 | if (PyErr_Occurred()) SWIG_fail; | |
4712 | } | |
4713 | resultobj = SWIG_From_long(static_cast< long >(result)); | |
4714 | return resultobj; | |
4715 | fail: | |
4716 | return NULL; | |
4717 | } | |
4718 | ||
4719 | ||
4720 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4721 | PyObject *resultobj = 0; | |
4722 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4723 | long result; | |
4724 | void *argp1 = 0 ; | |
4725 | int res1 = 0 ; | |
4726 | PyObject *swig_obj[1] ; | |
4727 | ||
4728 | if (!args) SWIG_fail; | |
4729 | swig_obj[0] = args; | |
4730 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4731 | if (!SWIG_IsOK(res1)) { | |
4732 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
4733 | } | |
4734 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4735 | { | |
4736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4737 | result = (long)((wxRichTextAttr const *)arg1)->GetFlags(); | |
4738 | wxPyEndAllowThreads(__tstate); | |
4739 | if (PyErr_Occurred()) SWIG_fail; | |
4740 | } | |
4741 | resultobj = SWIG_From_long(static_cast< long >(result)); | |
4742 | return resultobj; | |
4743 | fail: | |
4744 | return NULL; | |
4745 | } | |
4746 | ||
4747 | ||
4748 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4749 | PyObject *resultobj = 0; | |
4750 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4751 | int result; | |
4752 | void *argp1 = 0 ; | |
4753 | int res1 = 0 ; | |
4754 | PyObject *swig_obj[1] ; | |
4755 | ||
4756 | if (!args) SWIG_fail; | |
4757 | swig_obj[0] = args; | |
4758 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4759 | if (!SWIG_IsOK(res1)) { | |
4760 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
4761 | } | |
4762 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4763 | { | |
4764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4765 | result = (int)((wxRichTextAttr const *)arg1)->GetFontSize(); | |
4766 | wxPyEndAllowThreads(__tstate); | |
4767 | if (PyErr_Occurred()) SWIG_fail; | |
4768 | } | |
4769 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4770 | return resultobj; | |
4771 | fail: | |
4772 | return NULL; | |
4773 | } | |
4774 | ||
4775 | ||
4776 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4777 | PyObject *resultobj = 0; | |
4778 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4779 | int result; | |
4780 | void *argp1 = 0 ; | |
4781 | int res1 = 0 ; | |
4782 | PyObject *swig_obj[1] ; | |
4783 | ||
4784 | if (!args) SWIG_fail; | |
4785 | swig_obj[0] = args; | |
4786 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4787 | if (!SWIG_IsOK(res1)) { | |
4788 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
4789 | } | |
4790 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4791 | { | |
4792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4793 | result = (int)((wxRichTextAttr const *)arg1)->GetFontStyle(); | |
4794 | wxPyEndAllowThreads(__tstate); | |
4795 | if (PyErr_Occurred()) SWIG_fail; | |
4796 | } | |
4797 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4798 | return resultobj; | |
4799 | fail: | |
4800 | return NULL; | |
4801 | } | |
4802 | ||
4803 | ||
4804 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4805 | PyObject *resultobj = 0; | |
4806 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4807 | int result; | |
4808 | void *argp1 = 0 ; | |
4809 | int res1 = 0 ; | |
4810 | PyObject *swig_obj[1] ; | |
4811 | ||
4812 | if (!args) SWIG_fail; | |
4813 | swig_obj[0] = args; | |
4814 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4815 | if (!SWIG_IsOK(res1)) { | |
4816 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
4817 | } | |
4818 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4819 | { | |
4820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4821 | result = (int)((wxRichTextAttr const *)arg1)->GetFontWeight(); | |
4822 | wxPyEndAllowThreads(__tstate); | |
4823 | if (PyErr_Occurred()) SWIG_fail; | |
4824 | } | |
4825 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4826 | return resultobj; | |
4827 | fail: | |
4828 | return NULL; | |
4829 | } | |
4830 | ||
4831 | ||
4832 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4833 | PyObject *resultobj = 0; | |
4834 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4835 | bool result; | |
4836 | void *argp1 = 0 ; | |
4837 | int res1 = 0 ; | |
4838 | PyObject *swig_obj[1] ; | |
4839 | ||
4840 | if (!args) SWIG_fail; | |
4841 | swig_obj[0] = args; | |
4842 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4843 | if (!SWIG_IsOK(res1)) { | |
4844 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
4845 | } | |
4846 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4847 | { | |
4848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4849 | result = (bool)((wxRichTextAttr const *)arg1)->GetFontUnderlined(); | |
4850 | wxPyEndAllowThreads(__tstate); | |
4851 | if (PyErr_Occurred()) SWIG_fail; | |
4852 | } | |
4853 | { | |
4854 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4855 | } | |
4856 | return resultobj; | |
4857 | fail: | |
4858 | return NULL; | |
4859 | } | |
4860 | ||
4861 | ||
4862 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4863 | PyObject *resultobj = 0; | |
4864 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4865 | wxString *result = 0 ; | |
4866 | void *argp1 = 0 ; | |
4867 | int res1 = 0 ; | |
4868 | PyObject *swig_obj[1] ; | |
4869 | ||
4870 | if (!args) SWIG_fail; | |
4871 | swig_obj[0] = args; | |
4872 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4873 | if (!SWIG_IsOK(res1)) { | |
4874 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
4875 | } | |
4876 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4877 | { | |
4878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4879 | { | |
4880 | wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetFontFaceName(); | |
4881 | result = (wxString *) &_result_ref; | |
4882 | } | |
4883 | wxPyEndAllowThreads(__tstate); | |
4884 | if (PyErr_Occurred()) SWIG_fail; | |
4885 | } | |
4886 | { | |
4887 | #if wxUSE_UNICODE | |
4888 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
4889 | #else | |
4890 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
4891 | #endif | |
4892 | } | |
4893 | return resultobj; | |
4894 | fail: | |
4895 | return NULL; | |
4896 | } | |
4897 | ||
4898 | ||
4899 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4900 | PyObject *resultobj = 0; | |
4901 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4902 | wxString *result = 0 ; | |
4903 | void *argp1 = 0 ; | |
4904 | int res1 = 0 ; | |
4905 | PyObject *swig_obj[1] ; | |
4906 | ||
4907 | if (!args) SWIG_fail; | |
4908 | swig_obj[0] = args; | |
4909 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4910 | if (!SWIG_IsOK(res1)) { | |
4911 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
4912 | } | |
4913 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4914 | { | |
4915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4916 | { | |
4917 | wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetCharacterStyleName(); | |
4918 | result = (wxString *) &_result_ref; | |
4919 | } | |
4920 | wxPyEndAllowThreads(__tstate); | |
4921 | if (PyErr_Occurred()) SWIG_fail; | |
4922 | } | |
4923 | { | |
4924 | #if wxUSE_UNICODE | |
4925 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
4926 | #else | |
4927 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
4928 | #endif | |
4929 | } | |
4930 | return resultobj; | |
4931 | fail: | |
4932 | return NULL; | |
4933 | } | |
4934 | ||
4935 | ||
4936 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4937 | PyObject *resultobj = 0; | |
4938 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4939 | wxString *result = 0 ; | |
4940 | void *argp1 = 0 ; | |
4941 | int res1 = 0 ; | |
4942 | PyObject *swig_obj[1] ; | |
4943 | ||
4944 | if (!args) SWIG_fail; | |
4945 | swig_obj[0] = args; | |
4946 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4947 | if (!SWIG_IsOK(res1)) { | |
4948 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
4949 | } | |
4950 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4951 | { | |
4952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4953 | { | |
4954 | wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetParagraphStyleName(); | |
4955 | result = (wxString *) &_result_ref; | |
4956 | } | |
4957 | wxPyEndAllowThreads(__tstate); | |
4958 | if (PyErr_Occurred()) SWIG_fail; | |
4959 | } | |
4960 | { | |
4961 | #if wxUSE_UNICODE | |
4962 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
4963 | #else | |
4964 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
4965 | #endif | |
4966 | } | |
4967 | return resultobj; | |
4968 | fail: | |
4969 | return NULL; | |
4970 | } | |
4971 | ||
4972 | ||
4973 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4974 | PyObject *resultobj = 0; | |
4975 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
4976 | int result; | |
4977 | void *argp1 = 0 ; | |
4978 | int res1 = 0 ; | |
4979 | PyObject *swig_obj[1] ; | |
4980 | ||
4981 | if (!args) SWIG_fail; | |
4982 | swig_obj[0] = args; | |
4983 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
4984 | if (!SWIG_IsOK(res1)) { | |
4985 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
4986 | } | |
4987 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
4988 | { | |
4989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4990 | result = (int)((wxRichTextAttr const *)arg1)->GetParagraphSpacingAfter(); | |
4991 | wxPyEndAllowThreads(__tstate); | |
4992 | if (PyErr_Occurred()) SWIG_fail; | |
4993 | } | |
4994 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4995 | return resultobj; | |
4996 | fail: | |
4997 | return NULL; | |
4998 | } | |
4999 | ||
5000 | ||
5001 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5002 | PyObject *resultobj = 0; | |
5003 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5004 | int result; | |
5005 | void *argp1 = 0 ; | |
5006 | int res1 = 0 ; | |
5007 | PyObject *swig_obj[1] ; | |
5008 | ||
5009 | if (!args) SWIG_fail; | |
5010 | swig_obj[0] = args; | |
5011 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5012 | if (!SWIG_IsOK(res1)) { | |
5013 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5014 | } | |
5015 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5016 | { | |
5017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5018 | result = (int)((wxRichTextAttr const *)arg1)->GetParagraphSpacingBefore(); | |
5019 | wxPyEndAllowThreads(__tstate); | |
5020 | if (PyErr_Occurred()) SWIG_fail; | |
5021 | } | |
5022 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5023 | return resultobj; | |
5024 | fail: | |
5025 | return NULL; | |
5026 | } | |
5027 | ||
5028 | ||
5029 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5030 | PyObject *resultobj = 0; | |
5031 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5032 | int result; | |
5033 | void *argp1 = 0 ; | |
5034 | int res1 = 0 ; | |
5035 | PyObject *swig_obj[1] ; | |
5036 | ||
5037 | if (!args) SWIG_fail; | |
5038 | swig_obj[0] = args; | |
5039 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5040 | if (!SWIG_IsOK(res1)) { | |
5041 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5042 | } | |
5043 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5044 | { | |
5045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5046 | result = (int)((wxRichTextAttr const *)arg1)->GetLineSpacing(); | |
5047 | wxPyEndAllowThreads(__tstate); | |
5048 | if (PyErr_Occurred()) SWIG_fail; | |
5049 | } | |
5050 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5051 | return resultobj; | |
5052 | fail: | |
5053 | return NULL; | |
5054 | } | |
5055 | ||
5056 | ||
5057 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5058 | PyObject *resultobj = 0; | |
5059 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5060 | int result; | |
5061 | void *argp1 = 0 ; | |
5062 | int res1 = 0 ; | |
5063 | PyObject *swig_obj[1] ; | |
5064 | ||
5065 | if (!args) SWIG_fail; | |
5066 | swig_obj[0] = args; | |
5067 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5068 | if (!SWIG_IsOK(res1)) { | |
5069 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5070 | } | |
5071 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5072 | { | |
5073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5074 | result = (int)((wxRichTextAttr const *)arg1)->GetBulletStyle(); | |
5075 | wxPyEndAllowThreads(__tstate); | |
5076 | if (PyErr_Occurred()) SWIG_fail; | |
5077 | } | |
5078 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5079 | return resultobj; | |
5080 | fail: | |
5081 | return NULL; | |
5082 | } | |
5083 | ||
5084 | ||
5085 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5086 | PyObject *resultobj = 0; | |
5087 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5088 | int result; | |
5089 | void *argp1 = 0 ; | |
5090 | int res1 = 0 ; | |
5091 | PyObject *swig_obj[1] ; | |
5092 | ||
5093 | if (!args) SWIG_fail; | |
5094 | swig_obj[0] = args; | |
5095 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5096 | if (!SWIG_IsOK(res1)) { | |
5097 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5098 | } | |
5099 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5100 | { | |
5101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5102 | result = (int)((wxRichTextAttr const *)arg1)->GetBulletNumber(); | |
5103 | wxPyEndAllowThreads(__tstate); | |
5104 | if (PyErr_Occurred()) SWIG_fail; | |
5105 | } | |
5106 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5107 | return resultobj; | |
5108 | fail: | |
5109 | return NULL; | |
5110 | } | |
5111 | ||
5112 | ||
70d7cb34 | 5113 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
f05326ba RD |
5114 | PyObject *resultobj = 0; |
5115 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
70d7cb34 | 5116 | wxString *result = 0 ; |
f05326ba RD |
5117 | void *argp1 = 0 ; |
5118 | int res1 = 0 ; | |
5119 | PyObject *swig_obj[1] ; | |
5120 | ||
5121 | if (!args) SWIG_fail; | |
5122 | swig_obj[0] = args; | |
5123 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5124 | if (!SWIG_IsOK(res1)) { | |
70d7cb34 | 5125 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletText" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); |
f05326ba RD |
5126 | } |
5127 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5128 | { | |
5129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
70d7cb34 RD |
5130 | { |
5131 | wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetBulletText(); | |
5132 | result = (wxString *) &_result_ref; | |
5133 | } | |
f05326ba RD |
5134 | wxPyEndAllowThreads(__tstate); |
5135 | if (PyErr_Occurred()) SWIG_fail; | |
5136 | } | |
70d7cb34 RD |
5137 | { |
5138 | #if wxUSE_UNICODE | |
5139 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
5140 | #else | |
5141 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
5142 | #endif | |
5143 | } | |
f05326ba RD |
5144 | return resultobj; |
5145 | fail: | |
5146 | return NULL; | |
5147 | } | |
5148 | ||
5149 | ||
b39fe951 RD |
5150 | SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5151 | PyObject *resultobj = 0; | |
5152 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5153 | wxString *result = 0 ; | |
5154 | void *argp1 = 0 ; | |
5155 | int res1 = 0 ; | |
5156 | PyObject *swig_obj[1] ; | |
5157 | ||
5158 | if (!args) SWIG_fail; | |
5159 | swig_obj[0] = args; | |
5160 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5161 | if (!SWIG_IsOK(res1)) { | |
5162 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5163 | } | |
5164 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5165 | { | |
5166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5167 | { | |
5168 | wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetBulletFont(); | |
5169 | result = (wxString *) &_result_ref; | |
5170 | } | |
5171 | wxPyEndAllowThreads(__tstate); | |
5172 | if (PyErr_Occurred()) SWIG_fail; | |
5173 | } | |
5174 | { | |
5175 | #if wxUSE_UNICODE | |
5176 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
5177 | #else | |
5178 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
5179 | #endif | |
5180 | } | |
5181 | return resultobj; | |
5182 | fail: | |
5183 | return NULL; | |
5184 | } | |
5185 | ||
5186 | ||
f05326ba RD |
5187 | SWIGINTERN PyObject *_wrap_RichTextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5188 | PyObject *resultobj = 0; | |
5189 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5190 | bool result; | |
5191 | void *argp1 = 0 ; | |
5192 | int res1 = 0 ; | |
5193 | PyObject *swig_obj[1] ; | |
5194 | ||
5195 | if (!args) SWIG_fail; | |
5196 | swig_obj[0] = args; | |
5197 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5198 | if (!SWIG_IsOK(res1)) { | |
5199 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5200 | } | |
5201 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5202 | { | |
5203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5204 | result = (bool)((wxRichTextAttr const *)arg1)->HasTextColour(); | |
5205 | wxPyEndAllowThreads(__tstate); | |
5206 | if (PyErr_Occurred()) SWIG_fail; | |
5207 | } | |
5208 | { | |
5209 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5210 | } | |
5211 | return resultobj; | |
5212 | fail: | |
5213 | return NULL; | |
5214 | } | |
5215 | ||
5216 | ||
5217 | SWIGINTERN PyObject *_wrap_RichTextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5218 | PyObject *resultobj = 0; | |
5219 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5220 | bool result; | |
5221 | void *argp1 = 0 ; | |
5222 | int res1 = 0 ; | |
5223 | PyObject *swig_obj[1] ; | |
5224 | ||
5225 | if (!args) SWIG_fail; | |
5226 | swig_obj[0] = args; | |
5227 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5228 | if (!SWIG_IsOK(res1)) { | |
5229 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5230 | } | |
5231 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5232 | { | |
5233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5234 | result = (bool)((wxRichTextAttr const *)arg1)->HasBackgroundColour(); | |
5235 | wxPyEndAllowThreads(__tstate); | |
5236 | if (PyErr_Occurred()) SWIG_fail; | |
5237 | } | |
5238 | { | |
5239 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5240 | } | |
5241 | return resultobj; | |
5242 | fail: | |
5243 | return NULL; | |
5244 | } | |
5245 | ||
5246 | ||
5247 | SWIGINTERN PyObject *_wrap_RichTextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5248 | PyObject *resultobj = 0; | |
5249 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5250 | bool result; | |
5251 | void *argp1 = 0 ; | |
5252 | int res1 = 0 ; | |
5253 | PyObject *swig_obj[1] ; | |
5254 | ||
5255 | if (!args) SWIG_fail; | |
5256 | swig_obj[0] = args; | |
5257 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5258 | if (!SWIG_IsOK(res1)) { | |
5259 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5260 | } | |
5261 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5262 | { | |
5263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5264 | result = (bool)((wxRichTextAttr const *)arg1)->HasAlignment(); | |
5265 | wxPyEndAllowThreads(__tstate); | |
5266 | if (PyErr_Occurred()) SWIG_fail; | |
5267 | } | |
5268 | { | |
5269 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5270 | } | |
5271 | return resultobj; | |
5272 | fail: | |
5273 | return NULL; | |
5274 | } | |
5275 | ||
5276 | ||
5277 | SWIGINTERN PyObject *_wrap_RichTextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5278 | PyObject *resultobj = 0; | |
5279 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5280 | bool result; | |
5281 | void *argp1 = 0 ; | |
5282 | int res1 = 0 ; | |
5283 | PyObject *swig_obj[1] ; | |
5284 | ||
5285 | if (!args) SWIG_fail; | |
5286 | swig_obj[0] = args; | |
5287 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5288 | if (!SWIG_IsOK(res1)) { | |
5289 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5290 | } | |
5291 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5292 | { | |
5293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5294 | result = (bool)((wxRichTextAttr const *)arg1)->HasTabs(); | |
5295 | wxPyEndAllowThreads(__tstate); | |
5296 | if (PyErr_Occurred()) SWIG_fail; | |
5297 | } | |
5298 | { | |
5299 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5300 | } | |
5301 | return resultobj; | |
5302 | fail: | |
5303 | return NULL; | |
5304 | } | |
5305 | ||
5306 | ||
5307 | SWIGINTERN PyObject *_wrap_RichTextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5308 | PyObject *resultobj = 0; | |
5309 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5310 | bool result; | |
5311 | void *argp1 = 0 ; | |
5312 | int res1 = 0 ; | |
5313 | PyObject *swig_obj[1] ; | |
5314 | ||
5315 | if (!args) SWIG_fail; | |
5316 | swig_obj[0] = args; | |
5317 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5318 | if (!SWIG_IsOK(res1)) { | |
5319 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5320 | } | |
5321 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5322 | { | |
5323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5324 | result = (bool)((wxRichTextAttr const *)arg1)->HasLeftIndent(); | |
5325 | wxPyEndAllowThreads(__tstate); | |
5326 | if (PyErr_Occurred()) SWIG_fail; | |
5327 | } | |
5328 | { | |
5329 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5330 | } | |
5331 | return resultobj; | |
5332 | fail: | |
5333 | return NULL; | |
5334 | } | |
5335 | ||
5336 | ||
5337 | SWIGINTERN PyObject *_wrap_RichTextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5338 | PyObject *resultobj = 0; | |
5339 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5340 | bool result; | |
5341 | void *argp1 = 0 ; | |
5342 | int res1 = 0 ; | |
5343 | PyObject *swig_obj[1] ; | |
5344 | ||
5345 | if (!args) SWIG_fail; | |
5346 | swig_obj[0] = args; | |
5347 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5348 | if (!SWIG_IsOK(res1)) { | |
5349 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5350 | } | |
5351 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5352 | { | |
5353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5354 | result = (bool)((wxRichTextAttr const *)arg1)->HasRightIndent(); | |
5355 | wxPyEndAllowThreads(__tstate); | |
5356 | if (PyErr_Occurred()) SWIG_fail; | |
5357 | } | |
5358 | { | |
5359 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5360 | } | |
5361 | return resultobj; | |
5362 | fail: | |
5363 | return NULL; | |
5364 | } | |
5365 | ||
5366 | ||
f05326ba RD |
5367 | SWIGINTERN PyObject *_wrap_RichTextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5368 | PyObject *resultobj = 0; | |
5369 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5370 | bool result; | |
5371 | void *argp1 = 0 ; | |
5372 | int res1 = 0 ; | |
5373 | PyObject *swig_obj[1] ; | |
5374 | ||
5375 | if (!args) SWIG_fail; | |
5376 | swig_obj[0] = args; | |
5377 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5378 | if (!SWIG_IsOK(res1)) { | |
5379 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5380 | } | |
5381 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5382 | { | |
5383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5384 | result = (bool)((wxRichTextAttr const *)arg1)->HasFont(); | |
5385 | wxPyEndAllowThreads(__tstate); | |
5386 | if (PyErr_Occurred()) SWIG_fail; | |
5387 | } | |
5388 | { | |
5389 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5390 | } | |
5391 | return resultobj; | |
5392 | fail: | |
5393 | return NULL; | |
5394 | } | |
5395 | ||
5396 | ||
5397 | SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5398 | PyObject *resultobj = 0; | |
5399 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5400 | bool result; | |
5401 | void *argp1 = 0 ; | |
5402 | int res1 = 0 ; | |
5403 | PyObject *swig_obj[1] ; | |
5404 | ||
5405 | if (!args) SWIG_fail; | |
5406 | swig_obj[0] = args; | |
5407 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5408 | if (!SWIG_IsOK(res1)) { | |
5409 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5410 | } | |
5411 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5412 | { | |
5413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5414 | result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphSpacingAfter(); | |
5415 | wxPyEndAllowThreads(__tstate); | |
5416 | if (PyErr_Occurred()) SWIG_fail; | |
5417 | } | |
5418 | { | |
5419 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5420 | } | |
5421 | return resultobj; | |
5422 | fail: | |
5423 | return NULL; | |
5424 | } | |
5425 | ||
5426 | ||
5427 | SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5428 | PyObject *resultobj = 0; | |
5429 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5430 | bool result; | |
5431 | void *argp1 = 0 ; | |
5432 | int res1 = 0 ; | |
5433 | PyObject *swig_obj[1] ; | |
5434 | ||
5435 | if (!args) SWIG_fail; | |
5436 | swig_obj[0] = args; | |
5437 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5438 | if (!SWIG_IsOK(res1)) { | |
5439 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5440 | } | |
5441 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5442 | { | |
5443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5444 | result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphSpacingBefore(); | |
5445 | wxPyEndAllowThreads(__tstate); | |
5446 | if (PyErr_Occurred()) SWIG_fail; | |
5447 | } | |
5448 | { | |
5449 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5450 | } | |
5451 | return resultobj; | |
5452 | fail: | |
5453 | return NULL; | |
5454 | } | |
5455 | ||
5456 | ||
5457 | SWIGINTERN PyObject *_wrap_RichTextAttr_HasLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5458 | PyObject *resultobj = 0; | |
5459 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5460 | bool result; | |
5461 | void *argp1 = 0 ; | |
5462 | int res1 = 0 ; | |
5463 | PyObject *swig_obj[1] ; | |
5464 | ||
5465 | if (!args) SWIG_fail; | |
5466 | swig_obj[0] = args; | |
5467 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5468 | if (!SWIG_IsOK(res1)) { | |
5469 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5470 | } | |
5471 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5472 | { | |
5473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5474 | result = (bool)((wxRichTextAttr const *)arg1)->HasLineSpacing(); | |
5475 | wxPyEndAllowThreads(__tstate); | |
5476 | if (PyErr_Occurred()) SWIG_fail; | |
5477 | } | |
5478 | { | |
5479 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5480 | } | |
5481 | return resultobj; | |
5482 | fail: | |
5483 | return NULL; | |
5484 | } | |
5485 | ||
5486 | ||
5487 | SWIGINTERN PyObject *_wrap_RichTextAttr_HasCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5488 | PyObject *resultobj = 0; | |
5489 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5490 | bool result; | |
5491 | void *argp1 = 0 ; | |
5492 | int res1 = 0 ; | |
5493 | PyObject *swig_obj[1] ; | |
5494 | ||
5495 | if (!args) SWIG_fail; | |
5496 | swig_obj[0] = args; | |
5497 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5498 | if (!SWIG_IsOK(res1)) { | |
5499 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5500 | } | |
5501 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5502 | { | |
5503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5504 | result = (bool)((wxRichTextAttr const *)arg1)->HasCharacterStyleName(); | |
5505 | wxPyEndAllowThreads(__tstate); | |
5506 | if (PyErr_Occurred()) SWIG_fail; | |
5507 | } | |
5508 | { | |
5509 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5510 | } | |
5511 | return resultobj; | |
5512 | fail: | |
5513 | return NULL; | |
5514 | } | |
5515 | ||
5516 | ||
5517 | SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5518 | PyObject *resultobj = 0; | |
5519 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5520 | bool result; | |
5521 | void *argp1 = 0 ; | |
5522 | int res1 = 0 ; | |
5523 | PyObject *swig_obj[1] ; | |
5524 | ||
5525 | if (!args) SWIG_fail; | |
5526 | swig_obj[0] = args; | |
5527 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5528 | if (!SWIG_IsOK(res1)) { | |
5529 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5530 | } | |
5531 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5532 | { | |
5533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5534 | result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphStyleName(); | |
5535 | wxPyEndAllowThreads(__tstate); | |
5536 | if (PyErr_Occurred()) SWIG_fail; | |
5537 | } | |
5538 | { | |
5539 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5540 | } | |
5541 | return resultobj; | |
5542 | fail: | |
5543 | return NULL; | |
5544 | } | |
5545 | ||
5546 | ||
5547 | SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5548 | PyObject *resultobj = 0; | |
5549 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5550 | bool result; | |
5551 | void *argp1 = 0 ; | |
5552 | int res1 = 0 ; | |
5553 | PyObject *swig_obj[1] ; | |
5554 | ||
5555 | if (!args) SWIG_fail; | |
5556 | swig_obj[0] = args; | |
5557 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5558 | if (!SWIG_IsOK(res1)) { | |
5559 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5560 | } | |
5561 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5562 | { | |
5563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5564 | result = (bool)((wxRichTextAttr const *)arg1)->HasBulletStyle(); | |
5565 | wxPyEndAllowThreads(__tstate); | |
5566 | if (PyErr_Occurred()) SWIG_fail; | |
5567 | } | |
5568 | { | |
5569 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5570 | } | |
5571 | return resultobj; | |
5572 | fail: | |
5573 | return NULL; | |
5574 | } | |
5575 | ||
5576 | ||
5577 | SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5578 | PyObject *resultobj = 0; | |
5579 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5580 | bool result; | |
5581 | void *argp1 = 0 ; | |
5582 | int res1 = 0 ; | |
5583 | PyObject *swig_obj[1] ; | |
5584 | ||
5585 | if (!args) SWIG_fail; | |
5586 | swig_obj[0] = args; | |
5587 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5588 | if (!SWIG_IsOK(res1)) { | |
5589 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5590 | } | |
5591 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5592 | { | |
5593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5594 | result = (bool)((wxRichTextAttr const *)arg1)->HasBulletNumber(); | |
5595 | wxPyEndAllowThreads(__tstate); | |
5596 | if (PyErr_Occurred()) SWIG_fail; | |
5597 | } | |
5598 | { | |
5599 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5600 | } | |
5601 | return resultobj; | |
5602 | fail: | |
5603 | return NULL; | |
5604 | } | |
5605 | ||
5606 | ||
70d7cb34 | 5607 | SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
f05326ba RD |
5608 | PyObject *resultobj = 0; |
5609 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5610 | bool result; | |
5611 | void *argp1 = 0 ; | |
5612 | int res1 = 0 ; | |
5613 | PyObject *swig_obj[1] ; | |
5614 | ||
5615 | if (!args) SWIG_fail; | |
5616 | swig_obj[0] = args; | |
5617 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5618 | if (!SWIG_IsOK(res1)) { | |
70d7cb34 | 5619 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletText" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); |
f05326ba RD |
5620 | } |
5621 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5622 | { | |
5623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
70d7cb34 | 5624 | result = (bool)((wxRichTextAttr const *)arg1)->HasBulletText(); |
f05326ba RD |
5625 | wxPyEndAllowThreads(__tstate); |
5626 | if (PyErr_Occurred()) SWIG_fail; | |
5627 | } | |
5628 | { | |
5629 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5630 | } | |
5631 | return resultobj; | |
5632 | fail: | |
5633 | return NULL; | |
5634 | } | |
5635 | ||
5636 | ||
5637 | SWIGINTERN PyObject *_wrap_RichTextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5638 | PyObject *resultobj = 0; | |
5639 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5640 | long arg2 ; | |
5641 | bool result; | |
5642 | void *argp1 = 0 ; | |
5643 | int res1 = 0 ; | |
5644 | long val2 ; | |
5645 | int ecode2 = 0 ; | |
5646 | PyObject * obj0 = 0 ; | |
5647 | PyObject * obj1 = 0 ; | |
5648 | char * kwnames[] = { | |
5649 | (char *) "self",(char *) "flag", NULL | |
5650 | }; | |
5651 | ||
5652 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail; | |
5653 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5654 | if (!SWIG_IsOK(res1)) { | |
5655 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasFlag" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5656 | } | |
5657 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5658 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
5659 | if (!SWIG_IsOK(ecode2)) { | |
5660 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'"); | |
5661 | } | |
5662 | arg2 = static_cast< long >(val2); | |
5663 | { | |
5664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5665 | result = (bool)((wxRichTextAttr const *)arg1)->HasFlag(arg2); | |
5666 | wxPyEndAllowThreads(__tstate); | |
5667 | if (PyErr_Occurred()) SWIG_fail; | |
5668 | } | |
5669 | { | |
5670 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5671 | } | |
5672 | return resultobj; | |
5673 | fail: | |
5674 | return NULL; | |
5675 | } | |
5676 | ||
5677 | ||
5678 | SWIGINTERN PyObject *_wrap_RichTextAttr_IsCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5679 | PyObject *resultobj = 0; | |
5680 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5681 | bool result; | |
5682 | void *argp1 = 0 ; | |
5683 | int res1 = 0 ; | |
5684 | PyObject *swig_obj[1] ; | |
5685 | ||
5686 | if (!args) SWIG_fail; | |
5687 | swig_obj[0] = args; | |
5688 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5689 | if (!SWIG_IsOK(res1)) { | |
5690 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5691 | } | |
5692 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5693 | { | |
5694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5695 | result = (bool)((wxRichTextAttr const *)arg1)->IsCharacterStyle(); | |
5696 | wxPyEndAllowThreads(__tstate); | |
5697 | if (PyErr_Occurred()) SWIG_fail; | |
5698 | } | |
5699 | { | |
5700 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5701 | } | |
5702 | return resultobj; | |
5703 | fail: | |
5704 | return NULL; | |
5705 | } | |
5706 | ||
5707 | ||
5708 | SWIGINTERN PyObject *_wrap_RichTextAttr_IsParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5709 | PyObject *resultobj = 0; | |
5710 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5711 | bool result; | |
5712 | void *argp1 = 0 ; | |
5713 | int res1 = 0 ; | |
5714 | PyObject *swig_obj[1] ; | |
5715 | ||
5716 | if (!args) SWIG_fail; | |
5717 | swig_obj[0] = args; | |
5718 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5719 | if (!SWIG_IsOK(res1)) { | |
5720 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5721 | } | |
5722 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5723 | { | |
5724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5725 | result = (bool)((wxRichTextAttr const *)arg1)->IsParagraphStyle(); | |
5726 | wxPyEndAllowThreads(__tstate); | |
5727 | if (PyErr_Occurred()) SWIG_fail; | |
5728 | } | |
5729 | { | |
5730 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5731 | } | |
5732 | return resultobj; | |
5733 | fail: | |
5734 | return NULL; | |
5735 | } | |
5736 | ||
5737 | ||
5738 | SWIGINTERN PyObject *_wrap_RichTextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5739 | PyObject *resultobj = 0; | |
5740 | wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ; | |
5741 | bool result; | |
5742 | void *argp1 = 0 ; | |
5743 | int res1 = 0 ; | |
5744 | PyObject *swig_obj[1] ; | |
5745 | ||
5746 | if (!args) SWIG_fail; | |
5747 | swig_obj[0] = args; | |
5748 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 ); | |
5749 | if (!SWIG_IsOK(res1)) { | |
5750 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsDefault" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); | |
5751 | } | |
5752 | arg1 = reinterpret_cast< wxRichTextAttr * >(argp1); | |
5753 | { | |
5754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5755 | result = (bool)((wxRichTextAttr const *)arg1)->IsDefault(); | |
5756 | wxPyEndAllowThreads(__tstate); | |
5757 | if (PyErr_Occurred()) SWIG_fail; | |
5758 | } | |
5759 | { | |
5760 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5761 | } | |
5762 | return resultobj; | |
5763 | fail: | |
5764 | return NULL; | |
5765 | } | |
5766 | ||
5767 | ||
5768 | SWIGINTERN PyObject *RichTextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5769 | PyObject *obj; | |
5770 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5771 | SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextAttr, SWIG_NewClientData(obj)); | |
5772 | return SWIG_Py_Void(); | |
5773 | } | |
5774 | ||
5775 | SWIGINTERN PyObject *RichTextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5776 | return SWIG_Python_InitShadowInstance(args); | |
5777 | } | |
5778 | ||
5779 | SWIGINTERN PyObject *_wrap_new_RichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5780 | PyObject *resultobj = 0; | |
5781 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5782 | int arg2 = (int) -1 ; | |
0ef86618 RD |
5783 | wxString const &arg3_defvalue = wxPyEmptyString ; |
5784 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
5785 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
5786 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5787 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5788 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5789 | long arg6 = (long) wxRE_MULTILINE ; | |
f05326ba RD |
5790 | wxRichTextCtrl *result = 0 ; |
5791 | void *argp1 = 0 ; | |
5792 | int res1 = 0 ; | |
5793 | int val2 ; | |
5794 | int ecode2 = 0 ; | |
0ef86618 RD |
5795 | bool temp3 = false ; |
5796 | wxPoint temp4 ; | |
5797 | wxSize temp5 ; | |
5798 | long val6 ; | |
5799 | int ecode6 = 0 ; | |
f05326ba RD |
5800 | PyObject * obj0 = 0 ; |
5801 | PyObject * obj1 = 0 ; | |
5802 | PyObject * obj2 = 0 ; | |
5803 | PyObject * obj3 = 0 ; | |
5804 | PyObject * obj4 = 0 ; | |
0ef86618 | 5805 | PyObject * obj5 = 0 ; |
f05326ba | 5806 | char * kwnames[] = { |
0ef86618 | 5807 | (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL |
f05326ba RD |
5808 | }; |
5809 | ||
0ef86618 | 5810 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_RichTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
f05326ba RD |
5811 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
5812 | if (!SWIG_IsOK(res1)) { | |
5813 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
5814 | } | |
5815 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
5816 | if (obj1) { | |
5817 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5818 | if (!SWIG_IsOK(ecode2)) { | |
5819 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RichTextCtrl" "', expected argument " "2"" of type '" "int""'"); | |
5820 | } | |
5821 | arg2 = static_cast< int >(val2); | |
5822 | } | |
5823 | if (obj2) { | |
5824 | { | |
0ef86618 RD |
5825 | arg3 = wxString_in_helper(obj2); |
5826 | if (arg3 == NULL) SWIG_fail; | |
5827 | temp3 = true; | |
f05326ba RD |
5828 | } |
5829 | } | |
5830 | if (obj3) { | |
5831 | { | |
5832 | arg4 = &temp4; | |
0ef86618 | 5833 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
f05326ba RD |
5834 | } |
5835 | } | |
5836 | if (obj4) { | |
0ef86618 RD |
5837 | { |
5838 | arg5 = &temp5; | |
5839 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5840 | } | |
5841 | } | |
5842 | if (obj5) { | |
5843 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
5844 | if (!SWIG_IsOK(ecode6)) { | |
5845 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RichTextCtrl" "', expected argument " "6"" of type '" "long""'"); | |
f05326ba | 5846 | } |
0ef86618 | 5847 | arg6 = static_cast< long >(val6); |
f05326ba RD |
5848 | } |
5849 | { | |
5850 | if (!wxPyCheckForApp()) SWIG_fail; | |
5851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
0ef86618 | 5852 | result = (wxRichTextCtrl *)new wxRichTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); |
f05326ba RD |
5853 | wxPyEndAllowThreads(__tstate); |
5854 | if (PyErr_Occurred()) SWIG_fail; | |
5855 | } | |
5856 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextCtrl, SWIG_POINTER_NEW | 0 ); | |
0ef86618 RD |
5857 | { |
5858 | if (temp3) | |
5859 | delete arg3; | |
5860 | } | |
f05326ba RD |
5861 | return resultobj; |
5862 | fail: | |
0ef86618 RD |
5863 | { |
5864 | if (temp3) | |
5865 | delete arg3; | |
5866 | } | |
f05326ba RD |
5867 | return NULL; |
5868 | } | |
5869 | ||
5870 | ||
5871 | SWIGINTERN PyObject *_wrap_new_PreRichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5872 | PyObject *resultobj = 0; | |
5873 | wxRichTextCtrl *result = 0 ; | |
5874 | ||
5875 | if (!SWIG_Python_UnpackTuple(args,"new_PreRichTextCtrl",0,0,0)) SWIG_fail; | |
5876 | { | |
5877 | if (!wxPyCheckForApp()) SWIG_fail; | |
5878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5879 | result = (wxRichTextCtrl *)new wxRichTextCtrl(); | |
5880 | wxPyEndAllowThreads(__tstate); | |
5881 | if (PyErr_Occurred()) SWIG_fail; | |
5882 | } | |
5883 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextCtrl, SWIG_POINTER_OWN | 0 ); | |
5884 | return resultobj; | |
5885 | fail: | |
5886 | return NULL; | |
5887 | } | |
5888 | ||
5889 | ||
5890 | SWIGINTERN PyObject *_wrap_RichTextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5891 | PyObject *resultobj = 0; | |
5892 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
5893 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5894 | int arg3 = (int) -1 ; | |
0ef86618 RD |
5895 | wxString const &arg4_defvalue = wxPyEmptyString ; |
5896 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
5897 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
5898 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
5899 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
5900 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
5901 | long arg7 = (long) wxRE_MULTILINE ; | |
f05326ba RD |
5902 | bool result; |
5903 | void *argp1 = 0 ; | |
5904 | int res1 = 0 ; | |
5905 | void *argp2 = 0 ; | |
5906 | int res2 = 0 ; | |
5907 | int val3 ; | |
5908 | int ecode3 = 0 ; | |
0ef86618 RD |
5909 | bool temp4 = false ; |
5910 | wxPoint temp5 ; | |
5911 | wxSize temp6 ; | |
5912 | long val7 ; | |
5913 | int ecode7 = 0 ; | |
f05326ba RD |
5914 | PyObject * obj0 = 0 ; |
5915 | PyObject * obj1 = 0 ; | |
5916 | PyObject * obj2 = 0 ; | |
5917 | PyObject * obj3 = 0 ; | |
5918 | PyObject * obj4 = 0 ; | |
5919 | PyObject * obj5 = 0 ; | |
0ef86618 | 5920 | PyObject * obj6 = 0 ; |
f05326ba | 5921 | char * kwnames[] = { |
0ef86618 | 5922 | (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL |
f05326ba RD |
5923 | }; |
5924 | ||
0ef86618 | 5925 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:RichTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
f05326ba RD |
5926 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); |
5927 | if (!SWIG_IsOK(res1)) { | |
5928 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Create" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
5929 | } | |
5930 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
5931 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
5932 | if (!SWIG_IsOK(res2)) { | |
5933 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
5934 | } | |
5935 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5936 | if (obj2) { | |
5937 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
5938 | if (!SWIG_IsOK(ecode3)) { | |
5939 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_Create" "', expected argument " "3"" of type '" "int""'"); | |
5940 | } | |
5941 | arg3 = static_cast< int >(val3); | |
5942 | } | |
5943 | if (obj3) { | |
5944 | { | |
0ef86618 RD |
5945 | arg4 = wxString_in_helper(obj3); |
5946 | if (arg4 == NULL) SWIG_fail; | |
5947 | temp4 = true; | |
f05326ba RD |
5948 | } |
5949 | } | |
5950 | if (obj4) { | |
5951 | { | |
5952 | arg5 = &temp5; | |
0ef86618 | 5953 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; |
f05326ba RD |
5954 | } |
5955 | } | |
5956 | if (obj5) { | |
0ef86618 RD |
5957 | { |
5958 | arg6 = &temp6; | |
5959 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
5960 | } | |
5961 | } | |
5962 | if (obj6) { | |
5963 | ecode7 = SWIG_AsVal_long(obj6, &val7); | |
5964 | if (!SWIG_IsOK(ecode7)) { | |
5965 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RichTextCtrl_Create" "', expected argument " "7"" of type '" "long""'"); | |
f05326ba | 5966 | } |
0ef86618 | 5967 | arg7 = static_cast< long >(val7); |
f05326ba RD |
5968 | } |
5969 | { | |
5970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
0ef86618 | 5971 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7); |
f05326ba RD |
5972 | wxPyEndAllowThreads(__tstate); |
5973 | if (PyErr_Occurred()) SWIG_fail; | |
5974 | } | |
5975 | { | |
5976 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5977 | } | |
0ef86618 RD |
5978 | { |
5979 | if (temp4) | |
5980 | delete arg4; | |
5981 | } | |
f05326ba RD |
5982 | return resultobj; |
5983 | fail: | |
0ef86618 RD |
5984 | { |
5985 | if (temp4) | |
5986 | delete arg4; | |
5987 | } | |
f05326ba RD |
5988 | return NULL; |
5989 | } | |
5990 | ||
5991 | ||
5992 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5993 | PyObject *resultobj = 0; | |
5994 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
5995 | wxString result; | |
5996 | void *argp1 = 0 ; | |
5997 | int res1 = 0 ; | |
5998 | PyObject *swig_obj[1] ; | |
5999 | ||
6000 | if (!args) SWIG_fail; | |
6001 | swig_obj[0] = args; | |
6002 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6003 | if (!SWIG_IsOK(res1)) { | |
6004 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
6005 | } | |
6006 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6007 | { | |
6008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6009 | result = ((wxRichTextCtrl const *)arg1)->GetValue(); | |
6010 | wxPyEndAllowThreads(__tstate); | |
6011 | if (PyErr_Occurred()) SWIG_fail; | |
6012 | } | |
6013 | { | |
6014 | #if wxUSE_UNICODE | |
6015 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6016 | #else | |
6017 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6018 | #endif | |
6019 | } | |
6020 | return resultobj; | |
6021 | fail: | |
6022 | return NULL; | |
6023 | } | |
6024 | ||
6025 | ||
6026 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6027 | PyObject *resultobj = 0; | |
6028 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6029 | wxString *arg2 = 0 ; | |
6030 | void *argp1 = 0 ; | |
6031 | int res1 = 0 ; | |
6032 | bool temp2 = false ; | |
6033 | PyObject * obj0 = 0 ; | |
6034 | PyObject * obj1 = 0 ; | |
6035 | char * kwnames[] = { | |
6036 | (char *) "self",(char *) "value", NULL | |
6037 | }; | |
6038 | ||
6039 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail; | |
6040 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6041 | if (!SWIG_IsOK(res1)) { | |
6042 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
6043 | } | |
6044 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6045 | { | |
6046 | arg2 = wxString_in_helper(obj1); | |
6047 | if (arg2 == NULL) SWIG_fail; | |
6048 | temp2 = true; | |
6049 | } | |
6050 | { | |
6051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6052 | (arg1)->SetValue((wxString const &)*arg2); | |
6053 | wxPyEndAllowThreads(__tstate); | |
6054 | if (PyErr_Occurred()) SWIG_fail; | |
6055 | } | |
6056 | resultobj = SWIG_Py_Void(); | |
6057 | { | |
6058 | if (temp2) | |
6059 | delete arg2; | |
6060 | } | |
6061 | return resultobj; | |
6062 | fail: | |
6063 | { | |
6064 | if (temp2) | |
6065 | delete arg2; | |
6066 | } | |
6067 | return NULL; | |
6068 | } | |
6069 | ||
6070 | ||
6071 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6072 | PyObject *resultobj = 0; | |
6073 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6074 | long arg2 ; | |
6075 | long arg3 ; | |
6076 | wxString result; | |
6077 | void *argp1 = 0 ; | |
6078 | int res1 = 0 ; | |
6079 | long val2 ; | |
6080 | int ecode2 = 0 ; | |
6081 | long val3 ; | |
6082 | int ecode3 = 0 ; | |
6083 | PyObject * obj0 = 0 ; | |
6084 | PyObject * obj1 = 0 ; | |
6085 | PyObject * obj2 = 0 ; | |
6086 | char * kwnames[] = { | |
6087 | (char *) "self",(char *) "from",(char *) "to", NULL | |
6088 | }; | |
6089 | ||
6090 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
6091 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6092 | if (!SWIG_IsOK(res1)) { | |
6093 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
6094 | } | |
6095 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6096 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
6097 | if (!SWIG_IsOK(ecode2)) { | |
6098 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'"); | |
6099 | } | |
6100 | arg2 = static_cast< long >(val2); | |
6101 | ecode3 = SWIG_AsVal_long(obj2, &val3); | |
6102 | if (!SWIG_IsOK(ecode3)) { | |
6103 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'"); | |
6104 | } | |
6105 | arg3 = static_cast< long >(val3); | |
6106 | { | |
6107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6108 | result = ((wxRichTextCtrl const *)arg1)->GetRange(arg2,arg3); | |
6109 | wxPyEndAllowThreads(__tstate); | |
6110 | if (PyErr_Occurred()) SWIG_fail; | |
6111 | } | |
6112 | { | |
6113 | #if wxUSE_UNICODE | |
6114 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6115 | #else | |
6116 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6117 | #endif | |
6118 | } | |
6119 | return resultobj; | |
6120 | fail: | |
6121 | return NULL; | |
6122 | } | |
6123 | ||
6124 | ||
6125 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6126 | PyObject *resultobj = 0; | |
6127 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6128 | long arg2 ; | |
6129 | int result; | |
6130 | void *argp1 = 0 ; | |
6131 | int res1 = 0 ; | |
6132 | long val2 ; | |
6133 | int ecode2 = 0 ; | |
6134 | PyObject * obj0 = 0 ; | |
6135 | PyObject * obj1 = 0 ; | |
6136 | char * kwnames[] = { | |
6137 | (char *) "self",(char *) "lineNo", NULL | |
6138 | }; | |
6139 | ||
6140 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail; | |
6141 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6142 | if (!SWIG_IsOK(res1)) { | |
6143 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
6144 | } | |
6145 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6146 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
6147 | if (!SWIG_IsOK(ecode2)) { | |
6148 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'"); | |
6149 | } | |
6150 | arg2 = static_cast< long >(val2); | |
6151 | { | |
6152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6153 | result = (int)((wxRichTextCtrl const *)arg1)->GetLineLength(arg2); | |
6154 | wxPyEndAllowThreads(__tstate); | |
6155 | if (PyErr_Occurred()) SWIG_fail; | |
6156 | } | |
6157 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6158 | return resultobj; | |
6159 | fail: | |
6160 | return NULL; | |
6161 | } | |
6162 | ||
6163 | ||
6164 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6165 | PyObject *resultobj = 0; | |
6166 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6167 | long arg2 ; | |
6168 | wxString result; | |
6169 | void *argp1 = 0 ; | |
6170 | int res1 = 0 ; | |
6171 | long val2 ; | |
6172 | int ecode2 = 0 ; | |
6173 | PyObject * obj0 = 0 ; | |
6174 | PyObject * obj1 = 0 ; | |
6175 | char * kwnames[] = { | |
6176 | (char *) "self",(char *) "lineNo", NULL | |
6177 | }; | |
6178 | ||
6179 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail; | |
6180 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6181 | if (!SWIG_IsOK(res1)) { | |
6182 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
6183 | } | |
6184 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6185 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
6186 | if (!SWIG_IsOK(ecode2)) { | |
6187 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'"); | |
6188 | } | |
6189 | arg2 = static_cast< long >(val2); | |
6190 | { | |
6191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6192 | result = ((wxRichTextCtrl const *)arg1)->GetLineText(arg2); | |
6193 | wxPyEndAllowThreads(__tstate); | |
6194 | if (PyErr_Occurred()) SWIG_fail; | |
6195 | } | |
6196 | { | |
6197 | #if wxUSE_UNICODE | |
6198 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6199 | #else | |
6200 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6201 | #endif | |
6202 | } | |
6203 | return resultobj; | |
6204 | fail: | |
6205 | return NULL; | |
6206 | } | |
6207 | ||
6208 | ||
6209 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6210 | PyObject *resultobj = 0; | |
6211 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6212 | int result; | |
6213 | void *argp1 = 0 ; | |
6214 | int res1 = 0 ; | |
6215 | PyObject *swig_obj[1] ; | |
6216 | ||
6217 | if (!args) SWIG_fail; | |
6218 | swig_obj[0] = args; | |
6219 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6220 | if (!SWIG_IsOK(res1)) { | |
6221 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
6222 | } | |
6223 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6224 | { | |
6225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6226 | result = (int)((wxRichTextCtrl const *)arg1)->GetNumberOfLines(); | |
6227 | wxPyEndAllowThreads(__tstate); | |
6228 | if (PyErr_Occurred()) SWIG_fail; | |
6229 | } | |
6230 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6231 | return resultobj; | |
6232 | fail: | |
6233 | return NULL; | |
6234 | } | |
6235 | ||
6236 | ||
6237 | SWIGINTERN PyObject *_wrap_RichTextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6238 | PyObject *resultobj = 0; | |
6239 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6240 | bool result; | |
6241 | void *argp1 = 0 ; | |
6242 | int res1 = 0 ; | |
6243 | PyObject *swig_obj[1] ; | |
6244 | ||
6245 | if (!args) SWIG_fail; | |
6246 | swig_obj[0] = args; | |
6247 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6248 | if (!SWIG_IsOK(res1)) { | |
6249 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsModified" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
6250 | } | |
6251 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6252 | { | |
6253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6254 | result = (bool)((wxRichTextCtrl const *)arg1)->IsModified(); | |
6255 | wxPyEndAllowThreads(__tstate); | |
6256 | if (PyErr_Occurred()) SWIG_fail; | |
6257 | } | |
6258 | { | |
6259 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6260 | } | |
6261 | return resultobj; | |
6262 | fail: | |
6263 | return NULL; | |
6264 | } | |
6265 | ||
6266 | ||
6267 | SWIGINTERN PyObject *_wrap_RichTextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6268 | PyObject *resultobj = 0; | |
6269 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6270 | bool result; | |
6271 | void *argp1 = 0 ; | |
6272 | int res1 = 0 ; | |
6273 | PyObject *swig_obj[1] ; | |
6274 | ||
6275 | if (!args) SWIG_fail; | |
6276 | swig_obj[0] = args; | |
6277 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6278 | if (!SWIG_IsOK(res1)) { | |
6279 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
6280 | } | |
6281 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6282 | { | |
6283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6284 | result = (bool)((wxRichTextCtrl const *)arg1)->IsEditable(); | |
6285 | wxPyEndAllowThreads(__tstate); | |
6286 | if (PyErr_Occurred()) SWIG_fail; | |
6287 | } | |
6288 | { | |
6289 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6290 | } | |
6291 | return resultobj; | |
6292 | fail: | |
6293 | return NULL; | |
6294 | } | |
6295 | ||
6296 | ||
6297 | SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6298 | PyObject *resultobj = 0; | |
6299 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6300 | bool result; | |
6301 | void *argp1 = 0 ; | |
6302 | int res1 = 0 ; | |
6303 | PyObject *swig_obj[1] ; | |
6304 | ||
6305 | if (!args) SWIG_fail; | |
6306 | swig_obj[0] = args; | |
6307 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6308 | if (!SWIG_IsOK(res1)) { | |
6309 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
6310 | } | |
6311 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6312 | { | |
6313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6314 | result = (bool)((wxRichTextCtrl const *)arg1)->IsSingleLine(); | |
6315 | wxPyEndAllowThreads(__tstate); | |
6316 | if (PyErr_Occurred()) SWIG_fail; | |
6317 | } | |
6318 | { | |
6319 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6320 | } | |
6321 | return resultobj; | |
6322 | fail: | |
6323 | return NULL; | |
6324 | } | |
6325 | ||
6326 | ||
6327 | SWIGINTERN PyObject *_wrap_RichTextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6328 | PyObject *resultobj = 0; | |
6329 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6330 | bool result; | |
6331 | void *argp1 = 0 ; | |
6332 | int res1 = 0 ; | |
6333 | PyObject *swig_obj[1] ; | |
6334 | ||
6335 | if (!args) SWIG_fail; | |
6336 | swig_obj[0] = args; | |
6337 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6338 | if (!SWIG_IsOK(res1)) { | |
6339 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
6340 | } | |
6341 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6342 | { | |
6343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6344 | result = (bool)((wxRichTextCtrl const *)arg1)->IsMultiLine(); | |
6345 | wxPyEndAllowThreads(__tstate); | |
6346 | if (PyErr_Occurred()) SWIG_fail; | |
6347 | } | |
6348 | { | |
6349 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6350 | } | |
6351 | return resultobj; | |
6352 | fail: | |
6353 | return NULL; | |
6354 | } | |
6355 | ||
6356 | ||
6357 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6358 | PyObject *resultobj = 0; | |
6359 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6360 | long *arg2 = (long *) 0 ; | |
6361 | long *arg3 = (long *) 0 ; | |
6362 | void *argp1 = 0 ; | |
6363 | int res1 = 0 ; | |
6364 | long temp2 ; | |
6365 | int res2 = SWIG_TMPOBJ ; | |
6366 | long temp3 ; | |
6367 | int res3 = SWIG_TMPOBJ ; | |
6368 | PyObject *swig_obj[1] ; | |
6369 | ||
6370 | arg2 = &temp2; | |
6371 | arg3 = &temp3; | |
6372 | if (!args) SWIG_fail; | |
6373 | swig_obj[0] = args; | |
6374 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6375 | if (!SWIG_IsOK(res1)) { | |
6376 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
6377 | } | |
6378 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6379 | { | |
6380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6381 | ((wxRichTextCtrl const *)arg1)->GetSelection(arg2,arg3); | |
6382 | wxPyEndAllowThreads(__tstate); | |
6383 | if (PyErr_Occurred()) SWIG_fail; | |
6384 | } | |
6385 | resultobj = SWIG_Py_Void(); | |
6386 | if (SWIG_IsTmpObj(res2)) { | |
6387 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2))); | |
6388 | } else { | |
6389 | int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; | |
6390 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags)); | |
6391 | } | |
6392 | if (SWIG_IsTmpObj(res3)) { | |
6393 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3))); | |
6394 | } else { | |
6395 | int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; | |
6396 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags)); | |
6397 | } | |
6398 | return resultobj; | |
6399 | fail: | |
6400 | return NULL; | |
6401 | } | |
6402 | ||
6403 | ||
6404 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6405 | PyObject *resultobj = 0; | |
6406 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6407 | wxString result; | |
6408 | void *argp1 = 0 ; | |
6409 | int res1 = 0 ; | |
6410 | PyObject *swig_obj[1] ; | |
6411 | ||
6412 | if (!args) SWIG_fail; | |
6413 | swig_obj[0] = args; | |
6414 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6415 | if (!SWIG_IsOK(res1)) { | |
6416 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
6417 | } | |
6418 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6419 | { | |
6420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6421 | result = ((wxRichTextCtrl const *)arg1)->GetStringSelection(); | |
6422 | wxPyEndAllowThreads(__tstate); | |
6423 | if (PyErr_Occurred()) SWIG_fail; | |
6424 | } | |
6425 | { | |
6426 | #if wxUSE_UNICODE | |
6427 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6428 | #else | |
6429 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6430 | #endif | |
6431 | } | |
6432 | return resultobj; | |
6433 | fail: | |
6434 | return NULL; | |
6435 | } | |
6436 | ||
6437 | ||
6438 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6439 | PyObject *resultobj = 0; | |
6440 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6441 | wxString result; | |
6442 | void *argp1 = 0 ; | |
6443 | int res1 = 0 ; | |
6444 | PyObject *swig_obj[1] ; | |
6445 | ||
6446 | if (!args) SWIG_fail; | |
6447 | swig_obj[0] = args; | |
6448 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6449 | if (!SWIG_IsOK(res1)) { | |
6450 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
6451 | } | |
6452 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6453 | { | |
6454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6455 | result = ((wxRichTextCtrl const *)arg1)->GetFilename(); | |
6456 | wxPyEndAllowThreads(__tstate); | |
6457 | if (PyErr_Occurred()) SWIG_fail; | |
6458 | } | |
6459 | { | |
6460 | #if wxUSE_UNICODE | |
6461 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6462 | #else | |
6463 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6464 | #endif | |
6465 | } | |
6466 | return resultobj; | |
6467 | fail: | |
6468 | return NULL; | |
6469 | } | |
6470 | ||
6471 | ||
6472 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6473 | PyObject *resultobj = 0; | |
6474 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6475 | wxString *arg2 = 0 ; | |
6476 | void *argp1 = 0 ; | |
6477 | int res1 = 0 ; | |
6478 | bool temp2 = false ; | |
6479 | PyObject * obj0 = 0 ; | |
6480 | PyObject * obj1 = 0 ; | |
6481 | char * kwnames[] = { | |
6482 | (char *) "self",(char *) "filename", NULL | |
6483 | }; | |
6484 | ||
6485 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail; | |
6486 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6487 | if (!SWIG_IsOK(res1)) { | |
6488 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
6489 | } | |
6490 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6491 | { | |
6492 | arg2 = wxString_in_helper(obj1); | |
6493 | if (arg2 == NULL) SWIG_fail; | |
6494 | temp2 = true; | |
6495 | } | |
6496 | { | |
6497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6498 | (arg1)->SetFilename((wxString const &)*arg2); | |
6499 | wxPyEndAllowThreads(__tstate); | |
6500 | if (PyErr_Occurred()) SWIG_fail; | |
6501 | } | |
6502 | resultobj = SWIG_Py_Void(); | |
6503 | { | |
6504 | if (temp2) | |
6505 | delete arg2; | |
6506 | } | |
6507 | return resultobj; | |
6508 | fail: | |
6509 | { | |
6510 | if (temp2) | |
6511 | delete arg2; | |
6512 | } | |
6513 | return NULL; | |
6514 | } | |
6515 | ||
6516 | ||
6517 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SetDelayedLayoutThreshold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6518 | PyObject *resultobj = 0; | |
6519 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6520 | long arg2 ; | |
6521 | void *argp1 = 0 ; | |
6522 | int res1 = 0 ; | |
6523 | long val2 ; | |
6524 | int ecode2 = 0 ; | |
6525 | PyObject * obj0 = 0 ; | |
6526 | PyObject * obj1 = 0 ; | |
6527 | char * kwnames[] = { | |
6528 | (char *) "self",(char *) "threshold", NULL | |
6529 | }; | |
6530 | ||
6531 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetDelayedLayoutThreshold",kwnames,&obj0,&obj1)) SWIG_fail; | |
6532 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6533 | if (!SWIG_IsOK(res1)) { | |
6534 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
6535 | } | |
6536 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6537 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
6538 | if (!SWIG_IsOK(ecode2)) { | |
6539 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "2"" of type '" "long""'"); | |
6540 | } | |
6541 | arg2 = static_cast< long >(val2); | |
6542 | { | |
6543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6544 | (arg1)->SetDelayedLayoutThreshold(arg2); | |
6545 | wxPyEndAllowThreads(__tstate); | |
6546 | if (PyErr_Occurred()) SWIG_fail; | |
6547 | } | |
6548 | resultobj = SWIG_Py_Void(); | |
6549 | return resultobj; | |
6550 | fail: | |
6551 | return NULL; | |
6552 | } | |
6553 | ||
6554 | ||
6555 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetDelayedLayoutThreshold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6556 | PyObject *resultobj = 0; | |
6557 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6558 | long result; | |
6559 | void *argp1 = 0 ; | |
6560 | int res1 = 0 ; | |
6561 | PyObject *swig_obj[1] ; | |
6562 | ||
6563 | if (!args) SWIG_fail; | |
6564 | swig_obj[0] = args; | |
6565 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6566 | if (!SWIG_IsOK(res1)) { | |
6567 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
6568 | } | |
6569 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6570 | { | |
6571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6572 | result = (long)((wxRichTextCtrl const *)arg1)->GetDelayedLayoutThreshold(); | |
6573 | wxPyEndAllowThreads(__tstate); | |
6574 | if (PyErr_Occurred()) SWIG_fail; | |
6575 | } | |
6576 | resultobj = SWIG_From_long(static_cast< long >(result)); | |
6577 | return resultobj; | |
6578 | fail: | |
6579 | return NULL; | |
6580 | } | |
6581 | ||
6582 | ||
6583 | SWIGINTERN PyObject *_wrap_RichTextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6584 | PyObject *resultobj = 0; | |
6585 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6586 | void *argp1 = 0 ; | |
6587 | int res1 = 0 ; | |
6588 | PyObject *swig_obj[1] ; | |
6589 | ||
6590 | if (!args) SWIG_fail; | |
6591 | swig_obj[0] = args; | |
6592 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6593 | if (!SWIG_IsOK(res1)) { | |
6594 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Clear" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
6595 | } | |
6596 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6597 | { | |
6598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6599 | (arg1)->Clear(); | |
6600 | wxPyEndAllowThreads(__tstate); | |
6601 | if (PyErr_Occurred()) SWIG_fail; | |
6602 | } | |
6603 | resultobj = SWIG_Py_Void(); | |
6604 | return resultobj; | |
6605 | fail: | |
6606 | return NULL; | |
6607 | } | |
6608 | ||
6609 | ||
6610 | SWIGINTERN PyObject *_wrap_RichTextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6611 | PyObject *resultobj = 0; | |
6612 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6613 | long arg2 ; | |
6614 | long arg3 ; | |
6615 | wxString *arg4 = 0 ; | |
6616 | void *argp1 = 0 ; | |
6617 | int res1 = 0 ; | |
6618 | long val2 ; | |
6619 | int ecode2 = 0 ; | |
6620 | long val3 ; | |
6621 | int ecode3 = 0 ; | |
6622 | bool temp4 = false ; | |
6623 | PyObject * obj0 = 0 ; | |
6624 | PyObject * obj1 = 0 ; | |
6625 | PyObject * obj2 = 0 ; | |
6626 | PyObject * obj3 = 0 ; | |
6627 | char * kwnames[] = { | |
6628 | (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL | |
6629 | }; | |
6630 | ||
6631 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
6632 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6633 | if (!SWIG_IsOK(res1)) { | |
6634 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Replace" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
6635 | } | |
6636 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6637 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
6638 | if (!SWIG_IsOK(ecode2)) { | |
6639 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_Replace" "', expected argument " "2"" of type '" "long""'"); | |
6640 | } | |
6641 | arg2 = static_cast< long >(val2); | |
6642 | ecode3 = SWIG_AsVal_long(obj2, &val3); | |
6643 | if (!SWIG_IsOK(ecode3)) { | |
6644 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_Replace" "', expected argument " "3"" of type '" "long""'"); | |
6645 | } | |
6646 | arg3 = static_cast< long >(val3); | |
6647 | { | |
6648 | arg4 = wxString_in_helper(obj3); | |
6649 | if (arg4 == NULL) SWIG_fail; | |
6650 | temp4 = true; | |
6651 | } | |
6652 | { | |
6653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6654 | (arg1)->Replace(arg2,arg3,(wxString const &)*arg4); | |
6655 | wxPyEndAllowThreads(__tstate); | |
6656 | if (PyErr_Occurred()) SWIG_fail; | |
6657 | } | |
6658 | resultobj = SWIG_Py_Void(); | |
6659 | { | |
6660 | if (temp4) | |
6661 | delete arg4; | |
6662 | } | |
6663 | return resultobj; | |
6664 | fail: | |
6665 | { | |
6666 | if (temp4) | |
6667 | delete arg4; | |
6668 | } | |
6669 | return NULL; | |
6670 | } | |
6671 | ||
6672 | ||
6673 | SWIGINTERN PyObject *_wrap_RichTextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6674 | PyObject *resultobj = 0; | |
6675 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6676 | long arg2 ; | |
6677 | long arg3 ; | |
6678 | void *argp1 = 0 ; | |
6679 | int res1 = 0 ; | |
6680 | long val2 ; | |
6681 | int ecode2 = 0 ; | |
6682 | long val3 ; | |
6683 | int ecode3 = 0 ; | |
6684 | PyObject * obj0 = 0 ; | |
6685 | PyObject * obj1 = 0 ; | |
6686 | PyObject * obj2 = 0 ; | |
6687 | char * kwnames[] = { | |
6688 | (char *) "self",(char *) "from",(char *) "to", NULL | |
6689 | }; | |
6690 | ||
6691 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
6692 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6693 | if (!SWIG_IsOK(res1)) { | |
6694 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Remove" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
6695 | } | |
6696 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6697 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
6698 | if (!SWIG_IsOK(ecode2)) { | |
6699 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_Remove" "', expected argument " "2"" of type '" "long""'"); | |
6700 | } | |
6701 | arg2 = static_cast< long >(val2); | |
6702 | ecode3 = SWIG_AsVal_long(obj2, &val3); | |
6703 | if (!SWIG_IsOK(ecode3)) { | |
6704 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_Remove" "', expected argument " "3"" of type '" "long""'"); | |
6705 | } | |
6706 | arg3 = static_cast< long >(val3); | |
6707 | { | |
6708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6709 | (arg1)->Remove(arg2,arg3); | |
6710 | wxPyEndAllowThreads(__tstate); | |
6711 | if (PyErr_Occurred()) SWIG_fail; | |
6712 | } | |
6713 | resultobj = SWIG_Py_Void(); | |
6714 | return resultobj; | |
6715 | fail: | |
6716 | return NULL; | |
6717 | } | |
6718 | ||
6719 | ||
6720 | SWIGINTERN PyObject *_wrap_RichTextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6721 | PyObject *resultobj = 0; | |
6722 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6723 | wxString *arg2 = 0 ; | |
6724 | int arg3 = (int) wxRICHTEXT_TYPE_ANY ; | |
6725 | bool result; | |
6726 | void *argp1 = 0 ; | |
6727 | int res1 = 0 ; | |
6728 | bool temp2 = false ; | |
6729 | int val3 ; | |
6730 | int ecode3 = 0 ; | |
6731 | PyObject * obj0 = 0 ; | |
6732 | PyObject * obj1 = 0 ; | |
6733 | PyObject * obj2 = 0 ; | |
6734 | char * kwnames[] = { | |
6735 | (char *) "self",(char *) "file",(char *) "type", NULL | |
6736 | }; | |
6737 | ||
6738 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
6739 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6740 | if (!SWIG_IsOK(res1)) { | |
6741 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
6742 | } | |
6743 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6744 | { | |
6745 | arg2 = wxString_in_helper(obj1); | |
6746 | if (arg2 == NULL) SWIG_fail; | |
6747 | temp2 = true; | |
6748 | } | |
6749 | if (obj2) { | |
6750 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
6751 | if (!SWIG_IsOK(ecode3)) { | |
6752 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'"); | |
6753 | } | |
6754 | arg3 = static_cast< int >(val3); | |
6755 | } | |
6756 | { | |
6757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6758 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3); | |
6759 | wxPyEndAllowThreads(__tstate); | |
6760 | if (PyErr_Occurred()) SWIG_fail; | |
6761 | } | |
6762 | { | |
6763 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6764 | } | |
6765 | { | |
6766 | if (temp2) | |
6767 | delete arg2; | |
6768 | } | |
6769 | return resultobj; | |
6770 | fail: | |
6771 | { | |
6772 | if (temp2) | |
6773 | delete arg2; | |
6774 | } | |
6775 | return NULL; | |
6776 | } | |
6777 | ||
6778 | ||
6779 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6780 | PyObject *resultobj = 0; | |
6781 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6782 | wxString const &arg2_defvalue = wxPyEmptyString ; | |
6783 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
6784 | int arg3 = (int) wxRICHTEXT_TYPE_ANY ; | |
6785 | bool result; | |
6786 | void *argp1 = 0 ; | |
6787 | int res1 = 0 ; | |
6788 | bool temp2 = false ; | |
6789 | int val3 ; | |
6790 | int ecode3 = 0 ; | |
6791 | PyObject * obj0 = 0 ; | |
6792 | PyObject * obj1 = 0 ; | |
6793 | PyObject * obj2 = 0 ; | |
6794 | char * kwnames[] = { | |
6795 | (char *) "self",(char *) "file",(char *) "type", NULL | |
6796 | }; | |
6797 | ||
6798 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
6799 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6800 | if (!SWIG_IsOK(res1)) { | |
6801 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
6802 | } | |
6803 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6804 | if (obj1) { | |
6805 | { | |
6806 | arg2 = wxString_in_helper(obj1); | |
6807 | if (arg2 == NULL) SWIG_fail; | |
6808 | temp2 = true; | |
6809 | } | |
6810 | } | |
6811 | if (obj2) { | |
6812 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
6813 | if (!SWIG_IsOK(ecode3)) { | |
6814 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'"); | |
6815 | } | |
6816 | arg3 = static_cast< int >(val3); | |
6817 | } | |
6818 | { | |
6819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6820 | result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3); | |
6821 | wxPyEndAllowThreads(__tstate); | |
6822 | if (PyErr_Occurred()) SWIG_fail; | |
6823 | } | |
6824 | { | |
6825 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6826 | } | |
6827 | { | |
6828 | if (temp2) | |
6829 | delete arg2; | |
6830 | } | |
6831 | return resultobj; | |
6832 | fail: | |
6833 | { | |
6834 | if (temp2) | |
6835 | delete arg2; | |
6836 | } | |
6837 | return NULL; | |
6838 | } | |
6839 | ||
6840 | ||
70d7cb34 RD |
6841 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SetHandlerFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
6842 | PyObject *resultobj = 0; | |
6843 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6844 | int arg2 ; | |
6845 | void *argp1 = 0 ; | |
6846 | int res1 = 0 ; | |
6847 | int val2 ; | |
6848 | int ecode2 = 0 ; | |
6849 | PyObject * obj0 = 0 ; | |
6850 | PyObject * obj1 = 0 ; | |
6851 | char * kwnames[] = { | |
6852 | (char *) "self",(char *) "flags", NULL | |
6853 | }; | |
6854 | ||
6855 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetHandlerFlags",kwnames,&obj0,&obj1)) SWIG_fail; | |
6856 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6857 | if (!SWIG_IsOK(res1)) { | |
6858 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetHandlerFlags" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
6859 | } | |
6860 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6861 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
6862 | if (!SWIG_IsOK(ecode2)) { | |
6863 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetHandlerFlags" "', expected argument " "2"" of type '" "int""'"); | |
6864 | } | |
6865 | arg2 = static_cast< int >(val2); | |
6866 | { | |
6867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6868 | (arg1)->SetHandlerFlags(arg2); | |
6869 | wxPyEndAllowThreads(__tstate); | |
6870 | if (PyErr_Occurred()) SWIG_fail; | |
6871 | } | |
6872 | resultobj = SWIG_Py_Void(); | |
6873 | return resultobj; | |
6874 | fail: | |
6875 | return NULL; | |
6876 | } | |
6877 | ||
6878 | ||
6879 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetHandlerFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6880 | PyObject *resultobj = 0; | |
6881 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6882 | int result; | |
6883 | void *argp1 = 0 ; | |
6884 | int res1 = 0 ; | |
6885 | PyObject *swig_obj[1] ; | |
6886 | ||
6887 | if (!args) SWIG_fail; | |
6888 | swig_obj[0] = args; | |
6889 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6890 | if (!SWIG_IsOK(res1)) { | |
6891 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetHandlerFlags" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
6892 | } | |
6893 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6894 | { | |
6895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6896 | result = (int)((wxRichTextCtrl const *)arg1)->GetHandlerFlags(); | |
6897 | wxPyEndAllowThreads(__tstate); | |
6898 | if (PyErr_Occurred()) SWIG_fail; | |
6899 | } | |
6900 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6901 | return resultobj; | |
6902 | fail: | |
6903 | return NULL; | |
6904 | } | |
6905 | ||
6906 | ||
f05326ba RD |
6907 | SWIGINTERN PyObject *_wrap_RichTextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6908 | PyObject *resultobj = 0; | |
6909 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6910 | void *argp1 = 0 ; | |
6911 | int res1 = 0 ; | |
6912 | PyObject *swig_obj[1] ; | |
6913 | ||
6914 | if (!args) SWIG_fail; | |
6915 | swig_obj[0] = args; | |
6916 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6917 | if (!SWIG_IsOK(res1)) { | |
6918 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
6919 | } | |
6920 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6921 | { | |
6922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6923 | (arg1)->MarkDirty(); | |
6924 | wxPyEndAllowThreads(__tstate); | |
6925 | if (PyErr_Occurred()) SWIG_fail; | |
6926 | } | |
6927 | resultobj = SWIG_Py_Void(); | |
6928 | return resultobj; | |
6929 | fail: | |
6930 | return NULL; | |
6931 | } | |
6932 | ||
6933 | ||
6934 | SWIGINTERN PyObject *_wrap_RichTextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6935 | PyObject *resultobj = 0; | |
6936 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6937 | void *argp1 = 0 ; | |
6938 | int res1 = 0 ; | |
6939 | PyObject *swig_obj[1] ; | |
6940 | ||
6941 | if (!args) SWIG_fail; | |
6942 | swig_obj[0] = args; | |
6943 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6944 | if (!SWIG_IsOK(res1)) { | |
6945 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
6946 | } | |
6947 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6948 | { | |
6949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6950 | (arg1)->DiscardEdits(); | |
6951 | wxPyEndAllowThreads(__tstate); | |
6952 | if (PyErr_Occurred()) SWIG_fail; | |
6953 | } | |
6954 | resultobj = SWIG_Py_Void(); | |
6955 | return resultobj; | |
6956 | fail: | |
6957 | return NULL; | |
6958 | } | |
6959 | ||
6960 | ||
6961 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6962 | PyObject *resultobj = 0; | |
6963 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
6964 | unsigned long arg2 ; | |
6965 | void *argp1 = 0 ; | |
6966 | int res1 = 0 ; | |
6967 | unsigned long val2 ; | |
6968 | int ecode2 = 0 ; | |
6969 | PyObject * obj0 = 0 ; | |
6970 | PyObject * obj1 = 0 ; | |
6971 | char * kwnames[] = { | |
6972 | (char *) "self",(char *) "len", NULL | |
6973 | }; | |
6974 | ||
6975 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail; | |
6976 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
6977 | if (!SWIG_IsOK(res1)) { | |
6978 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
6979 | } | |
6980 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
6981 | ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2); | |
6982 | if (!SWIG_IsOK(ecode2)) { | |
6983 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'"); | |
6984 | } | |
6985 | arg2 = static_cast< unsigned long >(val2); | |
6986 | { | |
6987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6988 | (arg1)->SetMaxLength(arg2); | |
6989 | wxPyEndAllowThreads(__tstate); | |
6990 | if (PyErr_Occurred()) SWIG_fail; | |
6991 | } | |
6992 | resultobj = SWIG_Py_Void(); | |
6993 | return resultobj; | |
6994 | fail: | |
6995 | return NULL; | |
6996 | } | |
6997 | ||
6998 | ||
6999 | SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7000 | PyObject *resultobj = 0; | |
7001 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7002 | wxString *arg2 = 0 ; | |
7003 | void *argp1 = 0 ; | |
7004 | int res1 = 0 ; | |
7005 | bool temp2 = false ; | |
7006 | PyObject * obj0 = 0 ; | |
7007 | PyObject * obj1 = 0 ; | |
7008 | char * kwnames[] = { | |
7009 | (char *) "self",(char *) "text", NULL | |
7010 | }; | |
7011 | ||
7012 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail; | |
7013 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7014 | if (!SWIG_IsOK(res1)) { | |
7015 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
7016 | } | |
7017 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7018 | { | |
7019 | arg2 = wxString_in_helper(obj1); | |
7020 | if (arg2 == NULL) SWIG_fail; | |
7021 | temp2 = true; | |
7022 | } | |
7023 | { | |
7024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7025 | (arg1)->WriteText((wxString const &)*arg2); | |
7026 | wxPyEndAllowThreads(__tstate); | |
7027 | if (PyErr_Occurred()) SWIG_fail; | |
7028 | } | |
7029 | resultobj = SWIG_Py_Void(); | |
7030 | { | |
7031 | if (temp2) | |
7032 | delete arg2; | |
7033 | } | |
7034 | return resultobj; | |
7035 | fail: | |
7036 | { | |
7037 | if (temp2) | |
7038 | delete arg2; | |
7039 | } | |
7040 | return NULL; | |
7041 | } | |
7042 | ||
7043 | ||
7044 | SWIGINTERN PyObject *_wrap_RichTextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7045 | PyObject *resultobj = 0; | |
7046 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7047 | wxString *arg2 = 0 ; | |
7048 | void *argp1 = 0 ; | |
7049 | int res1 = 0 ; | |
7050 | bool temp2 = false ; | |
7051 | PyObject * obj0 = 0 ; | |
7052 | PyObject * obj1 = 0 ; | |
7053 | char * kwnames[] = { | |
7054 | (char *) "self",(char *) "text", NULL | |
7055 | }; | |
7056 | ||
7057 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail; | |
7058 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7059 | if (!SWIG_IsOK(res1)) { | |
7060 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
7061 | } | |
7062 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7063 | { | |
7064 | arg2 = wxString_in_helper(obj1); | |
7065 | if (arg2 == NULL) SWIG_fail; | |
7066 | temp2 = true; | |
7067 | } | |
7068 | { | |
7069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7070 | (arg1)->AppendText((wxString const &)*arg2); | |
7071 | wxPyEndAllowThreads(__tstate); | |
7072 | if (PyErr_Occurred()) SWIG_fail; | |
7073 | } | |
7074 | resultobj = SWIG_Py_Void(); | |
7075 | { | |
7076 | if (temp2) | |
7077 | delete arg2; | |
7078 | } | |
7079 | return resultobj; | |
7080 | fail: | |
7081 | { | |
7082 | if (temp2) | |
7083 | delete arg2; | |
7084 | } | |
7085 | return NULL; | |
7086 | } | |
7087 | ||
7088 | ||
7089 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7090 | PyObject *resultobj = 0; | |
7091 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7092 | wxRichTextRange *arg2 = 0 ; | |
7093 | wxRichTextAttr *arg3 = 0 ; | |
7094 | bool result; | |
7095 | void *argp1 = 0 ; | |
7096 | int res1 = 0 ; | |
7097 | wxRichTextRange temp2 ; | |
7098 | void *argp3 = 0 ; | |
7099 | int res3 = 0 ; | |
7100 | PyObject * obj0 = 0 ; | |
7101 | PyObject * obj1 = 0 ; | |
7102 | PyObject * obj2 = 0 ; | |
7103 | char * kwnames[] = { | |
7104 | (char *) "self",(char *) "range",(char *) "style", NULL | |
7105 | }; | |
7106 | ||
7107 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7108 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7109 | if (!SWIG_IsOK(res1)) { | |
7110 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
7111 | } | |
7112 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7113 | { | |
7114 | arg2 = &temp2; | |
7115 | if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail; | |
7116 | } | |
7117 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 | 0); | |
7118 | if (!SWIG_IsOK(res3)) { | |
7119 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'"); | |
7120 | } | |
7121 | if (!argp3) { | |
7122 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'"); | |
7123 | } | |
7124 | arg3 = reinterpret_cast< wxRichTextAttr * >(argp3); | |
7125 | { | |
7126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7127 | result = (bool)(arg1)->SetStyle((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3); | |
7128 | wxPyEndAllowThreads(__tstate); | |
7129 | if (PyErr_Occurred()) SWIG_fail; | |
7130 | } | |
7131 | { | |
7132 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7133 | } | |
7134 | return resultobj; | |
7135 | fail: | |
7136 | return NULL; | |
7137 | } | |
7138 | ||
7139 | ||
b39fe951 RD |
7140 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SetStyleEx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7141 | PyObject *resultobj = 0; | |
7142 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7143 | wxRichTextRange *arg2 = 0 ; | |
7144 | wxRichTextAttr *arg3 = 0 ; | |
7145 | int arg4 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ; | |
7146 | bool result; | |
7147 | void *argp1 = 0 ; | |
7148 | int res1 = 0 ; | |
7149 | wxRichTextRange temp2 ; | |
7150 | void *argp3 = 0 ; | |
7151 | int res3 = 0 ; | |
7152 | int val4 ; | |
7153 | int ecode4 = 0 ; | |
7154 | PyObject * obj0 = 0 ; | |
7155 | PyObject * obj1 = 0 ; | |
7156 | PyObject * obj2 = 0 ; | |
7157 | PyObject * obj3 = 0 ; | |
7158 | char * kwnames[] = { | |
7159 | (char *) "self",(char *) "range",(char *) "style",(char *) "flags", NULL | |
7160 | }; | |
7161 | ||
7162 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:RichTextCtrl_SetStyleEx",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7163 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7164 | if (!SWIG_IsOK(res1)) { | |
7165 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
7166 | } | |
7167 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7168 | { | |
7169 | arg2 = &temp2; | |
7170 | if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail; | |
7171 | } | |
7172 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 | 0); | |
7173 | if (!SWIG_IsOK(res3)) { | |
7174 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'"); | |
7175 | } | |
7176 | if (!argp3) { | |
7177 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'"); | |
7178 | } | |
7179 | arg3 = reinterpret_cast< wxRichTextAttr * >(argp3); | |
7180 | if (obj3) { | |
7181 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7182 | if (!SWIG_IsOK(ecode4)) { | |
7183 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "4"" of type '" "int""'"); | |
7184 | } | |
7185 | arg4 = static_cast< int >(val4); | |
7186 | } | |
7187 | { | |
7188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7189 | result = (bool)(arg1)->SetStyleEx((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3,arg4); | |
7190 | wxPyEndAllowThreads(__tstate); | |
7191 | if (PyErr_Occurred()) SWIG_fail; | |
7192 | } | |
7193 | { | |
7194 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7195 | } | |
7196 | return resultobj; | |
7197 | fail: | |
7198 | return NULL; | |
7199 | } | |
7200 | ||
7201 | ||
f05326ba RD |
7202 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7203 | PyObject *resultobj = 0; | |
7204 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7205 | long arg2 ; | |
7206 | wxRichTextAttr *arg3 = 0 ; | |
7207 | bool result; | |
7208 | void *argp1 = 0 ; | |
7209 | int res1 = 0 ; | |
7210 | long val2 ; | |
7211 | int ecode2 = 0 ; | |
7212 | void *argp3 = 0 ; | |
7213 | int res3 = 0 ; | |
7214 | PyObject * obj0 = 0 ; | |
7215 | PyObject * obj1 = 0 ; | |
7216 | PyObject * obj2 = 0 ; | |
7217 | char * kwnames[] = { | |
7218 | (char *) "self",(char *) "position",(char *) "style", NULL | |
7219 | }; | |
7220 | ||
7221 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7222 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7223 | if (!SWIG_IsOK(res1)) { | |
79df624a | 7224 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); |
f05326ba RD |
7225 | } |
7226 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7227 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
7228 | if (!SWIG_IsOK(ecode2)) { | |
7229 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'"); | |
7230 | } | |
7231 | arg2 = static_cast< long >(val2); | |
7232 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 ); | |
7233 | if (!SWIG_IsOK(res3)) { | |
7234 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'"); | |
7235 | } | |
7236 | if (!argp3) { | |
7237 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'"); | |
7238 | } | |
7239 | arg3 = reinterpret_cast< wxRichTextAttr * >(argp3); | |
7240 | { | |
7241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
79df624a | 7242 | result = (bool)(arg1)->GetStyle(arg2,*arg3); |
f05326ba RD |
7243 | wxPyEndAllowThreads(__tstate); |
7244 | if (PyErr_Occurred()) SWIG_fail; | |
7245 | } | |
7246 | { | |
7247 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7248 | } | |
7249 | return resultobj; | |
7250 | fail: | |
7251 | return NULL; | |
7252 | } | |
7253 | ||
7254 | ||
c2829a8f RD |
7255 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetUncombinedStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7256 | PyObject *resultobj = 0; | |
7257 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7258 | long arg2 ; | |
7259 | wxRichTextAttr *arg3 = 0 ; | |
7260 | bool result; | |
7261 | void *argp1 = 0 ; | |
7262 | int res1 = 0 ; | |
7263 | long val2 ; | |
7264 | int ecode2 = 0 ; | |
7265 | void *argp3 = 0 ; | |
7266 | int res3 = 0 ; | |
7267 | PyObject * obj0 = 0 ; | |
7268 | PyObject * obj1 = 0 ; | |
7269 | PyObject * obj2 = 0 ; | |
7270 | char * kwnames[] = { | |
7271 | (char *) "self",(char *) "position",(char *) "style", NULL | |
7272 | }; | |
7273 | ||
7274 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetUncombinedStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7275 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7276 | if (!SWIG_IsOK(res1)) { | |
7277 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
7278 | } | |
7279 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7280 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
7281 | if (!SWIG_IsOK(ecode2)) { | |
7282 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "2"" of type '" "long""'"); | |
7283 | } | |
7284 | arg2 = static_cast< long >(val2); | |
7285 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 ); | |
7286 | if (!SWIG_IsOK(res3)) { | |
7287 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'"); | |
7288 | } | |
7289 | if (!argp3) { | |
7290 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'"); | |
7291 | } | |
7292 | arg3 = reinterpret_cast< wxRichTextAttr * >(argp3); | |
7293 | { | |
7294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7295 | result = (bool)(arg1)->GetUncombinedStyle(arg2,*arg3); | |
7296 | wxPyEndAllowThreads(__tstate); | |
7297 | if (PyErr_Occurred()) SWIG_fail; | |
7298 | } | |
7299 | { | |
7300 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7301 | } | |
7302 | return resultobj; | |
7303 | fail: | |
7304 | return NULL; | |
7305 | } | |
7306 | ||
7307 | ||
f05326ba RD |
7308 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7309 | PyObject *resultobj = 0; | |
7310 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7311 | wxRichTextAttr *arg2 = 0 ; | |
7312 | bool result; | |
7313 | void *argp1 = 0 ; | |
7314 | int res1 = 0 ; | |
7315 | void *argp2 = 0 ; | |
7316 | int res2 = 0 ; | |
7317 | PyObject * obj0 = 0 ; | |
7318 | PyObject * obj1 = 0 ; | |
7319 | char * kwnames[] = { | |
7320 | (char *) "self",(char *) "style", NULL | |
7321 | }; | |
7322 | ||
7323 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail; | |
7324 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7325 | if (!SWIG_IsOK(res1)) { | |
7326 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
7327 | } | |
7328 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7329 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextAttr, 0 | 0); | |
7330 | if (!SWIG_IsOK(res2)) { | |
7331 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'"); | |
7332 | } | |
7333 | if (!argp2) { | |
7334 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'"); | |
7335 | } | |
7336 | arg2 = reinterpret_cast< wxRichTextAttr * >(argp2); | |
7337 | { | |
7338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7339 | result = (bool)(arg1)->SetDefaultStyle((wxRichTextAttr const &)*arg2); | |
7340 | wxPyEndAllowThreads(__tstate); | |
7341 | if (PyErr_Occurred()) SWIG_fail; | |
7342 | } | |
7343 | { | |
7344 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7345 | } | |
7346 | return resultobj; | |
7347 | fail: | |
7348 | return NULL; | |
7349 | } | |
7350 | ||
7351 | ||
7352 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7353 | PyObject *resultobj = 0; | |
7354 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7355 | wxRichTextAttr result; | |
7356 | void *argp1 = 0 ; | |
7357 | int res1 = 0 ; | |
7358 | PyObject *swig_obj[1] ; | |
7359 | ||
7360 | if (!args) SWIG_fail; | |
7361 | swig_obj[0] = args; | |
7362 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7363 | if (!SWIG_IsOK(res1)) { | |
7364 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
7365 | } | |
7366 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7367 | { | |
7368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7369 | result = ((wxRichTextCtrl const *)arg1)->GetDefaultStyleEx(); | |
7370 | wxPyEndAllowThreads(__tstate); | |
7371 | if (PyErr_Occurred()) SWIG_fail; | |
7372 | } | |
7373 | resultobj = SWIG_NewPointerObj((new wxRichTextAttr(static_cast< const wxRichTextAttr& >(result))), SWIGTYPE_p_wxRichTextAttr, SWIG_POINTER_OWN | 0 ); | |
7374 | return resultobj; | |
7375 | fail: | |
7376 | return NULL; | |
7377 | } | |
7378 | ||
7379 | ||
7380 | SWIGINTERN PyObject *_wrap_RichTextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7381 | PyObject *resultobj = 0; | |
7382 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7383 | long arg2 ; | |
7384 | long arg3 ; | |
7385 | long result; | |
7386 | void *argp1 = 0 ; | |
7387 | int res1 = 0 ; | |
7388 | long val2 ; | |
7389 | int ecode2 = 0 ; | |
7390 | long val3 ; | |
7391 | int ecode3 = 0 ; | |
7392 | PyObject * obj0 = 0 ; | |
7393 | PyObject * obj1 = 0 ; | |
7394 | PyObject * obj2 = 0 ; | |
7395 | char * kwnames[] = { | |
7396 | (char *) "self",(char *) "x",(char *) "y", NULL | |
7397 | }; | |
7398 | ||
7399 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7400 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7401 | if (!SWIG_IsOK(res1)) { | |
7402 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
7403 | } | |
7404 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7405 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
7406 | if (!SWIG_IsOK(ecode2)) { | |
7407 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'"); | |
7408 | } | |
7409 | arg2 = static_cast< long >(val2); | |
7410 | ecode3 = SWIG_AsVal_long(obj2, &val3); | |
7411 | if (!SWIG_IsOK(ecode3)) { | |
7412 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'"); | |
7413 | } | |
7414 | arg3 = static_cast< long >(val3); | |
7415 | { | |
7416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7417 | result = (long)((wxRichTextCtrl const *)arg1)->XYToPosition(arg2,arg3); | |
7418 | wxPyEndAllowThreads(__tstate); | |
7419 | if (PyErr_Occurred()) SWIG_fail; | |
7420 | } | |
7421 | resultobj = SWIG_From_long(static_cast< long >(result)); | |
7422 | return resultobj; | |
7423 | fail: | |
7424 | return NULL; | |
7425 | } | |
7426 | ||
7427 | ||
7428 | SWIGINTERN PyObject *_wrap_RichTextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7429 | PyObject *resultobj = 0; | |
7430 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7431 | long arg2 ; | |
7432 | long *arg3 = (long *) 0 ; | |
7433 | long *arg4 = (long *) 0 ; | |
7434 | void *argp1 = 0 ; | |
7435 | int res1 = 0 ; | |
7436 | long val2 ; | |
7437 | int ecode2 = 0 ; | |
7438 | long temp3 ; | |
7439 | int res3 = SWIG_TMPOBJ ; | |
7440 | long temp4 ; | |
7441 | int res4 = SWIG_TMPOBJ ; | |
7442 | PyObject * obj0 = 0 ; | |
7443 | PyObject * obj1 = 0 ; | |
7444 | char * kwnames[] = { | |
7445 | (char *) "self",(char *) "pos", NULL | |
7446 | }; | |
7447 | ||
7448 | arg3 = &temp3; | |
7449 | arg4 = &temp4; | |
7450 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail; | |
7451 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7452 | if (!SWIG_IsOK(res1)) { | |
7453 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
7454 | } | |
7455 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7456 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
7457 | if (!SWIG_IsOK(ecode2)) { | |
7458 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'"); | |
7459 | } | |
7460 | arg2 = static_cast< long >(val2); | |
7461 | { | |
7462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7463 | ((wxRichTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4); | |
7464 | wxPyEndAllowThreads(__tstate); | |
7465 | if (PyErr_Occurred()) SWIG_fail; | |
7466 | } | |
7467 | resultobj = SWIG_Py_Void(); | |
7468 | if (SWIG_IsTmpObj(res3)) { | |
7469 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3))); | |
7470 | } else { | |
7471 | int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; | |
7472 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags)); | |
7473 | } | |
7474 | if (SWIG_IsTmpObj(res4)) { | |
7475 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4))); | |
7476 | } else { | |
7477 | int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; | |
7478 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags)); | |
7479 | } | |
7480 | return resultobj; | |
7481 | fail: | |
7482 | return NULL; | |
7483 | } | |
7484 | ||
7485 | ||
7486 | SWIGINTERN PyObject *_wrap_RichTextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7487 | PyObject *resultobj = 0; | |
7488 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7489 | long arg2 ; | |
7490 | void *argp1 = 0 ; | |
7491 | int res1 = 0 ; | |
7492 | long val2 ; | |
7493 | int ecode2 = 0 ; | |
7494 | PyObject * obj0 = 0 ; | |
7495 | PyObject * obj1 = 0 ; | |
7496 | char * kwnames[] = { | |
7497 | (char *) "self",(char *) "position", NULL | |
7498 | }; | |
7499 | ||
7500 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail; | |
7501 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7502 | if (!SWIG_IsOK(res1)) { | |
7503 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
7504 | } | |
7505 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7506 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
7507 | if (!SWIG_IsOK(ecode2)) { | |
7508 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'"); | |
7509 | } | |
7510 | arg2 = static_cast< long >(val2); | |
7511 | { | |
7512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7513 | (arg1)->ShowPosition(arg2); | |
7514 | wxPyEndAllowThreads(__tstate); | |
7515 | if (PyErr_Occurred()) SWIG_fail; | |
7516 | } | |
7517 | resultobj = SWIG_Py_Void(); | |
7518 | return resultobj; | |
7519 | fail: | |
7520 | return NULL; | |
7521 | } | |
7522 | ||
7523 | ||
7524 | SWIGINTERN PyObject *_wrap_RichTextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7525 | PyObject *resultobj = 0; | |
7526 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7527 | wxPoint *arg2 = 0 ; | |
7528 | long *arg3 = (long *) 0 ; | |
7529 | wxTextCtrlHitTestResult result; | |
7530 | void *argp1 = 0 ; | |
7531 | int res1 = 0 ; | |
7532 | wxPoint temp2 ; | |
7533 | long temp3 ; | |
7534 | int res3 = SWIG_TMPOBJ ; | |
7535 | PyObject * obj0 = 0 ; | |
7536 | PyObject * obj1 = 0 ; | |
7537 | char * kwnames[] = { | |
7538 | (char *) "self",(char *) "pt", NULL | |
7539 | }; | |
7540 | ||
7541 | arg3 = &temp3; | |
7542 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; | |
7543 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7544 | if (!SWIG_IsOK(res1)) { | |
7545 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HitTest" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
7546 | } | |
7547 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7548 | { | |
7549 | arg2 = &temp2; | |
7550 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
7551 | } | |
7552 | { | |
7553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7554 | result = ((wxRichTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3); | |
7555 | wxPyEndAllowThreads(__tstate); | |
7556 | if (PyErr_Occurred()) SWIG_fail; | |
7557 | } | |
7558 | resultobj = SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult& >(result))), SWIGTYPE_p_wxTextCtrlHitTestResult, SWIG_POINTER_OWN | 0 ); | |
7559 | if (SWIG_IsTmpObj(res3)) { | |
7560 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3))); | |
7561 | } else { | |
7562 | int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; | |
7563 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags)); | |
7564 | } | |
7565 | return resultobj; | |
7566 | fail: | |
7567 | return NULL; | |
7568 | } | |
7569 | ||
7570 | ||
7571 | SWIGINTERN PyObject *_wrap_RichTextCtrl_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7572 | PyObject *resultobj = 0; | |
7573 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7574 | wxPoint *arg2 = 0 ; | |
7575 | wxTextCoord *arg3 = (wxTextCoord *) 0 ; | |
7576 | wxTextCoord *arg4 = (wxTextCoord *) 0 ; | |
7577 | wxTextCtrlHitTestResult result; | |
7578 | void *argp1 = 0 ; | |
7579 | int res1 = 0 ; | |
7580 | wxPoint temp2 ; | |
7581 | void *argp3 = 0 ; | |
7582 | int res3 = 0 ; | |
7583 | void *argp4 = 0 ; | |
7584 | int res4 = 0 ; | |
7585 | PyObject * obj0 = 0 ; | |
7586 | PyObject * obj1 = 0 ; | |
7587 | PyObject * obj2 = 0 ; | |
7588 | PyObject * obj3 = 0 ; | |
7589 | char * kwnames[] = { | |
7590 | (char *) "self",(char *) "pt",(char *) "OUTPUT",(char *) "OUTPUT", NULL | |
7591 | }; | |
7592 | ||
7593 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextCtrl_HitTestXY",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7594 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7595 | if (!SWIG_IsOK(res1)) { | |
7596 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
7597 | } | |
7598 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7599 | { | |
7600 | arg2 = &temp2; | |
7601 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
7602 | } | |
7603 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCoord, 0 | 0 ); | |
7604 | if (!SWIG_IsOK(res3)) { | |
7605 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "3"" of type '" "wxTextCoord *""'"); | |
7606 | } | |
7607 | arg3 = reinterpret_cast< wxTextCoord * >(argp3); | |
7608 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxTextCoord, 0 | 0 ); | |
7609 | if (!SWIG_IsOK(res4)) { | |
7610 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "4"" of type '" "wxTextCoord *""'"); | |
7611 | } | |
7612 | arg4 = reinterpret_cast< wxTextCoord * >(argp4); | |
7613 | { | |
7614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7615 | result = ((wxRichTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4); | |
7616 | wxPyEndAllowThreads(__tstate); | |
7617 | if (PyErr_Occurred()) SWIG_fail; | |
7618 | } | |
7619 | resultobj = SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult& >(result))), SWIGTYPE_p_wxTextCtrlHitTestResult, SWIG_POINTER_OWN | 0 ); | |
7620 | return resultobj; | |
7621 | fail: | |
7622 | return NULL; | |
7623 | } | |
7624 | ||
7625 | ||
7626 | SWIGINTERN PyObject *_wrap_RichTextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7627 | PyObject *resultobj = 0; | |
7628 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7629 | void *argp1 = 0 ; | |
7630 | int res1 = 0 ; | |
7631 | PyObject *swig_obj[1] ; | |
7632 | ||
7633 | if (!args) SWIG_fail; | |
7634 | swig_obj[0] = args; | |
7635 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7636 | if (!SWIG_IsOK(res1)) { | |
7637 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Copy" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
7638 | } | |
7639 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7640 | { | |
7641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7642 | (arg1)->Copy(); | |
7643 | wxPyEndAllowThreads(__tstate); | |
7644 | if (PyErr_Occurred()) SWIG_fail; | |
7645 | } | |
7646 | resultobj = SWIG_Py_Void(); | |
7647 | return resultobj; | |
7648 | fail: | |
7649 | return NULL; | |
7650 | } | |
7651 | ||
7652 | ||
7653 | SWIGINTERN PyObject *_wrap_RichTextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7654 | PyObject *resultobj = 0; | |
7655 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7656 | void *argp1 = 0 ; | |
7657 | int res1 = 0 ; | |
7658 | PyObject *swig_obj[1] ; | |
7659 | ||
7660 | if (!args) SWIG_fail; | |
7661 | swig_obj[0] = args; | |
7662 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7663 | if (!SWIG_IsOK(res1)) { | |
7664 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Cut" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
7665 | } | |
7666 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7667 | { | |
7668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7669 | (arg1)->Cut(); | |
7670 | wxPyEndAllowThreads(__tstate); | |
7671 | if (PyErr_Occurred()) SWIG_fail; | |
7672 | } | |
7673 | resultobj = SWIG_Py_Void(); | |
7674 | return resultobj; | |
7675 | fail: | |
7676 | return NULL; | |
7677 | } | |
7678 | ||
7679 | ||
7680 | SWIGINTERN PyObject *_wrap_RichTextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7681 | PyObject *resultobj = 0; | |
7682 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7683 | void *argp1 = 0 ; | |
7684 | int res1 = 0 ; | |
7685 | PyObject *swig_obj[1] ; | |
7686 | ||
7687 | if (!args) SWIG_fail; | |
7688 | swig_obj[0] = args; | |
7689 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7690 | if (!SWIG_IsOK(res1)) { | |
7691 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Paste" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
7692 | } | |
7693 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7694 | { | |
7695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7696 | (arg1)->Paste(); | |
7697 | wxPyEndAllowThreads(__tstate); | |
7698 | if (PyErr_Occurred()) SWIG_fail; | |
7699 | } | |
7700 | resultobj = SWIG_Py_Void(); | |
7701 | return resultobj; | |
7702 | fail: | |
7703 | return NULL; | |
7704 | } | |
7705 | ||
7706 | ||
7707 | SWIGINTERN PyObject *_wrap_RichTextCtrl_DeleteSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7708 | PyObject *resultobj = 0; | |
7709 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7710 | void *argp1 = 0 ; | |
7711 | int res1 = 0 ; | |
7712 | PyObject *swig_obj[1] ; | |
7713 | ||
7714 | if (!args) SWIG_fail; | |
7715 | swig_obj[0] = args; | |
7716 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7717 | if (!SWIG_IsOK(res1)) { | |
7718 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_DeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
7719 | } | |
7720 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7721 | { | |
7722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7723 | (arg1)->DeleteSelection(); | |
7724 | wxPyEndAllowThreads(__tstate); | |
7725 | if (PyErr_Occurred()) SWIG_fail; | |
7726 | } | |
7727 | resultobj = SWIG_Py_Void(); | |
7728 | return resultobj; | |
7729 | fail: | |
7730 | return NULL; | |
7731 | } | |
7732 | ||
7733 | ||
7734 | SWIGINTERN PyObject *_wrap_RichTextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7735 | PyObject *resultobj = 0; | |
7736 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7737 | bool result; | |
7738 | void *argp1 = 0 ; | |
7739 | int res1 = 0 ; | |
7740 | PyObject *swig_obj[1] ; | |
7741 | ||
7742 | if (!args) SWIG_fail; | |
7743 | swig_obj[0] = args; | |
7744 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7745 | if (!SWIG_IsOK(res1)) { | |
7746 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
7747 | } | |
7748 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7749 | { | |
7750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7751 | result = (bool)((wxRichTextCtrl const *)arg1)->CanCopy(); | |
7752 | wxPyEndAllowThreads(__tstate); | |
7753 | if (PyErr_Occurred()) SWIG_fail; | |
7754 | } | |
7755 | { | |
7756 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7757 | } | |
7758 | return resultobj; | |
7759 | fail: | |
7760 | return NULL; | |
7761 | } | |
7762 | ||
7763 | ||
7764 | SWIGINTERN PyObject *_wrap_RichTextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7765 | PyObject *resultobj = 0; | |
7766 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7767 | bool result; | |
7768 | void *argp1 = 0 ; | |
7769 | int res1 = 0 ; | |
7770 | PyObject *swig_obj[1] ; | |
7771 | ||
7772 | if (!args) SWIG_fail; | |
7773 | swig_obj[0] = args; | |
7774 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7775 | if (!SWIG_IsOK(res1)) { | |
7776 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanCut" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
7777 | } | |
7778 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7779 | { | |
7780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7781 | result = (bool)((wxRichTextCtrl const *)arg1)->CanCut(); | |
7782 | wxPyEndAllowThreads(__tstate); | |
7783 | if (PyErr_Occurred()) SWIG_fail; | |
7784 | } | |
7785 | { | |
7786 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7787 | } | |
7788 | return resultobj; | |
7789 | fail: | |
7790 | return NULL; | |
7791 | } | |
7792 | ||
7793 | ||
7794 | SWIGINTERN PyObject *_wrap_RichTextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7795 | PyObject *resultobj = 0; | |
7796 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7797 | bool result; | |
7798 | void *argp1 = 0 ; | |
7799 | int res1 = 0 ; | |
7800 | PyObject *swig_obj[1] ; | |
7801 | ||
7802 | if (!args) SWIG_fail; | |
7803 | swig_obj[0] = args; | |
7804 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7805 | if (!SWIG_IsOK(res1)) { | |
7806 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
7807 | } | |
7808 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7809 | { | |
7810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7811 | result = (bool)((wxRichTextCtrl const *)arg1)->CanPaste(); | |
7812 | wxPyEndAllowThreads(__tstate); | |
7813 | if (PyErr_Occurred()) SWIG_fail; | |
7814 | } | |
7815 | { | |
7816 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7817 | } | |
7818 | return resultobj; | |
7819 | fail: | |
7820 | return NULL; | |
7821 | } | |
7822 | ||
7823 | ||
7824 | SWIGINTERN PyObject *_wrap_RichTextCtrl_CanDeleteSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7825 | PyObject *resultobj = 0; | |
7826 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7827 | bool result; | |
7828 | void *argp1 = 0 ; | |
7829 | int res1 = 0 ; | |
7830 | PyObject *swig_obj[1] ; | |
7831 | ||
7832 | if (!args) SWIG_fail; | |
7833 | swig_obj[0] = args; | |
7834 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7835 | if (!SWIG_IsOK(res1)) { | |
7836 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanDeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
7837 | } | |
7838 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7839 | { | |
7840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7841 | result = (bool)((wxRichTextCtrl const *)arg1)->CanDeleteSelection(); | |
7842 | wxPyEndAllowThreads(__tstate); | |
7843 | if (PyErr_Occurred()) SWIG_fail; | |
7844 | } | |
7845 | { | |
7846 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7847 | } | |
7848 | return resultobj; | |
7849 | fail: | |
7850 | return NULL; | |
7851 | } | |
7852 | ||
7853 | ||
7854 | SWIGINTERN PyObject *_wrap_RichTextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7855 | PyObject *resultobj = 0; | |
7856 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7857 | void *argp1 = 0 ; | |
7858 | int res1 = 0 ; | |
7859 | PyObject *swig_obj[1] ; | |
7860 | ||
7861 | if (!args) SWIG_fail; | |
7862 | swig_obj[0] = args; | |
7863 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7864 | if (!SWIG_IsOK(res1)) { | |
7865 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Undo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
7866 | } | |
7867 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7868 | { | |
7869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7870 | (arg1)->Undo(); | |
7871 | wxPyEndAllowThreads(__tstate); | |
7872 | if (PyErr_Occurred()) SWIG_fail; | |
7873 | } | |
7874 | resultobj = SWIG_Py_Void(); | |
7875 | return resultobj; | |
7876 | fail: | |
7877 | return NULL; | |
7878 | } | |
7879 | ||
7880 | ||
7881 | SWIGINTERN PyObject *_wrap_RichTextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7882 | PyObject *resultobj = 0; | |
7883 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7884 | void *argp1 = 0 ; | |
7885 | int res1 = 0 ; | |
7886 | PyObject *swig_obj[1] ; | |
7887 | ||
7888 | if (!args) SWIG_fail; | |
7889 | swig_obj[0] = args; | |
7890 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7891 | if (!SWIG_IsOK(res1)) { | |
7892 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Redo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
7893 | } | |
7894 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7895 | { | |
7896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7897 | (arg1)->Redo(); | |
7898 | wxPyEndAllowThreads(__tstate); | |
7899 | if (PyErr_Occurred()) SWIG_fail; | |
7900 | } | |
7901 | resultobj = SWIG_Py_Void(); | |
7902 | return resultobj; | |
7903 | fail: | |
7904 | return NULL; | |
7905 | } | |
7906 | ||
7907 | ||
7908 | SWIGINTERN PyObject *_wrap_RichTextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7909 | PyObject *resultobj = 0; | |
7910 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7911 | bool result; | |
7912 | void *argp1 = 0 ; | |
7913 | int res1 = 0 ; | |
7914 | PyObject *swig_obj[1] ; | |
7915 | ||
7916 | if (!args) SWIG_fail; | |
7917 | swig_obj[0] = args; | |
7918 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7919 | if (!SWIG_IsOK(res1)) { | |
7920 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
7921 | } | |
7922 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7923 | { | |
7924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7925 | result = (bool)((wxRichTextCtrl const *)arg1)->CanUndo(); | |
7926 | wxPyEndAllowThreads(__tstate); | |
7927 | if (PyErr_Occurred()) SWIG_fail; | |
7928 | } | |
7929 | { | |
7930 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7931 | } | |
7932 | return resultobj; | |
7933 | fail: | |
7934 | return NULL; | |
7935 | } | |
7936 | ||
7937 | ||
7938 | SWIGINTERN PyObject *_wrap_RichTextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7939 | PyObject *resultobj = 0; | |
7940 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7941 | bool result; | |
7942 | void *argp1 = 0 ; | |
7943 | int res1 = 0 ; | |
7944 | PyObject *swig_obj[1] ; | |
7945 | ||
7946 | if (!args) SWIG_fail; | |
7947 | swig_obj[0] = args; | |
7948 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7949 | if (!SWIG_IsOK(res1)) { | |
7950 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
7951 | } | |
7952 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7953 | { | |
7954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7955 | result = (bool)((wxRichTextCtrl const *)arg1)->CanRedo(); | |
7956 | wxPyEndAllowThreads(__tstate); | |
7957 | if (PyErr_Occurred()) SWIG_fail; | |
7958 | } | |
7959 | { | |
7960 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7961 | } | |
7962 | return resultobj; | |
7963 | fail: | |
7964 | return NULL; | |
7965 | } | |
7966 | ||
7967 | ||
7968 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7969 | PyObject *resultobj = 0; | |
7970 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
7971 | long arg2 ; | |
7972 | void *argp1 = 0 ; | |
7973 | int res1 = 0 ; | |
7974 | long val2 ; | |
7975 | int ecode2 = 0 ; | |
7976 | PyObject * obj0 = 0 ; | |
7977 | PyObject * obj1 = 0 ; | |
7978 | char * kwnames[] = { | |
7979 | (char *) "self",(char *) "pos", NULL | |
7980 | }; | |
7981 | ||
7982 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail; | |
7983 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
7984 | if (!SWIG_IsOK(res1)) { | |
7985 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
7986 | } | |
7987 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
7988 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
7989 | if (!SWIG_IsOK(ecode2)) { | |
7990 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'"); | |
7991 | } | |
7992 | arg2 = static_cast< long >(val2); | |
7993 | { | |
7994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7995 | (arg1)->SetInsertionPoint(arg2); | |
7996 | wxPyEndAllowThreads(__tstate); | |
7997 | if (PyErr_Occurred()) SWIG_fail; | |
7998 | } | |
7999 | resultobj = SWIG_Py_Void(); | |
8000 | return resultobj; | |
8001 | fail: | |
8002 | return NULL; | |
8003 | } | |
8004 | ||
8005 | ||
8006 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8007 | PyObject *resultobj = 0; | |
8008 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8009 | void *argp1 = 0 ; | |
8010 | int res1 = 0 ; | |
8011 | PyObject *swig_obj[1] ; | |
8012 | ||
8013 | if (!args) SWIG_fail; | |
8014 | swig_obj[0] = args; | |
8015 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8016 | if (!SWIG_IsOK(res1)) { | |
8017 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8018 | } | |
8019 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8020 | { | |
8021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8022 | (arg1)->SetInsertionPointEnd(); | |
8023 | wxPyEndAllowThreads(__tstate); | |
8024 | if (PyErr_Occurred()) SWIG_fail; | |
8025 | } | |
8026 | resultobj = SWIG_Py_Void(); | |
8027 | return resultobj; | |
8028 | fail: | |
8029 | return NULL; | |
8030 | } | |
8031 | ||
8032 | ||
8033 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8034 | PyObject *resultobj = 0; | |
8035 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8036 | long result; | |
8037 | void *argp1 = 0 ; | |
8038 | int res1 = 0 ; | |
8039 | PyObject *swig_obj[1] ; | |
8040 | ||
8041 | if (!args) SWIG_fail; | |
8042 | swig_obj[0] = args; | |
8043 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8044 | if (!SWIG_IsOK(res1)) { | |
8045 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
8046 | } | |
8047 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8048 | { | |
8049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8050 | result = (long)((wxRichTextCtrl const *)arg1)->GetInsertionPoint(); | |
8051 | wxPyEndAllowThreads(__tstate); | |
8052 | if (PyErr_Occurred()) SWIG_fail; | |
8053 | } | |
8054 | resultobj = SWIG_From_long(static_cast< long >(result)); | |
8055 | return resultobj; | |
8056 | fail: | |
8057 | return NULL; | |
8058 | } | |
8059 | ||
8060 | ||
8061 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8062 | PyObject *resultobj = 0; | |
8063 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8064 | long result; | |
8065 | void *argp1 = 0 ; | |
8066 | int res1 = 0 ; | |
8067 | PyObject *swig_obj[1] ; | |
8068 | ||
8069 | if (!args) SWIG_fail; | |
8070 | swig_obj[0] = args; | |
8071 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8072 | if (!SWIG_IsOK(res1)) { | |
8073 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
8074 | } | |
8075 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8076 | { | |
8077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8078 | result = (long)((wxRichTextCtrl const *)arg1)->GetLastPosition(); | |
8079 | wxPyEndAllowThreads(__tstate); | |
8080 | if (PyErr_Occurred()) SWIG_fail; | |
8081 | } | |
8082 | resultobj = SWIG_From_long(static_cast< long >(result)); | |
8083 | return resultobj; | |
8084 | fail: | |
8085 | return NULL; | |
8086 | } | |
8087 | ||
8088 | ||
8089 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8090 | PyObject *resultobj = 0; | |
8091 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8092 | long arg2 ; | |
8093 | long arg3 ; | |
8094 | void *argp1 = 0 ; | |
8095 | int res1 = 0 ; | |
8096 | long val2 ; | |
8097 | int ecode2 = 0 ; | |
8098 | long val3 ; | |
8099 | int ecode3 = 0 ; | |
8100 | PyObject * obj0 = 0 ; | |
8101 | PyObject * obj1 = 0 ; | |
8102 | PyObject * obj2 = 0 ; | |
8103 | char * kwnames[] = { | |
8104 | (char *) "self",(char *) "from",(char *) "to", NULL | |
8105 | }; | |
8106 | ||
8107 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8108 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8109 | if (!SWIG_IsOK(res1)) { | |
8110 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8111 | } | |
8112 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8113 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
8114 | if (!SWIG_IsOK(ecode2)) { | |
8115 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'"); | |
8116 | } | |
8117 | arg2 = static_cast< long >(val2); | |
8118 | ecode3 = SWIG_AsVal_long(obj2, &val3); | |
8119 | if (!SWIG_IsOK(ecode3)) { | |
8120 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'"); | |
8121 | } | |
8122 | arg3 = static_cast< long >(val3); | |
8123 | { | |
8124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8125 | (arg1)->SetSelection(arg2,arg3); | |
8126 | wxPyEndAllowThreads(__tstate); | |
8127 | if (PyErr_Occurred()) SWIG_fail; | |
8128 | } | |
8129 | resultobj = SWIG_Py_Void(); | |
8130 | return resultobj; | |
8131 | fail: | |
8132 | return NULL; | |
8133 | } | |
8134 | ||
8135 | ||
8136 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8137 | PyObject *resultobj = 0; | |
8138 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8139 | void *argp1 = 0 ; | |
8140 | int res1 = 0 ; | |
8141 | PyObject *swig_obj[1] ; | |
8142 | ||
8143 | if (!args) SWIG_fail; | |
8144 | swig_obj[0] = args; | |
8145 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8146 | if (!SWIG_IsOK(res1)) { | |
8147 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8148 | } | |
8149 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8150 | { | |
8151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8152 | (arg1)->SelectAll(); | |
8153 | wxPyEndAllowThreads(__tstate); | |
8154 | if (PyErr_Occurred()) SWIG_fail; | |
8155 | } | |
8156 | resultobj = SWIG_Py_Void(); | |
8157 | return resultobj; | |
8158 | fail: | |
8159 | return NULL; | |
8160 | } | |
8161 | ||
8162 | ||
8163 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8164 | PyObject *resultobj = 0; | |
8165 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8166 | bool arg2 ; | |
8167 | void *argp1 = 0 ; | |
8168 | int res1 = 0 ; | |
8169 | bool val2 ; | |
8170 | int ecode2 = 0 ; | |
8171 | PyObject * obj0 = 0 ; | |
8172 | PyObject * obj1 = 0 ; | |
8173 | char * kwnames[] = { | |
8174 | (char *) "self",(char *) "editable", NULL | |
8175 | }; | |
8176 | ||
8177 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail; | |
8178 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8179 | if (!SWIG_IsOK(res1)) { | |
8180 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8181 | } | |
8182 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8183 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
8184 | if (!SWIG_IsOK(ecode2)) { | |
8185 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'"); | |
8186 | } | |
8187 | arg2 = static_cast< bool >(val2); | |
8188 | { | |
8189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8190 | (arg1)->SetEditable(arg2); | |
8191 | wxPyEndAllowThreads(__tstate); | |
8192 | if (PyErr_Occurred()) SWIG_fail; | |
8193 | } | |
8194 | resultobj = SWIG_Py_Void(); | |
8195 | return resultobj; | |
8196 | fail: | |
8197 | return NULL; | |
8198 | } | |
8199 | ||
8200 | ||
8201 | SWIGINTERN PyObject *_wrap_RichTextCtrl_HasSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8202 | PyObject *resultobj = 0; | |
8203 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8204 | bool result; | |
8205 | void *argp1 = 0 ; | |
8206 | int res1 = 0 ; | |
8207 | PyObject *swig_obj[1] ; | |
8208 | ||
8209 | if (!args) SWIG_fail; | |
8210 | swig_obj[0] = args; | |
8211 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8212 | if (!SWIG_IsOK(res1)) { | |
8213 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HasSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
8214 | } | |
8215 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8216 | { | |
8217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8218 | result = (bool)((wxRichTextCtrl const *)arg1)->HasSelection(); | |
8219 | wxPyEndAllowThreads(__tstate); | |
8220 | if (PyErr_Occurred()) SWIG_fail; | |
8221 | } | |
8222 | { | |
8223 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8224 | } | |
8225 | return resultobj; | |
8226 | fail: | |
8227 | return NULL; | |
8228 | } | |
8229 | ||
8230 | ||
8231 | SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8232 | PyObject *resultobj = 0; | |
8233 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8234 | wxImage *arg2 = 0 ; | |
8235 | int arg3 = (int) wxBITMAP_TYPE_PNG ; | |
8236 | bool result; | |
8237 | void *argp1 = 0 ; | |
8238 | int res1 = 0 ; | |
8239 | void *argp2 = 0 ; | |
8240 | int res2 = 0 ; | |
8241 | int val3 ; | |
8242 | int ecode3 = 0 ; | |
8243 | PyObject * obj0 = 0 ; | |
8244 | PyObject * obj1 = 0 ; | |
8245 | PyObject * obj2 = 0 ; | |
8246 | char * kwnames[] = { | |
8247 | (char *) "self",(char *) "image",(char *) "bitmapType", NULL | |
8248 | }; | |
8249 | ||
8250 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_WriteImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8251 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8252 | if (!SWIG_IsOK(res1)) { | |
8253 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8254 | } | |
8255 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8256 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxImage, 0 | 0); | |
8257 | if (!SWIG_IsOK(res2)) { | |
8258 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'"); | |
8259 | } | |
8260 | if (!argp2) { | |
8261 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'"); | |
8262 | } | |
8263 | arg2 = reinterpret_cast< wxImage * >(argp2); | |
8264 | if (obj2) { | |
8265 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8266 | if (!SWIG_IsOK(ecode3)) { | |
8267 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "3"" of type '" "int""'"); | |
8268 | } | |
8269 | arg3 = static_cast< int >(val3); | |
8270 | } | |
8271 | { | |
8272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8273 | result = (bool)(arg1)->WriteImage((wxImage const &)*arg2,arg3); | |
8274 | wxPyEndAllowThreads(__tstate); | |
8275 | if (PyErr_Occurred()) SWIG_fail; | |
8276 | } | |
8277 | { | |
8278 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8279 | } | |
8280 | return resultobj; | |
8281 | fail: | |
8282 | return NULL; | |
8283 | } | |
8284 | ||
8285 | ||
8286 | SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8287 | PyObject *resultobj = 0; | |
8288 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8289 | wxBitmap *arg2 = 0 ; | |
8290 | int arg3 = (int) wxBITMAP_TYPE_PNG ; | |
8291 | bool result; | |
8292 | void *argp1 = 0 ; | |
8293 | int res1 = 0 ; | |
8294 | void *argp2 = 0 ; | |
8295 | int res2 = 0 ; | |
8296 | int val3 ; | |
8297 | int ecode3 = 0 ; | |
8298 | PyObject * obj0 = 0 ; | |
8299 | PyObject * obj1 = 0 ; | |
8300 | PyObject * obj2 = 0 ; | |
8301 | char * kwnames[] = { | |
8302 | (char *) "self",(char *) "bitmap",(char *) "bitmapType", NULL | |
8303 | }; | |
8304 | ||
8305 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_WriteBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8306 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8307 | if (!SWIG_IsOK(res1)) { | |
8308 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8309 | } | |
8310 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8311 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); | |
8312 | if (!SWIG_IsOK(res2)) { | |
8313 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
8314 | } | |
8315 | if (!argp2) { | |
8316 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
8317 | } | |
8318 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
8319 | if (obj2) { | |
8320 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8321 | if (!SWIG_IsOK(ecode3)) { | |
8322 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "3"" of type '" "int""'"); | |
8323 | } | |
8324 | arg3 = static_cast< int >(val3); | |
8325 | } | |
8326 | { | |
8327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8328 | result = (bool)(arg1)->WriteImage((wxBitmap const &)*arg2,arg3); | |
8329 | wxPyEndAllowThreads(__tstate); | |
8330 | if (PyErr_Occurred()) SWIG_fail; | |
8331 | } | |
8332 | { | |
8333 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8334 | } | |
8335 | return resultobj; | |
8336 | fail: | |
8337 | return NULL; | |
8338 | } | |
8339 | ||
8340 | ||
8341 | SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteImageFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8342 | PyObject *resultobj = 0; | |
8343 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8344 | wxString *arg2 = 0 ; | |
8345 | int arg3 ; | |
8346 | bool result; | |
8347 | void *argp1 = 0 ; | |
8348 | int res1 = 0 ; | |
8349 | bool temp2 = false ; | |
8350 | int val3 ; | |
8351 | int ecode3 = 0 ; | |
8352 | PyObject * obj0 = 0 ; | |
8353 | PyObject * obj1 = 0 ; | |
8354 | PyObject * obj2 = 0 ; | |
8355 | char * kwnames[] = { | |
8356 | (char *) "self",(char *) "filename",(char *) "bitmapType", NULL | |
8357 | }; | |
8358 | ||
8359 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_WriteImageFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8360 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8361 | if (!SWIG_IsOK(res1)) { | |
8362 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8363 | } | |
8364 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8365 | { | |
8366 | arg2 = wxString_in_helper(obj1); | |
8367 | if (arg2 == NULL) SWIG_fail; | |
8368 | temp2 = true; | |
8369 | } | |
8370 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8371 | if (!SWIG_IsOK(ecode3)) { | |
8372 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "3"" of type '" "int""'"); | |
8373 | } | |
8374 | arg3 = static_cast< int >(val3); | |
8375 | { | |
8376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8377 | result = (bool)(arg1)->WriteImage((wxString const &)*arg2,arg3); | |
8378 | wxPyEndAllowThreads(__tstate); | |
8379 | if (PyErr_Occurred()) SWIG_fail; | |
8380 | } | |
8381 | { | |
8382 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8383 | } | |
8384 | { | |
8385 | if (temp2) | |
8386 | delete arg2; | |
8387 | } | |
8388 | return resultobj; | |
8389 | fail: | |
8390 | { | |
8391 | if (temp2) | |
8392 | delete arg2; | |
8393 | } | |
8394 | return NULL; | |
8395 | } | |
8396 | ||
8397 | ||
8398 | SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteImageBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8399 | PyObject *resultobj = 0; | |
8400 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8401 | wxRichTextImageBlock *arg2 = 0 ; | |
8402 | bool result; | |
8403 | void *argp1 = 0 ; | |
8404 | int res1 = 0 ; | |
8405 | void *argp2 = 0 ; | |
8406 | int res2 = 0 ; | |
8407 | PyObject * obj0 = 0 ; | |
8408 | PyObject * obj1 = 0 ; | |
8409 | char * kwnames[] = { | |
8410 | (char *) "self",(char *) "imageBlock", NULL | |
8411 | }; | |
8412 | ||
8413 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_WriteImageBlock",kwnames,&obj0,&obj1)) SWIG_fail; | |
8414 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8415 | if (!SWIG_IsOK(res1)) { | |
8416 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8417 | } | |
8418 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8419 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextImageBlock, 0 | 0); | |
8420 | if (!SWIG_IsOK(res2)) { | |
8421 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'"); | |
8422 | } | |
8423 | if (!argp2) { | |
8424 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'"); | |
8425 | } | |
8426 | arg2 = reinterpret_cast< wxRichTextImageBlock * >(argp2); | |
8427 | { | |
8428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8429 | result = (bool)(arg1)->WriteImage((wxRichTextImageBlock const &)*arg2); | |
8430 | wxPyEndAllowThreads(__tstate); | |
8431 | if (PyErr_Occurred()) SWIG_fail; | |
8432 | } | |
8433 | { | |
8434 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8435 | } | |
8436 | return resultobj; | |
8437 | fail: | |
8438 | return NULL; | |
8439 | } | |
8440 | ||
8441 | ||
8442 | SWIGINTERN PyObject *_wrap_RichTextCtrl_Newline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8443 | PyObject *resultobj = 0; | |
8444 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8445 | bool result; | |
8446 | void *argp1 = 0 ; | |
8447 | int res1 = 0 ; | |
8448 | PyObject *swig_obj[1] ; | |
8449 | ||
8450 | if (!args) SWIG_fail; | |
8451 | swig_obj[0] = args; | |
8452 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8453 | if (!SWIG_IsOK(res1)) { | |
8454 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Newline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8455 | } | |
8456 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8457 | { | |
8458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8459 | result = (bool)(arg1)->Newline(); | |
8460 | wxPyEndAllowThreads(__tstate); | |
8461 | if (PyErr_Occurred()) SWIG_fail; | |
8462 | } | |
8463 | { | |
8464 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8465 | } | |
8466 | return resultobj; | |
8467 | fail: | |
8468 | return NULL; | |
8469 | } | |
8470 | ||
8471 | ||
8472 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SetBasicStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8473 | PyObject *resultobj = 0; | |
8474 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8475 | wxRichTextAttr *arg2 = 0 ; | |
8476 | void *argp1 = 0 ; | |
8477 | int res1 = 0 ; | |
8478 | void *argp2 = 0 ; | |
8479 | int res2 = 0 ; | |
8480 | PyObject * obj0 = 0 ; | |
8481 | PyObject * obj1 = 0 ; | |
8482 | char * kwnames[] = { | |
8483 | (char *) "self",(char *) "style", NULL | |
8484 | }; | |
8485 | ||
8486 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetBasicStyle",kwnames,&obj0,&obj1)) SWIG_fail; | |
8487 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8488 | if (!SWIG_IsOK(res1)) { | |
8489 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8490 | } | |
8491 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8492 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextAttr, 0 | 0); | |
8493 | if (!SWIG_IsOK(res2)) { | |
8494 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'"); | |
8495 | } | |
8496 | if (!argp2) { | |
8497 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'"); | |
8498 | } | |
8499 | arg2 = reinterpret_cast< wxRichTextAttr * >(argp2); | |
8500 | { | |
8501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8502 | (arg1)->SetBasicStyle((wxRichTextAttr const &)*arg2); | |
8503 | wxPyEndAllowThreads(__tstate); | |
8504 | if (PyErr_Occurred()) SWIG_fail; | |
8505 | } | |
8506 | resultobj = SWIG_Py_Void(); | |
8507 | return resultobj; | |
8508 | fail: | |
8509 | return NULL; | |
8510 | } | |
8511 | ||
8512 | ||
8513 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8514 | PyObject *resultobj = 0; | |
8515 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8516 | bool result; | |
8517 | void *argp1 = 0 ; | |
8518 | int res1 = 0 ; | |
8519 | PyObject *swig_obj[1] ; | |
8520 | ||
8521 | if (!args) SWIG_fail; | |
8522 | swig_obj[0] = args; | |
8523 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8524 | if (!SWIG_IsOK(res1)) { | |
8525 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8526 | } | |
8527 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8528 | { | |
8529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8530 | result = (bool)(arg1)->EndStyle(); | |
8531 | wxPyEndAllowThreads(__tstate); | |
8532 | if (PyErr_Occurred()) SWIG_fail; | |
8533 | } | |
8534 | { | |
8535 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8536 | } | |
8537 | return resultobj; | |
8538 | fail: | |
8539 | return NULL; | |
8540 | } | |
8541 | ||
8542 | ||
8543 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndAllStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8544 | PyObject *resultobj = 0; | |
8545 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8546 | bool result; | |
8547 | void *argp1 = 0 ; | |
8548 | int res1 = 0 ; | |
8549 | PyObject *swig_obj[1] ; | |
8550 | ||
8551 | if (!args) SWIG_fail; | |
8552 | swig_obj[0] = args; | |
8553 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8554 | if (!SWIG_IsOK(res1)) { | |
8555 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndAllStyles" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8556 | } | |
8557 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8558 | { | |
8559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8560 | result = (bool)(arg1)->EndAllStyles(); | |
8561 | wxPyEndAllowThreads(__tstate); | |
8562 | if (PyErr_Occurred()) SWIG_fail; | |
8563 | } | |
8564 | { | |
8565 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8566 | } | |
8567 | return resultobj; | |
8568 | fail: | |
8569 | return NULL; | |
8570 | } | |
8571 | ||
8572 | ||
8573 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8574 | PyObject *resultobj = 0; | |
8575 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8576 | bool result; | |
8577 | void *argp1 = 0 ; | |
8578 | int res1 = 0 ; | |
8579 | PyObject *swig_obj[1] ; | |
8580 | ||
8581 | if (!args) SWIG_fail; | |
8582 | swig_obj[0] = args; | |
8583 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8584 | if (!SWIG_IsOK(res1)) { | |
8585 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8586 | } | |
8587 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8588 | { | |
8589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8590 | result = (bool)(arg1)->BeginBold(); | |
8591 | wxPyEndAllowThreads(__tstate); | |
8592 | if (PyErr_Occurred()) SWIG_fail; | |
8593 | } | |
8594 | { | |
8595 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8596 | } | |
8597 | return resultobj; | |
8598 | fail: | |
8599 | return NULL; | |
8600 | } | |
8601 | ||
8602 | ||
8603 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8604 | PyObject *resultobj = 0; | |
8605 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8606 | bool result; | |
8607 | void *argp1 = 0 ; | |
8608 | int res1 = 0 ; | |
8609 | PyObject *swig_obj[1] ; | |
8610 | ||
8611 | if (!args) SWIG_fail; | |
8612 | swig_obj[0] = args; | |
8613 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8614 | if (!SWIG_IsOK(res1)) { | |
8615 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8616 | } | |
8617 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8618 | { | |
8619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8620 | result = (bool)(arg1)->EndBold(); | |
8621 | wxPyEndAllowThreads(__tstate); | |
8622 | if (PyErr_Occurred()) SWIG_fail; | |
8623 | } | |
8624 | { | |
8625 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8626 | } | |
8627 | return resultobj; | |
8628 | fail: | |
8629 | return NULL; | |
8630 | } | |
8631 | ||
8632 | ||
8633 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8634 | PyObject *resultobj = 0; | |
8635 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8636 | bool result; | |
8637 | void *argp1 = 0 ; | |
8638 | int res1 = 0 ; | |
8639 | PyObject *swig_obj[1] ; | |
8640 | ||
8641 | if (!args) SWIG_fail; | |
8642 | swig_obj[0] = args; | |
8643 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8644 | if (!SWIG_IsOK(res1)) { | |
8645 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8646 | } | |
8647 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8648 | { | |
8649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8650 | result = (bool)(arg1)->BeginItalic(); | |
8651 | wxPyEndAllowThreads(__tstate); | |
8652 | if (PyErr_Occurred()) SWIG_fail; | |
8653 | } | |
8654 | { | |
8655 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8656 | } | |
8657 | return resultobj; | |
8658 | fail: | |
8659 | return NULL; | |
8660 | } | |
8661 | ||
8662 | ||
8663 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8664 | PyObject *resultobj = 0; | |
8665 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8666 | bool result; | |
8667 | void *argp1 = 0 ; | |
8668 | int res1 = 0 ; | |
8669 | PyObject *swig_obj[1] ; | |
8670 | ||
8671 | if (!args) SWIG_fail; | |
8672 | swig_obj[0] = args; | |
8673 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8674 | if (!SWIG_IsOK(res1)) { | |
8675 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8676 | } | |
8677 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8678 | { | |
8679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8680 | result = (bool)(arg1)->EndItalic(); | |
8681 | wxPyEndAllowThreads(__tstate); | |
8682 | if (PyErr_Occurred()) SWIG_fail; | |
8683 | } | |
8684 | { | |
8685 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8686 | } | |
8687 | return resultobj; | |
8688 | fail: | |
8689 | return NULL; | |
8690 | } | |
8691 | ||
8692 | ||
8693 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8694 | PyObject *resultobj = 0; | |
8695 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8696 | bool result; | |
8697 | void *argp1 = 0 ; | |
8698 | int res1 = 0 ; | |
8699 | PyObject *swig_obj[1] ; | |
8700 | ||
8701 | if (!args) SWIG_fail; | |
8702 | swig_obj[0] = args; | |
8703 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8704 | if (!SWIG_IsOK(res1)) { | |
8705 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8706 | } | |
8707 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8708 | { | |
8709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8710 | result = (bool)(arg1)->BeginUnderline(); | |
8711 | wxPyEndAllowThreads(__tstate); | |
8712 | if (PyErr_Occurred()) SWIG_fail; | |
8713 | } | |
8714 | { | |
8715 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8716 | } | |
8717 | return resultobj; | |
8718 | fail: | |
8719 | return NULL; | |
8720 | } | |
8721 | ||
8722 | ||
8723 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8724 | PyObject *resultobj = 0; | |
8725 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8726 | bool result; | |
8727 | void *argp1 = 0 ; | |
8728 | int res1 = 0 ; | |
8729 | PyObject *swig_obj[1] ; | |
8730 | ||
8731 | if (!args) SWIG_fail; | |
8732 | swig_obj[0] = args; | |
8733 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8734 | if (!SWIG_IsOK(res1)) { | |
8735 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8736 | } | |
8737 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8738 | { | |
8739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8740 | result = (bool)(arg1)->EndUnderline(); | |
8741 | wxPyEndAllowThreads(__tstate); | |
8742 | if (PyErr_Occurred()) SWIG_fail; | |
8743 | } | |
8744 | { | |
8745 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8746 | } | |
8747 | return resultobj; | |
8748 | fail: | |
8749 | return NULL; | |
8750 | } | |
8751 | ||
8752 | ||
8753 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8754 | PyObject *resultobj = 0; | |
8755 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8756 | int arg2 ; | |
8757 | bool result; | |
8758 | void *argp1 = 0 ; | |
8759 | int res1 = 0 ; | |
8760 | int val2 ; | |
8761 | int ecode2 = 0 ; | |
8762 | PyObject * obj0 = 0 ; | |
8763 | PyObject * obj1 = 0 ; | |
8764 | char * kwnames[] = { | |
8765 | (char *) "self",(char *) "pointSize", NULL | |
8766 | }; | |
8767 | ||
8768 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginFontSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
8769 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8770 | if (!SWIG_IsOK(res1)) { | |
8771 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8772 | } | |
8773 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8774 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8775 | if (!SWIG_IsOK(ecode2)) { | |
8776 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "2"" of type '" "int""'"); | |
8777 | } | |
8778 | arg2 = static_cast< int >(val2); | |
8779 | { | |
8780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8781 | result = (bool)(arg1)->BeginFontSize(arg2); | |
8782 | wxPyEndAllowThreads(__tstate); | |
8783 | if (PyErr_Occurred()) SWIG_fail; | |
8784 | } | |
8785 | { | |
8786 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8787 | } | |
8788 | return resultobj; | |
8789 | fail: | |
8790 | return NULL; | |
8791 | } | |
8792 | ||
8793 | ||
8794 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8795 | PyObject *resultobj = 0; | |
8796 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8797 | bool result; | |
8798 | void *argp1 = 0 ; | |
8799 | int res1 = 0 ; | |
8800 | PyObject *swig_obj[1] ; | |
8801 | ||
8802 | if (!args) SWIG_fail; | |
8803 | swig_obj[0] = args; | |
8804 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8805 | if (!SWIG_IsOK(res1)) { | |
8806 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8807 | } | |
8808 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8809 | { | |
8810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8811 | result = (bool)(arg1)->EndFontSize(); | |
8812 | wxPyEndAllowThreads(__tstate); | |
8813 | if (PyErr_Occurred()) SWIG_fail; | |
8814 | } | |
8815 | { | |
8816 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8817 | } | |
8818 | return resultobj; | |
8819 | fail: | |
8820 | return NULL; | |
8821 | } | |
8822 | ||
8823 | ||
8824 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8825 | PyObject *resultobj = 0; | |
8826 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8827 | wxFont *arg2 = 0 ; | |
8828 | bool result; | |
8829 | void *argp1 = 0 ; | |
8830 | int res1 = 0 ; | |
8831 | void *argp2 = 0 ; | |
8832 | int res2 = 0 ; | |
8833 | PyObject * obj0 = 0 ; | |
8834 | PyObject * obj1 = 0 ; | |
8835 | char * kwnames[] = { | |
8836 | (char *) "self",(char *) "font", NULL | |
8837 | }; | |
8838 | ||
8839 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
8840 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8841 | if (!SWIG_IsOK(res1)) { | |
8842 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8843 | } | |
8844 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8845 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
8846 | if (!SWIG_IsOK(res2)) { | |
8847 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
8848 | } | |
8849 | if (!argp2) { | |
8850 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
8851 | } | |
8852 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
8853 | { | |
8854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8855 | result = (bool)(arg1)->BeginFont((wxFont const &)*arg2); | |
8856 | wxPyEndAllowThreads(__tstate); | |
8857 | if (PyErr_Occurred()) SWIG_fail; | |
8858 | } | |
8859 | { | |
8860 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8861 | } | |
8862 | return resultobj; | |
8863 | fail: | |
8864 | return NULL; | |
8865 | } | |
8866 | ||
8867 | ||
8868 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8869 | PyObject *resultobj = 0; | |
8870 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8871 | bool result; | |
8872 | void *argp1 = 0 ; | |
8873 | int res1 = 0 ; | |
8874 | PyObject *swig_obj[1] ; | |
8875 | ||
8876 | if (!args) SWIG_fail; | |
8877 | swig_obj[0] = args; | |
8878 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8879 | if (!SWIG_IsOK(res1)) { | |
8880 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8881 | } | |
8882 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8883 | { | |
8884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8885 | result = (bool)(arg1)->EndFont(); | |
8886 | wxPyEndAllowThreads(__tstate); | |
8887 | if (PyErr_Occurred()) SWIG_fail; | |
8888 | } | |
8889 | { | |
8890 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8891 | } | |
8892 | return resultobj; | |
8893 | fail: | |
8894 | return NULL; | |
8895 | } | |
8896 | ||
8897 | ||
8898 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8899 | PyObject *resultobj = 0; | |
8900 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8901 | wxColour *arg2 = 0 ; | |
8902 | bool result; | |
8903 | void *argp1 = 0 ; | |
8904 | int res1 = 0 ; | |
8905 | wxColour temp2 ; | |
8906 | PyObject * obj0 = 0 ; | |
8907 | PyObject * obj1 = 0 ; | |
8908 | char * kwnames[] = { | |
8909 | (char *) "self",(char *) "colour", NULL | |
8910 | }; | |
8911 | ||
8912 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginTextColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
8913 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8914 | if (!SWIG_IsOK(res1)) { | |
8915 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8916 | } | |
8917 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8918 | { | |
8919 | arg2 = &temp2; | |
8920 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8921 | } | |
8922 | { | |
8923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8924 | result = (bool)(arg1)->BeginTextColour((wxColour const &)*arg2); | |
8925 | wxPyEndAllowThreads(__tstate); | |
8926 | if (PyErr_Occurred()) SWIG_fail; | |
8927 | } | |
8928 | { | |
8929 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8930 | } | |
8931 | return resultobj; | |
8932 | fail: | |
8933 | return NULL; | |
8934 | } | |
8935 | ||
8936 | ||
8937 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8938 | PyObject *resultobj = 0; | |
8939 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8940 | bool result; | |
8941 | void *argp1 = 0 ; | |
8942 | int res1 = 0 ; | |
8943 | PyObject *swig_obj[1] ; | |
8944 | ||
8945 | if (!args) SWIG_fail; | |
8946 | swig_obj[0] = args; | |
8947 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8948 | if (!SWIG_IsOK(res1)) { | |
8949 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8950 | } | |
8951 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8952 | { | |
8953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8954 | result = (bool)(arg1)->EndTextColour(); | |
8955 | wxPyEndAllowThreads(__tstate); | |
8956 | if (PyErr_Occurred()) SWIG_fail; | |
8957 | } | |
8958 | { | |
8959 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8960 | } | |
8961 | return resultobj; | |
8962 | fail: | |
8963 | return NULL; | |
8964 | } | |
8965 | ||
8966 | ||
8967 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8968 | PyObject *resultobj = 0; | |
8969 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
8970 | wxTextAttrAlignment arg2 ; | |
8971 | bool result; | |
8972 | void *argp1 = 0 ; | |
8973 | int res1 = 0 ; | |
8974 | int val2 ; | |
8975 | int ecode2 = 0 ; | |
8976 | PyObject * obj0 = 0 ; | |
8977 | PyObject * obj1 = 0 ; | |
8978 | char * kwnames[] = { | |
8979 | (char *) "self",(char *) "alignment", NULL | |
8980 | }; | |
8981 | ||
8982 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginAlignment",kwnames,&obj0,&obj1)) SWIG_fail; | |
8983 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
8984 | if (!SWIG_IsOK(res1)) { | |
8985 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
8986 | } | |
8987 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
8988 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8989 | if (!SWIG_IsOK(ecode2)) { | |
8990 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); | |
8991 | } | |
8992 | arg2 = static_cast< wxTextAttrAlignment >(val2); | |
8993 | { | |
8994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8995 | result = (bool)(arg1)->BeginAlignment(arg2); | |
8996 | wxPyEndAllowThreads(__tstate); | |
8997 | if (PyErr_Occurred()) SWIG_fail; | |
8998 | } | |
8999 | { | |
9000 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9001 | } | |
9002 | return resultobj; | |
9003 | fail: | |
9004 | return NULL; | |
9005 | } | |
9006 | ||
9007 | ||
9008 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9009 | PyObject *resultobj = 0; | |
9010 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9011 | bool result; | |
9012 | void *argp1 = 0 ; | |
9013 | int res1 = 0 ; | |
9014 | PyObject *swig_obj[1] ; | |
9015 | ||
9016 | if (!args) SWIG_fail; | |
9017 | swig_obj[0] = args; | |
9018 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9019 | if (!SWIG_IsOK(res1)) { | |
9020 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9021 | } | |
9022 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9023 | { | |
9024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9025 | result = (bool)(arg1)->EndAlignment(); | |
9026 | wxPyEndAllowThreads(__tstate); | |
9027 | if (PyErr_Occurred()) SWIG_fail; | |
9028 | } | |
9029 | { | |
9030 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9031 | } | |
9032 | return resultobj; | |
9033 | fail: | |
9034 | return NULL; | |
9035 | } | |
9036 | ||
9037 | ||
9038 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9039 | PyObject *resultobj = 0; | |
9040 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9041 | int arg2 ; | |
9042 | int arg3 = (int) 0 ; | |
9043 | bool result; | |
9044 | void *argp1 = 0 ; | |
9045 | int res1 = 0 ; | |
9046 | int val2 ; | |
9047 | int ecode2 = 0 ; | |
9048 | int val3 ; | |
9049 | int ecode3 = 0 ; | |
9050 | PyObject * obj0 = 0 ; | |
9051 | PyObject * obj1 = 0 ; | |
9052 | PyObject * obj2 = 0 ; | |
9053 | char * kwnames[] = { | |
9054 | (char *) "self",(char *) "leftIndent",(char *) "leftSubIndent", NULL | |
9055 | }; | |
9056 | ||
9057 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_BeginLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9058 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9059 | if (!SWIG_IsOK(res1)) { | |
9060 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9061 | } | |
9062 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9063 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9064 | if (!SWIG_IsOK(ecode2)) { | |
9065 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "2"" of type '" "int""'"); | |
9066 | } | |
9067 | arg2 = static_cast< int >(val2); | |
9068 | if (obj2) { | |
9069 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
9070 | if (!SWIG_IsOK(ecode3)) { | |
9071 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "3"" of type '" "int""'"); | |
9072 | } | |
9073 | arg3 = static_cast< int >(val3); | |
9074 | } | |
9075 | { | |
9076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9077 | result = (bool)(arg1)->BeginLeftIndent(arg2,arg3); | |
9078 | wxPyEndAllowThreads(__tstate); | |
9079 | if (PyErr_Occurred()) SWIG_fail; | |
9080 | } | |
9081 | { | |
9082 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9083 | } | |
9084 | return resultobj; | |
9085 | fail: | |
9086 | return NULL; | |
9087 | } | |
9088 | ||
9089 | ||
9090 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9091 | PyObject *resultobj = 0; | |
9092 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9093 | bool result; | |
9094 | void *argp1 = 0 ; | |
9095 | int res1 = 0 ; | |
9096 | PyObject *swig_obj[1] ; | |
9097 | ||
9098 | if (!args) SWIG_fail; | |
9099 | swig_obj[0] = args; | |
9100 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9101 | if (!SWIG_IsOK(res1)) { | |
9102 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9103 | } | |
9104 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9105 | { | |
9106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9107 | result = (bool)(arg1)->EndLeftIndent(); | |
9108 | wxPyEndAllowThreads(__tstate); | |
9109 | if (PyErr_Occurred()) SWIG_fail; | |
9110 | } | |
9111 | { | |
9112 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9113 | } | |
9114 | return resultobj; | |
9115 | fail: | |
9116 | return NULL; | |
9117 | } | |
9118 | ||
9119 | ||
9120 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9121 | PyObject *resultobj = 0; | |
9122 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9123 | int arg2 ; | |
9124 | bool result; | |
9125 | void *argp1 = 0 ; | |
9126 | int res1 = 0 ; | |
9127 | int val2 ; | |
9128 | int ecode2 = 0 ; | |
9129 | PyObject * obj0 = 0 ; | |
9130 | PyObject * obj1 = 0 ; | |
9131 | char * kwnames[] = { | |
9132 | (char *) "self",(char *) "rightIndent", NULL | |
9133 | }; | |
9134 | ||
9135 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginRightIndent",kwnames,&obj0,&obj1)) SWIG_fail; | |
9136 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9137 | if (!SWIG_IsOK(res1)) { | |
9138 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9139 | } | |
9140 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9141 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9142 | if (!SWIG_IsOK(ecode2)) { | |
9143 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "2"" of type '" "int""'"); | |
9144 | } | |
9145 | arg2 = static_cast< int >(val2); | |
9146 | { | |
9147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9148 | result = (bool)(arg1)->BeginRightIndent(arg2); | |
9149 | wxPyEndAllowThreads(__tstate); | |
9150 | if (PyErr_Occurred()) SWIG_fail; | |
9151 | } | |
9152 | { | |
9153 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9154 | } | |
9155 | return resultobj; | |
9156 | fail: | |
9157 | return NULL; | |
9158 | } | |
9159 | ||
9160 | ||
9161 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9162 | PyObject *resultobj = 0; | |
9163 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9164 | bool result; | |
9165 | void *argp1 = 0 ; | |
9166 | int res1 = 0 ; | |
9167 | PyObject *swig_obj[1] ; | |
9168 | ||
9169 | if (!args) SWIG_fail; | |
9170 | swig_obj[0] = args; | |
9171 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9172 | if (!SWIG_IsOK(res1)) { | |
9173 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9174 | } | |
9175 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9176 | { | |
9177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9178 | result = (bool)(arg1)->EndRightIndent(); | |
9179 | wxPyEndAllowThreads(__tstate); | |
9180 | if (PyErr_Occurred()) SWIG_fail; | |
9181 | } | |
9182 | { | |
9183 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9184 | } | |
9185 | return resultobj; | |
9186 | fail: | |
9187 | return NULL; | |
9188 | } | |
9189 | ||
9190 | ||
9191 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginParagraphSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9192 | PyObject *resultobj = 0; | |
9193 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9194 | int arg2 ; | |
9195 | int arg3 ; | |
9196 | bool result; | |
9197 | void *argp1 = 0 ; | |
9198 | int res1 = 0 ; | |
9199 | int val2 ; | |
9200 | int ecode2 = 0 ; | |
9201 | int val3 ; | |
9202 | int ecode3 = 0 ; | |
9203 | PyObject * obj0 = 0 ; | |
9204 | PyObject * obj1 = 0 ; | |
9205 | PyObject * obj2 = 0 ; | |
9206 | char * kwnames[] = { | |
9207 | (char *) "self",(char *) "before",(char *) "after", NULL | |
9208 | }; | |
9209 | ||
9210 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_BeginParagraphSpacing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9211 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9212 | if (!SWIG_IsOK(res1)) { | |
9213 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9214 | } | |
9215 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9216 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9217 | if (!SWIG_IsOK(ecode2)) { | |
9218 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "2"" of type '" "int""'"); | |
9219 | } | |
9220 | arg2 = static_cast< int >(val2); | |
9221 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
9222 | if (!SWIG_IsOK(ecode3)) { | |
9223 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "3"" of type '" "int""'"); | |
9224 | } | |
9225 | arg3 = static_cast< int >(val3); | |
9226 | { | |
9227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9228 | result = (bool)(arg1)->BeginParagraphSpacing(arg2,arg3); | |
9229 | wxPyEndAllowThreads(__tstate); | |
9230 | if (PyErr_Occurred()) SWIG_fail; | |
9231 | } | |
9232 | { | |
9233 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9234 | } | |
9235 | return resultobj; | |
9236 | fail: | |
9237 | return NULL; | |
9238 | } | |
9239 | ||
9240 | ||
9241 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndParagraphSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9242 | PyObject *resultobj = 0; | |
9243 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9244 | bool result; | |
9245 | void *argp1 = 0 ; | |
9246 | int res1 = 0 ; | |
9247 | PyObject *swig_obj[1] ; | |
9248 | ||
9249 | if (!args) SWIG_fail; | |
9250 | swig_obj[0] = args; | |
9251 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9252 | if (!SWIG_IsOK(res1)) { | |
9253 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9254 | } | |
9255 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9256 | { | |
9257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9258 | result = (bool)(arg1)->EndParagraphSpacing(); | |
9259 | wxPyEndAllowThreads(__tstate); | |
9260 | if (PyErr_Occurred()) SWIG_fail; | |
9261 | } | |
9262 | { | |
9263 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9264 | } | |
9265 | return resultobj; | |
9266 | fail: | |
9267 | return NULL; | |
9268 | } | |
9269 | ||
9270 | ||
9271 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9272 | PyObject *resultobj = 0; | |
9273 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9274 | int arg2 ; | |
9275 | bool result; | |
9276 | void *argp1 = 0 ; | |
9277 | int res1 = 0 ; | |
9278 | int val2 ; | |
9279 | int ecode2 = 0 ; | |
9280 | PyObject * obj0 = 0 ; | |
9281 | PyObject * obj1 = 0 ; | |
9282 | char * kwnames[] = { | |
9283 | (char *) "self",(char *) "lineSpacing", NULL | |
9284 | }; | |
9285 | ||
9286 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail; | |
9287 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9288 | if (!SWIG_IsOK(res1)) { | |
9289 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9290 | } | |
9291 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9292 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9293 | if (!SWIG_IsOK(ecode2)) { | |
9294 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "2"" of type '" "int""'"); | |
9295 | } | |
9296 | arg2 = static_cast< int >(val2); | |
9297 | { | |
9298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9299 | result = (bool)(arg1)->BeginLineSpacing(arg2); | |
9300 | wxPyEndAllowThreads(__tstate); | |
9301 | if (PyErr_Occurred()) SWIG_fail; | |
9302 | } | |
9303 | { | |
9304 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9305 | } | |
9306 | return resultobj; | |
9307 | fail: | |
9308 | return NULL; | |
9309 | } | |
9310 | ||
9311 | ||
9312 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9313 | PyObject *resultobj = 0; | |
9314 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9315 | bool result; | |
9316 | void *argp1 = 0 ; | |
9317 | int res1 = 0 ; | |
9318 | PyObject *swig_obj[1] ; | |
9319 | ||
9320 | if (!args) SWIG_fail; | |
9321 | swig_obj[0] = args; | |
9322 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9323 | if (!SWIG_IsOK(res1)) { | |
9324 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9325 | } | |
9326 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9327 | { | |
9328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9329 | result = (bool)(arg1)->EndLineSpacing(); | |
9330 | wxPyEndAllowThreads(__tstate); | |
9331 | if (PyErr_Occurred()) SWIG_fail; | |
9332 | } | |
9333 | { | |
9334 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9335 | } | |
9336 | return resultobj; | |
9337 | fail: | |
9338 | return NULL; | |
9339 | } | |
9340 | ||
9341 | ||
9342 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginNumberedBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9343 | PyObject *resultobj = 0; | |
9344 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9345 | int arg2 ; | |
9346 | int arg3 ; | |
9347 | int arg4 ; | |
9348 | int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_ARABIC|wxTEXT_ATTR_BULLET_STYLE_PERIOD ; | |
9349 | bool result; | |
9350 | void *argp1 = 0 ; | |
9351 | int res1 = 0 ; | |
9352 | int val2 ; | |
9353 | int ecode2 = 0 ; | |
9354 | int val3 ; | |
9355 | int ecode3 = 0 ; | |
9356 | int val4 ; | |
9357 | int ecode4 = 0 ; | |
9358 | int val5 ; | |
9359 | int ecode5 = 0 ; | |
9360 | PyObject * obj0 = 0 ; | |
9361 | PyObject * obj1 = 0 ; | |
9362 | PyObject * obj2 = 0 ; | |
9363 | PyObject * obj3 = 0 ; | |
9364 | PyObject * obj4 = 0 ; | |
9365 | char * kwnames[] = { | |
9366 | (char *) "self",(char *) "bulletNumber",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL | |
9367 | }; | |
9368 | ||
9369 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextCtrl_BeginNumberedBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
9370 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9371 | if (!SWIG_IsOK(res1)) { | |
9372 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9373 | } | |
9374 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9375 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9376 | if (!SWIG_IsOK(ecode2)) { | |
9377 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "2"" of type '" "int""'"); | |
9378 | } | |
9379 | arg2 = static_cast< int >(val2); | |
9380 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
9381 | if (!SWIG_IsOK(ecode3)) { | |
9382 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "3"" of type '" "int""'"); | |
9383 | } | |
9384 | arg3 = static_cast< int >(val3); | |
9385 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
9386 | if (!SWIG_IsOK(ecode4)) { | |
9387 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "4"" of type '" "int""'"); | |
9388 | } | |
9389 | arg4 = static_cast< int >(val4); | |
9390 | if (obj4) { | |
9391 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
9392 | if (!SWIG_IsOK(ecode5)) { | |
9393 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "5"" of type '" "int""'"); | |
9394 | } | |
9395 | arg5 = static_cast< int >(val5); | |
9396 | } | |
9397 | { | |
9398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9399 | result = (bool)(arg1)->BeginNumberedBullet(arg2,arg3,arg4,arg5); | |
9400 | wxPyEndAllowThreads(__tstate); | |
9401 | if (PyErr_Occurred()) SWIG_fail; | |
9402 | } | |
9403 | { | |
9404 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9405 | } | |
9406 | return resultobj; | |
9407 | fail: | |
9408 | return NULL; | |
9409 | } | |
9410 | ||
9411 | ||
9412 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndNumberedBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9413 | PyObject *resultobj = 0; | |
9414 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9415 | bool result; | |
9416 | void *argp1 = 0 ; | |
9417 | int res1 = 0 ; | |
9418 | PyObject *swig_obj[1] ; | |
9419 | ||
9420 | if (!args) SWIG_fail; | |
9421 | swig_obj[0] = args; | |
9422 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9423 | if (!SWIG_IsOK(res1)) { | |
9424 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9425 | } | |
9426 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9427 | { | |
9428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9429 | result = (bool)(arg1)->EndNumberedBullet(); | |
9430 | wxPyEndAllowThreads(__tstate); | |
9431 | if (PyErr_Occurred()) SWIG_fail; | |
9432 | } | |
9433 | { | |
9434 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9435 | } | |
9436 | return resultobj; | |
9437 | fail: | |
9438 | return NULL; | |
9439 | } | |
9440 | ||
9441 | ||
9442 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginSymbolBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9443 | PyObject *resultobj = 0; | |
9444 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
70d7cb34 | 9445 | wxString *arg2 = 0 ; |
f05326ba RD |
9446 | int arg3 ; |
9447 | int arg4 ; | |
9448 | int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_SYMBOL ; | |
9449 | bool result; | |
9450 | void *argp1 = 0 ; | |
9451 | int res1 = 0 ; | |
70d7cb34 | 9452 | bool temp2 = false ; |
f05326ba RD |
9453 | int val3 ; |
9454 | int ecode3 = 0 ; | |
9455 | int val4 ; | |
9456 | int ecode4 = 0 ; | |
9457 | int val5 ; | |
9458 | int ecode5 = 0 ; | |
9459 | PyObject * obj0 = 0 ; | |
9460 | PyObject * obj1 = 0 ; | |
9461 | PyObject * obj2 = 0 ; | |
9462 | PyObject * obj3 = 0 ; | |
9463 | PyObject * obj4 = 0 ; | |
9464 | char * kwnames[] = { | |
9465 | (char *) "self",(char *) "symbol",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL | |
9466 | }; | |
9467 | ||
9468 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextCtrl_BeginSymbolBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
9469 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9470 | if (!SWIG_IsOK(res1)) { | |
9471 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9472 | } | |
9473 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
70d7cb34 RD |
9474 | { |
9475 | arg2 = wxString_in_helper(obj1); | |
9476 | if (arg2 == NULL) SWIG_fail; | |
9477 | temp2 = true; | |
9478 | } | |
f05326ba RD |
9479 | ecode3 = SWIG_AsVal_int(obj2, &val3); |
9480 | if (!SWIG_IsOK(ecode3)) { | |
9481 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "3"" of type '" "int""'"); | |
9482 | } | |
9483 | arg3 = static_cast< int >(val3); | |
9484 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
9485 | if (!SWIG_IsOK(ecode4)) { | |
9486 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "4"" of type '" "int""'"); | |
9487 | } | |
9488 | arg4 = static_cast< int >(val4); | |
9489 | if (obj4) { | |
9490 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
9491 | if (!SWIG_IsOK(ecode5)) { | |
9492 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "5"" of type '" "int""'"); | |
9493 | } | |
9494 | arg5 = static_cast< int >(val5); | |
9495 | } | |
9496 | { | |
9497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
70d7cb34 | 9498 | result = (bool)(arg1)->BeginSymbolBullet((wxString const &)*arg2,arg3,arg4,arg5); |
f05326ba RD |
9499 | wxPyEndAllowThreads(__tstate); |
9500 | if (PyErr_Occurred()) SWIG_fail; | |
9501 | } | |
9502 | { | |
9503 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9504 | } | |
70d7cb34 RD |
9505 | { |
9506 | if (temp2) | |
9507 | delete arg2; | |
9508 | } | |
f05326ba RD |
9509 | return resultobj; |
9510 | fail: | |
70d7cb34 RD |
9511 | { |
9512 | if (temp2) | |
9513 | delete arg2; | |
9514 | } | |
f05326ba RD |
9515 | return NULL; |
9516 | } | |
9517 | ||
9518 | ||
9519 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndSymbolBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9520 | PyObject *resultobj = 0; | |
9521 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9522 | bool result; | |
9523 | void *argp1 = 0 ; | |
9524 | int res1 = 0 ; | |
9525 | PyObject *swig_obj[1] ; | |
9526 | ||
9527 | if (!args) SWIG_fail; | |
9528 | swig_obj[0] = args; | |
9529 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9530 | if (!SWIG_IsOK(res1)) { | |
9531 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9532 | } | |
9533 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9534 | { | |
9535 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9536 | result = (bool)(arg1)->EndSymbolBullet(); | |
9537 | wxPyEndAllowThreads(__tstate); | |
9538 | if (PyErr_Occurred()) SWIG_fail; | |
9539 | } | |
9540 | { | |
9541 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9542 | } | |
9543 | return resultobj; | |
9544 | fail: | |
9545 | return NULL; | |
9546 | } | |
9547 | ||
9548 | ||
9549 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9550 | PyObject *resultobj = 0; | |
9551 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9552 | wxString *arg2 = 0 ; | |
9553 | bool result; | |
9554 | void *argp1 = 0 ; | |
9555 | int res1 = 0 ; | |
9556 | bool temp2 = false ; | |
9557 | PyObject * obj0 = 0 ; | |
9558 | PyObject * obj1 = 0 ; | |
9559 | char * kwnames[] = { | |
9560 | (char *) "self",(char *) "characterStyle", NULL | |
9561 | }; | |
9562 | ||
9563 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginCharacterStyle",kwnames,&obj0,&obj1)) SWIG_fail; | |
9564 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9565 | if (!SWIG_IsOK(res1)) { | |
9566 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9567 | } | |
9568 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9569 | { | |
9570 | arg2 = wxString_in_helper(obj1); | |
9571 | if (arg2 == NULL) SWIG_fail; | |
9572 | temp2 = true; | |
9573 | } | |
9574 | { | |
9575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9576 | result = (bool)(arg1)->BeginCharacterStyle((wxString const &)*arg2); | |
9577 | wxPyEndAllowThreads(__tstate); | |
9578 | if (PyErr_Occurred()) SWIG_fail; | |
9579 | } | |
9580 | { | |
9581 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9582 | } | |
9583 | { | |
9584 | if (temp2) | |
9585 | delete arg2; | |
9586 | } | |
9587 | return resultobj; | |
9588 | fail: | |
9589 | { | |
9590 | if (temp2) | |
9591 | delete arg2; | |
9592 | } | |
9593 | return NULL; | |
9594 | } | |
9595 | ||
9596 | ||
9597 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9598 | PyObject *resultobj = 0; | |
9599 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9600 | bool result; | |
9601 | void *argp1 = 0 ; | |
9602 | int res1 = 0 ; | |
9603 | PyObject *swig_obj[1] ; | |
9604 | ||
9605 | if (!args) SWIG_fail; | |
9606 | swig_obj[0] = args; | |
9607 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9608 | if (!SWIG_IsOK(res1)) { | |
9609 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9610 | } | |
9611 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9612 | { | |
9613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9614 | result = (bool)(arg1)->EndCharacterStyle(); | |
9615 | wxPyEndAllowThreads(__tstate); | |
9616 | if (PyErr_Occurred()) SWIG_fail; | |
9617 | } | |
9618 | { | |
9619 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9620 | } | |
9621 | return resultobj; | |
9622 | fail: | |
9623 | return NULL; | |
9624 | } | |
9625 | ||
9626 | ||
9627 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9628 | PyObject *resultobj = 0; | |
9629 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9630 | wxString *arg2 = 0 ; | |
9631 | bool result; | |
9632 | void *argp1 = 0 ; | |
9633 | int res1 = 0 ; | |
9634 | bool temp2 = false ; | |
9635 | PyObject * obj0 = 0 ; | |
9636 | PyObject * obj1 = 0 ; | |
9637 | char * kwnames[] = { | |
9638 | (char *) "self",(char *) "paragraphStyle", NULL | |
9639 | }; | |
9640 | ||
9641 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginParagraphStyle",kwnames,&obj0,&obj1)) SWIG_fail; | |
9642 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9643 | if (!SWIG_IsOK(res1)) { | |
9644 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9645 | } | |
9646 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9647 | { | |
9648 | arg2 = wxString_in_helper(obj1); | |
9649 | if (arg2 == NULL) SWIG_fail; | |
9650 | temp2 = true; | |
9651 | } | |
9652 | { | |
9653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9654 | result = (bool)(arg1)->BeginParagraphStyle((wxString const &)*arg2); | |
9655 | wxPyEndAllowThreads(__tstate); | |
9656 | if (PyErr_Occurred()) SWIG_fail; | |
9657 | } | |
9658 | { | |
9659 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9660 | } | |
9661 | { | |
9662 | if (temp2) | |
9663 | delete arg2; | |
9664 | } | |
9665 | return resultobj; | |
9666 | fail: | |
9667 | { | |
9668 | if (temp2) | |
9669 | delete arg2; | |
9670 | } | |
9671 | return NULL; | |
9672 | } | |
9673 | ||
9674 | ||
9675 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9676 | PyObject *resultobj = 0; | |
9677 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9678 | bool result; | |
9679 | void *argp1 = 0 ; | |
9680 | int res1 = 0 ; | |
9681 | PyObject *swig_obj[1] ; | |
9682 | ||
9683 | if (!args) SWIG_fail; | |
9684 | swig_obj[0] = args; | |
9685 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9686 | if (!SWIG_IsOK(res1)) { | |
9687 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9688 | } | |
9689 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9690 | { | |
9691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9692 | result = (bool)(arg1)->EndParagraphStyle(); | |
9693 | wxPyEndAllowThreads(__tstate); | |
9694 | if (PyErr_Occurred()) SWIG_fail; | |
9695 | } | |
9696 | { | |
9697 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9698 | } | |
9699 | return resultobj; | |
9700 | fail: | |
9701 | return NULL; | |
9702 | } | |
9703 | ||
9704 | ||
70d7cb34 RD |
9705 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9706 | PyObject *resultobj = 0; | |
9707 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9708 | wxString *arg2 = 0 ; | |
9709 | int arg3 = (int) 1 ; | |
9710 | int arg4 = (int) 1 ; | |
9711 | bool result; | |
9712 | void *argp1 = 0 ; | |
9713 | int res1 = 0 ; | |
9714 | bool temp2 = false ; | |
9715 | int val3 ; | |
9716 | int ecode3 = 0 ; | |
9717 | int val4 ; | |
9718 | int ecode4 = 0 ; | |
9719 | PyObject * obj0 = 0 ; | |
9720 | PyObject * obj1 = 0 ; | |
9721 | PyObject * obj2 = 0 ; | |
9722 | PyObject * obj3 = 0 ; | |
9723 | char * kwnames[] = { | |
9724 | (char *) "self",(char *) "listStyle",(char *) "level",(char *) "number", NULL | |
9725 | }; | |
9726 | ||
9727 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:RichTextCtrl_BeginListStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
9728 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9729 | if (!SWIG_IsOK(res1)) { | |
9730 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginListStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9731 | } | |
9732 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9733 | { | |
9734 | arg2 = wxString_in_helper(obj1); | |
9735 | if (arg2 == NULL) SWIG_fail; | |
9736 | temp2 = true; | |
9737 | } | |
9738 | if (obj2) { | |
9739 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
9740 | if (!SWIG_IsOK(ecode3)) { | |
9741 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginListStyle" "', expected argument " "3"" of type '" "int""'"); | |
9742 | } | |
9743 | arg3 = static_cast< int >(val3); | |
9744 | } | |
9745 | if (obj3) { | |
9746 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
9747 | if (!SWIG_IsOK(ecode4)) { | |
9748 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_BeginListStyle" "', expected argument " "4"" of type '" "int""'"); | |
9749 | } | |
9750 | arg4 = static_cast< int >(val4); | |
9751 | } | |
9752 | { | |
9753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9754 | result = (bool)(arg1)->BeginListStyle((wxString const &)*arg2,arg3,arg4); | |
9755 | wxPyEndAllowThreads(__tstate); | |
9756 | if (PyErr_Occurred()) SWIG_fail; | |
9757 | } | |
9758 | { | |
9759 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9760 | } | |
9761 | { | |
9762 | if (temp2) | |
9763 | delete arg2; | |
9764 | } | |
9765 | return resultobj; | |
9766 | fail: | |
9767 | { | |
9768 | if (temp2) | |
9769 | delete arg2; | |
9770 | } | |
9771 | return NULL; | |
9772 | } | |
9773 | ||
9774 | ||
9775 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9776 | PyObject *resultobj = 0; | |
9777 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9778 | bool result; | |
9779 | void *argp1 = 0 ; | |
9780 | int res1 = 0 ; | |
9781 | PyObject *swig_obj[1] ; | |
9782 | ||
9783 | if (!args) SWIG_fail; | |
9784 | swig_obj[0] = args; | |
9785 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9786 | if (!SWIG_IsOK(res1)) { | |
9787 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndListStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9788 | } | |
9789 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9790 | { | |
9791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9792 | result = (bool)(arg1)->EndListStyle(); | |
9793 | wxPyEndAllowThreads(__tstate); | |
9794 | if (PyErr_Occurred()) SWIG_fail; | |
9795 | } | |
9796 | { | |
9797 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9798 | } | |
9799 | return resultobj; | |
9800 | fail: | |
9801 | return NULL; | |
9802 | } | |
9803 | ||
9804 | ||
9805 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9806 | PyObject *resultobj = 0; | |
9807 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9808 | wxString *arg2 = 0 ; | |
9809 | wxString const &arg3_defvalue = wxEmptyString ; | |
9810 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
9811 | bool result; | |
9812 | void *argp1 = 0 ; | |
9813 | int res1 = 0 ; | |
9814 | bool temp2 = false ; | |
9815 | bool temp3 = false ; | |
9816 | PyObject * obj0 = 0 ; | |
9817 | PyObject * obj1 = 0 ; | |
9818 | PyObject * obj2 = 0 ; | |
9819 | char * kwnames[] = { | |
9820 | (char *) "self",(char *) "url",(char *) "characterStyle", NULL | |
9821 | }; | |
9822 | ||
9823 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_BeginURL",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9824 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9825 | if (!SWIG_IsOK(res1)) { | |
9826 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginURL" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9827 | } | |
9828 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9829 | { | |
9830 | arg2 = wxString_in_helper(obj1); | |
9831 | if (arg2 == NULL) SWIG_fail; | |
9832 | temp2 = true; | |
9833 | } | |
9834 | if (obj2) { | |
9835 | { | |
9836 | arg3 = wxString_in_helper(obj2); | |
9837 | if (arg3 == NULL) SWIG_fail; | |
9838 | temp3 = true; | |
9839 | } | |
9840 | } | |
9841 | { | |
9842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9843 | result = (bool)(arg1)->BeginURL((wxString const &)*arg2,(wxString const &)*arg3); | |
9844 | wxPyEndAllowThreads(__tstate); | |
9845 | if (PyErr_Occurred()) SWIG_fail; | |
9846 | } | |
9847 | { | |
9848 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9849 | } | |
9850 | { | |
9851 | if (temp2) | |
9852 | delete arg2; | |
9853 | } | |
9854 | { | |
9855 | if (temp3) | |
9856 | delete arg3; | |
9857 | } | |
9858 | return resultobj; | |
9859 | fail: | |
9860 | { | |
9861 | if (temp2) | |
9862 | delete arg2; | |
9863 | } | |
9864 | { | |
9865 | if (temp3) | |
9866 | delete arg3; | |
9867 | } | |
9868 | return NULL; | |
9869 | } | |
9870 | ||
9871 | ||
9872 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9873 | PyObject *resultobj = 0; | |
9874 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9875 | bool result; | |
9876 | void *argp1 = 0 ; | |
9877 | int res1 = 0 ; | |
9878 | PyObject *swig_obj[1] ; | |
9879 | ||
9880 | if (!args) SWIG_fail; | |
9881 | swig_obj[0] = args; | |
9882 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9883 | if (!SWIG_IsOK(res1)) { | |
9884 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndURL" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9885 | } | |
9886 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9887 | { | |
9888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9889 | result = (bool)(arg1)->EndURL(); | |
9890 | wxPyEndAllowThreads(__tstate); | |
9891 | if (PyErr_Occurred()) SWIG_fail; | |
9892 | } | |
9893 | { | |
9894 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9895 | } | |
9896 | return resultobj; | |
9897 | fail: | |
9898 | return NULL; | |
9899 | } | |
9900 | ||
9901 | ||
f05326ba RD |
9902 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9903 | PyObject *resultobj = 0; | |
9904 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9905 | bool result; | |
9906 | void *argp1 = 0 ; | |
9907 | int res1 = 0 ; | |
9908 | PyObject *swig_obj[1] ; | |
9909 | ||
9910 | if (!args) SWIG_fail; | |
9911 | swig_obj[0] = args; | |
9912 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9913 | if (!SWIG_IsOK(res1)) { | |
9914 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetDefaultStyleToCursorStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9915 | } | |
9916 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9917 | { | |
9918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9919 | result = (bool)(arg1)->SetDefaultStyleToCursorStyle(); | |
9920 | wxPyEndAllowThreads(__tstate); | |
9921 | if (PyErr_Occurred()) SWIG_fail; | |
9922 | } | |
9923 | { | |
9924 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9925 | } | |
9926 | return resultobj; | |
9927 | fail: | |
9928 | return NULL; | |
9929 | } | |
9930 | ||
9931 | ||
9932 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SelectNone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9933 | PyObject *resultobj = 0; | |
9934 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9935 | void *argp1 = 0 ; | |
9936 | int res1 = 0 ; | |
9937 | PyObject *swig_obj[1] ; | |
9938 | ||
9939 | if (!args) SWIG_fail; | |
9940 | swig_obj[0] = args; | |
9941 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9942 | if (!SWIG_IsOK(res1)) { | |
9943 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SelectNone" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9944 | } | |
9945 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9946 | { | |
9947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9948 | (arg1)->SelectNone(); | |
9949 | wxPyEndAllowThreads(__tstate); | |
9950 | if (PyErr_Occurred()) SWIG_fail; | |
9951 | } | |
9952 | resultobj = SWIG_Py_Void(); | |
9953 | return resultobj; | |
9954 | fail: | |
9955 | return NULL; | |
9956 | } | |
9957 | ||
9958 | ||
c2829a8f RD |
9959 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9960 | PyObject *resultobj = 0; | |
9961 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
9962 | long arg2 ; | |
9963 | bool result; | |
9964 | void *argp1 = 0 ; | |
9965 | int res1 = 0 ; | |
9966 | long val2 ; | |
9967 | int ecode2 = 0 ; | |
9968 | PyObject * obj0 = 0 ; | |
9969 | PyObject * obj1 = 0 ; | |
9970 | char * kwnames[] = { | |
9971 | (char *) "self",(char *) "position", NULL | |
9972 | }; | |
9973 | ||
9974 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail; | |
9975 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
9976 | if (!SWIG_IsOK(res1)) { | |
9977 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SelectWord" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
9978 | } | |
9979 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
9980 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
9981 | if (!SWIG_IsOK(ecode2)) { | |
9982 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SelectWord" "', expected argument " "2"" of type '" "long""'"); | |
9983 | } | |
9984 | arg2 = static_cast< long >(val2); | |
9985 | { | |
9986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9987 | result = (bool)(arg1)->SelectWord(arg2); | |
9988 | wxPyEndAllowThreads(__tstate); | |
9989 | if (PyErr_Occurred()) SWIG_fail; | |
9990 | } | |
9991 | { | |
9992 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9993 | } | |
9994 | return resultobj; | |
9995 | fail: | |
9996 | return NULL; | |
9997 | } | |
9998 | ||
9999 | ||
f05326ba RD |
10000 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetSelectionRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10001 | PyObject *resultobj = 0; | |
10002 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
79df624a | 10003 | wxRichTextRange result; |
f05326ba RD |
10004 | void *argp1 = 0 ; |
10005 | int res1 = 0 ; | |
10006 | PyObject *swig_obj[1] ; | |
10007 | ||
10008 | if (!args) SWIG_fail; | |
10009 | swig_obj[0] = args; | |
10010 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10011 | if (!SWIG_IsOK(res1)) { | |
10012 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
10013 | } | |
10014 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10015 | { | |
10016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
79df624a | 10017 | result = ((wxRichTextCtrl const *)arg1)->GetSelectionRange(); |
f05326ba RD |
10018 | wxPyEndAllowThreads(__tstate); |
10019 | if (PyErr_Occurred()) SWIG_fail; | |
10020 | } | |
79df624a | 10021 | resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 ); |
f05326ba RD |
10022 | return resultobj; |
10023 | fail: | |
10024 | return NULL; | |
10025 | } | |
10026 | ||
10027 | ||
10028 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SetSelectionRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10029 | PyObject *resultobj = 0; | |
10030 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10031 | wxRichTextRange *arg2 = 0 ; | |
10032 | void *argp1 = 0 ; | |
10033 | int res1 = 0 ; | |
10034 | wxRichTextRange temp2 ; | |
10035 | PyObject * obj0 = 0 ; | |
10036 | PyObject * obj1 = 0 ; | |
10037 | char * kwnames[] = { | |
10038 | (char *) "self",(char *) "range", NULL | |
10039 | }; | |
10040 | ||
10041 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetSelectionRange",kwnames,&obj0,&obj1)) SWIG_fail; | |
10042 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10043 | if (!SWIG_IsOK(res1)) { | |
10044 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10045 | } | |
10046 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10047 | { | |
10048 | arg2 = &temp2; | |
10049 | if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail; | |
10050 | } | |
10051 | { | |
10052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10053 | (arg1)->SetSelectionRange((wxRichTextRange const &)*arg2); | |
10054 | wxPyEndAllowThreads(__tstate); | |
10055 | if (PyErr_Occurred()) SWIG_fail; | |
10056 | } | |
10057 | resultobj = SWIG_Py_Void(); | |
10058 | return resultobj; | |
10059 | fail: | |
10060 | return NULL; | |
10061 | } | |
10062 | ||
10063 | ||
79df624a RD |
10064 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetInternalSelectionRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10065 | PyObject *resultobj = 0; | |
10066 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10067 | wxRichTextRange *result = 0 ; | |
10068 | void *argp1 = 0 ; | |
10069 | int res1 = 0 ; | |
10070 | PyObject *swig_obj[1] ; | |
10071 | ||
10072 | if (!args) SWIG_fail; | |
10073 | swig_obj[0] = args; | |
10074 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10075 | if (!SWIG_IsOK(res1)) { | |
10076 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetInternalSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
10077 | } | |
10078 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10079 | { | |
10080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10081 | { | |
10082 | wxRichTextRange const &_result_ref = ((wxRichTextCtrl const *)arg1)->GetInternalSelectionRange(); | |
10083 | result = (wxRichTextRange *) &_result_ref; | |
10084 | } | |
10085 | wxPyEndAllowThreads(__tstate); | |
10086 | if (PyErr_Occurred()) SWIG_fail; | |
10087 | } | |
10088 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextRange, 0 | 0 ); | |
10089 | return resultobj; | |
10090 | fail: | |
10091 | return NULL; | |
10092 | } | |
10093 | ||
10094 | ||
10095 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SetInternalSelectionRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10096 | PyObject *resultobj = 0; | |
10097 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10098 | wxRichTextRange *arg2 = 0 ; | |
10099 | void *argp1 = 0 ; | |
10100 | int res1 = 0 ; | |
10101 | wxRichTextRange temp2 ; | |
10102 | PyObject * obj0 = 0 ; | |
10103 | PyObject * obj1 = 0 ; | |
10104 | char * kwnames[] = { | |
10105 | (char *) "self",(char *) "range", NULL | |
10106 | }; | |
10107 | ||
10108 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetInternalSelectionRange",kwnames,&obj0,&obj1)) SWIG_fail; | |
10109 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10110 | if (!SWIG_IsOK(res1)) { | |
10111 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetInternalSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10112 | } | |
10113 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10114 | { | |
10115 | arg2 = &temp2; | |
10116 | if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail; | |
10117 | } | |
10118 | { | |
10119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10120 | (arg1)->SetInternalSelectionRange((wxRichTextRange const &)*arg2); | |
10121 | wxPyEndAllowThreads(__tstate); | |
10122 | if (PyErr_Occurred()) SWIG_fail; | |
10123 | } | |
10124 | resultobj = SWIG_Py_Void(); | |
10125 | return resultobj; | |
10126 | fail: | |
10127 | return NULL; | |
10128 | } | |
10129 | ||
10130 | ||
f05326ba RD |
10131 | SWIGINTERN PyObject *_wrap_RichTextCtrl_AddParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10132 | PyObject *resultobj = 0; | |
10133 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10134 | wxString *arg2 = 0 ; | |
10135 | wxRichTextRange result; | |
10136 | void *argp1 = 0 ; | |
10137 | int res1 = 0 ; | |
10138 | bool temp2 = false ; | |
10139 | PyObject * obj0 = 0 ; | |
10140 | PyObject * obj1 = 0 ; | |
10141 | char * kwnames[] = { | |
10142 | (char *) "self",(char *) "text", NULL | |
10143 | }; | |
10144 | ||
10145 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_AddParagraph",kwnames,&obj0,&obj1)) SWIG_fail; | |
10146 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10147 | if (!SWIG_IsOK(res1)) { | |
10148 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_AddParagraph" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10149 | } | |
10150 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10151 | { | |
10152 | arg2 = wxString_in_helper(obj1); | |
10153 | if (arg2 == NULL) SWIG_fail; | |
10154 | temp2 = true; | |
10155 | } | |
10156 | { | |
10157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10158 | result = (arg1)->AddParagraph((wxString const &)*arg2); | |
10159 | wxPyEndAllowThreads(__tstate); | |
10160 | if (PyErr_Occurred()) SWIG_fail; | |
10161 | } | |
10162 | resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 ); | |
10163 | { | |
10164 | if (temp2) | |
10165 | delete arg2; | |
10166 | } | |
10167 | return resultobj; | |
10168 | fail: | |
10169 | { | |
10170 | if (temp2) | |
10171 | delete arg2; | |
10172 | } | |
10173 | return NULL; | |
10174 | } | |
10175 | ||
10176 | ||
10177 | SWIGINTERN PyObject *_wrap_RichTextCtrl_AddImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10178 | PyObject *resultobj = 0; | |
10179 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10180 | wxImage *arg2 = 0 ; | |
10181 | wxRichTextRange result; | |
10182 | void *argp1 = 0 ; | |
10183 | int res1 = 0 ; | |
10184 | void *argp2 = 0 ; | |
10185 | int res2 = 0 ; | |
10186 | PyObject * obj0 = 0 ; | |
10187 | PyObject * obj1 = 0 ; | |
10188 | char * kwnames[] = { | |
10189 | (char *) "self",(char *) "image", NULL | |
10190 | }; | |
10191 | ||
10192 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_AddImage",kwnames,&obj0,&obj1)) SWIG_fail; | |
10193 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10194 | if (!SWIG_IsOK(res1)) { | |
10195 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_AddImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10196 | } | |
10197 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10198 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxImage, 0 | 0); | |
10199 | if (!SWIG_IsOK(res2)) { | |
10200 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'"); | |
10201 | } | |
10202 | if (!argp2) { | |
10203 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'"); | |
10204 | } | |
10205 | arg2 = reinterpret_cast< wxImage * >(argp2); | |
10206 | { | |
10207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10208 | result = (arg1)->AddImage((wxImage const &)*arg2); | |
10209 | wxPyEndAllowThreads(__tstate); | |
10210 | if (PyErr_Occurred()) SWIG_fail; | |
10211 | } | |
10212 | resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 ); | |
10213 | return resultobj; | |
10214 | fail: | |
10215 | return NULL; | |
10216 | } | |
10217 | ||
10218 | ||
10219 | SWIGINTERN PyObject *_wrap_RichTextCtrl_LayoutContent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10220 | PyObject *resultobj = 0; | |
10221 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10222 | bool arg2 = (bool) false ; | |
10223 | bool result; | |
10224 | void *argp1 = 0 ; | |
10225 | int res1 = 0 ; | |
10226 | bool val2 ; | |
10227 | int ecode2 = 0 ; | |
10228 | PyObject * obj0 = 0 ; | |
10229 | PyObject * obj1 = 0 ; | |
10230 | char * kwnames[] = { | |
10231 | (char *) "self",(char *) "onlyVisibleRect", NULL | |
10232 | }; | |
10233 | ||
10234 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_LayoutContent",kwnames,&obj0,&obj1)) SWIG_fail; | |
10235 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10236 | if (!SWIG_IsOK(res1)) { | |
10237 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10238 | } | |
10239 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10240 | if (obj1) { | |
10241 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
10242 | if (!SWIG_IsOK(ecode2)) { | |
10243 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "2"" of type '" "bool""'"); | |
10244 | } | |
10245 | arg2 = static_cast< bool >(val2); | |
10246 | } | |
10247 | { | |
10248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10249 | result = (bool)(arg1)->LayoutContent(arg2); | |
10250 | wxPyEndAllowThreads(__tstate); | |
10251 | if (PyErr_Occurred()) SWIG_fail; | |
10252 | } | |
10253 | { | |
10254 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10255 | } | |
10256 | return resultobj; | |
10257 | fail: | |
10258 | return NULL; | |
10259 | } | |
10260 | ||
10261 | ||
10262 | SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10263 | PyObject *resultobj = 0; | |
10264 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10265 | long arg2 ; | |
10266 | bool arg3 = (bool) false ; | |
10267 | bool result; | |
10268 | void *argp1 = 0 ; | |
10269 | int res1 = 0 ; | |
10270 | long val2 ; | |
10271 | int ecode2 = 0 ; | |
10272 | bool val3 ; | |
10273 | int ecode3 = 0 ; | |
10274 | PyObject * obj0 = 0 ; | |
10275 | PyObject * obj1 = 0 ; | |
10276 | PyObject * obj2 = 0 ; | |
10277 | char * kwnames[] = { | |
10278 | (char *) "self",(char *) "pos",(char *) "showAtLineStart", NULL | |
10279 | }; | |
10280 | ||
10281 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_MoveCaret",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10282 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10283 | if (!SWIG_IsOK(res1)) { | |
10284 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10285 | } | |
10286 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10287 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
10288 | if (!SWIG_IsOK(ecode2)) { | |
10289 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "2"" of type '" "long""'"); | |
10290 | } | |
10291 | arg2 = static_cast< long >(val2); | |
10292 | if (obj2) { | |
10293 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
10294 | if (!SWIG_IsOK(ecode3)) { | |
10295 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "3"" of type '" "bool""'"); | |
10296 | } | |
10297 | arg3 = static_cast< bool >(val3); | |
10298 | } | |
10299 | { | |
10300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10301 | result = (bool)(arg1)->MoveCaret(arg2,arg3); | |
10302 | wxPyEndAllowThreads(__tstate); | |
10303 | if (PyErr_Occurred()) SWIG_fail; | |
10304 | } | |
10305 | { | |
10306 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10307 | } | |
10308 | return resultobj; | |
10309 | fail: | |
10310 | return NULL; | |
10311 | } | |
10312 | ||
10313 | ||
10314 | SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10315 | PyObject *resultobj = 0; | |
10316 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10317 | int arg2 = (int) 1 ; | |
10318 | int arg3 = (int) 0 ; | |
10319 | bool result; | |
10320 | void *argp1 = 0 ; | |
10321 | int res1 = 0 ; | |
10322 | int val2 ; | |
10323 | int ecode2 = 0 ; | |
10324 | int val3 ; | |
10325 | int ecode3 = 0 ; | |
10326 | PyObject * obj0 = 0 ; | |
10327 | PyObject * obj1 = 0 ; | |
10328 | PyObject * obj2 = 0 ; | |
10329 | char * kwnames[] = { | |
10330 | (char *) "self",(char *) "noPositions",(char *) "flags", NULL | |
10331 | }; | |
10332 | ||
10333 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveRight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10334 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10335 | if (!SWIG_IsOK(res1)) { | |
10336 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10337 | } | |
10338 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10339 | if (obj1) { | |
10340 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10341 | if (!SWIG_IsOK(ecode2)) { | |
10342 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "2"" of type '" "int""'"); | |
10343 | } | |
10344 | arg2 = static_cast< int >(val2); | |
10345 | } | |
10346 | if (obj2) { | |
10347 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10348 | if (!SWIG_IsOK(ecode3)) { | |
10349 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "3"" of type '" "int""'"); | |
10350 | } | |
10351 | arg3 = static_cast< int >(val3); | |
10352 | } | |
10353 | { | |
10354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10355 | result = (bool)(arg1)->MoveRight(arg2,arg3); | |
10356 | wxPyEndAllowThreads(__tstate); | |
10357 | if (PyErr_Occurred()) SWIG_fail; | |
10358 | } | |
10359 | { | |
10360 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10361 | } | |
10362 | return resultobj; | |
10363 | fail: | |
10364 | return NULL; | |
10365 | } | |
10366 | ||
10367 | ||
10368 | SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10369 | PyObject *resultobj = 0; | |
10370 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10371 | int arg2 = (int) 1 ; | |
10372 | int arg3 = (int) 0 ; | |
10373 | bool result; | |
10374 | void *argp1 = 0 ; | |
10375 | int res1 = 0 ; | |
10376 | int val2 ; | |
10377 | int ecode2 = 0 ; | |
10378 | int val3 ; | |
10379 | int ecode3 = 0 ; | |
10380 | PyObject * obj0 = 0 ; | |
10381 | PyObject * obj1 = 0 ; | |
10382 | PyObject * obj2 = 0 ; | |
10383 | char * kwnames[] = { | |
10384 | (char *) "self",(char *) "noPositions",(char *) "flags", NULL | |
10385 | }; | |
10386 | ||
10387 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveLeft",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10388 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10389 | if (!SWIG_IsOK(res1)) { | |
10390 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10391 | } | |
10392 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10393 | if (obj1) { | |
10394 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10395 | if (!SWIG_IsOK(ecode2)) { | |
10396 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "2"" of type '" "int""'"); | |
10397 | } | |
10398 | arg2 = static_cast< int >(val2); | |
10399 | } | |
10400 | if (obj2) { | |
10401 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10402 | if (!SWIG_IsOK(ecode3)) { | |
10403 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "3"" of type '" "int""'"); | |
10404 | } | |
10405 | arg3 = static_cast< int >(val3); | |
10406 | } | |
10407 | { | |
10408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10409 | result = (bool)(arg1)->MoveLeft(arg2,arg3); | |
10410 | wxPyEndAllowThreads(__tstate); | |
10411 | if (PyErr_Occurred()) SWIG_fail; | |
10412 | } | |
10413 | { | |
10414 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10415 | } | |
10416 | return resultobj; | |
10417 | fail: | |
10418 | return NULL; | |
10419 | } | |
10420 | ||
10421 | ||
10422 | SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10423 | PyObject *resultobj = 0; | |
10424 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10425 | int arg2 = (int) 1 ; | |
10426 | int arg3 = (int) 0 ; | |
10427 | bool result; | |
10428 | void *argp1 = 0 ; | |
10429 | int res1 = 0 ; | |
10430 | int val2 ; | |
10431 | int ecode2 = 0 ; | |
10432 | int val3 ; | |
10433 | int ecode3 = 0 ; | |
10434 | PyObject * obj0 = 0 ; | |
10435 | PyObject * obj1 = 0 ; | |
10436 | PyObject * obj2 = 0 ; | |
10437 | char * kwnames[] = { | |
10438 | (char *) "self",(char *) "noLines",(char *) "flags", NULL | |
10439 | }; | |
10440 | ||
10441 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveUp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10442 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10443 | if (!SWIG_IsOK(res1)) { | |
10444 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10445 | } | |
10446 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10447 | if (obj1) { | |
10448 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10449 | if (!SWIG_IsOK(ecode2)) { | |
10450 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "2"" of type '" "int""'"); | |
10451 | } | |
10452 | arg2 = static_cast< int >(val2); | |
10453 | } | |
10454 | if (obj2) { | |
10455 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10456 | if (!SWIG_IsOK(ecode3)) { | |
10457 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "3"" of type '" "int""'"); | |
10458 | } | |
10459 | arg3 = static_cast< int >(val3); | |
10460 | } | |
10461 | { | |
10462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10463 | result = (bool)(arg1)->MoveUp(arg2,arg3); | |
10464 | wxPyEndAllowThreads(__tstate); | |
10465 | if (PyErr_Occurred()) SWIG_fail; | |
10466 | } | |
10467 | { | |
10468 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10469 | } | |
10470 | return resultobj; | |
10471 | fail: | |
10472 | return NULL; | |
10473 | } | |
10474 | ||
10475 | ||
10476 | SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10477 | PyObject *resultobj = 0; | |
10478 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10479 | int arg2 = (int) 1 ; | |
10480 | int arg3 = (int) 0 ; | |
10481 | bool result; | |
10482 | void *argp1 = 0 ; | |
10483 | int res1 = 0 ; | |
10484 | int val2 ; | |
10485 | int ecode2 = 0 ; | |
10486 | int val3 ; | |
10487 | int ecode3 = 0 ; | |
10488 | PyObject * obj0 = 0 ; | |
10489 | PyObject * obj1 = 0 ; | |
10490 | PyObject * obj2 = 0 ; | |
10491 | char * kwnames[] = { | |
10492 | (char *) "self",(char *) "noLines",(char *) "flags", NULL | |
10493 | }; | |
10494 | ||
10495 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveDown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10496 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10497 | if (!SWIG_IsOK(res1)) { | |
10498 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10499 | } | |
10500 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10501 | if (obj1) { | |
10502 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10503 | if (!SWIG_IsOK(ecode2)) { | |
10504 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "2"" of type '" "int""'"); | |
10505 | } | |
10506 | arg2 = static_cast< int >(val2); | |
10507 | } | |
10508 | if (obj2) { | |
10509 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10510 | if (!SWIG_IsOK(ecode3)) { | |
10511 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "3"" of type '" "int""'"); | |
10512 | } | |
10513 | arg3 = static_cast< int >(val3); | |
10514 | } | |
10515 | { | |
10516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10517 | result = (bool)(arg1)->MoveDown(arg2,arg3); | |
10518 | wxPyEndAllowThreads(__tstate); | |
10519 | if (PyErr_Occurred()) SWIG_fail; | |
10520 | } | |
10521 | { | |
10522 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10523 | } | |
10524 | return resultobj; | |
10525 | fail: | |
10526 | return NULL; | |
10527 | } | |
10528 | ||
10529 | ||
10530 | SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToLineEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10531 | PyObject *resultobj = 0; | |
10532 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10533 | int arg2 = (int) 0 ; | |
10534 | bool result; | |
10535 | void *argp1 = 0 ; | |
10536 | int res1 = 0 ; | |
10537 | int val2 ; | |
10538 | int ecode2 = 0 ; | |
10539 | PyObject * obj0 = 0 ; | |
10540 | PyObject * obj1 = 0 ; | |
10541 | char * kwnames[] = { | |
10542 | (char *) "self",(char *) "flags", NULL | |
10543 | }; | |
10544 | ||
10545 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToLineEnd",kwnames,&obj0,&obj1)) SWIG_fail; | |
10546 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10547 | if (!SWIG_IsOK(res1)) { | |
10548 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10549 | } | |
10550 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10551 | if (obj1) { | |
10552 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10553 | if (!SWIG_IsOK(ecode2)) { | |
10554 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "2"" of type '" "int""'"); | |
10555 | } | |
10556 | arg2 = static_cast< int >(val2); | |
10557 | } | |
10558 | { | |
10559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10560 | result = (bool)(arg1)->MoveToLineEnd(arg2); | |
10561 | wxPyEndAllowThreads(__tstate); | |
10562 | if (PyErr_Occurred()) SWIG_fail; | |
10563 | } | |
10564 | { | |
10565 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10566 | } | |
10567 | return resultobj; | |
10568 | fail: | |
10569 | return NULL; | |
10570 | } | |
10571 | ||
10572 | ||
10573 | SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToLineStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10574 | PyObject *resultobj = 0; | |
10575 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10576 | int arg2 = (int) 0 ; | |
10577 | bool result; | |
10578 | void *argp1 = 0 ; | |
10579 | int res1 = 0 ; | |
10580 | int val2 ; | |
10581 | int ecode2 = 0 ; | |
10582 | PyObject * obj0 = 0 ; | |
10583 | PyObject * obj1 = 0 ; | |
10584 | char * kwnames[] = { | |
10585 | (char *) "self",(char *) "flags", NULL | |
10586 | }; | |
10587 | ||
10588 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToLineStart",kwnames,&obj0,&obj1)) SWIG_fail; | |
10589 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10590 | if (!SWIG_IsOK(res1)) { | |
10591 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10592 | } | |
10593 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10594 | if (obj1) { | |
10595 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10596 | if (!SWIG_IsOK(ecode2)) { | |
10597 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "2"" of type '" "int""'"); | |
10598 | } | |
10599 | arg2 = static_cast< int >(val2); | |
10600 | } | |
10601 | { | |
10602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10603 | result = (bool)(arg1)->MoveToLineStart(arg2); | |
10604 | wxPyEndAllowThreads(__tstate); | |
10605 | if (PyErr_Occurred()) SWIG_fail; | |
10606 | } | |
10607 | { | |
10608 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10609 | } | |
10610 | return resultobj; | |
10611 | fail: | |
10612 | return NULL; | |
10613 | } | |
10614 | ||
10615 | ||
10616 | SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToParagraphEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10617 | PyObject *resultobj = 0; | |
10618 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10619 | int arg2 = (int) 0 ; | |
10620 | bool result; | |
10621 | void *argp1 = 0 ; | |
10622 | int res1 = 0 ; | |
10623 | int val2 ; | |
10624 | int ecode2 = 0 ; | |
10625 | PyObject * obj0 = 0 ; | |
10626 | PyObject * obj1 = 0 ; | |
10627 | char * kwnames[] = { | |
10628 | (char *) "self",(char *) "flags", NULL | |
10629 | }; | |
10630 | ||
10631 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToParagraphEnd",kwnames,&obj0,&obj1)) SWIG_fail; | |
10632 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10633 | if (!SWIG_IsOK(res1)) { | |
10634 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10635 | } | |
10636 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10637 | if (obj1) { | |
10638 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10639 | if (!SWIG_IsOK(ecode2)) { | |
10640 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "2"" of type '" "int""'"); | |
10641 | } | |
10642 | arg2 = static_cast< int >(val2); | |
10643 | } | |
10644 | { | |
10645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10646 | result = (bool)(arg1)->MoveToParagraphEnd(arg2); | |
10647 | wxPyEndAllowThreads(__tstate); | |
10648 | if (PyErr_Occurred()) SWIG_fail; | |
10649 | } | |
10650 | { | |
10651 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10652 | } | |
10653 | return resultobj; | |
10654 | fail: | |
10655 | return NULL; | |
10656 | } | |
10657 | ||
10658 | ||
10659 | SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToParagraphStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10660 | PyObject *resultobj = 0; | |
10661 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10662 | int arg2 = (int) 0 ; | |
10663 | bool result; | |
10664 | void *argp1 = 0 ; | |
10665 | int res1 = 0 ; | |
10666 | int val2 ; | |
10667 | int ecode2 = 0 ; | |
10668 | PyObject * obj0 = 0 ; | |
10669 | PyObject * obj1 = 0 ; | |
10670 | char * kwnames[] = { | |
10671 | (char *) "self",(char *) "flags", NULL | |
10672 | }; | |
10673 | ||
10674 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToParagraphStart",kwnames,&obj0,&obj1)) SWIG_fail; | |
10675 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10676 | if (!SWIG_IsOK(res1)) { | |
10677 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10678 | } | |
10679 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10680 | if (obj1) { | |
10681 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10682 | if (!SWIG_IsOK(ecode2)) { | |
10683 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "2"" of type '" "int""'"); | |
10684 | } | |
10685 | arg2 = static_cast< int >(val2); | |
10686 | } | |
10687 | { | |
10688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10689 | result = (bool)(arg1)->MoveToParagraphStart(arg2); | |
10690 | wxPyEndAllowThreads(__tstate); | |
10691 | if (PyErr_Occurred()) SWIG_fail; | |
10692 | } | |
10693 | { | |
10694 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10695 | } | |
10696 | return resultobj; | |
10697 | fail: | |
10698 | return NULL; | |
10699 | } | |
10700 | ||
10701 | ||
10702 | SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveHome(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10703 | PyObject *resultobj = 0; | |
10704 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10705 | int arg2 = (int) 0 ; | |
10706 | bool result; | |
10707 | void *argp1 = 0 ; | |
10708 | int res1 = 0 ; | |
10709 | int val2 ; | |
10710 | int ecode2 = 0 ; | |
10711 | PyObject * obj0 = 0 ; | |
10712 | PyObject * obj1 = 0 ; | |
10713 | char * kwnames[] = { | |
10714 | (char *) "self",(char *) "flags", NULL | |
10715 | }; | |
10716 | ||
10717 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveHome",kwnames,&obj0,&obj1)) SWIG_fail; | |
10718 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10719 | if (!SWIG_IsOK(res1)) { | |
10720 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10721 | } | |
10722 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10723 | if (obj1) { | |
10724 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10725 | if (!SWIG_IsOK(ecode2)) { | |
10726 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "2"" of type '" "int""'"); | |
10727 | } | |
10728 | arg2 = static_cast< int >(val2); | |
10729 | } | |
10730 | { | |
10731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10732 | result = (bool)(arg1)->MoveHome(arg2); | |
10733 | wxPyEndAllowThreads(__tstate); | |
10734 | if (PyErr_Occurred()) SWIG_fail; | |
10735 | } | |
10736 | { | |
10737 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10738 | } | |
10739 | return resultobj; | |
10740 | fail: | |
10741 | return NULL; | |
10742 | } | |
10743 | ||
10744 | ||
10745 | SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10746 | PyObject *resultobj = 0; | |
10747 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10748 | int arg2 = (int) 0 ; | |
10749 | bool result; | |
10750 | void *argp1 = 0 ; | |
10751 | int res1 = 0 ; | |
10752 | int val2 ; | |
10753 | int ecode2 = 0 ; | |
10754 | PyObject * obj0 = 0 ; | |
10755 | PyObject * obj1 = 0 ; | |
10756 | char * kwnames[] = { | |
10757 | (char *) "self",(char *) "flags", NULL | |
10758 | }; | |
10759 | ||
10760 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveEnd",kwnames,&obj0,&obj1)) SWIG_fail; | |
10761 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10762 | if (!SWIG_IsOK(res1)) { | |
10763 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10764 | } | |
10765 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10766 | if (obj1) { | |
10767 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10768 | if (!SWIG_IsOK(ecode2)) { | |
10769 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "2"" of type '" "int""'"); | |
10770 | } | |
10771 | arg2 = static_cast< int >(val2); | |
10772 | } | |
10773 | { | |
10774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10775 | result = (bool)(arg1)->MoveEnd(arg2); | |
10776 | wxPyEndAllowThreads(__tstate); | |
10777 | if (PyErr_Occurred()) SWIG_fail; | |
10778 | } | |
10779 | { | |
10780 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10781 | } | |
10782 | return resultobj; | |
10783 | fail: | |
10784 | return NULL; | |
10785 | } | |
10786 | ||
10787 | ||
10788 | SWIGINTERN PyObject *_wrap_RichTextCtrl_PageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10789 | PyObject *resultobj = 0; | |
10790 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10791 | int arg2 = (int) 1 ; | |
10792 | int arg3 = (int) 0 ; | |
10793 | bool result; | |
10794 | void *argp1 = 0 ; | |
10795 | int res1 = 0 ; | |
10796 | int val2 ; | |
10797 | int ecode2 = 0 ; | |
10798 | int val3 ; | |
10799 | int ecode3 = 0 ; | |
10800 | PyObject * obj0 = 0 ; | |
10801 | PyObject * obj1 = 0 ; | |
10802 | PyObject * obj2 = 0 ; | |
10803 | char * kwnames[] = { | |
10804 | (char *) "self",(char *) "noPages",(char *) "flags", NULL | |
10805 | }; | |
10806 | ||
10807 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_PageUp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10808 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10809 | if (!SWIG_IsOK(res1)) { | |
10810 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10811 | } | |
10812 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10813 | if (obj1) { | |
10814 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10815 | if (!SWIG_IsOK(ecode2)) { | |
10816 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_PageUp" "', expected argument " "2"" of type '" "int""'"); | |
10817 | } | |
10818 | arg2 = static_cast< int >(val2); | |
10819 | } | |
10820 | if (obj2) { | |
10821 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10822 | if (!SWIG_IsOK(ecode3)) { | |
10823 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_PageUp" "', expected argument " "3"" of type '" "int""'"); | |
10824 | } | |
10825 | arg3 = static_cast< int >(val3); | |
10826 | } | |
10827 | { | |
10828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10829 | result = (bool)(arg1)->PageUp(arg2,arg3); | |
10830 | wxPyEndAllowThreads(__tstate); | |
10831 | if (PyErr_Occurred()) SWIG_fail; | |
10832 | } | |
10833 | { | |
10834 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10835 | } | |
10836 | return resultobj; | |
10837 | fail: | |
10838 | return NULL; | |
10839 | } | |
10840 | ||
10841 | ||
10842 | SWIGINTERN PyObject *_wrap_RichTextCtrl_PageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10843 | PyObject *resultobj = 0; | |
10844 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10845 | int arg2 = (int) 1 ; | |
10846 | int arg3 = (int) 0 ; | |
10847 | bool result; | |
10848 | void *argp1 = 0 ; | |
10849 | int res1 = 0 ; | |
10850 | int val2 ; | |
10851 | int ecode2 = 0 ; | |
10852 | int val3 ; | |
10853 | int ecode3 = 0 ; | |
10854 | PyObject * obj0 = 0 ; | |
10855 | PyObject * obj1 = 0 ; | |
10856 | PyObject * obj2 = 0 ; | |
10857 | char * kwnames[] = { | |
10858 | (char *) "self",(char *) "noPages",(char *) "flags", NULL | |
10859 | }; | |
10860 | ||
10861 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_PageDown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10862 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10863 | if (!SWIG_IsOK(res1)) { | |
10864 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10865 | } | |
10866 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10867 | if (obj1) { | |
10868 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10869 | if (!SWIG_IsOK(ecode2)) { | |
10870 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_PageDown" "', expected argument " "2"" of type '" "int""'"); | |
10871 | } | |
10872 | arg2 = static_cast< int >(val2); | |
10873 | } | |
10874 | if (obj2) { | |
10875 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10876 | if (!SWIG_IsOK(ecode3)) { | |
10877 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_PageDown" "', expected argument " "3"" of type '" "int""'"); | |
10878 | } | |
10879 | arg3 = static_cast< int >(val3); | |
10880 | } | |
10881 | { | |
10882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10883 | result = (bool)(arg1)->PageDown(arg2,arg3); | |
10884 | wxPyEndAllowThreads(__tstate); | |
10885 | if (PyErr_Occurred()) SWIG_fail; | |
10886 | } | |
10887 | { | |
10888 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10889 | } | |
10890 | return resultobj; | |
10891 | fail: | |
10892 | return NULL; | |
10893 | } | |
10894 | ||
10895 | ||
10896 | SWIGINTERN PyObject *_wrap_RichTextCtrl_WordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10897 | PyObject *resultobj = 0; | |
10898 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10899 | int arg2 = (int) 1 ; | |
10900 | int arg3 = (int) 0 ; | |
10901 | bool result; | |
10902 | void *argp1 = 0 ; | |
10903 | int res1 = 0 ; | |
10904 | int val2 ; | |
10905 | int ecode2 = 0 ; | |
10906 | int val3 ; | |
10907 | int ecode3 = 0 ; | |
10908 | PyObject * obj0 = 0 ; | |
10909 | PyObject * obj1 = 0 ; | |
10910 | PyObject * obj2 = 0 ; | |
10911 | char * kwnames[] = { | |
10912 | (char *) "self",(char *) "noPages",(char *) "flags", NULL | |
10913 | }; | |
10914 | ||
10915 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_WordLeft",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10916 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10917 | if (!SWIG_IsOK(res1)) { | |
10918 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10919 | } | |
10920 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10921 | if (obj1) { | |
10922 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10923 | if (!SWIG_IsOK(ecode2)) { | |
10924 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "2"" of type '" "int""'"); | |
10925 | } | |
10926 | arg2 = static_cast< int >(val2); | |
10927 | } | |
10928 | if (obj2) { | |
10929 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10930 | if (!SWIG_IsOK(ecode3)) { | |
10931 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "3"" of type '" "int""'"); | |
10932 | } | |
10933 | arg3 = static_cast< int >(val3); | |
10934 | } | |
10935 | { | |
10936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10937 | result = (bool)(arg1)->WordLeft(arg2,arg3); | |
10938 | wxPyEndAllowThreads(__tstate); | |
10939 | if (PyErr_Occurred()) SWIG_fail; | |
10940 | } | |
10941 | { | |
10942 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10943 | } | |
10944 | return resultobj; | |
10945 | fail: | |
10946 | return NULL; | |
10947 | } | |
10948 | ||
10949 | ||
10950 | SWIGINTERN PyObject *_wrap_RichTextCtrl_WordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10951 | PyObject *resultobj = 0; | |
10952 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
10953 | int arg2 = (int) 1 ; | |
10954 | int arg3 = (int) 0 ; | |
10955 | bool result; | |
10956 | void *argp1 = 0 ; | |
10957 | int res1 = 0 ; | |
10958 | int val2 ; | |
10959 | int ecode2 = 0 ; | |
10960 | int val3 ; | |
10961 | int ecode3 = 0 ; | |
10962 | PyObject * obj0 = 0 ; | |
10963 | PyObject * obj1 = 0 ; | |
10964 | PyObject * obj2 = 0 ; | |
10965 | char * kwnames[] = { | |
10966 | (char *) "self",(char *) "noPages",(char *) "flags", NULL | |
10967 | }; | |
10968 | ||
10969 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_WordRight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10970 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
10971 | if (!SWIG_IsOK(res1)) { | |
10972 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
10973 | } | |
10974 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
10975 | if (obj1) { | |
10976 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10977 | if (!SWIG_IsOK(ecode2)) { | |
10978 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_WordRight" "', expected argument " "2"" of type '" "int""'"); | |
10979 | } | |
10980 | arg2 = static_cast< int >(val2); | |
10981 | } | |
10982 | if (obj2) { | |
10983 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10984 | if (!SWIG_IsOK(ecode3)) { | |
10985 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WordRight" "', expected argument " "3"" of type '" "int""'"); | |
10986 | } | |
10987 | arg3 = static_cast< int >(val3); | |
10988 | } | |
10989 | { | |
10990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10991 | result = (bool)(arg1)->WordRight(arg2,arg3); | |
10992 | wxPyEndAllowThreads(__tstate); | |
10993 | if (PyErr_Occurred()) SWIG_fail; | |
10994 | } | |
10995 | { | |
10996 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10997 | } | |
10998 | return resultobj; | |
10999 | fail: | |
11000 | return NULL; | |
11001 | } | |
11002 | ||
11003 | ||
11004 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11005 | PyObject *resultobj = 0; | |
11006 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11007 | wxRichTextBuffer *result = 0 ; | |
11008 | void *argp1 = 0 ; | |
11009 | int res1 = 0 ; | |
11010 | PyObject *swig_obj[1] ; | |
11011 | ||
11012 | if (!args) SWIG_fail; | |
11013 | swig_obj[0] = args; | |
11014 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11015 | if (!SWIG_IsOK(res1)) { | |
11016 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
11017 | } | |
11018 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11019 | { | |
11020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11021 | { | |
11022 | wxRichTextBuffer const &_result_ref = ((wxRichTextCtrl const *)arg1)->GetBuffer(); | |
11023 | result = (wxRichTextBuffer *) &_result_ref; | |
11024 | } | |
11025 | wxPyEndAllowThreads(__tstate); | |
11026 | if (PyErr_Occurred()) SWIG_fail; | |
11027 | } | |
11028 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBuffer, 0 | 0 ); | |
11029 | return resultobj; | |
11030 | fail: | |
11031 | return NULL; | |
11032 | } | |
11033 | ||
11034 | ||
11035 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginBatchUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11036 | PyObject *resultobj = 0; | |
11037 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11038 | wxString *arg2 = 0 ; | |
11039 | bool result; | |
11040 | void *argp1 = 0 ; | |
11041 | int res1 = 0 ; | |
11042 | bool temp2 = false ; | |
11043 | PyObject * obj0 = 0 ; | |
11044 | PyObject * obj1 = 0 ; | |
11045 | char * kwnames[] = { | |
11046 | (char *) "self",(char *) "cmdName", NULL | |
11047 | }; | |
11048 | ||
11049 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginBatchUndo",kwnames,&obj0,&obj1)) SWIG_fail; | |
11050 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11051 | if (!SWIG_IsOK(res1)) { | |
11052 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
11053 | } | |
11054 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11055 | { | |
11056 | arg2 = wxString_in_helper(obj1); | |
11057 | if (arg2 == NULL) SWIG_fail; | |
11058 | temp2 = true; | |
11059 | } | |
11060 | { | |
11061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11062 | result = (bool)(arg1)->BeginBatchUndo((wxString const &)*arg2); | |
11063 | wxPyEndAllowThreads(__tstate); | |
11064 | if (PyErr_Occurred()) SWIG_fail; | |
11065 | } | |
11066 | { | |
11067 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11068 | } | |
11069 | { | |
11070 | if (temp2) | |
11071 | delete arg2; | |
11072 | } | |
11073 | return resultobj; | |
11074 | fail: | |
11075 | { | |
11076 | if (temp2) | |
11077 | delete arg2; | |
11078 | } | |
11079 | return NULL; | |
11080 | } | |
11081 | ||
11082 | ||
11083 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndBatchUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11084 | PyObject *resultobj = 0; | |
11085 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11086 | bool result; | |
11087 | void *argp1 = 0 ; | |
11088 | int res1 = 0 ; | |
11089 | PyObject *swig_obj[1] ; | |
11090 | ||
11091 | if (!args) SWIG_fail; | |
11092 | swig_obj[0] = args; | |
11093 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11094 | if (!SWIG_IsOK(res1)) { | |
11095 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
11096 | } | |
11097 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11098 | { | |
11099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11100 | result = (bool)(arg1)->EndBatchUndo(); | |
11101 | wxPyEndAllowThreads(__tstate); | |
11102 | if (PyErr_Occurred()) SWIG_fail; | |
11103 | } | |
11104 | { | |
11105 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11106 | } | |
11107 | return resultobj; | |
11108 | fail: | |
11109 | return NULL; | |
11110 | } | |
11111 | ||
11112 | ||
11113 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BatchingUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11114 | PyObject *resultobj = 0; | |
11115 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11116 | bool result; | |
11117 | void *argp1 = 0 ; | |
11118 | int res1 = 0 ; | |
11119 | PyObject *swig_obj[1] ; | |
11120 | ||
11121 | if (!args) SWIG_fail; | |
11122 | swig_obj[0] = args; | |
11123 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11124 | if (!SWIG_IsOK(res1)) { | |
11125 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BatchingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
11126 | } | |
11127 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11128 | { | |
11129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11130 | result = (bool)((wxRichTextCtrl const *)arg1)->BatchingUndo(); | |
11131 | wxPyEndAllowThreads(__tstate); | |
11132 | if (PyErr_Occurred()) SWIG_fail; | |
11133 | } | |
11134 | { | |
11135 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11136 | } | |
11137 | return resultobj; | |
11138 | fail: | |
11139 | return NULL; | |
11140 | } | |
11141 | ||
11142 | ||
11143 | SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginSuppressUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11144 | PyObject *resultobj = 0; | |
11145 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11146 | bool result; | |
11147 | void *argp1 = 0 ; | |
11148 | int res1 = 0 ; | |
11149 | PyObject *swig_obj[1] ; | |
11150 | ||
11151 | if (!args) SWIG_fail; | |
11152 | swig_obj[0] = args; | |
11153 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11154 | if (!SWIG_IsOK(res1)) { | |
11155 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
11156 | } | |
11157 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11158 | { | |
11159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11160 | result = (bool)(arg1)->BeginSuppressUndo(); | |
11161 | wxPyEndAllowThreads(__tstate); | |
11162 | if (PyErr_Occurred()) SWIG_fail; | |
11163 | } | |
11164 | { | |
11165 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11166 | } | |
11167 | return resultobj; | |
11168 | fail: | |
11169 | return NULL; | |
11170 | } | |
11171 | ||
11172 | ||
11173 | SWIGINTERN PyObject *_wrap_RichTextCtrl_EndSuppressUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11174 | PyObject *resultobj = 0; | |
11175 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11176 | bool result; | |
11177 | void *argp1 = 0 ; | |
11178 | int res1 = 0 ; | |
11179 | PyObject *swig_obj[1] ; | |
11180 | ||
11181 | if (!args) SWIG_fail; | |
11182 | swig_obj[0] = args; | |
11183 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11184 | if (!SWIG_IsOK(res1)) { | |
11185 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
11186 | } | |
11187 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11188 | { | |
11189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11190 | result = (bool)(arg1)->EndSuppressUndo(); | |
11191 | wxPyEndAllowThreads(__tstate); | |
11192 | if (PyErr_Occurred()) SWIG_fail; | |
11193 | } | |
11194 | { | |
11195 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11196 | } | |
11197 | return resultobj; | |
11198 | fail: | |
11199 | return NULL; | |
11200 | } | |
11201 | ||
11202 | ||
11203 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SuppressingUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11204 | PyObject *resultobj = 0; | |
11205 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11206 | bool result; | |
11207 | void *argp1 = 0 ; | |
11208 | int res1 = 0 ; | |
11209 | PyObject *swig_obj[1] ; | |
11210 | ||
11211 | if (!args) SWIG_fail; | |
11212 | swig_obj[0] = args; | |
11213 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11214 | if (!SWIG_IsOK(res1)) { | |
11215 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SuppressingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
11216 | } | |
11217 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11218 | { | |
11219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11220 | result = (bool)((wxRichTextCtrl const *)arg1)->SuppressingUndo(); | |
11221 | wxPyEndAllowThreads(__tstate); | |
11222 | if (PyErr_Occurred()) SWIG_fail; | |
11223 | } | |
11224 | { | |
11225 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11226 | } | |
11227 | return resultobj; | |
11228 | fail: | |
11229 | return NULL; | |
11230 | } | |
11231 | ||
11232 | ||
11233 | SWIGINTERN PyObject *_wrap_RichTextCtrl_HasCharacterAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11234 | PyObject *resultobj = 0; | |
11235 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11236 | wxRichTextRange *arg2 = 0 ; | |
11237 | wxRichTextAttr *arg3 = 0 ; | |
11238 | bool result; | |
11239 | void *argp1 = 0 ; | |
11240 | int res1 = 0 ; | |
11241 | wxRichTextRange temp2 ; | |
11242 | void *argp3 = 0 ; | |
11243 | int res3 = 0 ; | |
11244 | PyObject * obj0 = 0 ; | |
11245 | PyObject * obj1 = 0 ; | |
11246 | PyObject * obj2 = 0 ; | |
11247 | char * kwnames[] = { | |
11248 | (char *) "self",(char *) "range",(char *) "style", NULL | |
11249 | }; | |
11250 | ||
11251 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_HasCharacterAttributes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
11252 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11253 | if (!SWIG_IsOK(res1)) { | |
11254 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
11255 | } | |
11256 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11257 | { | |
11258 | arg2 = &temp2; | |
11259 | if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail; | |
11260 | } | |
11261 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 | 0); | |
11262 | if (!SWIG_IsOK(res3)) { | |
11263 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'"); | |
11264 | } | |
11265 | if (!argp3) { | |
11266 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'"); | |
11267 | } | |
11268 | arg3 = reinterpret_cast< wxRichTextAttr * >(argp3); | |
11269 | { | |
11270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11271 | result = (bool)((wxRichTextCtrl const *)arg1)->HasCharacterAttributes((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3); | |
11272 | wxPyEndAllowThreads(__tstate); | |
11273 | if (PyErr_Occurred()) SWIG_fail; | |
11274 | } | |
11275 | { | |
11276 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11277 | } | |
11278 | return resultobj; | |
11279 | fail: | |
11280 | return NULL; | |
11281 | } | |
11282 | ||
11283 | ||
11284 | SWIGINTERN PyObject *_wrap_RichTextCtrl_HasParagraphAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11285 | PyObject *resultobj = 0; | |
11286 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11287 | wxRichTextRange *arg2 = 0 ; | |
11288 | wxRichTextAttr *arg3 = 0 ; | |
11289 | bool result; | |
11290 | void *argp1 = 0 ; | |
11291 | int res1 = 0 ; | |
11292 | wxRichTextRange temp2 ; | |
11293 | void *argp3 = 0 ; | |
11294 | int res3 = 0 ; | |
11295 | PyObject * obj0 = 0 ; | |
11296 | PyObject * obj1 = 0 ; | |
11297 | PyObject * obj2 = 0 ; | |
11298 | char * kwnames[] = { | |
11299 | (char *) "self",(char *) "range",(char *) "style", NULL | |
11300 | }; | |
11301 | ||
11302 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_HasParagraphAttributes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
11303 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11304 | if (!SWIG_IsOK(res1)) { | |
11305 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
11306 | } | |
11307 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11308 | { | |
11309 | arg2 = &temp2; | |
11310 | if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail; | |
11311 | } | |
11312 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 | 0); | |
11313 | if (!SWIG_IsOK(res3)) { | |
11314 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'"); | |
11315 | } | |
11316 | if (!argp3) { | |
11317 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'"); | |
11318 | } | |
11319 | arg3 = reinterpret_cast< wxRichTextAttr * >(argp3); | |
11320 | { | |
11321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11322 | result = (bool)((wxRichTextCtrl const *)arg1)->HasParagraphAttributes((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3); | |
11323 | wxPyEndAllowThreads(__tstate); | |
11324 | if (PyErr_Occurred()) SWIG_fail; | |
11325 | } | |
11326 | { | |
11327 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11328 | } | |
11329 | return resultobj; | |
11330 | fail: | |
11331 | return NULL; | |
11332 | } | |
11333 | ||
11334 | ||
11335 | SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11336 | PyObject *resultobj = 0; | |
11337 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11338 | bool result; | |
11339 | void *argp1 = 0 ; | |
11340 | int res1 = 0 ; | |
11341 | PyObject *swig_obj[1] ; | |
11342 | ||
11343 | if (!args) SWIG_fail; | |
11344 | swig_obj[0] = args; | |
11345 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11346 | if (!SWIG_IsOK(res1)) { | |
79df624a | 11347 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); |
f05326ba RD |
11348 | } |
11349 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11350 | { | |
11351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
79df624a | 11352 | result = (bool)(arg1)->IsSelectionBold(); |
f05326ba RD |
11353 | wxPyEndAllowThreads(__tstate); |
11354 | if (PyErr_Occurred()) SWIG_fail; | |
11355 | } | |
11356 | { | |
11357 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11358 | } | |
11359 | return resultobj; | |
11360 | fail: | |
11361 | return NULL; | |
11362 | } | |
11363 | ||
11364 | ||
11365 | SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionItalics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11366 | PyObject *resultobj = 0; | |
11367 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11368 | bool result; | |
11369 | void *argp1 = 0 ; | |
11370 | int res1 = 0 ; | |
11371 | PyObject *swig_obj[1] ; | |
11372 | ||
11373 | if (!args) SWIG_fail; | |
11374 | swig_obj[0] = args; | |
11375 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11376 | if (!SWIG_IsOK(res1)) { | |
79df624a | 11377 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionItalics" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); |
f05326ba RD |
11378 | } |
11379 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11380 | { | |
11381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
79df624a | 11382 | result = (bool)(arg1)->IsSelectionItalics(); |
f05326ba RD |
11383 | wxPyEndAllowThreads(__tstate); |
11384 | if (PyErr_Occurred()) SWIG_fail; | |
11385 | } | |
11386 | { | |
11387 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11388 | } | |
11389 | return resultobj; | |
11390 | fail: | |
11391 | return NULL; | |
11392 | } | |
11393 | ||
11394 | ||
11395 | SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11396 | PyObject *resultobj = 0; | |
11397 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11398 | bool result; | |
11399 | void *argp1 = 0 ; | |
11400 | int res1 = 0 ; | |
11401 | PyObject *swig_obj[1] ; | |
11402 | ||
11403 | if (!args) SWIG_fail; | |
11404 | swig_obj[0] = args; | |
11405 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11406 | if (!SWIG_IsOK(res1)) { | |
79df624a | 11407 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionUnderlined" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); |
f05326ba RD |
11408 | } |
11409 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11410 | { | |
11411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
79df624a | 11412 | result = (bool)(arg1)->IsSelectionUnderlined(); |
f05326ba RD |
11413 | wxPyEndAllowThreads(__tstate); |
11414 | if (PyErr_Occurred()) SWIG_fail; | |
11415 | } | |
11416 | { | |
11417 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11418 | } | |
11419 | return resultobj; | |
11420 | fail: | |
11421 | return NULL; | |
11422 | } | |
11423 | ||
11424 | ||
11425 | SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionAligned(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11426 | PyObject *resultobj = 0; | |
11427 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11428 | wxTextAttrAlignment arg2 ; | |
11429 | bool result; | |
11430 | void *argp1 = 0 ; | |
11431 | int res1 = 0 ; | |
11432 | int val2 ; | |
11433 | int ecode2 = 0 ; | |
11434 | PyObject * obj0 = 0 ; | |
11435 | PyObject * obj1 = 0 ; | |
11436 | char * kwnames[] = { | |
11437 | (char *) "self",(char *) "alignment", NULL | |
11438 | }; | |
11439 | ||
11440 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_IsSelectionAligned",kwnames,&obj0,&obj1)) SWIG_fail; | |
11441 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11442 | if (!SWIG_IsOK(res1)) { | |
79df624a | 11443 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); |
f05326ba RD |
11444 | } |
11445 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11446 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11447 | if (!SWIG_IsOK(ecode2)) { | |
11448 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); | |
11449 | } | |
11450 | arg2 = static_cast< wxTextAttrAlignment >(val2); | |
11451 | { | |
11452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
79df624a | 11453 | result = (bool)(arg1)->IsSelectionAligned(arg2); |
f05326ba RD |
11454 | wxPyEndAllowThreads(__tstate); |
11455 | if (PyErr_Occurred()) SWIG_fail; | |
11456 | } | |
11457 | { | |
11458 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11459 | } | |
11460 | return resultobj; | |
11461 | fail: | |
11462 | return NULL; | |
11463 | } | |
11464 | ||
11465 | ||
11466 | SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyBoldToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11467 | PyObject *resultobj = 0; | |
11468 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11469 | bool result; | |
11470 | void *argp1 = 0 ; | |
11471 | int res1 = 0 ; | |
11472 | PyObject *swig_obj[1] ; | |
11473 | ||
11474 | if (!args) SWIG_fail; | |
11475 | swig_obj[0] = args; | |
11476 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11477 | if (!SWIG_IsOK(res1)) { | |
11478 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyBoldToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
11479 | } | |
11480 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11481 | { | |
11482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11483 | result = (bool)(arg1)->ApplyBoldToSelection(); | |
11484 | wxPyEndAllowThreads(__tstate); | |
11485 | if (PyErr_Occurred()) SWIG_fail; | |
11486 | } | |
11487 | { | |
11488 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11489 | } | |
11490 | return resultobj; | |
11491 | fail: | |
11492 | return NULL; | |
11493 | } | |
11494 | ||
11495 | ||
11496 | SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyItalicToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11497 | PyObject *resultobj = 0; | |
11498 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11499 | bool result; | |
11500 | void *argp1 = 0 ; | |
11501 | int res1 = 0 ; | |
11502 | PyObject *swig_obj[1] ; | |
11503 | ||
11504 | if (!args) SWIG_fail; | |
11505 | swig_obj[0] = args; | |
11506 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11507 | if (!SWIG_IsOK(res1)) { | |
11508 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyItalicToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
11509 | } | |
11510 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11511 | { | |
11512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11513 | result = (bool)(arg1)->ApplyItalicToSelection(); | |
11514 | wxPyEndAllowThreads(__tstate); | |
11515 | if (PyErr_Occurred()) SWIG_fail; | |
11516 | } | |
11517 | { | |
11518 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11519 | } | |
11520 | return resultobj; | |
11521 | fail: | |
11522 | return NULL; | |
11523 | } | |
11524 | ||
11525 | ||
11526 | SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyUnderlineToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11527 | PyObject *resultobj = 0; | |
11528 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11529 | bool result; | |
11530 | void *argp1 = 0 ; | |
11531 | int res1 = 0 ; | |
11532 | PyObject *swig_obj[1] ; | |
11533 | ||
11534 | if (!args) SWIG_fail; | |
11535 | swig_obj[0] = args; | |
11536 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11537 | if (!SWIG_IsOK(res1)) { | |
11538 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyUnderlineToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
11539 | } | |
11540 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11541 | { | |
11542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11543 | result = (bool)(arg1)->ApplyUnderlineToSelection(); | |
11544 | wxPyEndAllowThreads(__tstate); | |
11545 | if (PyErr_Occurred()) SWIG_fail; | |
11546 | } | |
11547 | { | |
11548 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11549 | } | |
11550 | return resultobj; | |
11551 | fail: | |
11552 | return NULL; | |
11553 | } | |
11554 | ||
11555 | ||
11556 | SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyAlignmentToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11557 | PyObject *resultobj = 0; | |
11558 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11559 | wxTextAttrAlignment arg2 ; | |
11560 | bool result; | |
11561 | void *argp1 = 0 ; | |
11562 | int res1 = 0 ; | |
11563 | int val2 ; | |
11564 | int ecode2 = 0 ; | |
11565 | PyObject * obj0 = 0 ; | |
11566 | PyObject * obj1 = 0 ; | |
11567 | char * kwnames[] = { | |
11568 | (char *) "self",(char *) "alignment", NULL | |
11569 | }; | |
11570 | ||
11571 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_ApplyAlignmentToSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
11572 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11573 | if (!SWIG_IsOK(res1)) { | |
11574 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
11575 | } | |
11576 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11577 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11578 | if (!SWIG_IsOK(ecode2)) { | |
11579 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); | |
11580 | } | |
11581 | arg2 = static_cast< wxTextAttrAlignment >(val2); | |
11582 | { | |
11583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11584 | result = (bool)(arg1)->ApplyAlignmentToSelection(arg2); | |
11585 | wxPyEndAllowThreads(__tstate); | |
11586 | if (PyErr_Occurred()) SWIG_fail; | |
11587 | } | |
11588 | { | |
11589 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11590 | } | |
11591 | return resultobj; | |
11592 | fail: | |
11593 | return NULL; | |
11594 | } | |
11595 | ||
11596 | ||
11597 | SWIGINTERN PyObject *_wrap_RichTextCtrl_SetStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11598 | PyObject *resultobj = 0; | |
11599 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11600 | wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ; | |
11601 | void *argp1 = 0 ; | |
11602 | int res1 = 0 ; | |
11603 | void *argp2 = 0 ; | |
11604 | int res2 = 0 ; | |
11605 | PyObject * obj0 = 0 ; | |
11606 | PyObject * obj1 = 0 ; | |
11607 | char * kwnames[] = { | |
11608 | (char *) "self",(char *) "styleSheet", NULL | |
11609 | }; | |
11610 | ||
11611 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail; | |
11612 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11613 | if (!SWIG_IsOK(res1)) { | |
11614 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
11615 | } | |
11616 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11617 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 ); | |
11618 | if (!SWIG_IsOK(res2)) { | |
11619 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'"); | |
11620 | } | |
11621 | arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2); | |
11622 | { | |
11623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11624 | (arg1)->SetStyleSheet(arg2); | |
11625 | wxPyEndAllowThreads(__tstate); | |
11626 | if (PyErr_Occurred()) SWIG_fail; | |
11627 | } | |
11628 | resultobj = SWIG_Py_Void(); | |
11629 | return resultobj; | |
11630 | fail: | |
11631 | return NULL; | |
11632 | } | |
11633 | ||
11634 | ||
11635 | SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11636 | PyObject *resultobj = 0; | |
11637 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11638 | wxRichTextStyleSheet *result = 0 ; | |
11639 | void *argp1 = 0 ; | |
11640 | int res1 = 0 ; | |
11641 | PyObject *swig_obj[1] ; | |
11642 | ||
11643 | if (!args) SWIG_fail; | |
11644 | swig_obj[0] = args; | |
11645 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11646 | if (!SWIG_IsOK(res1)) { | |
11647 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); | |
11648 | } | |
11649 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11650 | { | |
11651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11652 | result = (wxRichTextStyleSheet *)((wxRichTextCtrl const *)arg1)->GetStyleSheet(); | |
11653 | wxPyEndAllowThreads(__tstate); | |
11654 | if (PyErr_Occurred()) SWIG_fail; | |
11655 | } | |
11656 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 ); | |
11657 | return resultobj; | |
11658 | fail: | |
11659 | return NULL; | |
11660 | } | |
11661 | ||
11662 | ||
c2829a8f RD |
11663 | SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11664 | PyObject *resultobj = 0; | |
11665 | wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ; | |
11666 | wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) NULL ; | |
11667 | bool result; | |
11668 | void *argp1 = 0 ; | |
11669 | int res1 = 0 ; | |
11670 | void *argp2 = 0 ; | |
11671 | int res2 = 0 ; | |
11672 | PyObject * obj0 = 0 ; | |
11673 | PyObject * obj1 = 0 ; | |
11674 | char * kwnames[] = { | |
11675 | (char *) "self",(char *) "styleSheet", NULL | |
11676 | }; | |
11677 | ||
11678 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_ApplyStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail; | |
11679 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 ); | |
11680 | if (!SWIG_IsOK(res1)) { | |
11681 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); | |
11682 | } | |
11683 | arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1); | |
11684 | if (obj1) { | |
11685 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 ); | |
11686 | if (!SWIG_IsOK(res2)) { | |
11687 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_ApplyStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'"); | |
11688 | } | |
11689 | arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2); | |
11690 | } | |
11691 | { | |
11692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11693 | result = (bool)(arg1)->ApplyStyleSheet(arg2); | |
11694 | wxPyEndAllowThreads(__tstate); | |
11695 | if (PyErr_Occurred()) SWIG_fail; | |
11696 | } | |
11697 | { | |
11698 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11699 | } | |
11700 | return resultobj; | |
11701 | fail: | |
11702 | return NULL; | |
11703 | } | |
11704 | ||
11705 | ||
f05326ba RD |
11706 | SWIGINTERN PyObject *RichTextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11707 | PyObject *obj; | |
11708 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11709 | SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextCtrl, SWIG_NewClientData(obj)); | |
11710 | return SWIG_Py_Void(); | |
11711 | } | |
11712 | ||
11713 | SWIGINTERN PyObject *RichTextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11714 | return SWIG_Python_InitShadowInstance(args); | |
11715 | } | |
11716 | ||
11717 | SWIGINTERN PyObject *_wrap_new_RichTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11718 | PyObject *resultobj = 0; | |
11719 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
11720 | int arg2 = (int) 0 ; | |
11721 | wxRichTextEvent *result = 0 ; | |
11722 | int val1 ; | |
11723 | int ecode1 = 0 ; | |
11724 | int val2 ; | |
11725 | int ecode2 = 0 ; | |
11726 | PyObject * obj0 = 0 ; | |
11727 | PyObject * obj1 = 0 ; | |
11728 | char * kwnames[] = { | |
11729 | (char *) "commandType",(char *) "winid", NULL | |
11730 | }; | |
11731 | ||
11732 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RichTextEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
11733 | if (obj0) { | |
11734 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11735 | if (!SWIG_IsOK(ecode1)) { | |
11736 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RichTextEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
11737 | } | |
11738 | arg1 = static_cast< wxEventType >(val1); | |
11739 | } | |
11740 | if (obj1) { | |
11741 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11742 | if (!SWIG_IsOK(ecode2)) { | |
11743 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RichTextEvent" "', expected argument " "2"" of type '" "int""'"); | |
11744 | } | |
11745 | arg2 = static_cast< int >(val2); | |
11746 | } | |
11747 | { | |
11748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11749 | result = (wxRichTextEvent *)new wxRichTextEvent(arg1,arg2); | |
11750 | wxPyEndAllowThreads(__tstate); | |
11751 | if (PyErr_Occurred()) SWIG_fail; | |
11752 | } | |
11753 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextEvent, SWIG_POINTER_NEW | 0 ); | |
11754 | return resultobj; | |
11755 | fail: | |
11756 | return NULL; | |
11757 | } | |
11758 | ||
11759 | ||
f27895d2 | 11760 | SWIGINTERN PyObject *_wrap_RichTextEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
f05326ba RD |
11761 | PyObject *resultobj = 0; |
11762 | wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ; | |
11763 | int result; | |
11764 | void *argp1 = 0 ; | |
11765 | int res1 = 0 ; | |
11766 | PyObject *swig_obj[1] ; | |
11767 | ||
11768 | if (!args) SWIG_fail; | |
11769 | swig_obj[0] = args; | |
11770 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 ); | |
11771 | if (!SWIG_IsOK(res1)) { | |
f27895d2 | 11772 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetPosition" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'"); |
f05326ba RD |
11773 | } |
11774 | arg1 = reinterpret_cast< wxRichTextEvent * >(argp1); | |
11775 | { | |
11776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
f27895d2 | 11777 | result = (int)((wxRichTextEvent const *)arg1)->GetPosition(); |
f05326ba RD |
11778 | wxPyEndAllowThreads(__tstate); |
11779 | if (PyErr_Occurred()) SWIG_fail; | |
11780 | } | |
11781 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11782 | return resultobj; | |
11783 | fail: | |
11784 | return NULL; | |
11785 | } | |
11786 | ||
11787 | ||
f27895d2 | 11788 | SWIGINTERN PyObject *_wrap_RichTextEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
f05326ba RD |
11789 | PyObject *resultobj = 0; |
11790 | wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ; | |
11791 | int arg2 ; | |
11792 | void *argp1 = 0 ; | |
11793 | int res1 = 0 ; | |
11794 | int val2 ; | |
11795 | int ecode2 = 0 ; | |
11796 | PyObject * obj0 = 0 ; | |
11797 | PyObject * obj1 = 0 ; | |
11798 | char * kwnames[] = { | |
11799 | (char *) "self",(char *) "n", NULL | |
11800 | }; | |
11801 | ||
f27895d2 | 11802 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail; |
f05326ba RD |
11803 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 ); |
11804 | if (!SWIG_IsOK(res1)) { | |
f27895d2 | 11805 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetPosition" "', expected argument " "1"" of type '" "wxRichTextEvent *""'"); |
f05326ba RD |
11806 | } |
11807 | arg1 = reinterpret_cast< wxRichTextEvent * >(argp1); | |
11808 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11809 | if (!SWIG_IsOK(ecode2)) { | |
f27895d2 | 11810 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextEvent_SetPosition" "', expected argument " "2"" of type '" "int""'"); |
f05326ba RD |
11811 | } |
11812 | arg2 = static_cast< int >(val2); | |
11813 | { | |
11814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
f27895d2 | 11815 | (arg1)->SetPosition(arg2); |
f05326ba RD |
11816 | wxPyEndAllowThreads(__tstate); |
11817 | if (PyErr_Occurred()) SWIG_fail; | |
11818 | } | |
11819 | resultobj = SWIG_Py_Void(); | |
11820 | return resultobj; | |
11821 | fail: | |
11822 | return NULL; | |
11823 | } | |
11824 | ||
11825 | ||
11826 | SWIGINTERN PyObject *_wrap_RichTextEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11827 | PyObject *resultobj = 0; | |
11828 | wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ; | |
11829 | int result; | |
11830 | void *argp1 = 0 ; | |
11831 | int res1 = 0 ; | |
11832 | PyObject *swig_obj[1] ; | |
11833 | ||
11834 | if (!args) SWIG_fail; | |
11835 | swig_obj[0] = args; | |
11836 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 ); | |
11837 | if (!SWIG_IsOK(res1)) { | |
11838 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'"); | |
11839 | } | |
11840 | arg1 = reinterpret_cast< wxRichTextEvent * >(argp1); | |
11841 | { | |
11842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11843 | result = (int)((wxRichTextEvent const *)arg1)->GetFlags(); | |
11844 | wxPyEndAllowThreads(__tstate); | |
11845 | if (PyErr_Occurred()) SWIG_fail; | |
11846 | } | |
11847 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11848 | return resultobj; | |
11849 | fail: | |
11850 | return NULL; | |
11851 | } | |
11852 | ||
11853 | ||
11854 | SWIGINTERN PyObject *_wrap_RichTextEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11855 | PyObject *resultobj = 0; | |
11856 | wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ; | |
11857 | int arg2 ; | |
11858 | void *argp1 = 0 ; | |
11859 | int res1 = 0 ; | |
11860 | int val2 ; | |
11861 | int ecode2 = 0 ; | |
11862 | PyObject * obj0 = 0 ; | |
11863 | PyObject * obj1 = 0 ; | |
11864 | char * kwnames[] = { | |
11865 | (char *) "self",(char *) "flags", NULL | |
11866 | }; | |
11867 | ||
11868 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; | |
11869 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 ); | |
11870 | if (!SWIG_IsOK(res1)) { | |
11871 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent *""'"); | |
11872 | } | |
11873 | arg1 = reinterpret_cast< wxRichTextEvent * >(argp1); | |
11874 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11875 | if (!SWIG_IsOK(ecode2)) { | |
11876 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextEvent_SetFlags" "', expected argument " "2"" of type '" "int""'"); | |
11877 | } | |
11878 | arg2 = static_cast< int >(val2); | |
11879 | { | |
11880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11881 | (arg1)->SetFlags(arg2); | |
11882 | wxPyEndAllowThreads(__tstate); | |
11883 | if (PyErr_Occurred()) SWIG_fail; | |
11884 | } | |
11885 | resultobj = SWIG_Py_Void(); | |
11886 | return resultobj; | |
11887 | fail: | |
11888 | return NULL; | |
11889 | } | |
11890 | ||
11891 | ||
11892 | SWIGINTERN PyObject *RichTextEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11893 | PyObject *obj; | |
11894 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11895 | SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextEvent, SWIG_NewClientData(obj)); | |
11896 | return SWIG_Py_Void(); | |
11897 | } | |
11898 | ||
11899 | SWIGINTERN PyObject *RichTextEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11900 | return SWIG_Python_InitShadowInstance(args); | |
11901 | } | |
11902 | ||
11903 | static PyMethodDef SwigMethods[] = { | |
11904 | { (char *)"new_RichTextRange", (PyCFunction) _wrap_new_RichTextRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11905 | { (char *)"delete_RichTextRange", (PyCFunction)_wrap_delete_RichTextRange, METH_O, NULL}, | |
11906 | { (char *)"RichTextRange___eq__", (PyCFunction) _wrap_RichTextRange___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11907 | { (char *)"RichTextRange___sub__", (PyCFunction) _wrap_RichTextRange___sub__, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11908 | { (char *)"RichTextRange___add__", (PyCFunction) _wrap_RichTextRange___add__, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11909 | { (char *)"RichTextRange_SetRange", (PyCFunction) _wrap_RichTextRange_SetRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11910 | { (char *)"RichTextRange_SetStart", (PyCFunction) _wrap_RichTextRange_SetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11911 | { (char *)"RichTextRange_GetStart", (PyCFunction)_wrap_RichTextRange_GetStart, METH_O, NULL}, | |
11912 | { (char *)"RichTextRange_SetEnd", (PyCFunction) _wrap_RichTextRange_SetEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11913 | { (char *)"RichTextRange_GetEnd", (PyCFunction)_wrap_RichTextRange_GetEnd, METH_O, NULL}, | |
11914 | { (char *)"RichTextRange_IsOutside", (PyCFunction) _wrap_RichTextRange_IsOutside, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11915 | { (char *)"RichTextRange_IsWithin", (PyCFunction) _wrap_RichTextRange_IsWithin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11916 | { (char *)"RichTextRange_Contains", (PyCFunction) _wrap_RichTextRange_Contains, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11917 | { (char *)"RichTextRange_LimitTo", (PyCFunction) _wrap_RichTextRange_LimitTo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11918 | { (char *)"RichTextRange_GetLength", (PyCFunction)_wrap_RichTextRange_GetLength, METH_O, NULL}, | |
11919 | { (char *)"RichTextRange_Swap", (PyCFunction)_wrap_RichTextRange_Swap, METH_O, NULL}, | |
11920 | { (char *)"RichTextRange_Get", (PyCFunction)_wrap_RichTextRange_Get, METH_O, NULL}, | |
11921 | { (char *)"RichTextRange_swigregister", RichTextRange_swigregister, METH_VARARGS, NULL}, | |
11922 | { (char *)"RichTextRange_swiginit", RichTextRange_swiginit, METH_VARARGS, NULL}, | |
11923 | { (char *)"new_RichTextAttr", (PyCFunction) _wrap_new_RichTextAttr, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11924 | { (char *)"delete_RichTextAttr", (PyCFunction)_wrap_delete_RichTextAttr, METH_O, NULL}, | |
11925 | { (char *)"RichTextAttr_CreateFont", (PyCFunction)_wrap_RichTextAttr_CreateFont, METH_O, NULL}, | |
11926 | { (char *)"RichTextAttr_GetFontAttributes", (PyCFunction) _wrap_RichTextAttr_GetFontAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11927 | { (char *)"RichTextAttr_SetTextColour", (PyCFunction) _wrap_RichTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11928 | { (char *)"RichTextAttr_SetBackgroundColour", (PyCFunction) _wrap_RichTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11929 | { (char *)"RichTextAttr_SetAlignment", (PyCFunction) _wrap_RichTextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11930 | { (char *)"RichTextAttr_SetTabs", (PyCFunction) _wrap_RichTextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11931 | { (char *)"RichTextAttr_SetLeftIndent", (PyCFunction) _wrap_RichTextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11932 | { (char *)"RichTextAttr_SetRightIndent", (PyCFunction) _wrap_RichTextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11933 | { (char *)"RichTextAttr_SetFontSize", (PyCFunction) _wrap_RichTextAttr_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11934 | { (char *)"RichTextAttr_SetFontStyle", (PyCFunction) _wrap_RichTextAttr_SetFontStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11935 | { (char *)"RichTextAttr_SetFontWeight", (PyCFunction) _wrap_RichTextAttr_SetFontWeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11936 | { (char *)"RichTextAttr_SetFontFaceName", (PyCFunction) _wrap_RichTextAttr_SetFontFaceName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11937 | { (char *)"RichTextAttr_SetFontUnderlined", (PyCFunction) _wrap_RichTextAttr_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11938 | { (char *)"RichTextAttr_SetFlags", (PyCFunction) _wrap_RichTextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11939 | { (char *)"RichTextAttr_SetCharacterStyleName", (PyCFunction) _wrap_RichTextAttr_SetCharacterStyleName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11940 | { (char *)"RichTextAttr_SetParagraphStyleName", (PyCFunction) _wrap_RichTextAttr_SetParagraphStyleName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11941 | { (char *)"RichTextAttr_SetParagraphSpacingAfter", (PyCFunction) _wrap_RichTextAttr_SetParagraphSpacingAfter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11942 | { (char *)"RichTextAttr_SetParagraphSpacingBefore", (PyCFunction) _wrap_RichTextAttr_SetParagraphSpacingBefore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11943 | { (char *)"RichTextAttr_SetLineSpacing", (PyCFunction) _wrap_RichTextAttr_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11944 | { (char *)"RichTextAttr_SetBulletStyle", (PyCFunction) _wrap_RichTextAttr_SetBulletStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11945 | { (char *)"RichTextAttr_SetBulletNumber", (PyCFunction) _wrap_RichTextAttr_SetBulletNumber, METH_VARARGS | METH_KEYWORDS, NULL}, | |
70d7cb34 | 11946 | { (char *)"RichTextAttr_SetBulletText", (PyCFunction) _wrap_RichTextAttr_SetBulletText, METH_VARARGS | METH_KEYWORDS, NULL}, |
b39fe951 | 11947 | { (char *)"RichTextAttr_SetBulletFont", (PyCFunction) _wrap_RichTextAttr_SetBulletFont, METH_VARARGS | METH_KEYWORDS, NULL}, |
f05326ba RD |
11948 | { (char *)"RichTextAttr_GetTextColour", (PyCFunction)_wrap_RichTextAttr_GetTextColour, METH_O, NULL}, |
11949 | { (char *)"RichTextAttr_GetBackgroundColour", (PyCFunction)_wrap_RichTextAttr_GetBackgroundColour, METH_O, NULL}, | |
11950 | { (char *)"RichTextAttr_GetAlignment", (PyCFunction)_wrap_RichTextAttr_GetAlignment, METH_O, NULL}, | |
11951 | { (char *)"RichTextAttr_GetTabs", (PyCFunction)_wrap_RichTextAttr_GetTabs, METH_O, NULL}, | |
11952 | { (char *)"RichTextAttr_GetLeftIndent", (PyCFunction)_wrap_RichTextAttr_GetLeftIndent, METH_O, NULL}, | |
11953 | { (char *)"RichTextAttr_GetLeftSubIndent", (PyCFunction)_wrap_RichTextAttr_GetLeftSubIndent, METH_O, NULL}, | |
11954 | { (char *)"RichTextAttr_GetRightIndent", (PyCFunction)_wrap_RichTextAttr_GetRightIndent, METH_O, NULL}, | |
11955 | { (char *)"RichTextAttr_GetFlags", (PyCFunction)_wrap_RichTextAttr_GetFlags, METH_O, NULL}, | |
11956 | { (char *)"RichTextAttr_GetFontSize", (PyCFunction)_wrap_RichTextAttr_GetFontSize, METH_O, NULL}, | |
11957 | { (char *)"RichTextAttr_GetFontStyle", (PyCFunction)_wrap_RichTextAttr_GetFontStyle, METH_O, NULL}, | |
11958 | { (char *)"RichTextAttr_GetFontWeight", (PyCFunction)_wrap_RichTextAttr_GetFontWeight, METH_O, NULL}, | |
11959 | { (char *)"RichTextAttr_GetFontUnderlined", (PyCFunction)_wrap_RichTextAttr_GetFontUnderlined, METH_O, NULL}, | |
11960 | { (char *)"RichTextAttr_GetFontFaceName", (PyCFunction)_wrap_RichTextAttr_GetFontFaceName, METH_O, NULL}, | |
11961 | { (char *)"RichTextAttr_GetCharacterStyleName", (PyCFunction)_wrap_RichTextAttr_GetCharacterStyleName, METH_O, NULL}, | |
11962 | { (char *)"RichTextAttr_GetParagraphStyleName", (PyCFunction)_wrap_RichTextAttr_GetParagraphStyleName, METH_O, NULL}, | |
11963 | { (char *)"RichTextAttr_GetParagraphSpacingAfter", (PyCFunction)_wrap_RichTextAttr_GetParagraphSpacingAfter, METH_O, NULL}, | |
11964 | { (char *)"RichTextAttr_GetParagraphSpacingBefore", (PyCFunction)_wrap_RichTextAttr_GetParagraphSpacingBefore, METH_O, NULL}, | |
11965 | { (char *)"RichTextAttr_GetLineSpacing", (PyCFunction)_wrap_RichTextAttr_GetLineSpacing, METH_O, NULL}, | |
11966 | { (char *)"RichTextAttr_GetBulletStyle", (PyCFunction)_wrap_RichTextAttr_GetBulletStyle, METH_O, NULL}, | |
11967 | { (char *)"RichTextAttr_GetBulletNumber", (PyCFunction)_wrap_RichTextAttr_GetBulletNumber, METH_O, NULL}, | |
70d7cb34 | 11968 | { (char *)"RichTextAttr_GetBulletText", (PyCFunction)_wrap_RichTextAttr_GetBulletText, METH_O, NULL}, |
b39fe951 | 11969 | { (char *)"RichTextAttr_GetBulletFont", (PyCFunction)_wrap_RichTextAttr_GetBulletFont, METH_O, NULL}, |
f05326ba RD |
11970 | { (char *)"RichTextAttr_HasTextColour", (PyCFunction)_wrap_RichTextAttr_HasTextColour, METH_O, NULL}, |
11971 | { (char *)"RichTextAttr_HasBackgroundColour", (PyCFunction)_wrap_RichTextAttr_HasBackgroundColour, METH_O, NULL}, | |
11972 | { (char *)"RichTextAttr_HasAlignment", (PyCFunction)_wrap_RichTextAttr_HasAlignment, METH_O, NULL}, | |
11973 | { (char *)"RichTextAttr_HasTabs", (PyCFunction)_wrap_RichTextAttr_HasTabs, METH_O, NULL}, | |
11974 | { (char *)"RichTextAttr_HasLeftIndent", (PyCFunction)_wrap_RichTextAttr_HasLeftIndent, METH_O, NULL}, | |
11975 | { (char *)"RichTextAttr_HasRightIndent", (PyCFunction)_wrap_RichTextAttr_HasRightIndent, METH_O, NULL}, | |
f05326ba RD |
11976 | { (char *)"RichTextAttr_HasFont", (PyCFunction)_wrap_RichTextAttr_HasFont, METH_O, NULL}, |
11977 | { (char *)"RichTextAttr_HasParagraphSpacingAfter", (PyCFunction)_wrap_RichTextAttr_HasParagraphSpacingAfter, METH_O, NULL}, | |
11978 | { (char *)"RichTextAttr_HasParagraphSpacingBefore", (PyCFunction)_wrap_RichTextAttr_HasParagraphSpacingBefore, METH_O, NULL}, | |
11979 | { (char *)"RichTextAttr_HasLineSpacing", (PyCFunction)_wrap_RichTextAttr_HasLineSpacing, METH_O, NULL}, | |
11980 | { (char *)"RichTextAttr_HasCharacterStyleName", (PyCFunction)_wrap_RichTextAttr_HasCharacterStyleName, METH_O, NULL}, | |
11981 | { (char *)"RichTextAttr_HasParagraphStyleName", (PyCFunction)_wrap_RichTextAttr_HasParagraphStyleName, METH_O, NULL}, | |
11982 | { (char *)"RichTextAttr_HasBulletStyle", (PyCFunction)_wrap_RichTextAttr_HasBulletStyle, METH_O, NULL}, | |
11983 | { (char *)"RichTextAttr_HasBulletNumber", (PyCFunction)_wrap_RichTextAttr_HasBulletNumber, METH_O, NULL}, | |
70d7cb34 | 11984 | { (char *)"RichTextAttr_HasBulletText", (PyCFunction)_wrap_RichTextAttr_HasBulletText, METH_O, NULL}, |
f05326ba RD |
11985 | { (char *)"RichTextAttr_HasFlag", (PyCFunction) _wrap_RichTextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL}, |
11986 | { (char *)"RichTextAttr_IsCharacterStyle", (PyCFunction)_wrap_RichTextAttr_IsCharacterStyle, METH_O, NULL}, | |
11987 | { (char *)"RichTextAttr_IsParagraphStyle", (PyCFunction)_wrap_RichTextAttr_IsParagraphStyle, METH_O, NULL}, | |
11988 | { (char *)"RichTextAttr_IsDefault", (PyCFunction)_wrap_RichTextAttr_IsDefault, METH_O, NULL}, | |
11989 | { (char *)"RichTextAttr_swigregister", RichTextAttr_swigregister, METH_VARARGS, NULL}, | |
11990 | { (char *)"RichTextAttr_swiginit", RichTextAttr_swiginit, METH_VARARGS, NULL}, | |
11991 | { (char *)"new_RichTextCtrl", (PyCFunction) _wrap_new_RichTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11992 | { (char *)"new_PreRichTextCtrl", (PyCFunction)_wrap_new_PreRichTextCtrl, METH_NOARGS, NULL}, | |
11993 | { (char *)"RichTextCtrl_Create", (PyCFunction) _wrap_RichTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11994 | { (char *)"RichTextCtrl_GetValue", (PyCFunction)_wrap_RichTextCtrl_GetValue, METH_O, NULL}, | |
11995 | { (char *)"RichTextCtrl_SetValue", (PyCFunction) _wrap_RichTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11996 | { (char *)"RichTextCtrl_GetRange", (PyCFunction) _wrap_RichTextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11997 | { (char *)"RichTextCtrl_GetLineLength", (PyCFunction) _wrap_RichTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11998 | { (char *)"RichTextCtrl_GetLineText", (PyCFunction) _wrap_RichTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11999 | { (char *)"RichTextCtrl_GetNumberOfLines", (PyCFunction)_wrap_RichTextCtrl_GetNumberOfLines, METH_O, NULL}, | |
12000 | { (char *)"RichTextCtrl_IsModified", (PyCFunction)_wrap_RichTextCtrl_IsModified, METH_O, NULL}, | |
12001 | { (char *)"RichTextCtrl_IsEditable", (PyCFunction)_wrap_RichTextCtrl_IsEditable, METH_O, NULL}, | |
12002 | { (char *)"RichTextCtrl_IsSingleLine", (PyCFunction)_wrap_RichTextCtrl_IsSingleLine, METH_O, NULL}, | |
12003 | { (char *)"RichTextCtrl_IsMultiLine", (PyCFunction)_wrap_RichTextCtrl_IsMultiLine, METH_O, NULL}, | |
12004 | { (char *)"RichTextCtrl_GetSelection", (PyCFunction)_wrap_RichTextCtrl_GetSelection, METH_O, NULL}, | |
12005 | { (char *)"RichTextCtrl_GetStringSelection", (PyCFunction)_wrap_RichTextCtrl_GetStringSelection, METH_O, NULL}, | |
12006 | { (char *)"RichTextCtrl_GetFilename", (PyCFunction)_wrap_RichTextCtrl_GetFilename, METH_O, NULL}, | |
12007 | { (char *)"RichTextCtrl_SetFilename", (PyCFunction) _wrap_RichTextCtrl_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12008 | { (char *)"RichTextCtrl_SetDelayedLayoutThreshold", (PyCFunction) _wrap_RichTextCtrl_SetDelayedLayoutThreshold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12009 | { (char *)"RichTextCtrl_GetDelayedLayoutThreshold", (PyCFunction)_wrap_RichTextCtrl_GetDelayedLayoutThreshold, METH_O, NULL}, | |
12010 | { (char *)"RichTextCtrl_Clear", (PyCFunction)_wrap_RichTextCtrl_Clear, METH_O, NULL}, | |
12011 | { (char *)"RichTextCtrl_Replace", (PyCFunction) _wrap_RichTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12012 | { (char *)"RichTextCtrl_Remove", (PyCFunction) _wrap_RichTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12013 | { (char *)"RichTextCtrl_LoadFile", (PyCFunction) _wrap_RichTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12014 | { (char *)"RichTextCtrl_SaveFile", (PyCFunction) _wrap_RichTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
70d7cb34 RD |
12015 | { (char *)"RichTextCtrl_SetHandlerFlags", (PyCFunction) _wrap_RichTextCtrl_SetHandlerFlags, METH_VARARGS | METH_KEYWORDS, NULL}, |
12016 | { (char *)"RichTextCtrl_GetHandlerFlags", (PyCFunction)_wrap_RichTextCtrl_GetHandlerFlags, METH_O, NULL}, | |
f05326ba RD |
12017 | { (char *)"RichTextCtrl_MarkDirty", (PyCFunction)_wrap_RichTextCtrl_MarkDirty, METH_O, NULL}, |
12018 | { (char *)"RichTextCtrl_DiscardEdits", (PyCFunction)_wrap_RichTextCtrl_DiscardEdits, METH_O, NULL}, | |
12019 | { (char *)"RichTextCtrl_SetMaxLength", (PyCFunction) _wrap_RichTextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12020 | { (char *)"RichTextCtrl_WriteText", (PyCFunction) _wrap_RichTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12021 | { (char *)"RichTextCtrl_AppendText", (PyCFunction) _wrap_RichTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12022 | { (char *)"RichTextCtrl_SetStyle", (PyCFunction) _wrap_RichTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
b39fe951 | 12023 | { (char *)"RichTextCtrl_SetStyleEx", (PyCFunction) _wrap_RichTextCtrl_SetStyleEx, METH_VARARGS | METH_KEYWORDS, NULL}, |
f05326ba | 12024 | { (char *)"RichTextCtrl_GetStyle", (PyCFunction) _wrap_RichTextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, |
c2829a8f | 12025 | { (char *)"RichTextCtrl_GetUncombinedStyle", (PyCFunction) _wrap_RichTextCtrl_GetUncombinedStyle, METH_VARARGS | METH_KEYWORDS, NULL}, |
f05326ba RD |
12026 | { (char *)"RichTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_RichTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL}, |
12027 | { (char *)"RichTextCtrl_GetDefaultStyle", (PyCFunction)_wrap_RichTextCtrl_GetDefaultStyle, METH_O, NULL}, | |
12028 | { (char *)"RichTextCtrl_XYToPosition", (PyCFunction) _wrap_RichTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12029 | { (char *)"RichTextCtrl_PositionToXY", (PyCFunction) _wrap_RichTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12030 | { (char *)"RichTextCtrl_ShowPosition", (PyCFunction) _wrap_RichTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12031 | { (char *)"RichTextCtrl_HitTest", (PyCFunction) _wrap_RichTextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12032 | { (char *)"RichTextCtrl_HitTestXY", (PyCFunction) _wrap_RichTextCtrl_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12033 | { (char *)"RichTextCtrl_Copy", (PyCFunction)_wrap_RichTextCtrl_Copy, METH_O, NULL}, | |
12034 | { (char *)"RichTextCtrl_Cut", (PyCFunction)_wrap_RichTextCtrl_Cut, METH_O, NULL}, | |
12035 | { (char *)"RichTextCtrl_Paste", (PyCFunction)_wrap_RichTextCtrl_Paste, METH_O, NULL}, | |
12036 | { (char *)"RichTextCtrl_DeleteSelection", (PyCFunction)_wrap_RichTextCtrl_DeleteSelection, METH_O, NULL}, | |
12037 | { (char *)"RichTextCtrl_CanCopy", (PyCFunction)_wrap_RichTextCtrl_CanCopy, METH_O, NULL}, | |
12038 | { (char *)"RichTextCtrl_CanCut", (PyCFunction)_wrap_RichTextCtrl_CanCut, METH_O, NULL}, | |
12039 | { (char *)"RichTextCtrl_CanPaste", (PyCFunction)_wrap_RichTextCtrl_CanPaste, METH_O, NULL}, | |
12040 | { (char *)"RichTextCtrl_CanDeleteSelection", (PyCFunction)_wrap_RichTextCtrl_CanDeleteSelection, METH_O, NULL}, | |
12041 | { (char *)"RichTextCtrl_Undo", (PyCFunction)_wrap_RichTextCtrl_Undo, METH_O, NULL}, | |
12042 | { (char *)"RichTextCtrl_Redo", (PyCFunction)_wrap_RichTextCtrl_Redo, METH_O, NULL}, | |
12043 | { (char *)"RichTextCtrl_CanUndo", (PyCFunction)_wrap_RichTextCtrl_CanUndo, METH_O, NULL}, | |
12044 | { (char *)"RichTextCtrl_CanRedo", (PyCFunction)_wrap_RichTextCtrl_CanRedo, METH_O, NULL}, | |
12045 | { (char *)"RichTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_RichTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12046 | { (char *)"RichTextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_RichTextCtrl_SetInsertionPointEnd, METH_O, NULL}, | |
12047 | { (char *)"RichTextCtrl_GetInsertionPoint", (PyCFunction)_wrap_RichTextCtrl_GetInsertionPoint, METH_O, NULL}, | |
12048 | { (char *)"RichTextCtrl_GetLastPosition", (PyCFunction)_wrap_RichTextCtrl_GetLastPosition, METH_O, NULL}, | |
12049 | { (char *)"RichTextCtrl_SetSelection", (PyCFunction) _wrap_RichTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12050 | { (char *)"RichTextCtrl_SelectAll", (PyCFunction)_wrap_RichTextCtrl_SelectAll, METH_O, NULL}, | |
12051 | { (char *)"RichTextCtrl_SetEditable", (PyCFunction) _wrap_RichTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12052 | { (char *)"RichTextCtrl_HasSelection", (PyCFunction)_wrap_RichTextCtrl_HasSelection, METH_O, NULL}, | |
12053 | { (char *)"RichTextCtrl_WriteImage", (PyCFunction) _wrap_RichTextCtrl_WriteImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12054 | { (char *)"RichTextCtrl_WriteBitmap", (PyCFunction) _wrap_RichTextCtrl_WriteBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12055 | { (char *)"RichTextCtrl_WriteImageFile", (PyCFunction) _wrap_RichTextCtrl_WriteImageFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12056 | { (char *)"RichTextCtrl_WriteImageBlock", (PyCFunction) _wrap_RichTextCtrl_WriteImageBlock, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12057 | { (char *)"RichTextCtrl_Newline", (PyCFunction)_wrap_RichTextCtrl_Newline, METH_O, NULL}, | |
12058 | { (char *)"RichTextCtrl_SetBasicStyle", (PyCFunction) _wrap_RichTextCtrl_SetBasicStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12059 | { (char *)"RichTextCtrl_EndStyle", (PyCFunction)_wrap_RichTextCtrl_EndStyle, METH_O, NULL}, | |
12060 | { (char *)"RichTextCtrl_EndAllStyles", (PyCFunction)_wrap_RichTextCtrl_EndAllStyles, METH_O, NULL}, | |
12061 | { (char *)"RichTextCtrl_BeginBold", (PyCFunction)_wrap_RichTextCtrl_BeginBold, METH_O, NULL}, | |
12062 | { (char *)"RichTextCtrl_EndBold", (PyCFunction)_wrap_RichTextCtrl_EndBold, METH_O, NULL}, | |
12063 | { (char *)"RichTextCtrl_BeginItalic", (PyCFunction)_wrap_RichTextCtrl_BeginItalic, METH_O, NULL}, | |
12064 | { (char *)"RichTextCtrl_EndItalic", (PyCFunction)_wrap_RichTextCtrl_EndItalic, METH_O, NULL}, | |
12065 | { (char *)"RichTextCtrl_BeginUnderline", (PyCFunction)_wrap_RichTextCtrl_BeginUnderline, METH_O, NULL}, | |
12066 | { (char *)"RichTextCtrl_EndUnderline", (PyCFunction)_wrap_RichTextCtrl_EndUnderline, METH_O, NULL}, | |
12067 | { (char *)"RichTextCtrl_BeginFontSize", (PyCFunction) _wrap_RichTextCtrl_BeginFontSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12068 | { (char *)"RichTextCtrl_EndFontSize", (PyCFunction)_wrap_RichTextCtrl_EndFontSize, METH_O, NULL}, | |
12069 | { (char *)"RichTextCtrl_BeginFont", (PyCFunction) _wrap_RichTextCtrl_BeginFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12070 | { (char *)"RichTextCtrl_EndFont", (PyCFunction)_wrap_RichTextCtrl_EndFont, METH_O, NULL}, | |
12071 | { (char *)"RichTextCtrl_BeginTextColour", (PyCFunction) _wrap_RichTextCtrl_BeginTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12072 | { (char *)"RichTextCtrl_EndTextColour", (PyCFunction)_wrap_RichTextCtrl_EndTextColour, METH_O, NULL}, | |
12073 | { (char *)"RichTextCtrl_BeginAlignment", (PyCFunction) _wrap_RichTextCtrl_BeginAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12074 | { (char *)"RichTextCtrl_EndAlignment", (PyCFunction)_wrap_RichTextCtrl_EndAlignment, METH_O, NULL}, | |
12075 | { (char *)"RichTextCtrl_BeginLeftIndent", (PyCFunction) _wrap_RichTextCtrl_BeginLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12076 | { (char *)"RichTextCtrl_EndLeftIndent", (PyCFunction)_wrap_RichTextCtrl_EndLeftIndent, METH_O, NULL}, | |
12077 | { (char *)"RichTextCtrl_BeginRightIndent", (PyCFunction) _wrap_RichTextCtrl_BeginRightIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12078 | { (char *)"RichTextCtrl_EndRightIndent", (PyCFunction)_wrap_RichTextCtrl_EndRightIndent, METH_O, NULL}, | |
12079 | { (char *)"RichTextCtrl_BeginParagraphSpacing", (PyCFunction) _wrap_RichTextCtrl_BeginParagraphSpacing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12080 | { (char *)"RichTextCtrl_EndParagraphSpacing", (PyCFunction)_wrap_RichTextCtrl_EndParagraphSpacing, METH_O, NULL}, | |
12081 | { (char *)"RichTextCtrl_BeginLineSpacing", (PyCFunction) _wrap_RichTextCtrl_BeginLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12082 | { (char *)"RichTextCtrl_EndLineSpacing", (PyCFunction)_wrap_RichTextCtrl_EndLineSpacing, METH_O, NULL}, | |
12083 | { (char *)"RichTextCtrl_BeginNumberedBullet", (PyCFunction) _wrap_RichTextCtrl_BeginNumberedBullet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12084 | { (char *)"RichTextCtrl_EndNumberedBullet", (PyCFunction)_wrap_RichTextCtrl_EndNumberedBullet, METH_O, NULL}, | |
12085 | { (char *)"RichTextCtrl_BeginSymbolBullet", (PyCFunction) _wrap_RichTextCtrl_BeginSymbolBullet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12086 | { (char *)"RichTextCtrl_EndSymbolBullet", (PyCFunction)_wrap_RichTextCtrl_EndSymbolBullet, METH_O, NULL}, | |
12087 | { (char *)"RichTextCtrl_BeginCharacterStyle", (PyCFunction) _wrap_RichTextCtrl_BeginCharacterStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12088 | { (char *)"RichTextCtrl_EndCharacterStyle", (PyCFunction)_wrap_RichTextCtrl_EndCharacterStyle, METH_O, NULL}, | |
12089 | { (char *)"RichTextCtrl_BeginParagraphStyle", (PyCFunction) _wrap_RichTextCtrl_BeginParagraphStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12090 | { (char *)"RichTextCtrl_EndParagraphStyle", (PyCFunction)_wrap_RichTextCtrl_EndParagraphStyle, METH_O, NULL}, | |
70d7cb34 RD |
12091 | { (char *)"RichTextCtrl_BeginListStyle", (PyCFunction) _wrap_RichTextCtrl_BeginListStyle, METH_VARARGS | METH_KEYWORDS, NULL}, |
12092 | { (char *)"RichTextCtrl_EndListStyle", (PyCFunction)_wrap_RichTextCtrl_EndListStyle, METH_O, NULL}, | |
12093 | { (char *)"RichTextCtrl_BeginURL", (PyCFunction) _wrap_RichTextCtrl_BeginURL, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12094 | { (char *)"RichTextCtrl_EndURL", (PyCFunction)_wrap_RichTextCtrl_EndURL, METH_O, NULL}, | |
f05326ba RD |
12095 | { (char *)"RichTextCtrl_SetDefaultStyleToCursorStyle", (PyCFunction)_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle, METH_O, NULL}, |
12096 | { (char *)"RichTextCtrl_SelectNone", (PyCFunction)_wrap_RichTextCtrl_SelectNone, METH_O, NULL}, | |
c2829a8f | 12097 | { (char *)"RichTextCtrl_SelectWord", (PyCFunction) _wrap_RichTextCtrl_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL}, |
f05326ba RD |
12098 | { (char *)"RichTextCtrl_GetSelectionRange", (PyCFunction)_wrap_RichTextCtrl_GetSelectionRange, METH_O, NULL}, |
12099 | { (char *)"RichTextCtrl_SetSelectionRange", (PyCFunction) _wrap_RichTextCtrl_SetSelectionRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
79df624a RD |
12100 | { (char *)"RichTextCtrl_GetInternalSelectionRange", (PyCFunction)_wrap_RichTextCtrl_GetInternalSelectionRange, METH_O, NULL}, |
12101 | { (char *)"RichTextCtrl_SetInternalSelectionRange", (PyCFunction) _wrap_RichTextCtrl_SetInternalSelectionRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
f05326ba RD |
12102 | { (char *)"RichTextCtrl_AddParagraph", (PyCFunction) _wrap_RichTextCtrl_AddParagraph, METH_VARARGS | METH_KEYWORDS, NULL}, |
12103 | { (char *)"RichTextCtrl_AddImage", (PyCFunction) _wrap_RichTextCtrl_AddImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12104 | { (char *)"RichTextCtrl_LayoutContent", (PyCFunction) _wrap_RichTextCtrl_LayoutContent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12105 | { (char *)"RichTextCtrl_MoveCaret", (PyCFunction) _wrap_RichTextCtrl_MoveCaret, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12106 | { (char *)"RichTextCtrl_MoveRight", (PyCFunction) _wrap_RichTextCtrl_MoveRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12107 | { (char *)"RichTextCtrl_MoveLeft", (PyCFunction) _wrap_RichTextCtrl_MoveLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12108 | { (char *)"RichTextCtrl_MoveUp", (PyCFunction) _wrap_RichTextCtrl_MoveUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12109 | { (char *)"RichTextCtrl_MoveDown", (PyCFunction) _wrap_RichTextCtrl_MoveDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12110 | { (char *)"RichTextCtrl_MoveToLineEnd", (PyCFunction) _wrap_RichTextCtrl_MoveToLineEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12111 | { (char *)"RichTextCtrl_MoveToLineStart", (PyCFunction) _wrap_RichTextCtrl_MoveToLineStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12112 | { (char *)"RichTextCtrl_MoveToParagraphEnd", (PyCFunction) _wrap_RichTextCtrl_MoveToParagraphEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12113 | { (char *)"RichTextCtrl_MoveToParagraphStart", (PyCFunction) _wrap_RichTextCtrl_MoveToParagraphStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12114 | { (char *)"RichTextCtrl_MoveHome", (PyCFunction) _wrap_RichTextCtrl_MoveHome, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12115 | { (char *)"RichTextCtrl_MoveEnd", (PyCFunction) _wrap_RichTextCtrl_MoveEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12116 | { (char *)"RichTextCtrl_PageUp", (PyCFunction) _wrap_RichTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12117 | { (char *)"RichTextCtrl_PageDown", (PyCFunction) _wrap_RichTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12118 | { (char *)"RichTextCtrl_WordLeft", (PyCFunction) _wrap_RichTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12119 | { (char *)"RichTextCtrl_WordRight", (PyCFunction) _wrap_RichTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12120 | { (char *)"RichTextCtrl_GetBuffer", (PyCFunction)_wrap_RichTextCtrl_GetBuffer, METH_O, NULL}, | |
12121 | { (char *)"RichTextCtrl_BeginBatchUndo", (PyCFunction) _wrap_RichTextCtrl_BeginBatchUndo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12122 | { (char *)"RichTextCtrl_EndBatchUndo", (PyCFunction)_wrap_RichTextCtrl_EndBatchUndo, METH_O, NULL}, | |
12123 | { (char *)"RichTextCtrl_BatchingUndo", (PyCFunction)_wrap_RichTextCtrl_BatchingUndo, METH_O, NULL}, | |
12124 | { (char *)"RichTextCtrl_BeginSuppressUndo", (PyCFunction)_wrap_RichTextCtrl_BeginSuppressUndo, METH_O, NULL}, | |
12125 | { (char *)"RichTextCtrl_EndSuppressUndo", (PyCFunction)_wrap_RichTextCtrl_EndSuppressUndo, METH_O, NULL}, | |
12126 | { (char *)"RichTextCtrl_SuppressingUndo", (PyCFunction)_wrap_RichTextCtrl_SuppressingUndo, METH_O, NULL}, | |
12127 | { (char *)"RichTextCtrl_HasCharacterAttributes", (PyCFunction) _wrap_RichTextCtrl_HasCharacterAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12128 | { (char *)"RichTextCtrl_HasParagraphAttributes", (PyCFunction) _wrap_RichTextCtrl_HasParagraphAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12129 | { (char *)"RichTextCtrl_IsSelectionBold", (PyCFunction)_wrap_RichTextCtrl_IsSelectionBold, METH_O, NULL}, | |
12130 | { (char *)"RichTextCtrl_IsSelectionItalics", (PyCFunction)_wrap_RichTextCtrl_IsSelectionItalics, METH_O, NULL}, | |
12131 | { (char *)"RichTextCtrl_IsSelectionUnderlined", (PyCFunction)_wrap_RichTextCtrl_IsSelectionUnderlined, METH_O, NULL}, | |
12132 | { (char *)"RichTextCtrl_IsSelectionAligned", (PyCFunction) _wrap_RichTextCtrl_IsSelectionAligned, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12133 | { (char *)"RichTextCtrl_ApplyBoldToSelection", (PyCFunction)_wrap_RichTextCtrl_ApplyBoldToSelection, METH_O, NULL}, | |
12134 | { (char *)"RichTextCtrl_ApplyItalicToSelection", (PyCFunction)_wrap_RichTextCtrl_ApplyItalicToSelection, METH_O, NULL}, | |
12135 | { (char *)"RichTextCtrl_ApplyUnderlineToSelection", (PyCFunction)_wrap_RichTextCtrl_ApplyUnderlineToSelection, METH_O, NULL}, | |
12136 | { (char *)"RichTextCtrl_ApplyAlignmentToSelection", (PyCFunction) _wrap_RichTextCtrl_ApplyAlignmentToSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12137 | { (char *)"RichTextCtrl_SetStyleSheet", (PyCFunction) _wrap_RichTextCtrl_SetStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12138 | { (char *)"RichTextCtrl_GetStyleSheet", (PyCFunction)_wrap_RichTextCtrl_GetStyleSheet, METH_O, NULL}, | |
c2829a8f | 12139 | { (char *)"RichTextCtrl_ApplyStyleSheet", (PyCFunction) _wrap_RichTextCtrl_ApplyStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL}, |
f05326ba RD |
12140 | { (char *)"RichTextCtrl_swigregister", RichTextCtrl_swigregister, METH_VARARGS, NULL}, |
12141 | { (char *)"RichTextCtrl_swiginit", RichTextCtrl_swiginit, METH_VARARGS, NULL}, | |
12142 | { (char *)"new_RichTextEvent", (PyCFunction) _wrap_new_RichTextEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
f27895d2 RD |
12143 | { (char *)"RichTextEvent_GetPosition", (PyCFunction)_wrap_RichTextEvent_GetPosition, METH_O, NULL}, |
12144 | { (char *)"RichTextEvent_SetPosition", (PyCFunction) _wrap_RichTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
f05326ba RD |
12145 | { (char *)"RichTextEvent_GetFlags", (PyCFunction)_wrap_RichTextEvent_GetFlags, METH_O, NULL}, |
12146 | { (char *)"RichTextEvent_SetFlags", (PyCFunction) _wrap_RichTextEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
12147 | { (char *)"RichTextEvent_swigregister", RichTextEvent_swigregister, METH_VARARGS, NULL}, | |
12148 | { (char *)"RichTextEvent_swiginit", RichTextEvent_swiginit, METH_VARARGS, NULL}, | |
12149 | { NULL, NULL, 0, NULL } | |
12150 | }; | |
12151 | ||
12152 | ||
12153 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
12154 | ||
12155 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
12156 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
12157 | } | |
12158 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
12159 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
12160 | } | |
12161 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { | |
12162 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
12163 | } | |
12164 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
12165 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
12166 | } | |
12167 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
12168 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
12169 | } | |
f9bf356b RD |
12170 | static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) { |
12171 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
12172 | } | |
f05326ba RD |
12173 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { |
12174 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
12175 | } | |
12176 | static void *_p_wxRichTextCtrlTo_p_wxPanel(void *x) { | |
12177 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxRichTextCtrl *) x)); | |
12178 | } | |
12179 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
12180 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
12181 | } | |
12182 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
12183 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
12184 | } | |
12185 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
12186 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
12187 | } | |
12188 | static void *_p_wxRichTextEventTo_p_wxNotifyEvent(void *x) { | |
12189 | return (void *)((wxNotifyEvent *) ((wxRichTextEvent *) x)); | |
12190 | } | |
12191 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
12192 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
12193 | } | |
12194 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { | |
12195 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
12196 | } | |
12197 | static void *_p_wxRichTextCtrlTo_p_wxScrolledWindow(void *x) { | |
12198 | return (void *)((wxScrolledWindow *) ((wxRichTextCtrl *) x)); | |
12199 | } | |
12200 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
12201 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
12202 | } | |
12203 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
12204 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
12205 | } | |
12206 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
12207 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
12208 | } | |
12209 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
12210 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
12211 | } | |
12212 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
12213 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
12214 | } | |
12215 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
12216 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
12217 | } | |
12218 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
12219 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
12220 | } | |
12221 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
12222 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
12223 | } | |
27e45892 RD |
12224 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { |
12225 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
12226 | } | |
f05326ba RD |
12227 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
12228 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
12229 | } | |
12230 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
12231 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
12232 | } | |
12233 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
12234 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
12235 | } | |
12236 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
12237 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
12238 | } | |
12239 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
12240 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
12241 | } | |
12242 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
12243 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
12244 | } | |
12245 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
12246 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
12247 | } | |
12248 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
12249 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
12250 | } | |
12251 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
12252 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
12253 | } | |
12254 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
12255 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
12256 | } | |
12257 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
12258 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
12259 | } | |
12260 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
12261 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
12262 | } | |
12263 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
12264 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
12265 | } | |
12266 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
12267 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
12268 | } | |
12269 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
12270 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
12271 | } | |
12272 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
12273 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
12274 | } | |
12275 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
12276 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
12277 | } | |
12278 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
12279 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
12280 | } | |
12281 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { | |
12282 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
12283 | } | |
12284 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
12285 | return (void *)((wxWindow *) ((wxControl *) x)); | |
12286 | } | |
12287 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
12288 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
12289 | } | |
12290 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
12291 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
12292 | } | |
12293 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
12294 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
12295 | } | |
12296 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
12297 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
12298 | } | |
12299 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
12300 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
12301 | } | |
12302 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
12303 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
12304 | } | |
f9bf356b RD |
12305 | static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) { |
12306 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
12307 | } | |
f05326ba RD |
12308 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
12309 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
12310 | } | |
12311 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
12312 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
12313 | } | |
12314 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
12315 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
12316 | } | |
12317 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
12318 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
12319 | } | |
12320 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
12321 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
12322 | } | |
12323 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
12324 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
12325 | } | |
12326 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
12327 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
12328 | } | |
12329 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
12330 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
12331 | } | |
12332 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
12333 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
12334 | } | |
12335 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
12336 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
12337 | } | |
12338 | static void *_p_wxRichTextCtrlTo_p_wxWindow(void *x) { | |
12339 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxRichTextCtrl *) x)); | |
12340 | } | |
12341 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
12342 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
12343 | } | |
12344 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
12345 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
12346 | } | |
12347 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
12348 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
12349 | } | |
12350 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
12351 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
12352 | } | |
12353 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
12354 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
12355 | } | |
12356 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
12357 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
12358 | } | |
12359 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
12360 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
12361 | } | |
12362 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
12363 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
12364 | } | |
12365 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
12366 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
12367 | } | |
12368 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
12369 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
12370 | } | |
12371 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
12372 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
12373 | } | |
34e0a3bb RD |
12374 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
12375 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
12376 | } | |
f05326ba RD |
12377 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
12378 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
12379 | } | |
12380 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
12381 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
12382 | } | |
12383 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
12384 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
12385 | } | |
12386 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
12387 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
12388 | } | |
12389 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
12390 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
12391 | } | |
12392 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
12393 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
12394 | } | |
12395 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
12396 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
12397 | } | |
12398 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
12399 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
12400 | } | |
12401 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
12402 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
12403 | } | |
12404 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
12405 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
12406 | } | |
12407 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
12408 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
12409 | } | |
f05326ba RD |
12410 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
12411 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
12412 | } | |
12413 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
12414 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
12415 | } | |
34e0a3bb RD |
12416 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
12417 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
12418 | } | |
f05326ba RD |
12419 | static void *_p_wxRichTextEventTo_p_wxEvent(void *x) { |
12420 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxRichTextEvent *) x)); | |
12421 | } | |
12422 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
12423 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
12424 | } | |
12425 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
12426 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
12427 | } | |
12428 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
12429 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
12430 | } | |
12431 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
12432 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
12433 | } | |
12434 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
12435 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
12436 | } | |
12437 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
12438 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
12439 | } | |
12440 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
12441 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
12442 | } | |
12443 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
12444 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
12445 | } | |
12446 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
12447 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
12448 | } | |
12449 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
12450 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
12451 | } | |
12452 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
12453 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
12454 | } | |
12455 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
12456 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
12457 | } | |
12458 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
12459 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
12460 | } | |
12461 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
12462 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
12463 | } | |
12464 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
12465 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
12466 | } | |
12467 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
12468 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
12469 | } | |
12470 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
12471 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
12472 | } | |
12473 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
12474 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
12475 | } | |
453fb36b RD |
12476 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { |
12477 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
f05326ba | 12478 | } |
453fb36b RD |
12479 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { |
12480 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
f05326ba | 12481 | } |
4976f996 RD |
12482 | static void *_p_wxEventBlockerTo_p_wxObject(void *x) { |
12483 | return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x)); | |
12484 | } | |
f05326ba RD |
12485 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { |
12486 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
12487 | } | |
453fb36b RD |
12488 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { |
12489 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
f05326ba | 12490 | } |
453fb36b RD |
12491 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
12492 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
f05326ba | 12493 | } |
34e0a3bb RD |
12494 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
12495 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
12496 | } | |
453fb36b RD |
12497 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
12498 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
f05326ba | 12499 | } |
453fb36b RD |
12500 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { |
12501 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
f05326ba | 12502 | } |
453fb36b RD |
12503 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { |
12504 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
f05326ba | 12505 | } |
453fb36b RD |
12506 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { |
12507 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
f05326ba | 12508 | } |
453fb36b RD |
12509 | static void *_p_wxSizerTo_p_wxObject(void *x) { |
12510 | return (void *)((wxObject *) ((wxSizer *) x)); | |
f05326ba | 12511 | } |
453fb36b RD |
12512 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { |
12513 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
f05326ba | 12514 | } |
453fb36b RD |
12515 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { |
12516 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
f05326ba | 12517 | } |
453fb36b RD |
12518 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { |
12519 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
f05326ba | 12520 | } |
453fb36b RD |
12521 | static void *_p_wxEventTo_p_wxObject(void *x) { |
12522 | return (void *)((wxObject *) ((wxEvent *) x)); | |
f05326ba | 12523 | } |
453fb36b RD |
12524 | static void *_p_wxFontDataTo_p_wxObject(void *x) { |
12525 | return (void *)((wxObject *) ((wxFontData *) x)); | |
f05326ba | 12526 | } |
453fb36b RD |
12527 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { |
12528 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
f05326ba | 12529 | } |
453fb36b RD |
12530 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { |
12531 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
f05326ba | 12532 | } |
4976f996 RD |
12533 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { |
12534 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
12535 | } | |
453fb36b RD |
12536 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { |
12537 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
f05326ba | 12538 | } |
453fb36b RD |
12539 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { |
12540 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
f05326ba | 12541 | } |
453fb36b RD |
12542 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
12543 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
f05326ba | 12544 | } |
453fb36b RD |
12545 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { |
12546 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
f05326ba | 12547 | } |
453fb36b RD |
12548 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
12549 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
f05326ba | 12550 | } |
453fb36b RD |
12551 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { |
12552 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
f05326ba | 12553 | } |
453fb36b RD |
12554 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { |
12555 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
f05326ba | 12556 | } |
453fb36b RD |
12557 | static void *_p_wxRichTextEventTo_p_wxObject(void *x) { |
12558 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxRichTextEvent *) x)); | |
f05326ba | 12559 | } |
453fb36b RD |
12560 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { |
12561 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
f05326ba | 12562 | } |
453fb36b RD |
12563 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { |
12564 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
f05326ba | 12565 | } |
453fb36b RD |
12566 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { |
12567 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
f05326ba | 12568 | } |
453fb36b RD |
12569 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { |
12570 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
f05326ba | 12571 | } |
453fb36b RD |
12572 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { |
12573 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
f05326ba RD |
12574 | } |
12575 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
12576 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
12577 | } | |
453fb36b RD |
12578 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { |
12579 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
f05326ba | 12580 | } |
453fb36b RD |
12581 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { |
12582 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
f05326ba | 12583 | } |
453fb36b RD |
12584 | static void *_p_wxFSFileTo_p_wxObject(void *x) { |
12585 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
f05326ba | 12586 | } |
453fb36b RD |
12587 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { |
12588 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
f05326ba | 12589 | } |
453fb36b RD |
12590 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
12591 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
f05326ba RD |
12592 | } |
12593 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
12594 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
12595 | } | |
453fb36b RD |
12596 | static void *_p_wxRichTextCtrlTo_p_wxObject(void *x) { |
12597 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxRichTextCtrl *) x)); | |
f05326ba | 12598 | } |
453fb36b RD |
12599 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
12600 | return (void *)((wxObject *) ((wxColourData *) x)); | |
f05326ba | 12601 | } |
453fb36b RD |
12602 | static void *_p_wxPyEventTo_p_wxObject(void *x) { |
12603 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
f05326ba | 12604 | } |
453fb36b RD |
12605 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { |
12606 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
f05326ba | 12607 | } |
453fb36b RD |
12608 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { |
12609 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
f05326ba RD |
12610 | } |
12611 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
12612 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
12613 | } | |
453fb36b RD |
12614 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { |
12615 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
f05326ba | 12616 | } |
453fb36b RD |
12617 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { |
12618 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
f05326ba | 12619 | } |
453fb36b RD |
12620 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { |
12621 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
f05326ba | 12622 | } |
453fb36b RD |
12623 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { |
12624 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
f05326ba | 12625 | } |
453fb36b RD |
12626 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
12627 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
f05326ba | 12628 | } |
27e45892 RD |
12629 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { |
12630 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
12631 | } | |
453fb36b RD |
12632 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
12633 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
f05326ba | 12634 | } |
453fb36b RD |
12635 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { |
12636 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
f05326ba | 12637 | } |
453fb36b RD |
12638 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { |
12639 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
f05326ba | 12640 | } |
453fb36b RD |
12641 | static void *_p_wxShowEventTo_p_wxObject(void *x) { |
12642 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
f05326ba | 12643 | } |
453fb36b RD |
12644 | static void *_p_wxPrinterTo_p_wxObject(void *x) { |
12645 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
f05326ba | 12646 | } |
453fb36b RD |
12647 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { |
12648 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
f05326ba | 12649 | } |
453fb36b RD |
12650 | static void *_p_wxDateEventTo_p_wxObject(void *x) { |
12651 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
f05326ba | 12652 | } |
453fb36b RD |
12653 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { |
12654 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
f05326ba | 12655 | } |
453fb36b RD |
12656 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { |
12657 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
f05326ba | 12658 | } |
453fb36b RD |
12659 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { |
12660 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
f05326ba | 12661 | } |
453fb36b RD |
12662 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { |
12663 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
f05326ba | 12664 | } |
453fb36b RD |
12665 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { |
12666 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
f05326ba | 12667 | } |
453fb36b RD |
12668 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { |
12669 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
f05326ba | 12670 | } |
453fb36b RD |
12671 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { |
12672 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
f05326ba | 12673 | } |
453fb36b RD |
12674 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { |
12675 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
f05326ba | 12676 | } |
453fb36b RD |
12677 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { |
12678 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
f05326ba | 12679 | } |
453fb36b RD |
12680 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { |
12681 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
f05326ba | 12682 | } |
453fb36b RD |
12683 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { |
12684 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
f05326ba | 12685 | } |
453fb36b RD |
12686 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { |
12687 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
f05326ba | 12688 | } |
453fb36b RD |
12689 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { |
12690 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
f05326ba | 12691 | } |
453fb36b RD |
12692 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { |
12693 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
f05326ba | 12694 | } |
453fb36b RD |
12695 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { |
12696 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
f05326ba | 12697 | } |
453fb36b RD |
12698 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { |
12699 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
f05326ba | 12700 | } |
453fb36b RD |
12701 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { |
12702 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
f05326ba | 12703 | } |
453fb36b RD |
12704 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { |
12705 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
f05326ba | 12706 | } |
453fb36b RD |
12707 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { |
12708 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
f05326ba RD |
12709 | } |
12710 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
12711 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
12712 | } | |
453fb36b RD |
12713 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { |
12714 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
f05326ba | 12715 | } |
580080c5 RD |
12716 | static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { |
12717 | return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); | |
12718 | } | |
453fb36b RD |
12719 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
12720 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
f05326ba | 12721 | } |
34e0a3bb RD |
12722 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
12723 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
12724 | } | |
453fb36b RD |
12725 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
12726 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
f05326ba | 12727 | } |
453fb36b RD |
12728 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { |
12729 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
f05326ba | 12730 | } |
453fb36b RD |
12731 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { |
12732 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
f05326ba | 12733 | } |
f9bf356b RD |
12734 | static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) { |
12735 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
12736 | } | |
453fb36b RD |
12737 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
12738 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
f05326ba | 12739 | } |
580080c5 RD |
12740 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
12741 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
12742 | } | |
453fb36b RD |
12743 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
12744 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
f05326ba | 12745 | } |
453fb36b RD |
12746 | static void *_p_wxImageTo_p_wxObject(void *x) { |
12747 | return (void *)((wxObject *) ((wxImage *) x)); | |
f05326ba | 12748 | } |
453fb36b RD |
12749 | static void *_p_wxFrameTo_p_wxObject(void *x) { |
12750 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
f05326ba | 12751 | } |
453fb36b RD |
12752 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { |
12753 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
f05326ba | 12754 | } |
453fb36b RD |
12755 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { |
12756 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
f05326ba | 12757 | } |
453fb36b RD |
12758 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { |
12759 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
f05326ba | 12760 | } |
453fb36b RD |
12761 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
12762 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
f05326ba | 12763 | } |
453fb36b RD |
12764 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { |
12765 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
f05326ba | 12766 | } |
453fb36b RD |
12767 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
12768 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
f05326ba | 12769 | } |
453fb36b RD |
12770 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { |
12771 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
f05326ba | 12772 | } |
453fb36b RD |
12773 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { |
12774 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
f05326ba | 12775 | } |
453fb36b RD |
12776 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
12777 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
f05326ba | 12778 | } |
453fb36b RD |
12779 | static void *_p_wxMenuTo_p_wxObject(void *x) { |
12780 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
f05326ba | 12781 | } |
453fb36b RD |
12782 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { |
12783 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
12784 | } | |
12785 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
12786 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
f05326ba RD |
12787 | } |
12788 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
12789 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
12790 | } | |
453fb36b RD |
12791 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { |
12792 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
f05326ba | 12793 | } |
453fb36b RD |
12794 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { |
12795 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
f05326ba | 12796 | } |
453fb36b RD |
12797 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { |
12798 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
f05326ba | 12799 | } |
453fb36b RD |
12800 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { |
12801 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
f05326ba | 12802 | } |
453fb36b RD |
12803 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { |
12804 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
f05326ba | 12805 | } |
453fb36b RD |
12806 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { |
12807 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
f05326ba | 12808 | } |
453fb36b RD |
12809 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { |
12810 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
f05326ba | 12811 | } |
453fb36b RD |
12812 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { |
12813 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
f05326ba | 12814 | } |
453fb36b RD |
12815 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { |
12816 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
f05326ba | 12817 | } |
453fb36b RD |
12818 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
12819 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
f05326ba | 12820 | } |
453fb36b RD |
12821 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
12822 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
f05326ba | 12823 | } |
453fb36b RD |
12824 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { |
12825 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
f05326ba | 12826 | } |
453fb36b RD |
12827 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { |
12828 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
f05326ba | 12829 | } |
453fb36b RD |
12830 | static void *_p_wxPanelTo_p_wxObject(void *x) { |
12831 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
f05326ba | 12832 | } |
453fb36b RD |
12833 | static void *_p_wxDialogTo_p_wxObject(void *x) { |
12834 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
f05326ba | 12835 | } |
453fb36b RD |
12836 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { |
12837 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
f05326ba | 12838 | } |
453fb36b RD |
12839 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { |
12840 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
f05326ba | 12841 | } |
453fb36b RD |
12842 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { |
12843 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
f05326ba | 12844 | } |
453fb36b RD |
12845 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { |
12846 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
f05326ba | 12847 | } |
453fb36b RD |
12848 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { |
12849 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
f05326ba | 12850 | } |
453fb36b RD |
12851 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { |
12852 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
f05326ba | 12853 | } |
453fb36b RD |
12854 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { |
12855 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
f05326ba | 12856 | } |
453fb36b RD |
12857 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { |
12858 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
f05326ba | 12859 | } |
453fb36b RD |
12860 | static void *_p_wxPyAppTo_p_wxObject(void *x) { |
12861 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
f05326ba | 12862 | } |
453fb36b RD |
12863 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { |
12864 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
f05326ba | 12865 | } |
453fb36b RD |
12866 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { |
12867 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
f05326ba | 12868 | } |
453fb36b RD |
12869 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { |
12870 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
f05326ba | 12871 | } |
453fb36b RD |
12872 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { |
12873 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
f05326ba RD |
12874 | } |
12875 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
12876 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
12877 | } | |
453fb36b RD |
12878 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { |
12879 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
f05326ba | 12880 | } |
453fb36b RD |
12881 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { |
12882 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
f05326ba | 12883 | } |
453fb36b RD |
12884 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { |
12885 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
f05326ba RD |
12886 | } |
12887 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
12888 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
12889 | } | |
453fb36b RD |
12890 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { |
12891 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
f05326ba | 12892 | } |
453fb36b RD |
12893 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { |
12894 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
f05326ba | 12895 | } |
453fb36b RD |
12896 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { |
12897 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
12898 | } | |
12899 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
12900 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
12901 | } | |
12902 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
12903 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
12904 | } | |
12905 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
12906 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
f05326ba RD |
12907 | } |
12908 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
12909 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
12910 | } | |
12911 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
12912 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
12913 | } | |
4976f996 RD |
12914 | static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) { |
12915 | return (void *)((wxEvtHandler *) ((wxEventBlocker *) x)); | |
12916 | } | |
f05326ba RD |
12917 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { |
12918 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
12919 | } | |
12920 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
12921 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
12922 | } | |
12923 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
12924 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
12925 | } | |
12926 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
12927 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
12928 | } | |
12929 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
12930 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
12931 | } | |
f05326ba RD |
12932 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { |
12933 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
12934 | } | |
12935 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
12936 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
12937 | } | |
12938 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
12939 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
12940 | } | |
4976f996 RD |
12941 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
12942 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
12943 | } | |
f9bf356b RD |
12944 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
12945 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
12946 | } | |
27e45892 RD |
12947 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { |
12948 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
12949 | } | |
f05326ba RD |
12950 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { |
12951 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
12952 | } | |
12953 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
12954 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
12955 | } | |
12956 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
12957 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
12958 | } | |
12959 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
12960 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
12961 | } | |
12962 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
12963 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
12964 | } | |
12965 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
12966 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
12967 | } | |
12968 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
12969 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
12970 | } | |
12971 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
12972 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
12973 | } | |
12974 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
12975 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
12976 | } | |
12977 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
12978 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
12979 | } | |
12980 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
12981 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
12982 | } | |
12983 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
12984 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
12985 | } | |
12986 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
12987 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
12988 | } | |
12989 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
12990 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
12991 | } | |
12992 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
12993 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
12994 | } | |
12995 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
12996 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
12997 | } | |
12998 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
12999 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
13000 | } | |
13001 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
13002 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
13003 | } | |
13004 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
13005 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
13006 | } | |
13007 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
13008 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
13009 | } | |
13010 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
13011 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
13012 | } | |
13013 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
13014 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
13015 | } | |
13016 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
13017 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
13018 | } | |
13019 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
13020 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
13021 | } | |
13022 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
13023 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
13024 | } | |
13025 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
13026 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
13027 | } | |
f9bf356b RD |
13028 | static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) { |
13029 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
13030 | } | |
f05326ba RD |
13031 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { |
13032 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
13033 | } | |
13034 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
13035 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
13036 | } | |
13037 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
13038 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
13039 | } | |
13040 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
13041 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
13042 | } | |
13043 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
13044 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
13045 | } | |
13046 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
13047 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
13048 | } | |
13049 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
13050 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
13051 | } | |
13052 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
13053 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
13054 | } | |
13055 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
13056 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
13057 | } | |
13058 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
13059 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
13060 | } | |
13061 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
13062 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
13063 | } | |
13064 | static void *_p_wxRichTextCtrlTo_p_wxEvtHandler(void *x) { | |
13065 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxRichTextCtrl *) x)); | |
13066 | } | |
13067 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
13068 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
13069 | } | |
13070 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
13071 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
13072 | } | |
13073 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
13074 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
13075 | } | |
13076 | static void *_p_wxRichTextEventTo_p_wxCommandEvent(void *x) { | |
13077 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxRichTextEvent *) x)); | |
13078 | } | |
13079 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { | |
13080 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
13081 | } | |
13082 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
13083 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
13084 | } | |
13085 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
13086 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
13087 | } | |
13088 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
13089 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
13090 | } | |
13091 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
13092 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
13093 | } | |
13094 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
13095 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
13096 | } | |
13097 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
13098 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
13099 | } | |
13100 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
13101 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
13102 | } | |
13103 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
13104 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
13105 | } | |
13106 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
13107 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
13108 | } | |
13109 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; | |
13110 | static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0}; | |
13111 | static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0}; | |
13112 | static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0}; | |
13113 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; | |
13114 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
13115 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
13116 | static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0}; | |
13117 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; | |
13118 | static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0}; | |
13119 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; | |
13120 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; | |
13121 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
13122 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
13123 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
13124 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; | |
13125 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; | |
13126 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
13127 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
13128 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
13129 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; | |
13130 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; | |
13131 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; | |
13132 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
13133 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; | |
13134 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
13135 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; | |
13136 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; | |
13137 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; | |
13138 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
13139 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
13140 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; | |
13141 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; | |
34e0a3bb | 13142 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
f05326ba RD |
13143 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
13144 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
13145 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; | |
13146 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
13147 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
13148 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; | |
13149 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; | |
13150 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
13151 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; | |
13152 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
13153 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; | |
13154 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
13155 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
13156 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
13157 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; | |
13158 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; | |
13159 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; | |
13160 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
13161 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; | |
13162 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
13163 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
13164 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
13165 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
13166 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
13167 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
13168 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
4976f996 | 13169 | static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0}; |
f05326ba RD |
13170 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; |
13171 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; | |
13172 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
f9bf356b | 13173 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; |
4976f996 RD |
13174 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; |
13175 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
f05326ba RD |
13176 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; |
13177 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
27e45892 | 13178 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; |
4976f996 | 13179 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; |
f05326ba RD |
13180 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; |
13181 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
f05326ba | 13182 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; |
f05326ba RD |
13183 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; |
13184 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
13185 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; | |
13186 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
13187 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
13188 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
4976f996 | 13189 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; |
f9bf356b | 13190 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; |
27e45892 | 13191 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; |
f05326ba RD |
13192 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; |
13193 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
13194 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
13195 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
13196 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0}; | |
13197 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
13198 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
13199 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
13200 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
13201 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
f9bf356b | 13202 | static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
f05326ba RD |
13203 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
13204 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
13205 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
13206 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
13207 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; | |
13208 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0}; | |
13209 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
13210 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
13211 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
13212 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0}; | |
13213 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; | |
13214 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
13215 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; | |
13216 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0}; | |
13217 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; | |
13218 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; | |
f05326ba | 13219 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; |
453fb36b | 13220 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0}; |
34e0a3bb | 13221 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; |
453fb36b | 13222 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; |
f05326ba | 13223 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; |
453fb36b RD |
13224 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; |
13225 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0}; | |
f05326ba | 13226 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; |
453fb36b RD |
13227 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; |
13228 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0}; | |
453fb36b | 13229 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; |
4976f996 | 13230 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; |
453fb36b | 13231 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; |
f05326ba | 13232 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; |
453fb36b RD |
13233 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; |
13234 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
13235 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
13236 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
13237 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
f05326ba RD |
13238 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; |
13239 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; | |
13240 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; | |
13241 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; | |
13242 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
13243 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
4976f996 | 13244 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; |
27e45892 | 13245 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; |
453fb36b RD |
13246 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; |
13247 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
13248 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
13249 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
13250 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; | |
580080c5 | 13251 | static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; |
453fb36b | 13252 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; |
580080c5 | 13253 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; |
453fb36b RD |
13254 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; |
13255 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
13256 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
13257 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
13258 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; | |
13259 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0}; | |
13260 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; | |
13261 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
f05326ba RD |
13262 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; |
13263 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; | |
13264 | static swig_type_info _swigt__p_wxRichTextAttr = {"_p_wxRichTextAttr", "wxRichTextAttr *", 0, 0, (void*)0, 0}; | |
13265 | static swig_type_info _swigt__p_wxRichTextBuffer = {"_p_wxRichTextBuffer", "wxRichTextBuffer *", 0, 0, (void*)0, 0}; | |
13266 | static swig_type_info _swigt__p_wxRichTextCtrl = {"_p_wxRichTextCtrl", "wxRichTextCtrl *", 0, 0, (void*)0, 0}; | |
13267 | static swig_type_info _swigt__p_wxRichTextEvent = {"_p_wxRichTextEvent", "wxRichTextEvent *", 0, 0, (void*)0, 0}; | |
13268 | static swig_type_info _swigt__p_wxRichTextImageBlock = {"_p_wxRichTextImageBlock", "wxRichTextImageBlock *", 0, 0, (void*)0, 0}; | |
13269 | static swig_type_info _swigt__p_wxRichTextRange = {"_p_wxRichTextRange", "wxRichTextRange *", 0, 0, (void*)0, 0}; | |
13270 | static swig_type_info _swigt__p_wxRichTextStyleSheet = {"_p_wxRichTextStyleSheet", "wxRichTextStyleSheet *", 0, 0, (void*)0, 0}; | |
13271 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0}; | |
13272 | static swig_type_info _swigt__p_wxTextCoord = {"_p_wxTextCoord", "wxTextCoord *", 0, 0, (void*)0, 0}; | |
13273 | static swig_type_info _swigt__p_wxTextCtrlHitTestResult = {"_p_wxTextCtrlHitTestResult", "wxTextCtrlHitTestResult *", 0, 0, (void*)0, 0}; | |
13274 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
13275 | ||
13276 | static swig_type_info *swig_type_initial[] = { | |
13277 | &_swigt__p_char, | |
13278 | &_swigt__p_form_ops_t, | |
13279 | &_swigt__p_int, | |
13280 | &_swigt__p_long, | |
13281 | &_swigt__p_unsigned_char, | |
13282 | &_swigt__p_unsigned_int, | |
13283 | &_swigt__p_unsigned_long, | |
13284 | &_swigt__p_wxANIHandler, | |
13285 | &_swigt__p_wxAcceleratorTable, | |
13286 | &_swigt__p_wxActivateEvent, | |
13287 | &_swigt__p_wxArrayInt, | |
13288 | &_swigt__p_wxBMPHandler, | |
13289 | &_swigt__p_wxBitmap, | |
13290 | &_swigt__p_wxBoxSizer, | |
f05326ba RD |
13291 | &_swigt__p_wxCURHandler, |
13292 | &_swigt__p_wxCalculateLayoutEvent, | |
13293 | &_swigt__p_wxChar, | |
13294 | &_swigt__p_wxChildFocusEvent, | |
f05326ba RD |
13295 | &_swigt__p_wxClipboardTextEvent, |
13296 | &_swigt__p_wxCloseEvent, | |
13297 | &_swigt__p_wxColour, | |
13298 | &_swigt__p_wxColourData, | |
13299 | &_swigt__p_wxColourDialog, | |
13300 | &_swigt__p_wxCommandEvent, | |
13301 | &_swigt__p_wxContextMenuEvent, | |
13302 | &_swigt__p_wxControl, | |
13303 | &_swigt__p_wxControlWithItems, | |
f05326ba RD |
13304 | &_swigt__p_wxDateEvent, |
13305 | &_swigt__p_wxDialog, | |
13306 | &_swigt__p_wxDirDialog, | |
13307 | &_swigt__p_wxDisplayChangedEvent, | |
13308 | &_swigt__p_wxDropFilesEvent, | |
13309 | &_swigt__p_wxDuplexMode, | |
f05326ba RD |
13310 | &_swigt__p_wxEraseEvent, |
13311 | &_swigt__p_wxEvent, | |
4976f996 | 13312 | &_swigt__p_wxEventBlocker, |
f05326ba RD |
13313 | &_swigt__p_wxEvtHandler, |
13314 | &_swigt__p_wxFSFile, | |
13315 | &_swigt__p_wxFileDialog, | |
13316 | &_swigt__p_wxFileSystem, | |
13317 | &_swigt__p_wxFindDialogEvent, | |
13318 | &_swigt__p_wxFindReplaceData, | |
13319 | &_swigt__p_wxFindReplaceDialog, | |
13320 | &_swigt__p_wxFlexGridSizer, | |
13321 | &_swigt__p_wxFocusEvent, | |
13322 | &_swigt__p_wxFont, | |
13323 | &_swigt__p_wxFontData, | |
13324 | &_swigt__p_wxFontDialog, | |
13325 | &_swigt__p_wxFrame, | |
13326 | &_swigt__p_wxGBSizerItem, | |
f05326ba RD |
13327 | &_swigt__p_wxGIFHandler, |
13328 | &_swigt__p_wxGridBagSizer, | |
13329 | &_swigt__p_wxGridSizer, | |
13330 | &_swigt__p_wxICOHandler, | |
f05326ba RD |
13331 | &_swigt__p_wxIconizeEvent, |
13332 | &_swigt__p_wxIdleEvent, | |
13333 | &_swigt__p_wxImage, | |
13334 | &_swigt__p_wxImageHandler, | |
f05326ba RD |
13335 | &_swigt__p_wxIndividualLayoutConstraint, |
13336 | &_swigt__p_wxInitDialogEvent, | |
13337 | &_swigt__p_wxJPEGHandler, | |
13338 | &_swigt__p_wxKeyEvent, | |
13339 | &_swigt__p_wxLayoutAlgorithm, | |
13340 | &_swigt__p_wxLayoutConstraints, | |
13341 | &_swigt__p_wxMDIChildFrame, | |
13342 | &_swigt__p_wxMDIClientWindow, | |
13343 | &_swigt__p_wxMDIParentFrame, | |
f05326ba | 13344 | &_swigt__p_wxMaximizeEvent, |
f05326ba RD |
13345 | &_swigt__p_wxMenu, |
13346 | &_swigt__p_wxMenuBar, | |
13347 | &_swigt__p_wxMenuEvent, | |
13348 | &_swigt__p_wxMenuItem, | |
13349 | &_swigt__p_wxMessageDialog, | |
f05326ba | 13350 | &_swigt__p_wxMiniFrame, |
f05326ba | 13351 | &_swigt__p_wxMouseCaptureChangedEvent, |
34e0a3bb | 13352 | &_swigt__p_wxMouseCaptureLostEvent, |
f05326ba RD |
13353 | &_swigt__p_wxMouseEvent, |
13354 | &_swigt__p_wxMoveEvent, | |
13355 | &_swigt__p_wxMultiChoiceDialog, | |
13356 | &_swigt__p_wxNavigationKeyEvent, | |
13357 | &_swigt__p_wxNcPaintEvent, | |
13358 | &_swigt__p_wxNotifyEvent, | |
27e45892 | 13359 | &_swigt__p_wxNumberEntryDialog, |
f05326ba RD |
13360 | &_swigt__p_wxObject, |
13361 | &_swigt__p_wxPCXHandler, | |
13362 | &_swigt__p_wxPNGHandler, | |
13363 | &_swigt__p_wxPNMHandler, | |
13364 | &_swigt__p_wxPageSetupDialog, | |
13365 | &_swigt__p_wxPageSetupDialogData, | |
f05326ba | 13366 | &_swigt__p_wxPaintEvent, |
f05326ba RD |
13367 | &_swigt__p_wxPaletteChangedEvent, |
13368 | &_swigt__p_wxPanel, | |
13369 | &_swigt__p_wxPaperSize, | |
13370 | &_swigt__p_wxPasswordEntryDialog, | |
f05326ba | 13371 | &_swigt__p_wxPopupWindow, |
f05326ba RD |
13372 | &_swigt__p_wxPreviewCanvas, |
13373 | &_swigt__p_wxPreviewControlBar, | |
13374 | &_swigt__p_wxPreviewFrame, | |
13375 | &_swigt__p_wxPrintData, | |
13376 | &_swigt__p_wxPrintDialog, | |
13377 | &_swigt__p_wxPrintDialogData, | |
13378 | &_swigt__p_wxPrintPreview, | |
13379 | &_swigt__p_wxPrinter, | |
f05326ba RD |
13380 | &_swigt__p_wxProgressDialog, |
13381 | &_swigt__p_wxPyApp, | |
13382 | &_swigt__p_wxPyCommandEvent, | |
13383 | &_swigt__p_wxPyEvent, | |
13384 | &_swigt__p_wxPyHtmlListBox, | |
13385 | &_swigt__p_wxPyImageHandler, | |
13386 | &_swigt__p_wxPyPanel, | |
13387 | &_swigt__p_wxPyPopupTransientWindow, | |
13388 | &_swigt__p_wxPyPreviewControlBar, | |
13389 | &_swigt__p_wxPyPreviewFrame, | |
13390 | &_swigt__p_wxPyPrintPreview, | |
13391 | &_swigt__p_wxPyPrintout, | |
13392 | &_swigt__p_wxPyScrolledWindow, | |
13393 | &_swigt__p_wxPySizer, | |
13394 | &_swigt__p_wxPyTaskBarIcon, | |
13395 | &_swigt__p_wxPyVListBox, | |
13396 | &_swigt__p_wxPyVScrolledWindow, | |
13397 | &_swigt__p_wxPyValidator, | |
13398 | &_swigt__p_wxPyWindow, | |
13399 | &_swigt__p_wxQueryLayoutInfoEvent, | |
13400 | &_swigt__p_wxQueryNewPaletteEvent, | |
f05326ba RD |
13401 | &_swigt__p_wxRichTextAttr, |
13402 | &_swigt__p_wxRichTextBuffer, | |
13403 | &_swigt__p_wxRichTextCtrl, | |
13404 | &_swigt__p_wxRichTextEvent, | |
13405 | &_swigt__p_wxRichTextImageBlock, | |
13406 | &_swigt__p_wxRichTextRange, | |
13407 | &_swigt__p_wxRichTextStyleSheet, | |
13408 | &_swigt__p_wxSashEvent, | |
13409 | &_swigt__p_wxSashLayoutWindow, | |
13410 | &_swigt__p_wxSashWindow, | |
f05326ba RD |
13411 | &_swigt__p_wxScrollEvent, |
13412 | &_swigt__p_wxScrollWinEvent, | |
13413 | &_swigt__p_wxScrolledWindow, | |
13414 | &_swigt__p_wxSetCursorEvent, | |
13415 | &_swigt__p_wxShowEvent, | |
f9bf356b | 13416 | &_swigt__p_wxSimpleHtmlListBox, |
f05326ba RD |
13417 | &_swigt__p_wxSingleChoiceDialog, |
13418 | &_swigt__p_wxSizeEvent, | |
13419 | &_swigt__p_wxSizer, | |
13420 | &_swigt__p_wxSizerItem, | |
13421 | &_swigt__p_wxSplashScreen, | |
13422 | &_swigt__p_wxSplashScreenWindow, | |
13423 | &_swigt__p_wxSplitterEvent, | |
13424 | &_swigt__p_wxSplitterWindow, | |
13425 | &_swigt__p_wxStaticBoxSizer, | |
13426 | &_swigt__p_wxStatusBar, | |
13427 | &_swigt__p_wxStdDialogButtonSizer, | |
13428 | &_swigt__p_wxSysColourChangedEvent, | |
580080c5 | 13429 | &_swigt__p_wxTGAHandler, |
f05326ba RD |
13430 | &_swigt__p_wxTIFFHandler, |
13431 | &_swigt__p_wxTaskBarIconEvent, | |
13432 | &_swigt__p_wxTextCoord, | |
13433 | &_swigt__p_wxTextCtrlHitTestResult, | |
13434 | &_swigt__p_wxTextEntryDialog, | |
13435 | &_swigt__p_wxTipWindow, | |
13436 | &_swigt__p_wxTopLevelWindow, | |
13437 | &_swigt__p_wxUpdateUIEvent, | |
13438 | &_swigt__p_wxValidator, | |
13439 | &_swigt__p_wxWindow, | |
13440 | &_swigt__p_wxWindowCreateEvent, | |
f05326ba RD |
13441 | &_swigt__p_wxWindowDestroyEvent, |
13442 | &_swigt__p_wxXPMHandler, | |
13443 | }; | |
13444 | ||
13445 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
13446 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
13447 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
13448 | static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}}; | |
13449 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; | |
13450 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
13451 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
13452 | static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}}; | |
13453 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
13454 | static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}}; | |
13455 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
13456 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13457 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13458 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13459 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13460 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13461 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13462 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13463 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13464 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13465 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13466 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13467 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13468 | static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxRichTextEvent, _p_wxRichTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; | |
13469 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; | |
13470 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13471 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13472 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13473 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13474 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13475 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13476 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
34e0a3bb | 13477 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
f05326ba RD |
13478 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
13479 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13480 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13481 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13482 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13483 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13484 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13485 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13486 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13487 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13488 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13489 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13490 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13491 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13492 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13493 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13494 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13495 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13496 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13497 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13498 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13499 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
34e0a3bb | 13500 | 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_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_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_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxRichTextEvent, _p_wxRichTextEventTo_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_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_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}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; |
f05326ba RD |
13501 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
13502 | static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
13503 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 13504 | static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}}; |
f05326ba RD |
13505 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; |
13506 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
13507 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 13508 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
4976f996 RD |
13509 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
13510 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
f05326ba RD |
13511 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
13512 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 13513 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; |
4976f996 | 13514 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
f05326ba RD |
13515 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
13516 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
f05326ba | 13517 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; |
f05326ba RD |
13518 | static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; |
13519 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
13520 | static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
13521 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
13522 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
13523 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 13524 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 13525 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 13526 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; |
f05326ba RD |
13527 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; |
13528 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
13529 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
13530 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
13531 | static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
13532 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
13533 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
13534 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
13535 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
13536 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 13537 | static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
f05326ba RD |
13538 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
13539 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
13540 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
13541 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
13542 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
13543 | static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
13544 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
13545 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
13546 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
13547 | static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
13548 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
13549 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 13550 | static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_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_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; |
f05326ba RD |
13551 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; |
13552 | static swig_cast_info _swigc__p_wxImage[] = { {&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
13553 | static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxRichTextEvent, _p_wxRichTextEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
f05326ba | 13554 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; |
453fb36b | 13555 | static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}}; |
34e0a3bb | 13556 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; |
453fb36b | 13557 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; |
f05326ba | 13558 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; |
453fb36b RD |
13559 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; |
13560 | static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
f05326ba | 13561 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; |
453fb36b RD |
13562 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; |
13563 | static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
453fb36b | 13564 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; |
4976f996 | 13565 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; |
453fb36b | 13566 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; |
f05326ba | 13567 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; |
453fb36b RD |
13568 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; |
13569 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
13570 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
13571 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
13572 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
f05326ba RD |
13573 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; |
13574 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
13575 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
13576 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
13577 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
13578 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 13579 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 13580 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; |
453fb36b RD |
13581 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; |
13582 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
13583 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
13584 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
13585 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 13586 | static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; |
453fb36b | 13587 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; |
580080c5 | 13588 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; |
453fb36b RD |
13589 | static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; |
13590 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
13591 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
13592 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
13593 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
13594 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
13595 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
13596 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 13597 | static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_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_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextEvent, _p_wxRichTextEventTo_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_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_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_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_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_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_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_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_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_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_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 13598 | static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}}; |
f05326ba RD |
13599 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; |
13600 | static swig_cast_info _swigc__p_wxRichTextAttr[] = { {&_swigt__p_wxRichTextAttr, 0, 0, 0},{0, 0, 0, 0}}; | |
13601 | static swig_cast_info _swigc__p_wxRichTextBuffer[] = { {&_swigt__p_wxRichTextBuffer, 0, 0, 0},{0, 0, 0, 0}}; | |
13602 | static swig_cast_info _swigc__p_wxRichTextCtrl[] = { {&_swigt__p_wxRichTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
13603 | static swig_cast_info _swigc__p_wxRichTextEvent[] = { {&_swigt__p_wxRichTextEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13604 | static swig_cast_info _swigc__p_wxRichTextImageBlock[] = { {&_swigt__p_wxRichTextImageBlock, 0, 0, 0},{0, 0, 0, 0}}; | |
13605 | static swig_cast_info _swigc__p_wxRichTextRange[] = { {&_swigt__p_wxRichTextRange, 0, 0, 0},{0, 0, 0, 0}}; | |
13606 | static swig_cast_info _swigc__p_wxRichTextStyleSheet[] = { {&_swigt__p_wxRichTextStyleSheet, 0, 0, 0},{0, 0, 0, 0}}; | |
13607 | static swig_cast_info _swigc__p_wxScrolledWindow[] = { {&_swigt__p_wxScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}}; | |
13608 | static swig_cast_info _swigc__p_wxTextCoord[] = { {&_swigt__p_wxTextCoord, 0, 0, 0},{0, 0, 0, 0}}; | |
13609 | static swig_cast_info _swigc__p_wxTextCtrlHitTestResult[] = { {&_swigt__p_wxTextCtrlHitTestResult, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 13610 | static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; |
f05326ba RD |
13611 | |
13612 | static swig_cast_info *swig_cast_initial[] = { | |
13613 | _swigc__p_char, | |
13614 | _swigc__p_form_ops_t, | |
13615 | _swigc__p_int, | |
13616 | _swigc__p_long, | |
13617 | _swigc__p_unsigned_char, | |
13618 | _swigc__p_unsigned_int, | |
13619 | _swigc__p_unsigned_long, | |
13620 | _swigc__p_wxANIHandler, | |
13621 | _swigc__p_wxAcceleratorTable, | |
13622 | _swigc__p_wxActivateEvent, | |
13623 | _swigc__p_wxArrayInt, | |
13624 | _swigc__p_wxBMPHandler, | |
13625 | _swigc__p_wxBitmap, | |
13626 | _swigc__p_wxBoxSizer, | |
f05326ba RD |
13627 | _swigc__p_wxCURHandler, |
13628 | _swigc__p_wxCalculateLayoutEvent, | |
13629 | _swigc__p_wxChar, | |
13630 | _swigc__p_wxChildFocusEvent, | |
f05326ba RD |
13631 | _swigc__p_wxClipboardTextEvent, |
13632 | _swigc__p_wxCloseEvent, | |
13633 | _swigc__p_wxColour, | |
13634 | _swigc__p_wxColourData, | |
13635 | _swigc__p_wxColourDialog, | |
13636 | _swigc__p_wxCommandEvent, | |
13637 | _swigc__p_wxContextMenuEvent, | |
13638 | _swigc__p_wxControl, | |
13639 | _swigc__p_wxControlWithItems, | |
f05326ba RD |
13640 | _swigc__p_wxDateEvent, |
13641 | _swigc__p_wxDialog, | |
13642 | _swigc__p_wxDirDialog, | |
13643 | _swigc__p_wxDisplayChangedEvent, | |
13644 | _swigc__p_wxDropFilesEvent, | |
13645 | _swigc__p_wxDuplexMode, | |
f05326ba RD |
13646 | _swigc__p_wxEraseEvent, |
13647 | _swigc__p_wxEvent, | |
4976f996 | 13648 | _swigc__p_wxEventBlocker, |
f05326ba RD |
13649 | _swigc__p_wxEvtHandler, |
13650 | _swigc__p_wxFSFile, | |
13651 | _swigc__p_wxFileDialog, | |
13652 | _swigc__p_wxFileSystem, | |
13653 | _swigc__p_wxFindDialogEvent, | |
13654 | _swigc__p_wxFindReplaceData, | |
13655 | _swigc__p_wxFindReplaceDialog, | |
13656 | _swigc__p_wxFlexGridSizer, | |
13657 | _swigc__p_wxFocusEvent, | |
13658 | _swigc__p_wxFont, | |
13659 | _swigc__p_wxFontData, | |
13660 | _swigc__p_wxFontDialog, | |
13661 | _swigc__p_wxFrame, | |
13662 | _swigc__p_wxGBSizerItem, | |
f05326ba RD |
13663 | _swigc__p_wxGIFHandler, |
13664 | _swigc__p_wxGridBagSizer, | |
13665 | _swigc__p_wxGridSizer, | |
13666 | _swigc__p_wxICOHandler, | |
f05326ba RD |
13667 | _swigc__p_wxIconizeEvent, |
13668 | _swigc__p_wxIdleEvent, | |
13669 | _swigc__p_wxImage, | |
13670 | _swigc__p_wxImageHandler, | |
f05326ba RD |
13671 | _swigc__p_wxIndividualLayoutConstraint, |
13672 | _swigc__p_wxInitDialogEvent, | |
13673 | _swigc__p_wxJPEGHandler, | |
13674 | _swigc__p_wxKeyEvent, | |
13675 | _swigc__p_wxLayoutAlgorithm, | |
13676 | _swigc__p_wxLayoutConstraints, | |
13677 | _swigc__p_wxMDIChildFrame, | |
13678 | _swigc__p_wxMDIClientWindow, | |
13679 | _swigc__p_wxMDIParentFrame, | |
f05326ba | 13680 | _swigc__p_wxMaximizeEvent, |
f05326ba RD |
13681 | _swigc__p_wxMenu, |
13682 | _swigc__p_wxMenuBar, | |
13683 | _swigc__p_wxMenuEvent, | |
13684 | _swigc__p_wxMenuItem, | |
13685 | _swigc__p_wxMessageDialog, | |
f05326ba | 13686 | _swigc__p_wxMiniFrame, |
f05326ba | 13687 | _swigc__p_wxMouseCaptureChangedEvent, |
34e0a3bb | 13688 | _swigc__p_wxMouseCaptureLostEvent, |
f05326ba RD |
13689 | _swigc__p_wxMouseEvent, |
13690 | _swigc__p_wxMoveEvent, | |
13691 | _swigc__p_wxMultiChoiceDialog, | |
13692 | _swigc__p_wxNavigationKeyEvent, | |
13693 | _swigc__p_wxNcPaintEvent, | |
13694 | _swigc__p_wxNotifyEvent, | |
27e45892 | 13695 | _swigc__p_wxNumberEntryDialog, |
f05326ba RD |
13696 | _swigc__p_wxObject, |
13697 | _swigc__p_wxPCXHandler, | |
13698 | _swigc__p_wxPNGHandler, | |
13699 | _swigc__p_wxPNMHandler, | |
13700 | _swigc__p_wxPageSetupDialog, | |
13701 | _swigc__p_wxPageSetupDialogData, | |
f05326ba | 13702 | _swigc__p_wxPaintEvent, |
f05326ba RD |
13703 | _swigc__p_wxPaletteChangedEvent, |
13704 | _swigc__p_wxPanel, | |
13705 | _swigc__p_wxPaperSize, | |
13706 | _swigc__p_wxPasswordEntryDialog, | |
f05326ba | 13707 | _swigc__p_wxPopupWindow, |
f05326ba RD |
13708 | _swigc__p_wxPreviewCanvas, |
13709 | _swigc__p_wxPreviewControlBar, | |
13710 | _swigc__p_wxPreviewFrame, | |
13711 | _swigc__p_wxPrintData, | |
13712 | _swigc__p_wxPrintDialog, | |
13713 | _swigc__p_wxPrintDialogData, | |
13714 | _swigc__p_wxPrintPreview, | |
13715 | _swigc__p_wxPrinter, | |
f05326ba RD |
13716 | _swigc__p_wxProgressDialog, |
13717 | _swigc__p_wxPyApp, | |
13718 | _swigc__p_wxPyCommandEvent, | |
13719 | _swigc__p_wxPyEvent, | |
13720 | _swigc__p_wxPyHtmlListBox, | |
13721 | _swigc__p_wxPyImageHandler, | |
13722 | _swigc__p_wxPyPanel, | |
13723 | _swigc__p_wxPyPopupTransientWindow, | |
13724 | _swigc__p_wxPyPreviewControlBar, | |
13725 | _swigc__p_wxPyPreviewFrame, | |
13726 | _swigc__p_wxPyPrintPreview, | |
13727 | _swigc__p_wxPyPrintout, | |
13728 | _swigc__p_wxPyScrolledWindow, | |
13729 | _swigc__p_wxPySizer, | |
13730 | _swigc__p_wxPyTaskBarIcon, | |
13731 | _swigc__p_wxPyVListBox, | |
13732 | _swigc__p_wxPyVScrolledWindow, | |
13733 | _swigc__p_wxPyValidator, | |
13734 | _swigc__p_wxPyWindow, | |
13735 | _swigc__p_wxQueryLayoutInfoEvent, | |
13736 | _swigc__p_wxQueryNewPaletteEvent, | |
f05326ba RD |
13737 | _swigc__p_wxRichTextAttr, |
13738 | _swigc__p_wxRichTextBuffer, | |
13739 | _swigc__p_wxRichTextCtrl, | |
13740 | _swigc__p_wxRichTextEvent, | |
13741 | _swigc__p_wxRichTextImageBlock, | |
13742 | _swigc__p_wxRichTextRange, | |
13743 | _swigc__p_wxRichTextStyleSheet, | |
13744 | _swigc__p_wxSashEvent, | |
13745 | _swigc__p_wxSashLayoutWindow, | |
13746 | _swigc__p_wxSashWindow, | |
f05326ba RD |
13747 | _swigc__p_wxScrollEvent, |
13748 | _swigc__p_wxScrollWinEvent, | |
13749 | _swigc__p_wxScrolledWindow, | |
13750 | _swigc__p_wxSetCursorEvent, | |
13751 | _swigc__p_wxShowEvent, | |
f9bf356b | 13752 | _swigc__p_wxSimpleHtmlListBox, |
f05326ba RD |
13753 | _swigc__p_wxSingleChoiceDialog, |
13754 | _swigc__p_wxSizeEvent, | |
13755 | _swigc__p_wxSizer, | |
13756 | _swigc__p_wxSizerItem, | |
13757 | _swigc__p_wxSplashScreen, | |
13758 | _swigc__p_wxSplashScreenWindow, | |
13759 | _swigc__p_wxSplitterEvent, | |
13760 | _swigc__p_wxSplitterWindow, | |
13761 | _swigc__p_wxStaticBoxSizer, | |
13762 | _swigc__p_wxStatusBar, | |
13763 | _swigc__p_wxStdDialogButtonSizer, | |
13764 | _swigc__p_wxSysColourChangedEvent, | |
580080c5 | 13765 | _swigc__p_wxTGAHandler, |
f05326ba RD |
13766 | _swigc__p_wxTIFFHandler, |
13767 | _swigc__p_wxTaskBarIconEvent, | |
13768 | _swigc__p_wxTextCoord, | |
13769 | _swigc__p_wxTextCtrlHitTestResult, | |
13770 | _swigc__p_wxTextEntryDialog, | |
13771 | _swigc__p_wxTipWindow, | |
13772 | _swigc__p_wxTopLevelWindow, | |
13773 | _swigc__p_wxUpdateUIEvent, | |
13774 | _swigc__p_wxValidator, | |
13775 | _swigc__p_wxWindow, | |
13776 | _swigc__p_wxWindowCreateEvent, | |
f05326ba RD |
13777 | _swigc__p_wxWindowDestroyEvent, |
13778 | _swigc__p_wxXPMHandler, | |
13779 | }; | |
13780 | ||
13781 | ||
13782 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
13783 | ||
13784 | static swig_const_info swig_const_table[] = { | |
13785 | {0, 0, 0, 0.0, 0, 0}}; | |
13786 | ||
13787 | #ifdef __cplusplus | |
13788 | } | |
13789 | #endif | |
13790 | /* ----------------------------------------------------------------------------- | |
13791 | * Type initialization: | |
13792 | * This problem is tough by the requirement that no dynamic | |
13793 | * memory is used. Also, since swig_type_info structures store pointers to | |
13794 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
13795 | * to swig_type_info structures, we need some lookup code at initialization. | |
13796 | * The idea is that swig generates all the structures that are needed. | |
13797 | * The runtime then collects these partially filled structures. | |
13798 | * The SWIG_InitializeModule function takes these initial arrays out of | |
13799 | * swig_module, and does all the lookup, filling in the swig_module.types | |
13800 | * array with the correct data and linking the correct swig_cast_info | |
13801 | * structures together. | |
13802 | * | |
13803 | * The generated swig_type_info structures are assigned staticly to an initial | |
13804 | * array. We just loop though that array, and handle each type individually. | |
13805 | * First we lookup if this type has been already loaded, and if so, use the | |
13806 | * loaded structure instead of the generated one. Then we have to fill in the | |
13807 | * cast linked list. The cast data is initially stored in something like a | |
13808 | * two-dimensional array. Each row corresponds to a type (there are the same | |
13809 | * number of rows as there are in the swig_type_initial array). Each entry in | |
13810 | * a column is one of the swig_cast_info structures for that type. | |
13811 | * The cast_initial array is actually an array of arrays, because each row has | |
13812 | * a variable number of columns. So to actually build the cast linked list, | |
13813 | * we find the array of casts associated with the type, and loop through it | |
13814 | * adding the casts to the list. The one last trick we need to do is making | |
13815 | * sure the type pointer in the swig_cast_info struct is correct. | |
13816 | * | |
13817 | * First off, we lookup the cast->type name to see if it is already loaded. | |
13818 | * There are three cases to handle: | |
13819 | * 1) If the cast->type has already been loaded AND the type we are adding | |
13820 | * casting info to has not been loaded (it is in this module), THEN we | |
13821 | * replace the cast->type pointer with the type pointer that has already | |
13822 | * been loaded. | |
13823 | * 2) If BOTH types (the one we are adding casting info to, and the | |
13824 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
13825 | * the previous module so we just ignore it. | |
13826 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
13827 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
13828 | * be correct. | |
13829 | * ----------------------------------------------------------------------------- */ | |
13830 | ||
13831 | #ifdef __cplusplus | |
13832 | extern "C" { | |
13833 | #if 0 | |
13834 | } /* c-mode */ | |
13835 | #endif | |
13836 | #endif | |
13837 | ||
13838 | #if 0 | |
13839 | #define SWIGRUNTIME_DEBUG | |
13840 | #endif | |
13841 | ||
13842 | SWIGRUNTIME void | |
13843 | SWIG_InitializeModule(void *clientdata) { | |
13844 | size_t i; | |
13845 | swig_module_info *module_head; | |
13846 | static int init_run = 0; | |
13847 | ||
13848 | clientdata = clientdata; | |
13849 | ||
13850 | if (init_run) return; | |
13851 | init_run = 1; | |
13852 | ||
13853 | /* Initialize the swig_module */ | |
13854 | swig_module.type_initial = swig_type_initial; | |
13855 | swig_module.cast_initial = swig_cast_initial; | |
13856 | ||
13857 | /* Try and load any already created modules */ | |
13858 | module_head = SWIG_GetModule(clientdata); | |
13859 | if (module_head) { | |
13860 | swig_module.next = module_head->next; | |
13861 | module_head->next = &swig_module; | |
13862 | } else { | |
13863 | /* This is the first module loaded */ | |
13864 | swig_module.next = &swig_module; | |
13865 | SWIG_SetModule(clientdata, &swig_module); | |
13866 | } | |
13867 | ||
13868 | /* Now work on filling in swig_module.types */ | |
13869 | #ifdef SWIGRUNTIME_DEBUG | |
13870 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
13871 | #endif | |
13872 | for (i = 0; i < swig_module.size; ++i) { | |
13873 | swig_type_info *type = 0; | |
13874 | swig_type_info *ret; | |
13875 | swig_cast_info *cast; | |
13876 | ||
13877 | #ifdef SWIGRUNTIME_DEBUG | |
13878 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
13879 | #endif | |
13880 | ||
13881 | /* if there is another module already loaded */ | |
13882 | if (swig_module.next != &swig_module) { | |
13883 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
13884 | } | |
13885 | if (type) { | |
13886 | /* Overwrite clientdata field */ | |
13887 | #ifdef SWIGRUNTIME_DEBUG | |
13888 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
13889 | #endif | |
13890 | if (swig_module.type_initial[i]->clientdata) { | |
13891 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
13892 | #ifdef SWIGRUNTIME_DEBUG | |
13893 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
13894 | #endif | |
13895 | } | |
13896 | } else { | |
13897 | type = swig_module.type_initial[i]; | |
13898 | } | |
13899 | ||
13900 | /* Insert casting types */ | |
13901 | cast = swig_module.cast_initial[i]; | |
13902 | while (cast->type) { | |
13903 | /* Don't need to add information already in the list */ | |
13904 | ret = 0; | |
13905 | #ifdef SWIGRUNTIME_DEBUG | |
13906 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
13907 | #endif | |
13908 | if (swig_module.next != &swig_module) { | |
13909 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
13910 | #ifdef SWIGRUNTIME_DEBUG | |
13911 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
13912 | #endif | |
13913 | } | |
13914 | if (ret) { | |
13915 | if (type == swig_module.type_initial[i]) { | |
13916 | #ifdef SWIGRUNTIME_DEBUG | |
13917 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
13918 | #endif | |
13919 | cast->type = ret; | |
13920 | ret = 0; | |
13921 | } else { | |
13922 | /* Check for casting already in the list */ | |
13923 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
13924 | #ifdef SWIGRUNTIME_DEBUG | |
13925 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
13926 | #endif | |
13927 | if (!ocast) ret = 0; | |
13928 | } | |
13929 | } | |
13930 | ||
13931 | if (!ret) { | |
13932 | #ifdef SWIGRUNTIME_DEBUG | |
13933 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
13934 | #endif | |
13935 | if (type->cast) { | |
13936 | type->cast->prev = cast; | |
13937 | cast->next = type->cast; | |
13938 | } | |
13939 | type->cast = cast; | |
13940 | } | |
13941 | cast++; | |
13942 | } | |
13943 | /* Set entry in modules->types array equal to the type */ | |
13944 | swig_module.types[i] = type; | |
13945 | } | |
13946 | swig_module.types[i] = 0; | |
13947 | ||
13948 | #ifdef SWIGRUNTIME_DEBUG | |
13949 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
13950 | for (i = 0; i < swig_module.size; ++i) { | |
13951 | int j = 0; | |
13952 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
13953 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
13954 | while (cast->type) { | |
13955 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
13956 | cast++; | |
13957 | ++j; | |
13958 | } | |
13959 | printf("---- Total casts: %d\n",j); | |
13960 | } | |
13961 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
13962 | #endif | |
13963 | } | |
13964 | ||
13965 | /* This function will propagate the clientdata field of type to | |
13966 | * any new swig_type_info structures that have been added into the list | |
13967 | * of equivalent types. It is like calling | |
13968 | * SWIG_TypeClientData(type, clientdata) a second time. | |
13969 | */ | |
13970 | SWIGRUNTIME void | |
13971 | SWIG_PropagateClientData(void) { | |
13972 | size_t i; | |
13973 | swig_cast_info *equiv; | |
13974 | static int init_run = 0; | |
13975 | ||
13976 | if (init_run) return; | |
13977 | init_run = 1; | |
13978 | ||
13979 | for (i = 0; i < swig_module.size; i++) { | |
13980 | if (swig_module.types[i]->clientdata) { | |
13981 | equiv = swig_module.types[i]->cast; | |
13982 | while (equiv) { | |
13983 | if (!equiv->converter) { | |
13984 | if (equiv->type && !equiv->type->clientdata) | |
13985 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
13986 | } | |
13987 | equiv = equiv->next; | |
13988 | } | |
13989 | } | |
13990 | } | |
13991 | } | |
13992 | ||
13993 | #ifdef __cplusplus | |
13994 | #if 0 | |
13995 | { | |
13996 | /* c-mode */ | |
13997 | #endif | |
13998 | } | |
13999 | #endif | |
14000 | ||
14001 | ||
14002 | ||
14003 | #ifdef __cplusplus | |
14004 | extern "C" { | |
14005 | #endif | |
14006 | ||
14007 | /* Python-specific SWIG API */ | |
14008 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
14009 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
14010 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
14011 | ||
14012 | /* ----------------------------------------------------------------------------- | |
14013 | * global variable support code. | |
14014 | * ----------------------------------------------------------------------------- */ | |
14015 | ||
14016 | typedef struct swig_globalvar { | |
14017 | char *name; /* Name of global variable */ | |
14018 | PyObject *(*get_attr)(void); /* Return the current value */ | |
14019 | int (*set_attr)(PyObject *); /* Set the value */ | |
14020 | struct swig_globalvar *next; | |
14021 | } swig_globalvar; | |
14022 | ||
14023 | typedef struct swig_varlinkobject { | |
14024 | PyObject_HEAD | |
14025 | swig_globalvar *vars; | |
14026 | } swig_varlinkobject; | |
14027 | ||
14028 | SWIGINTERN PyObject * | |
14029 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
14030 | return PyString_FromString("<Swig global variables>"); | |
14031 | } | |
14032 | ||
14033 | SWIGINTERN PyObject * | |
14034 | swig_varlink_str(swig_varlinkobject *v) { | |
14035 | PyObject *str = PyString_FromString("("); | |
14036 | swig_globalvar *var; | |
14037 | for (var = v->vars; var; var=var->next) { | |
14038 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
14039 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
14040 | } | |
14041 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
14042 | return str; | |
14043 | } | |
14044 | ||
14045 | SWIGINTERN int | |
14046 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
14047 | PyObject *str = swig_varlink_str(v); | |
14048 | fprintf(fp,"Swig global variables "); | |
14049 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
14050 | Py_DECREF(str); | |
14051 | return 0; | |
14052 | } | |
14053 | ||
14054 | SWIGINTERN void | |
14055 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
14056 | swig_globalvar *var = v->vars; | |
14057 | while (var) { | |
14058 | swig_globalvar *n = var->next; | |
14059 | free(var->name); | |
14060 | free(var); | |
14061 | var = n; | |
14062 | } | |
14063 | } | |
14064 | ||
14065 | SWIGINTERN PyObject * | |
14066 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
14067 | PyObject *res = NULL; | |
14068 | swig_globalvar *var = v->vars; | |
14069 | while (var) { | |
14070 | if (strcmp(var->name,n) == 0) { | |
14071 | res = (*var->get_attr)(); | |
14072 | break; | |
14073 | } | |
14074 | var = var->next; | |
14075 | } | |
14076 | if (res == NULL && !PyErr_Occurred()) { | |
14077 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
14078 | } | |
14079 | return res; | |
14080 | } | |
14081 | ||
14082 | SWIGINTERN int | |
14083 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
14084 | int res = 1; | |
14085 | swig_globalvar *var = v->vars; | |
14086 | while (var) { | |
14087 | if (strcmp(var->name,n) == 0) { | |
14088 | res = (*var->set_attr)(p); | |
14089 | break; | |
14090 | } | |
14091 | var = var->next; | |
14092 | } | |
14093 | if (res == 1 && !PyErr_Occurred()) { | |
14094 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
14095 | } | |
14096 | return res; | |
14097 | } | |
14098 | ||
14099 | SWIGINTERN PyTypeObject* | |
14100 | swig_varlink_type(void) { | |
14101 | static char varlink__doc__[] = "Swig var link object"; | |
14102 | static PyTypeObject varlink_type; | |
14103 | static int type_init = 0; | |
14104 | if (!type_init) { | |
14105 | const PyTypeObject tmp | |
14106 | = { | |
14107 | PyObject_HEAD_INIT(NULL) | |
14108 | 0, /* Number of items in variable part (ob_size) */ | |
14109 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
14110 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
14111 | 0, /* Itemsize (tp_itemsize) */ | |
14112 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
14113 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
14114 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
14115 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
14116 | 0, /* tp_compare */ | |
14117 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
14118 | 0, /* tp_as_number */ | |
14119 | 0, /* tp_as_sequence */ | |
14120 | 0, /* tp_as_mapping */ | |
14121 | 0, /* tp_hash */ | |
14122 | 0, /* tp_call */ | |
14123 | (reprfunc)swig_varlink_str, /* tp_str */ | |
14124 | 0, /* tp_getattro */ | |
14125 | 0, /* tp_setattro */ | |
14126 | 0, /* tp_as_buffer */ | |
14127 | 0, /* tp_flags */ | |
14128 | varlink__doc__, /* tp_doc */ | |
14129 | 0, /* tp_traverse */ | |
14130 | 0, /* tp_clear */ | |
14131 | 0, /* tp_richcompare */ | |
14132 | 0, /* tp_weaklistoffset */ | |
14133 | #if PY_VERSION_HEX >= 0x02020000 | |
14134 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
14135 | #endif | |
14136 | #if PY_VERSION_HEX >= 0x02030000 | |
14137 | 0, /* tp_del */ | |
14138 | #endif | |
14139 | #ifdef COUNT_ALLOCS | |
14140 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
14141 | #endif | |
14142 | }; | |
14143 | varlink_type = tmp; | |
14144 | varlink_type.ob_type = &PyType_Type; | |
14145 | type_init = 1; | |
14146 | } | |
14147 | return &varlink_type; | |
14148 | } | |
14149 | ||
14150 | /* Create a variable linking object for use later */ | |
14151 | SWIGINTERN PyObject * | |
14152 | SWIG_Python_newvarlink(void) { | |
14153 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
14154 | if (result) { | |
14155 | result->vars = 0; | |
14156 | } | |
14157 | return ((PyObject*) result); | |
14158 | } | |
14159 | ||
14160 | SWIGINTERN void | |
14161 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
14162 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
14163 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
14164 | if (gv) { | |
14165 | size_t size = strlen(name)+1; | |
14166 | gv->name = (char *)malloc(size); | |
14167 | if (gv->name) { | |
14168 | strncpy(gv->name,name,size); | |
14169 | gv->get_attr = get_attr; | |
14170 | gv->set_attr = set_attr; | |
14171 | gv->next = v->vars; | |
14172 | } | |
14173 | } | |
14174 | v->vars = gv; | |
14175 | } | |
14176 | ||
14177 | SWIGINTERN PyObject * | |
14178 | SWIG_globals() { | |
14179 | static PyObject *_SWIG_globals = 0; | |
14180 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
14181 | return _SWIG_globals; | |
14182 | } | |
14183 | ||
14184 | /* ----------------------------------------------------------------------------- | |
14185 | * constants/methods manipulation | |
14186 | * ----------------------------------------------------------------------------- */ | |
14187 | ||
14188 | /* Install Constants */ | |
14189 | SWIGINTERN void | |
14190 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
14191 | PyObject *obj = 0; | |
14192 | size_t i; | |
14193 | for (i = 0; constants[i].type; ++i) { | |
14194 | switch(constants[i].type) { | |
14195 | case SWIG_PY_POINTER: | |
14196 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
14197 | break; | |
14198 | case SWIG_PY_BINARY: | |
14199 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
14200 | break; | |
14201 | default: | |
14202 | obj = 0; | |
14203 | break; | |
14204 | } | |
14205 | if (obj) { | |
14206 | PyDict_SetItemString(d, constants[i].name, obj); | |
14207 | Py_DECREF(obj); | |
14208 | } | |
14209 | } | |
14210 | } | |
14211 | ||
14212 | /* -----------------------------------------------------------------------------*/ | |
14213 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
14214 | /* -----------------------------------------------------------------------------*/ | |
14215 | ||
14216 | SWIGINTERN void | |
14217 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
14218 | swig_const_info *const_table, | |
14219 | swig_type_info **types, | |
14220 | swig_type_info **types_initial) { | |
14221 | size_t i; | |
14222 | for (i = 0; methods[i].ml_name; ++i) { | |
453fb36b | 14223 | const char *c = methods[i].ml_doc; |
f05326ba RD |
14224 | if (c && (c = strstr(c, "swig_ptr: "))) { |
14225 | int j; | |
14226 | swig_const_info *ci = 0; | |
453fb36b | 14227 | const char *name = c + 10; |
f05326ba RD |
14228 | for (j = 0; const_table[j].type; ++j) { |
14229 | if (strncmp(const_table[j].name, name, | |
14230 | strlen(const_table[j].name)) == 0) { | |
14231 | ci = &(const_table[j]); | |
14232 | break; | |
14233 | } | |
14234 | } | |
14235 | if (ci) { | |
14236 | size_t shift = (ci->ptype) - types; | |
14237 | swig_type_info *ty = types_initial[shift]; | |
14238 | size_t ldoc = (c - methods[i].ml_doc); | |
14239 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
14240 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
14241 | if (ndoc) { | |
14242 | char *buff = ndoc; | |
14243 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
14244 | if (ptr) { | |
14245 | strncpy(buff, methods[i].ml_doc, ldoc); | |
14246 | buff += ldoc; | |
14247 | strncpy(buff, "swig_ptr: ", 10); | |
14248 | buff += 10; | |
14249 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
14250 | methods[i].ml_doc = ndoc; | |
14251 | } | |
14252 | } | |
14253 | } | |
14254 | } | |
14255 | } | |
14256 | } | |
14257 | ||
14258 | #ifdef __cplusplus | |
14259 | } | |
14260 | #endif | |
14261 | ||
14262 | /* -----------------------------------------------------------------------------* | |
14263 | * Partial Init method | |
14264 | * -----------------------------------------------------------------------------*/ | |
14265 | ||
14266 | #ifdef __cplusplus | |
14267 | extern "C" | |
14268 | #endif | |
14269 | SWIGEXPORT void SWIG_init(void) { | |
14270 | PyObject *m, *d; | |
14271 | ||
14272 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
14273 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
14274 | ||
14275 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
14276 | d = PyModule_GetDict(m); | |
14277 | ||
14278 | SWIG_InitializeModule(0); | |
14279 | SWIG_InstallConstants(d,swig_const_table); | |
14280 | ||
14281 | ||
14282 | SWIG_Python_SetConstant(d, "USE_TEXTATTREX",SWIG_From_int(static_cast< int >(0))); | |
14283 | SWIG_Python_SetConstant(d, "RE_READONLY",SWIG_From_int(static_cast< int >(wxRE_READONLY))); | |
14284 | SWIG_Python_SetConstant(d, "RE_MULTILINE",SWIG_From_int(static_cast< int >(wxRE_MULTILINE))); | |
14285 | SWIG_Python_SetConstant(d, "RICHTEXT_SHIFT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_SHIFT_DOWN))); | |
14286 | SWIG_Python_SetConstant(d, "RICHTEXT_CTRL_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_CTRL_DOWN))); | |
14287 | SWIG_Python_SetConstant(d, "RICHTEXT_ALT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_ALT_DOWN))); | |
14288 | SWIG_Python_SetConstant(d, "RICHTEXT_SELECTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_SELECTED))); | |
14289 | SWIG_Python_SetConstant(d, "RICHTEXT_TAGGED",SWIG_From_int(static_cast< int >(wxRICHTEXT_TAGGED))); | |
14290 | SWIG_Python_SetConstant(d, "RICHTEXT_FOCUSSED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FOCUSSED))); | |
14291 | SWIG_Python_SetConstant(d, "RICHTEXT_IS_FOCUS",SWIG_From_int(static_cast< int >(wxRICHTEXT_IS_FOCUS))); | |
14292 | SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_ANY))); | |
14293 | SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_TEXT",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_TEXT))); | |
14294 | SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_XML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_XML))); | |
14295 | SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_HTML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_HTML))); | |
14296 | SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_RTF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_RTF))); | |
14297 | SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_PDF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_PDF))); | |
14298 | SWIG_Python_SetConstant(d, "RICHTEXT_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_WIDTH))); | |
14299 | SWIG_Python_SetConstant(d, "RICHTEXT_FIXED_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_HEIGHT))); | |
14300 | SWIG_Python_SetConstant(d, "RICHTEXT_VARIABLE_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_WIDTH))); | |
14301 | SWIG_Python_SetConstant(d, "RICHTEXT_VARIABLE_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_HEIGHT))); | |
14302 | SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_NONE))); | |
14303 | SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_BEFORE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_BEFORE))); | |
14304 | SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_AFTER",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_AFTER))); | |
14305 | SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_ON",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_ON))); | |
14306 | SWIG_Python_SetConstant(d, "RICHTEXT_FORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FORMATTED))); | |
14307 | SWIG_Python_SetConstant(d, "RICHTEXT_UNFORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_UNFORMATTED))); | |
b39fe951 RD |
14308 | SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_NONE))); |
14309 | SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_WITH_UNDO",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_WITH_UNDO))); | |
14310 | SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_OPTIMIZE",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_OPTIMIZE))); | |
14311 | SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_PARAGRAPHS_ONLY",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_PARAGRAPHS_ONLY))); | |
14312 | SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_CHARACTERS_ONLY",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_CHARACTERS_ONLY))); | |
c2829a8f RD |
14313 | SWIG_Python_SetConstant(d, "RICHTEXT_INSERT_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_INSERT_NONE))); |
14314 | SWIG_Python_SetConstant(d, "RICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE",SWIG_From_int(static_cast< int >(wxRICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE))); | |
f05326ba RD |
14315 | SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR))); |
14316 | SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR))); | |
14317 | SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE))); | |
14318 | SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE))); | |
14319 | SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT))); | |
14320 | SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC))); | |
14321 | SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE))); | |
14322 | SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT))); | |
14323 | SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT))); | |
14324 | SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT))); | |
14325 | SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT))); | |
14326 | SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS))); | |
14327 | SWIG_Python_SetConstant(d, "TEXT_ATTR_PARA_SPACING_AFTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_AFTER))); | |
14328 | SWIG_Python_SetConstant(d, "TEXT_ATTR_PARA_SPACING_BEFORE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_BEFORE))); | |
14329 | SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING))); | |
14330 | SWIG_Python_SetConstant(d, "TEXT_ATTR_CHARACTER_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER_STYLE_NAME))); | |
14331 | SWIG_Python_SetConstant(d, "TEXT_ATTR_PARAGRAPH_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH_STYLE_NAME))); | |
14332 | SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE))); | |
14333 | SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_NUMBER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_NUMBER))); | |
f05326ba RD |
14334 | SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_NONE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_NONE))); |
14335 | SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ARABIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ARABIC))); | |
14336 | SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_LETTERS_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER))); | |
14337 | SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_LETTERS_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER))); | |
14338 | SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ROMAN_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER))); | |
14339 | SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ROMAN_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER))); | |
14340 | SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_SYMBOL))); | |
14341 | SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_BITMAP",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_BITMAP))); | |
14342 | SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_PARENTHESES",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PARENTHESES))); | |
14343 | SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_PERIOD",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PERIOD))); | |
14344 | SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_NORMAL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_NORMAL))); | |
14345 | SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_HALF",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_HALF))); | |
14346 | SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_TWICE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_TWICE))); | |
14347 | SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT))); | |
14348 | SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT))); | |
14349 | SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE))); | |
14350 | SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER))); | |
14351 | SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT))); | |
14352 | SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED))); | |
14353 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
14354 | SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_ALL",RICHTEXT_ALL_get, RICHTEXT_ALL_set); | |
14355 | SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_NONE",RICHTEXT_NONE_get, RICHTEXT_NONE_set); | |
14356 | SWIG_Python_SetConstant(d, "TEXT_ATTR_CHARACTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER))); | |
14357 | SWIG_Python_SetConstant(d, "TEXT_ATTR_PARAGRAPH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH))); | |
14358 | SWIG_Python_SetConstant(d, "TEXT_ATTR_ALL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALL))); | |
f05326ba RD |
14359 | PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_CLICK)); |
14360 | PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK)); | |
14361 | PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK)); | |
14362 | PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK)); | |
14363 | PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_RETURN", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RETURN)); | |
70d7cb34 RD |
14364 | PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING)); |
14365 | PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED)); | |
14366 | PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING)); | |
14367 | PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED)); | |
f27895d2 RD |
14368 | PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_CHARACTER", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_CHARACTER)); |
14369 | PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_DELETE", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_DELETE)); | |
f05326ba | 14370 | |
73703a80 | 14371 | wxRichTextModuleInit(); |
f05326ba RD |
14372 | |
14373 | } | |
14374 |