]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
093d3ff1 | 3 | * Version 1.3.24 |
d14a1e28 RD |
4 | * |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
d14a1e28 RD |
12 | |
13 | #ifdef __cplusplus | |
14 | template<class T> class SwigValueWrapper { | |
15 | T *tt; | |
16 | public: | |
17 | SwigValueWrapper() : tt(0) { } | |
18 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
19 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
20 | ~SwigValueWrapper() { delete tt; } | |
21 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
22 | operator T&() const { return *tt; } | |
23 | T *operator&() { return tt; } | |
24 | private: | |
25 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
093d3ff1 | 26 | }; |
d14a1e28 RD |
27 | #endif |
28 | ||
29 | ||
093d3ff1 RD |
30 | #ifndef SWIG_TEMPLATE_DISAMBIGUATOR |
31 | # if defined(__SUNPRO_CC) | |
32 | # define SWIG_TEMPLATE_DISAMBIGUATOR template | |
33 | # else | |
34 | # define SWIG_TEMPLATE_DISAMBIGUATOR | |
35 | # endif | |
36 | #endif | |
d14a1e28 | 37 | |
c9c7117a | 38 | |
093d3ff1 | 39 | #include <Python.h> |
d14a1e28 RD |
40 | |
41 | /*********************************************************************** | |
093d3ff1 | 42 | * swigrun.swg |
d14a1e28 | 43 | * |
093d3ff1 RD |
44 | * This file contains generic CAPI SWIG runtime support for pointer |
45 | * type checking. | |
d14a1e28 RD |
46 | * |
47 | ************************************************************************/ | |
48 | ||
093d3ff1 RD |
49 | /* This should only be incremented when either the layout of swig_type_info changes, |
50 | or for whatever reason, the runtime changes incompatibly */ | |
51 | #define SWIG_RUNTIME_VERSION "1" | |
d14a1e28 | 52 | |
093d3ff1 RD |
53 | /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ |
54 | #ifdef SWIG_TYPE_TABLE | |
55 | #define SWIG_QUOTE_STRING(x) #x | |
56 | #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) | |
57 | #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) | |
d14a1e28 | 58 | #else |
093d3ff1 | 59 | #define SWIG_TYPE_TABLE_NAME |
d14a1e28 RD |
60 | #endif |
61 | ||
093d3ff1 RD |
62 | #include <string.h> |
63 | ||
64 | #ifndef SWIGINLINE | |
65 | #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) | |
66 | # define SWIGINLINE inline | |
d14a1e28 | 67 | #else |
093d3ff1 RD |
68 | # define SWIGINLINE |
69 | #endif | |
70 | #endif | |
71 | ||
72 | /* | |
73 | You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for | |
74 | creating a static or dynamic library from the swig runtime code. | |
75 | In 99.9% of the cases, swig just needs to declare them as 'static'. | |
76 | ||
77 | But only do this if is strictly necessary, ie, if you have problems | |
78 | with your compiler or so. | |
79 | */ | |
80 | #ifndef SWIGRUNTIME | |
81 | #define SWIGRUNTIME static | |
82 | #endif | |
83 | #ifndef SWIGRUNTIMEINLINE | |
84 | #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE | |
d14a1e28 RD |
85 | #endif |
86 | ||
d14a1e28 RD |
87 | #ifdef __cplusplus |
88 | extern "C" { | |
89 | #endif | |
90 | ||
91 | typedef void *(*swig_converter_func)(void *); | |
92 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
93 | ||
94 | typedef struct swig_type_info { | |
cc6dd355 | 95 | const char *name; |
d14a1e28 RD |
96 | swig_converter_func converter; |
97 | const char *str; | |
cc6dd355 | 98 | void *clientdata; |
d14a1e28 RD |
99 | swig_dycast_func dcast; |
100 | struct swig_type_info *next; | |
101 | struct swig_type_info *prev; | |
102 | } swig_type_info; | |
103 | ||
093d3ff1 RD |
104 | /* |
105 | Compare two type names skipping the space characters, therefore | |
106 | "char*" == "char *" and "Class<int>" == "Class<int >", etc. | |
107 | ||
108 | Return 0 when the two name types are equivalent, as in | |
109 | strncmp, but skipping ' '. | |
110 | */ | |
111 | SWIGRUNTIME int | |
112 | SWIG_TypeNameComp(const char *f1, const char *l1, | |
113 | const char *f2, const char *l2) { | |
114 | for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { | |
115 | while ((*f1 == ' ') && (f1 != l1)) ++f1; | |
116 | while ((*f2 == ' ') && (f2 != l2)) ++f2; | |
117 | if (*f1 != *f2) return *f1 - *f2; | |
118 | } | |
119 | return (l1 - f1) - (l2 - f2); | |
120 | } | |
121 | ||
122 | /* | |
123 | Check type equivalence in a name list like <name1>|<name2>|... | |
124 | */ | |
125 | SWIGRUNTIME int | |
126 | SWIG_TypeEquiv(const char *nb, const char *tb) { | |
127 | int equiv = 0; | |
128 | const char* te = tb + strlen(tb); | |
129 | const char* ne = nb; | |
130 | while (!equiv && *ne) { | |
131 | for (nb = ne; *ne; ++ne) { | |
132 | if (*ne == '|') break; | |
133 | } | |
134 | equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0; | |
135 | if (*ne) ++ne; | |
136 | } | |
137 | return equiv; | |
138 | } | |
139 | ||
140 | /* | |
141 | Register a type mapping with the type-checking | |
142 | */ | |
143 | SWIGRUNTIME swig_type_info * | |
144 | SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) { | |
145 | swig_type_info *tc, *head, *ret, *next; | |
146 | /* Check to see if this type has already been registered */ | |
147 | tc = *tl; | |
148 | while (tc) { | |
149 | /* check simple type equivalence */ | |
150 | int typeequiv = (strcmp(tc->name, ti->name) == 0); | |
151 | /* check full type equivalence, resolving typedefs */ | |
152 | if (!typeequiv) { | |
153 | /* only if tc is not a typedef (no '|' on it) */ | |
154 | if (tc->str && ti->str && !strstr(tc->str,"|")) { | |
155 | typeequiv = SWIG_TypeEquiv(ti->str,tc->str); | |
156 | } | |
157 | } | |
158 | if (typeequiv) { | |
159 | /* Already exists in the table. Just add additional types to the list */ | |
160 | if (ti->clientdata) tc->clientdata = ti->clientdata; | |
161 | head = tc; | |
162 | next = tc->next; | |
163 | goto l1; | |
164 | } | |
165 | tc = tc->prev; | |
166 | } | |
167 | head = ti; | |
168 | next = 0; | |
169 | ||
170 | /* Place in list */ | |
171 | ti->prev = *tl; | |
172 | *tl = ti; | |
173 | ||
174 | /* Build linked lists */ | |
175 | l1: | |
176 | ret = head; | |
177 | tc = ti + 1; | |
178 | /* Patch up the rest of the links */ | |
179 | while (tc->name) { | |
180 | head->next = tc; | |
181 | tc->prev = head; | |
182 | head = tc; | |
183 | tc++; | |
184 | } | |
185 | if (next) next->prev = head; | |
186 | head->next = next; | |
187 | ||
188 | return ret; | |
189 | } | |
190 | ||
191 | /* | |
192 | Check the typename | |
193 | */ | |
194 | SWIGRUNTIME swig_type_info * | |
195 | SWIG_TypeCheck(const char *c, swig_type_info *ty) { | |
196 | swig_type_info *s; | |
197 | if (!ty) return 0; /* Void pointer */ | |
198 | s = ty->next; /* First element always just a name */ | |
199 | do { | |
200 | if (strcmp(s->name,c) == 0) { | |
201 | if (s == ty->next) return s; | |
202 | /* Move s to the top of the linked list */ | |
203 | s->prev->next = s->next; | |
204 | if (s->next) { | |
205 | s->next->prev = s->prev; | |
206 | } | |
207 | /* Insert s as second element in the list */ | |
208 | s->next = ty->next; | |
209 | if (ty->next) ty->next->prev = s; | |
210 | ty->next = s; | |
211 | s->prev = ty; | |
212 | return s; | |
213 | } | |
214 | s = s->next; | |
215 | } while (s && (s != ty->next)); | |
216 | return 0; | |
217 | } | |
218 | ||
219 | /* | |
220 | Cast a pointer up an inheritance hierarchy | |
221 | */ | |
222 | SWIGRUNTIMEINLINE void * | |
223 | SWIG_TypeCast(swig_type_info *ty, void *ptr) { | |
224 | return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); | |
225 | } | |
226 | ||
227 | /* | |
228 | Dynamic pointer casting. Down an inheritance hierarchy | |
229 | */ | |
230 | SWIGRUNTIME swig_type_info * | |
231 | SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { | |
232 | swig_type_info *lastty = ty; | |
233 | if (!ty || !ty->dcast) return ty; | |
234 | while (ty && (ty->dcast)) { | |
235 | ty = (*ty->dcast)(ptr); | |
236 | if (ty) lastty = ty; | |
237 | } | |
238 | return lastty; | |
239 | } | |
240 | ||
241 | /* | |
242 | Return the name associated with this type | |
243 | */ | |
244 | SWIGRUNTIMEINLINE const char * | |
245 | SWIG_TypeName(const swig_type_info *ty) { | |
246 | return ty->name; | |
247 | } | |
248 | ||
249 | /* | |
250 | Return the pretty name associated with this type, | |
251 | that is an unmangled type name in a form presentable to the user. | |
252 | */ | |
253 | SWIGRUNTIME const char * | |
254 | SWIG_TypePrettyName(const swig_type_info *type) { | |
255 | /* The "str" field contains the equivalent pretty names of the | |
256 | type, separated by vertical-bar characters. We choose | |
257 | to print the last name, as it is often (?) the most | |
258 | specific. */ | |
259 | if (type->str != NULL) { | |
260 | const char *last_name = type->str; | |
261 | const char *s; | |
262 | for (s = type->str; *s; s++) | |
263 | if (*s == '|') last_name = s+1; | |
264 | return last_name; | |
265 | } | |
266 | else | |
267 | return type->name; | |
268 | } | |
269 | ||
270 | /* | |
271 | Search for a swig_type_info structure | |
272 | */ | |
273 | SWIGRUNTIME swig_type_info * | |
274 | SWIG_TypeQueryTL(swig_type_info *tl, const char *name) { | |
275 | swig_type_info *ty = tl; | |
276 | while (ty) { | |
277 | if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty; | |
278 | if (ty->name && (strcmp(name,ty->name) == 0)) return ty; | |
279 | ty = ty->prev; | |
280 | } | |
281 | return 0; | |
282 | } | |
d14a1e28 | 283 | |
093d3ff1 RD |
284 | /* |
285 | Set the clientdata field for a type | |
286 | */ | |
287 | SWIGRUNTIME void | |
288 | SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) { | |
289 | swig_type_info *tc, *equiv; | |
290 | if (ti->clientdata) return; | |
291 | /* if (ti->clientdata == clientdata) return; */ | |
292 | ti->clientdata = clientdata; | |
293 | equiv = ti->next; | |
294 | while (equiv) { | |
295 | if (!equiv->converter) { | |
296 | tc = tl; | |
297 | while (tc) { | |
298 | if ((strcmp(tc->name, equiv->name) == 0)) | |
299 | SWIG_TypeClientDataTL(tl,tc,clientdata); | |
300 | tc = tc->prev; | |
301 | } | |
302 | } | |
303 | equiv = equiv->next; | |
304 | } | |
305 | } | |
d14a1e28 | 306 | |
093d3ff1 RD |
307 | /* |
308 | Pack binary data into a string | |
309 | */ | |
310 | SWIGRUNTIME char * | |
311 | SWIG_PackData(char *c, void *ptr, size_t sz) { | |
312 | static char hex[17] = "0123456789abcdef"; | |
313 | unsigned char *u = (unsigned char *) ptr; | |
314 | const unsigned char *eu = u + sz; | |
315 | register unsigned char uu; | |
316 | for (; u != eu; ++u) { | |
317 | uu = *u; | |
318 | *(c++) = hex[(uu & 0xf0) >> 4]; | |
319 | *(c++) = hex[uu & 0xf]; | |
320 | } | |
321 | return c; | |
322 | } | |
323 | ||
324 | /* | |
325 | Unpack binary data from a string | |
326 | */ | |
327 | SWIGRUNTIME const char * | |
328 | SWIG_UnpackData(const char *c, void *ptr, size_t sz) { | |
329 | register unsigned char *u = (unsigned char *) ptr; | |
330 | register const unsigned char *eu = u + sz; | |
331 | for (; u != eu; ++u) { | |
332 | register int d = *(c++); | |
333 | register unsigned char uu = 0; | |
334 | if ((d >= '0') && (d <= '9')) | |
335 | uu = ((d - '0') << 4); | |
336 | else if ((d >= 'a') && (d <= 'f')) | |
337 | uu = ((d - ('a'-10)) << 4); | |
338 | else | |
339 | return (char *) 0; | |
340 | d = *(c++); | |
341 | if ((d >= '0') && (d <= '9')) | |
342 | uu |= (d - '0'); | |
343 | else if ((d >= 'a') && (d <= 'f')) | |
344 | uu |= (d - ('a'-10)); | |
345 | else | |
346 | return (char *) 0; | |
347 | *u = uu; | |
348 | } | |
349 | return c; | |
350 | } | |
351 | ||
352 | /* | |
353 | This function will propagate the clientdata field of type to any new | |
354 | swig_type_info structures that have been added into the list of | |
355 | equivalent types. It is like calling SWIG_TypeClientData(type, | |
356 | clientdata) a second time. | |
357 | */ | |
358 | SWIGRUNTIME void | |
359 | SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) { | |
360 | swig_type_info *equiv = type->next; | |
361 | swig_type_info *tc; | |
362 | if (!type->clientdata) return; | |
363 | while (equiv) { | |
364 | if (!equiv->converter) { | |
365 | tc = tl; | |
366 | while (tc) { | |
367 | if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata) | |
368 | SWIG_TypeClientDataTL(tl,tc, type->clientdata); | |
369 | tc = tc->prev; | |
370 | } | |
371 | } | |
372 | equiv = equiv->next; | |
373 | } | |
374 | } | |
375 | ||
376 | /* | |
377 | Pack 'void *' into a string buffer. | |
378 | */ | |
379 | SWIGRUNTIME char * | |
380 | SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { | |
381 | char *r = buff; | |
382 | if ((2*sizeof(void *) + 2) > bsz) return 0; | |
383 | *(r++) = '_'; | |
384 | r = SWIG_PackData(r,&ptr,sizeof(void *)); | |
385 | if (strlen(name) + 1 > (bsz - (r - buff))) return 0; | |
386 | strcpy(r,name); | |
387 | return buff; | |
388 | } | |
389 | ||
390 | SWIGRUNTIME const char * | |
391 | SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { | |
392 | if (*c != '_') { | |
393 | if (strcmp(c,"NULL") == 0) { | |
394 | *ptr = (void *) 0; | |
395 | return name; | |
396 | } else { | |
397 | return 0; | |
398 | } | |
399 | } | |
400 | return SWIG_UnpackData(++c,ptr,sizeof(void *)); | |
401 | } | |
402 | ||
403 | SWIGRUNTIME char * | |
404 | SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { | |
405 | char *r = buff; | |
406 | size_t lname = (name ? strlen(name) : 0); | |
407 | if ((2*sz + 2 + lname) > bsz) return 0; | |
408 | *(r++) = '_'; | |
409 | r = SWIG_PackData(r,ptr,sz); | |
410 | if (lname) { | |
411 | strncpy(r,name,lname+1); | |
412 | } else { | |
413 | *r = 0; | |
414 | } | |
415 | return buff; | |
416 | } | |
417 | ||
418 | SWIGRUNTIME const char * | |
419 | SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { | |
420 | if (*c != '_') { | |
421 | if (strcmp(c,"NULL") == 0) { | |
422 | memset(ptr,0,sz); | |
423 | return name; | |
424 | } else { | |
425 | return 0; | |
426 | } | |
427 | } | |
428 | return SWIG_UnpackData(++c,ptr,sz); | |
429 | } | |
d14a1e28 RD |
430 | |
431 | #ifdef __cplusplus | |
432 | } | |
433 | #endif | |
434 | ||
435 | /*********************************************************************** | |
093d3ff1 RD |
436 | * common.swg |
437 | * | |
438 | * This file contains generic SWIG runtime support for pointer | |
439 | * type checking as well as a few commonly used macros to control | |
440 | * external linkage. | |
d14a1e28 | 441 | * |
093d3ff1 | 442 | * Author : David Beazley (beazley@cs.uchicago.edu) |
d14a1e28 | 443 | * |
093d3ff1 RD |
444 | * Copyright (c) 1999-2000, The University of Chicago |
445 | * | |
446 | * This file may be freely redistributed without license or fee provided | |
447 | * this copyright message remains intact. | |
d14a1e28 RD |
448 | ************************************************************************/ |
449 | ||
093d3ff1 RD |
450 | |
451 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
452 | # if !defined(STATIC_LINKED) | |
453 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
454 | # else | |
455 | # define SWIGEXPORT(a) a | |
456 | # endif | |
457 | #else | |
458 | # define SWIGEXPORT(a) a | |
459 | #endif | |
460 | ||
d14a1e28 RD |
461 | #ifdef __cplusplus |
462 | extern "C" { | |
463 | #endif | |
464 | ||
093d3ff1 RD |
465 | |
466 | /*************************************************************************/ | |
467 | ||
468 | ||
469 | /* The static type info list */ | |
470 | ||
471 | static swig_type_info *swig_type_list = 0; | |
472 | static swig_type_info **swig_type_list_handle = &swig_type_list; | |
473 | ||
474 | ||
475 | /* Register a type mapping with the type-checking */ | |
476 | static swig_type_info * | |
477 | SWIG_TypeRegister(swig_type_info *ti) { | |
478 | return SWIG_TypeRegisterTL(swig_type_list_handle, ti); | |
479 | } | |
480 | ||
481 | /* Search for a swig_type_info structure */ | |
482 | static swig_type_info * | |
483 | SWIG_TypeQuery(const char *name) { | |
484 | return SWIG_TypeQueryTL(*swig_type_list_handle, name); | |
485 | } | |
486 | ||
487 | /* Set the clientdata field for a type */ | |
488 | static void | |
489 | SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { | |
490 | SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata); | |
491 | } | |
492 | ||
493 | /* This function will propagate the clientdata field of type to | |
494 | * any new swig_type_info structures that have been added into the list | |
495 | * of equivalent types. It is like calling | |
496 | * SWIG_TypeClientData(type, clientdata) a second time. | |
497 | */ | |
498 | static void | |
499 | SWIG_PropagateClientData(swig_type_info *type) { | |
500 | SWIG_PropagateClientDataTL(*swig_type_list_handle, type); | |
501 | } | |
502 | ||
503 | #ifdef __cplusplus | |
504 | } | |
505 | #endif | |
506 | ||
507 | /* ----------------------------------------------------------------------------- | |
508 | * SWIG API. Portion that goes into the runtime | |
509 | * ----------------------------------------------------------------------------- */ | |
510 | ||
511 | #ifdef __cplusplus | |
512 | extern "C" { | |
513 | #endif | |
514 | ||
515 | /* ----------------------------------------------------------------------------- | |
516 | * for internal method declarations | |
517 | * ----------------------------------------------------------------------------- */ | |
518 | ||
519 | #ifndef SWIGINTERN | |
520 | #define SWIGINTERN static | |
521 | #endif | |
522 | ||
523 | #ifndef SWIGINTERNSHORT | |
524 | #ifdef __cplusplus | |
525 | #define SWIGINTERNSHORT static inline | |
526 | #else /* C case */ | |
527 | #define SWIGINTERNSHORT static | |
528 | #endif /* __cplusplus */ | |
529 | #endif | |
530 | ||
531 | ||
532 | /* | |
533 | Exception handling in wrappers | |
534 | */ | |
535 | #define SWIG_fail goto fail | |
536 | #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) | |
537 | #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0) | |
538 | #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1) | |
539 | #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj) | |
540 | #define SWIG_null_ref(type) SWIG_Python_NullRef(type) | |
541 | ||
542 | /* | |
543 | Contract support | |
544 | */ | |
545 | #define SWIG_contract_assert(expr, msg) \ | |
546 | if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else | |
547 | ||
548 | /* ----------------------------------------------------------------------------- | |
549 | * Constant declarations | |
550 | * ----------------------------------------------------------------------------- */ | |
551 | ||
552 | /* Constant Types */ | |
d14a1e28 RD |
553 | #define SWIG_PY_INT 1 |
554 | #define SWIG_PY_FLOAT 2 | |
555 | #define SWIG_PY_STRING 3 | |
556 | #define SWIG_PY_POINTER 4 | |
557 | #define SWIG_PY_BINARY 5 | |
558 | ||
d14a1e28 RD |
559 | /* Constant information structure */ |
560 | typedef struct swig_const_info { | |
561 | int type; | |
562 | char *name; | |
563 | long lvalue; | |
564 | double dvalue; | |
565 | void *pvalue; | |
566 | swig_type_info **ptype; | |
567 | } swig_const_info; | |
568 | ||
093d3ff1 RD |
569 | |
570 | /* ----------------------------------------------------------------------------- | |
571 | * Alloc. memory flags | |
572 | * ----------------------------------------------------------------------------- */ | |
573 | #define SWIG_OLDOBJ 1 | |
574 | #define SWIG_NEWOBJ SWIG_OLDOBJ + 1 | |
575 | #define SWIG_PYSTR SWIG_NEWOBJ + 1 | |
576 | ||
577 | #ifdef __cplusplus | |
578 | } | |
579 | #endif | |
580 | ||
581 | ||
582 | /*********************************************************************** | |
583 | * pyrun.swg | |
584 | * | |
585 | * This file contains the runtime support for Python modules | |
586 | * and includes code for managing global variables and pointer | |
587 | * type checking. | |
588 | * | |
589 | * Author : David Beazley (beazley@cs.uchicago.edu) | |
590 | ************************************************************************/ | |
591 | ||
d14a1e28 | 592 | /* Common SWIG API */ |
093d3ff1 RD |
593 | #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags) |
594 | #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags) | |
595 | #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
a41e16b6 | 596 | |
d14a1e28 | 597 | |
093d3ff1 RD |
598 | /* Python-specific SWIG API */ |
599 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
600 | #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
d14a1e28 | 601 | |
d14a1e28 | 602 | |
093d3ff1 RD |
603 | /* ----------------------------------------------------------------------------- |
604 | * Pointer declarations | |
605 | * ----------------------------------------------------------------------------- */ | |
606 | /* | |
607 | Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent | |
608 | C/C++ pointers in the python side. Very useful for debugging, but | |
609 | not always safe. | |
610 | */ | |
611 | #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES) | |
612 | # define SWIG_COBJECT_TYPES | |
613 | #endif | |
d14a1e28 | 614 | |
093d3ff1 RD |
615 | /* Flags for pointer conversion */ |
616 | #define SWIG_POINTER_EXCEPTION 0x1 | |
617 | #define SWIG_POINTER_DISOWN 0x2 | |
d14a1e28 | 618 | |
d14a1e28 | 619 | |
d14a1e28 | 620 | #ifdef __cplusplus |
093d3ff1 RD |
621 | extern "C" { |
622 | #endif | |
623 | ||
624 | /* ----------------------------------------------------------------------------- | |
625 | * Create a new pointer string | |
626 | * ----------------------------------------------------------------------------- */ | |
627 | ||
628 | #ifndef SWIG_BUFFER_SIZE | |
629 | #define SWIG_BUFFER_SIZE 1024 | |
630 | #endif | |
631 | ||
632 | #if defined(SWIG_COBJECT_TYPES) | |
633 | #if !defined(SWIG_COBJECT_PYTHON) | |
634 | /* ----------------------------------------------------------------------------- | |
635 | * Implements a simple Swig Object type, and use it instead of PyCObject | |
636 | * ----------------------------------------------------------------------------- */ | |
637 | ||
638 | typedef struct { | |
639 | PyObject_HEAD | |
640 | void *ptr; | |
641 | const char *desc; | |
642 | } PySwigObject; | |
643 | ||
644 | /* Declarations for objects of type PySwigObject */ | |
645 | ||
646 | SWIGRUNTIME int | |
647 | PySwigObject_print(PySwigObject *v, FILE *fp, int flags) | |
648 | { | |
649 | char result[SWIG_BUFFER_SIZE]; | |
650 | if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { | |
651 | fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp); | |
652 | return 0; | |
653 | } else { | |
654 | return 1; | |
655 | } | |
656 | } | |
657 | ||
658 | SWIGRUNTIME PyObject * | |
659 | PySwigObject_repr(PySwigObject *v) | |
660 | { | |
661 | char result[SWIG_BUFFER_SIZE]; | |
662 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
663 | PyString_FromFormat("<Swig Object at %s>", result) : 0; | |
664 | } | |
665 | ||
666 | SWIGRUNTIME PyObject * | |
667 | PySwigObject_str(PySwigObject *v) | |
668 | { | |
669 | char result[SWIG_BUFFER_SIZE]; | |
670 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
671 | PyString_FromString(result) : 0; | |
d14a1e28 | 672 | } |
093d3ff1 RD |
673 | |
674 | SWIGRUNTIME PyObject * | |
675 | PySwigObject_long(PySwigObject *v) | |
676 | { | |
677 | return PyLong_FromUnsignedLong((unsigned long) v->ptr); | |
678 | } | |
679 | ||
680 | SWIGRUNTIME PyObject * | |
681 | PySwigObject_oct(PySwigObject *v) | |
682 | { | |
683 | char buf[100]; | |
684 | unsigned long x = (unsigned long)v->ptr; | |
685 | if (x == 0) | |
686 | strcpy(buf, "0"); | |
687 | else | |
688 | PyOS_snprintf(buf, sizeof(buf), "0%lo", x); | |
689 | return PyString_FromString(buf); | |
690 | } | |
691 | ||
692 | SWIGRUNTIME PyObject * | |
693 | PySwigObject_hex(PySwigObject *v) | |
694 | { | |
695 | char buf[100]; | |
696 | PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr); | |
697 | return PyString_FromString(buf); | |
698 | } | |
699 | ||
700 | SWIGRUNTIME int | |
701 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
702 | { | |
703 | int c = strcmp(v->desc, w->desc); | |
704 | if (c) { | |
705 | return c; | |
706 | } else { | |
707 | void *i = v->ptr; | |
708 | void *j = w->ptr; | |
709 | return (i < j) ? -1 : (i > j) ? 1 : 0; | |
710 | } | |
711 | } | |
712 | ||
713 | SWIGRUNTIME void | |
714 | PySwigObject_dealloc(PySwigObject *self) | |
715 | { | |
716 | PyObject_DEL(self); | |
717 | } | |
718 | ||
719 | SWIGRUNTIME PyTypeObject* | |
720 | PySwigObject_GetType() { | |
721 | static char PySwigObject_Type__doc__[] = | |
722 | "Swig object carries a C/C++ instance pointer"; | |
723 | ||
724 | static PyNumberMethods PySwigObject_as_number = { | |
725 | (binaryfunc)0, /*nb_add*/ | |
726 | (binaryfunc)0, /*nb_subtract*/ | |
727 | (binaryfunc)0, /*nb_multiply*/ | |
728 | (binaryfunc)0, /*nb_divide*/ | |
729 | (binaryfunc)0, /*nb_remainder*/ | |
730 | (binaryfunc)0, /*nb_divmod*/ | |
731 | (ternaryfunc)0,/*nb_power*/ | |
732 | (unaryfunc)0, /*nb_negative*/ | |
733 | (unaryfunc)0, /*nb_positive*/ | |
734 | (unaryfunc)0, /*nb_absolute*/ | |
735 | (inquiry)0, /*nb_nonzero*/ | |
736 | 0, /*nb_invert*/ | |
737 | 0, /*nb_lshift*/ | |
738 | 0, /*nb_rshift*/ | |
739 | 0, /*nb_and*/ | |
740 | 0, /*nb_xor*/ | |
741 | 0, /*nb_or*/ | |
742 | (coercion)0, /*nb_coerce*/ | |
743 | (unaryfunc)PySwigObject_long, /*nb_int*/ | |
744 | (unaryfunc)PySwigObject_long, /*nb_long*/ | |
745 | (unaryfunc)0, /*nb_float*/ | |
746 | (unaryfunc)PySwigObject_oct, /*nb_oct*/ | |
747 | (unaryfunc)PySwigObject_hex, /*nb_hex*/ | |
748 | #if PY_VERSION_HEX >= 0x02000000 | |
749 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ | |
750 | #endif | |
751 | }; | |
752 | ||
753 | static int type_init = 0; | |
754 | static PyTypeObject PySwigObject_Type; | |
755 | ||
756 | if (!type_init) { | |
757 | PyTypeObject tmp = { | |
758 | PyObject_HEAD_INIT(&PyType_Type) | |
759 | 0, /*ob_size*/ | |
760 | "PySwigObject", /*tp_name*/ | |
761 | sizeof(PySwigObject), /*tp_basicsize*/ | |
762 | 0, /*tp_itemsize*/ | |
763 | /* methods */ | |
764 | (destructor)PySwigObject_dealloc, /*tp_dealloc*/ | |
765 | (printfunc)PySwigObject_print, /*tp_print*/ | |
766 | (getattrfunc)0, /*tp_getattr*/ | |
767 | (setattrfunc)0, /*tp_setattr*/ | |
768 | (cmpfunc)PySwigObject_compare, /*tp_compare*/ | |
769 | (reprfunc)PySwigObject_repr, /*tp_repr*/ | |
770 | &PySwigObject_as_number, /*tp_as_number*/ | |
771 | 0, /*tp_as_sequence*/ | |
772 | 0, /*tp_as_mapping*/ | |
773 | (hashfunc)0, /*tp_hash*/ | |
774 | (ternaryfunc)0, /*tp_call*/ | |
775 | (reprfunc)PySwigObject_str, /*tp_str*/ | |
776 | /* Space for future expansion */ | |
777 | 0L,0L,0L,0L, | |
778 | PySwigObject_Type__doc__, /* Documentation string */ | |
779 | #if PY_VERSION_HEX >= 0x02000000 | |
780 | 0, /* tp_traverse */ | |
781 | 0, /* tp_clear */ | |
782 | #endif | |
783 | #if PY_VERSION_HEX >= 0x02010000 | |
784 | 0, /* tp_richcompare */ | |
785 | 0, /* tp_weaklistoffset */ | |
786 | #endif | |
787 | #if PY_VERSION_HEX >= 0x02020000 | |
788 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
789 | #endif | |
790 | #if PY_VERSION_HEX >= 0x02030000 | |
791 | 0, /* tp_del */ | |
d14a1e28 | 792 | #endif |
093d3ff1 RD |
793 | #ifdef COUNT_ALLOCS |
794 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
795 | #endif | |
796 | }; | |
d14a1e28 | 797 | |
093d3ff1 RD |
798 | PySwigObject_Type = tmp; |
799 | type_init = 1; | |
800 | } | |
d14a1e28 | 801 | |
093d3ff1 RD |
802 | return &PySwigObject_Type; |
803 | } | |
c32bde28 | 804 | |
093d3ff1 RD |
805 | SWIGRUNTIME PyObject * |
806 | PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) | |
807 | { | |
808 | PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType()); | |
809 | if (self == NULL) return NULL; | |
810 | self->ptr = ptr; | |
811 | self->desc = desc; | |
812 | return (PyObject *)self; | |
813 | } | |
d14a1e28 | 814 | |
093d3ff1 RD |
815 | SWIGRUNTIMEINLINE void * |
816 | PySwigObject_AsVoidPtr(PyObject *self) | |
817 | { | |
818 | return ((PySwigObject *)self)->ptr; | |
819 | } | |
d14a1e28 | 820 | |
093d3ff1 RD |
821 | SWIGRUNTIMEINLINE const char * |
822 | PySwigObject_GetDesc(PyObject *self) | |
823 | { | |
824 | return ((PySwigObject *)self)->desc; | |
825 | } | |
d14a1e28 | 826 | |
093d3ff1 RD |
827 | SWIGRUNTIMEINLINE int |
828 | PySwigObject_Check(PyObject *op) { | |
829 | return ((op)->ob_type == PySwigObject_GetType()) | |
830 | || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); | |
831 | } | |
d14a1e28 | 832 | |
093d3ff1 RD |
833 | /* ----------------------------------------------------------------------------- |
834 | * Implements a simple Swig Packed type, and use it instead of string | |
835 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 836 | |
093d3ff1 RD |
837 | typedef struct { |
838 | PyObject_HEAD | |
839 | void *pack; | |
840 | const char *desc; | |
841 | size_t size; | |
842 | } PySwigPacked; | |
d14a1e28 | 843 | |
093d3ff1 RD |
844 | SWIGRUNTIME int |
845 | PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) | |
846 | { | |
847 | char result[SWIG_BUFFER_SIZE]; | |
848 | fputs("<Swig Packed ", fp); | |
849 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
850 | fputs("at ", fp); | |
851 | fputs(result, fp); | |
852 | } | |
853 | fputs(v->desc,fp); | |
854 | fputs(">", fp); | |
855 | return 0; | |
856 | } | |
857 | ||
858 | SWIGRUNTIME PyObject * | |
859 | PySwigPacked_repr(PySwigPacked *v) | |
860 | { | |
861 | char result[SWIG_BUFFER_SIZE]; | |
862 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
863 | return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc); | |
864 | } else { | |
865 | return PyString_FromFormat("<Swig Packed %s>", v->desc); | |
866 | } | |
867 | } | |
c32bde28 | 868 | |
093d3ff1 RD |
869 | SWIGRUNTIME PyObject * |
870 | PySwigPacked_str(PySwigPacked *v) | |
871 | { | |
872 | char result[SWIG_BUFFER_SIZE]; | |
873 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ | |
874 | return PyString_FromFormat("%s%s", result, v->desc); | |
875 | } else { | |
876 | return PyString_FromFormat("%s", v->desc); | |
877 | } | |
878 | } | |
879 | ||
880 | SWIGRUNTIME int | |
881 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
882 | { | |
883 | int c = strcmp(v->desc, w->desc); | |
884 | if (c) { | |
885 | return c; | |
886 | } else { | |
887 | size_t i = v->size; | |
888 | size_t j = w->size; | |
889 | int s = (i < j) ? -1 : (i > j) ? 1 : 0; | |
890 | return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); | |
891 | } | |
892 | } | |
893 | ||
894 | SWIGRUNTIME void | |
895 | PySwigPacked_dealloc(PySwigPacked *self) | |
896 | { | |
897 | free(self->pack); | |
898 | PyObject_DEL(self); | |
899 | } | |
900 | ||
901 | SWIGRUNTIME PyTypeObject* | |
902 | PySwigPacked_GetType() { | |
903 | static char PySwigPacked_Type__doc__[] = | |
904 | "Swig object carries a C/C++ instance pointer"; | |
905 | static int type_init = 0; | |
906 | ||
907 | static PyTypeObject PySwigPacked_Type; | |
908 | if (!type_init) { | |
909 | PyTypeObject tmp = { | |
910 | PyObject_HEAD_INIT(&PyType_Type) | |
911 | 0, /*ob_size*/ | |
912 | "PySwigPacked", /*tp_name*/ | |
913 | sizeof(PySwigPacked), /*tp_basicsize*/ | |
914 | 0, /*tp_itemsize*/ | |
915 | /* methods */ | |
916 | (destructor)PySwigPacked_dealloc, /*tp_dealloc*/ | |
917 | (printfunc)PySwigPacked_print, /*tp_print*/ | |
918 | (getattrfunc)0, /*tp_getattr*/ | |
919 | (setattrfunc)0, /*tp_setattr*/ | |
920 | (cmpfunc)PySwigPacked_compare, /*tp_compare*/ | |
921 | (reprfunc)PySwigPacked_repr, /*tp_repr*/ | |
922 | 0, /*tp_as_number*/ | |
923 | 0, /*tp_as_sequence*/ | |
924 | 0, /*tp_as_mapping*/ | |
925 | (hashfunc)0, /*tp_hash*/ | |
926 | (ternaryfunc)0, /*tp_call*/ | |
927 | (reprfunc)PySwigPacked_str, /*tp_str*/ | |
928 | /* Space for future expansion */ | |
929 | 0L,0L,0L,0L, | |
930 | PySwigPacked_Type__doc__, /* Documentation string */ | |
931 | #if PY_VERSION_HEX >= 0x02000000 | |
932 | 0, /* tp_traverse */ | |
933 | 0, /* tp_clear */ | |
934 | #endif | |
935 | #if PY_VERSION_HEX >= 0x02010000 | |
936 | 0, /* tp_richcompare */ | |
937 | 0, /* tp_weaklistoffset */ | |
938 | #endif | |
939 | #if PY_VERSION_HEX >= 0x02020000 | |
940 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
941 | #endif | |
942 | #if PY_VERSION_HEX >= 0x02030000 | |
943 | 0, /* tp_del */ | |
944 | #endif | |
945 | #ifdef COUNT_ALLOCS | |
946 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
947 | #endif | |
948 | }; | |
949 | ||
950 | PySwigPacked_Type = tmp; | |
951 | type_init = 1; | |
952 | } | |
953 | ||
954 | ||
955 | ||
956 | return &PySwigPacked_Type; | |
957 | } | |
958 | ||
959 | SWIGRUNTIME PyObject * | |
960 | PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) | |
961 | { | |
962 | PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType()); | |
963 | if (self == NULL) { | |
964 | return NULL; | |
965 | } else { | |
966 | void *pack = malloc(size); | |
967 | memcpy(pack, ptr, size); | |
968 | self->pack = pack; | |
969 | self->desc = desc; | |
970 | self->size = size; | |
971 | return (PyObject *) self; | |
972 | } | |
973 | } | |
974 | ||
975 | SWIGRUNTIMEINLINE const char * | |
976 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) | |
977 | { | |
978 | PySwigPacked *self = (PySwigPacked *)obj; | |
979 | if (self->size != size) return 0; | |
980 | memcpy(ptr, self->pack, size); | |
981 | return self->desc; | |
982 | } | |
983 | ||
984 | SWIGRUNTIMEINLINE const char * | |
985 | PySwigPacked_GetDesc(PyObject *self) | |
986 | { | |
987 | return ((PySwigPacked *)self)->desc; | |
988 | } | |
989 | ||
990 | SWIGRUNTIMEINLINE int | |
991 | PySwigPacked_Check(PyObject *op) { | |
992 | return ((op)->ob_type == PySwigPacked_GetType()) | |
993 | || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); | |
994 | } | |
995 | ||
996 | #else | |
997 | /* ----------------------------------------------------------------------------- | |
998 | * Use the old Python PyCObject instead of PySwigObject | |
999 | * ----------------------------------------------------------------------------- */ | |
1000 | ||
1001 | #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj) | |
1002 | #define PySwigObject_Check(obj) PyCObject_Check(obj) | |
1003 | #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj) | |
1004 | #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL) | |
1005 | ||
1006 | #endif | |
1007 | ||
1008 | #endif | |
1009 | ||
1010 | /* ----------------------------------------------------------------------------- | |
1011 | * errors manipulation | |
1012 | * ----------------------------------------------------------------------------- */ | |
1013 | ||
1014 | SWIGRUNTIME void | |
1015 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
1016 | { | |
1017 | if (type) { | |
1018 | #if defined(SWIG_COBJECT_TYPES) | |
1019 | if (PySwigObject_Check(obj)) { | |
1020 | const char *otype = (const char *) PySwigObject_GetDesc(obj); | |
1021 | if (otype) { | |
1022 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", | |
1023 | type, otype); | |
1024 | return; | |
1025 | } | |
1026 | } else | |
1027 | #endif | |
1028 | { | |
1029 | const char *otype = (obj ? obj->ob_type->tp_name : 0); | |
1030 | if (otype) { | |
1031 | PyObject *str = PyObject_Str(obj); | |
1032 | const char *cstr = str ? PyString_AsString(str) : 0; | |
1033 | if (cstr) { | |
1034 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", | |
1035 | type, otype, cstr); | |
1036 | } else { | |
1037 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", | |
1038 | type, otype); | |
1039 | } | |
02b455f2 RD |
1040 | if (str) |
1041 | Py_DECREF(str); | |
093d3ff1 RD |
1042 | return; |
1043 | } | |
1044 | } | |
1045 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
1046 | } else { | |
1047 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
1048 | } | |
1049 | } | |
1050 | ||
1051 | SWIGRUNTIMEINLINE void | |
1052 | SWIG_Python_NullRef(const char *type) | |
1053 | { | |
1054 | if (type) { | |
1055 | PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type); | |
1056 | } else { | |
1057 | PyErr_Format(PyExc_TypeError, "null reference was received"); | |
1058 | } | |
1059 | } | |
1060 | ||
1061 | SWIGRUNTIME int | |
1062 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
1063 | { | |
1064 | if (PyErr_Occurred()) { | |
1065 | PyObject *type = 0; | |
1066 | PyObject *value = 0; | |
1067 | PyObject *traceback = 0; | |
1068 | PyErr_Fetch(&type, &value, &traceback); | |
1069 | if (value) { | |
1070 | PyObject *old_str = PyObject_Str(value); | |
1071 | Py_XINCREF(type); | |
1072 | PyErr_Clear(); | |
1073 | if (infront) { | |
1074 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
1075 | } else { | |
1076 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
1077 | } | |
1078 | Py_DECREF(old_str); | |
1079 | } | |
1080 | return 1; | |
1081 | } else { | |
1082 | return 0; | |
1083 | } | |
1084 | } | |
1085 | ||
1086 | SWIGRUNTIME int | |
1087 | SWIG_Python_ArgFail(int argnum) | |
1088 | { | |
1089 | if (PyErr_Occurred()) { | |
1090 | /* add information about failing argument */ | |
1091 | char mesg[256]; | |
1092 | sprintf(mesg, "argument number %d:", argnum); | |
1093 | return SWIG_Python_AddErrMesg(mesg, 1); | |
1094 | } else { | |
1095 | return 0; | |
1096 | } | |
1097 | } | |
1098 | ||
1099 | ||
1100 | /* ----------------------------------------------------------------------------- | |
1101 | * pointers/data manipulation | |
1102 | * ----------------------------------------------------------------------------- */ | |
1103 | ||
1104 | /* Convert a pointer value */ | |
1105 | SWIGRUNTIME int | |
1106 | SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { | |
1107 | swig_type_info *tc; | |
1108 | const char *c = 0; | |
1109 | static PyObject *SWIG_this = 0; | |
1110 | int newref = 0; | |
1111 | PyObject *pyobj = 0; | |
1112 | void *vptr; | |
1113 | ||
1114 | if (!obj) return 0; | |
1115 | if (obj == Py_None) { | |
1116 | *ptr = 0; | |
1117 | return 0; | |
1118 | } | |
1119 | ||
1120 | #ifdef SWIG_COBJECT_TYPES | |
1121 | if (!(PySwigObject_Check(obj))) { | |
1122 | if (!SWIG_this) | |
1123 | SWIG_this = PyString_FromString("this"); | |
1124 | pyobj = obj; | |
1125 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1126 | newref = 1; | |
1127 | if (!obj) goto type_error; | |
1128 | if (!PySwigObject_Check(obj)) { | |
1129 | Py_DECREF(obj); | |
1130 | goto type_error; | |
1131 | } | |
1132 | } | |
1133 | vptr = PySwigObject_AsVoidPtr(obj); | |
1134 | c = (const char *) PySwigObject_GetDesc(obj); | |
1135 | if (newref) { Py_DECREF(obj); } | |
1136 | goto type_check; | |
1137 | #else | |
1138 | if (!(PyString_Check(obj))) { | |
1139 | if (!SWIG_this) | |
1140 | SWIG_this = PyString_FromString("this"); | |
1141 | pyobj = obj; | |
1142 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1143 | newref = 1; | |
1144 | if (!obj) goto type_error; | |
1145 | if (!PyString_Check(obj)) { | |
1146 | Py_DECREF(obj); | |
1147 | goto type_error; | |
1148 | } | |
1149 | } | |
1150 | c = PyString_AS_STRING(obj); | |
1151 | /* Pointer values must start with leading underscore */ | |
1152 | c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); | |
1153 | if (newref) { Py_DECREF(obj); } | |
1154 | if (!c) goto type_error; | |
1155 | #endif | |
1156 | ||
1157 | type_check: | |
1158 | ||
1159 | if (ty) { | |
1160 | tc = SWIG_TypeCheck(c,ty); | |
1161 | if (!tc) goto type_error; | |
1162 | *ptr = SWIG_TypeCast(tc,vptr); | |
1163 | } else { | |
1164 | *ptr = vptr; | |
1165 | } | |
1166 | ||
1167 | if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { | |
1168 | PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); | |
1169 | } | |
1170 | return 0; | |
1171 | ||
1172 | type_error: | |
1173 | PyErr_Clear(); | |
1174 | if (pyobj && !obj) { | |
1175 | obj = pyobj; | |
1176 | if (PyCFunction_Check(obj)) { | |
1177 | /* here we get the method pointer for callbacks */ | |
1178 | char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); | |
1179 | c = doc ? strstr(doc, "swig_ptr: ") : 0; | |
1180 | if (c) { | |
1181 | c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name); | |
1182 | if (!c) goto type_error; | |
1183 | goto type_check; | |
1184 | } | |
1185 | } | |
1186 | } | |
1187 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1188 | if (ty) { | |
1189 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1190 | } else { | |
1191 | SWIG_Python_TypeError("C/C++ pointer", obj); | |
1192 | } | |
1193 | } | |
1194 | return -1; | |
1195 | } | |
1196 | ||
1197 | /* Convert a pointer value, signal an exception on a type mismatch */ | |
1198 | SWIGRUNTIME void * | |
1199 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
1200 | void *result; | |
1201 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
1202 | PyErr_Clear(); | |
1203 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1204 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1205 | SWIG_Python_ArgFail(argnum); | |
1206 | } | |
1207 | } | |
1208 | return result; | |
1209 | } | |
1210 | ||
1211 | /* Convert a packed value value */ | |
1212 | SWIGRUNTIME int | |
1213 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { | |
1214 | swig_type_info *tc; | |
1215 | const char *c = 0; | |
1216 | ||
1217 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) | |
1218 | c = PySwigPacked_UnpackData(obj, ptr, sz); | |
1219 | #else | |
1220 | if ((!obj) || (!PyString_Check(obj))) goto type_error; | |
1221 | c = PyString_AS_STRING(obj); | |
1222 | /* Pointer values must start with leading underscore */ | |
1223 | c = SWIG_UnpackDataName(c, ptr, sz, ty->name); | |
1224 | #endif | |
1225 | if (!c) goto type_error; | |
1226 | if (ty) { | |
1227 | tc = SWIG_TypeCheck(c,ty); | |
1228 | if (!tc) goto type_error; | |
1229 | } | |
1230 | return 0; | |
1231 | ||
1232 | type_error: | |
1233 | PyErr_Clear(); | |
1234 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1235 | if (ty) { | |
1236 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1237 | } else { | |
1238 | SWIG_Python_TypeError("C/C++ packed data", obj); | |
1239 | } | |
1240 | } | |
1241 | return -1; | |
1242 | } | |
1243 | ||
1244 | /* Create a new array object */ | |
1245 | SWIGRUNTIME PyObject * | |
1246 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { | |
1247 | PyObject *robj = 0; | |
1248 | if (!ptr) { | |
1249 | Py_INCREF(Py_None); | |
1250 | return Py_None; | |
1251 | } | |
1252 | #ifdef SWIG_COBJECT_TYPES | |
1253 | robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name); | |
1254 | #else | |
1255 | { | |
1256 | char result[SWIG_BUFFER_SIZE]; | |
1257 | robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ? | |
1258 | PyString_FromString(result) : 0; | |
1259 | } | |
1260 | #endif | |
1261 | if (!robj || (robj == Py_None)) return robj; | |
1262 | if (type->clientdata) { | |
1263 | PyObject *inst; | |
1264 | PyObject *args = Py_BuildValue((char*)"(O)", robj); | |
1265 | Py_DECREF(robj); | |
1266 | inst = PyObject_CallObject((PyObject *) type->clientdata, args); | |
1267 | Py_DECREF(args); | |
1268 | if (inst) { | |
1269 | if (own) { | |
1270 | PyObject_SetAttrString(inst,(char*)"thisown",Py_True); | |
1271 | } | |
1272 | robj = inst; | |
1273 | } | |
1274 | } | |
1275 | return robj; | |
1276 | } | |
1277 | ||
1278 | SWIGRUNTIME PyObject * | |
1279 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { | |
1280 | PyObject *robj = 0; | |
1281 | if (!ptr) { | |
1282 | Py_INCREF(Py_None); | |
1283 | return Py_None; | |
1284 | } | |
1285 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) | |
1286 | robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name); | |
1287 | #else | |
1288 | { | |
1289 | char result[SWIG_BUFFER_SIZE]; | |
1290 | robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ? | |
1291 | PyString_FromString(result) : 0; | |
1292 | } | |
1293 | #endif | |
1294 | return robj; | |
1295 | } | |
1296 | ||
1297 | /* -----------------------------------------------------------------------------* | |
1298 | * Get type list | |
1299 | * -----------------------------------------------------------------------------*/ | |
1300 | ||
1301 | #ifdef SWIG_LINK_RUNTIME | |
1302 | void *SWIG_ReturnGlobalTypeList(void *); | |
1303 | #endif | |
1304 | ||
1305 | SWIGRUNTIME swig_type_info ** | |
1306 | SWIG_Python_GetTypeListHandle() { | |
1307 | static void *type_pointer = (void *)0; | |
1308 | /* first check if module already created */ | |
1309 | if (!type_pointer) { | |
1310 | #ifdef SWIG_LINK_RUNTIME | |
1311 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
1312 | #else | |
1313 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
1314 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
1315 | if (PyErr_Occurred()) { | |
1316 | PyErr_Clear(); | |
1317 | type_pointer = (void *)0; | |
1318 | } | |
1319 | } | |
1320 | #endif | |
1321 | return (swig_type_info **) type_pointer; | |
1322 | } | |
1323 | ||
1324 | /* | |
1325 | Search for a swig_type_info structure | |
1326 | */ | |
1327 | SWIGRUNTIMEINLINE swig_type_info * | |
1328 | SWIG_Python_GetTypeList() { | |
1329 | swig_type_info **tlh = SWIG_Python_GetTypeListHandle(); | |
1330 | return tlh ? *tlh : (swig_type_info*)0; | |
1331 | } | |
1332 | ||
1333 | #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList | |
994141e6 | 1334 | |
994141e6 | 1335 | #ifdef __cplusplus |
093d3ff1 RD |
1336 | } |
1337 | #endif | |
994141e6 | 1338 | |
15afbcd0 | 1339 | |
093d3ff1 | 1340 | /* -------- TYPES TABLE (BEGIN) -------- */ |
15afbcd0 | 1341 | |
091f5bed RD |
1342 | #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[0] |
1343 | #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[1] | |
1344 | #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[2] | |
1345 | #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[3] | |
1346 | #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[4] | |
1347 | #define SWIGTYPE_p_wxTreeCtrl swig_types[5] | |
1348 | #define SWIGTYPE_p_wxHtmlFontCell swig_types[6] | |
1349 | #define SWIGTYPE_p_wxHtmlTag swig_types[7] | |
1350 | #define SWIGTYPE_p_wxPrintData swig_types[8] | |
1351 | #define SWIGTYPE_p_wxEvent swig_types[9] | |
1352 | #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[10] | |
1353 | #define SWIGTYPE_p_wxConfigBase swig_types[11] | |
1354 | #define SWIGTYPE_p_bool swig_types[12] | |
1355 | #define SWIGTYPE_p_wxHtmlCell swig_types[13] | |
1356 | #define SWIGTYPE_p_wxHtmlRenderingState swig_types[14] | |
1357 | #define SWIGTYPE_p_wxFont swig_types[15] | |
1358 | #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[16] | |
1359 | #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[17] | |
1360 | #define SWIGTYPE_ptrdiff_t swig_types[18] | |
1361 | #define SWIGTYPE_std__ptrdiff_t swig_types[19] | |
1362 | #define SWIGTYPE_p_int swig_types[20] | |
1363 | #define SWIGTYPE_p_wxSize swig_types[21] | |
1364 | #define SWIGTYPE_p_wxDC swig_types[22] | |
1365 | #define SWIGTYPE_p_wxHtmlColourCell swig_types[23] | |
1366 | #define SWIGTYPE_p_wxHtmlHelpData swig_types[24] | |
1367 | #define SWIGTYPE_p_wxVisualAttributes swig_types[25] | |
1368 | #define SWIGTYPE_p_wxHelpSearchMode swig_types[26] | |
1369 | #define SWIGTYPE_p_wxHtmlModalHelp swig_types[27] | |
1370 | #define SWIGTYPE_p_wxNotifyEvent swig_types[28] | |
1371 | #define SWIGTYPE_p_form_ops_t swig_types[29] | |
1372 | #define SWIGTYPE_p_wxHtmlWindowEvent swig_types[30] | |
1373 | #define SWIGTYPE_p_wxHtmlFilter swig_types[31] | |
1374 | #define SWIGTYPE_p_wxPyHtmlFilter swig_types[32] | |
1375 | #define SWIGTYPE_p_wxDuplexMode swig_types[33] | |
1376 | #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[34] | |
53aa7709 | 1377 | #define SWIGTYPE_p_wxEvtHandler swig_types[35] |
091f5bed RD |
1378 | #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[36] |
1379 | #define SWIGTYPE_p_wxHtmlTagHandler swig_types[37] | |
1380 | #define SWIGTYPE_p_wxHtmlSelection swig_types[38] | |
1381 | #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[39] | |
1382 | #define SWIGTYPE_p_char swig_types[40] | |
1383 | #define SWIGTYPE_p_wxFrame swig_types[41] | |
1384 | #define SWIGTYPE_p_wxHtmlPrintout swig_types[42] | |
53aa7709 | 1385 | #define SWIGTYPE_p_wxPyPrintout swig_types[43] |
091f5bed RD |
1386 | #define SWIGTYPE_p_wxHtmlBookRecord swig_types[44] |
1387 | #define SWIGTYPE_p_wxPaperSize swig_types[45] | |
1388 | #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[46] | |
1389 | #define SWIGTYPE_p_wxHtmlContainerCell swig_types[47] | |
1390 | #define SWIGTYPE_p_wxPoint swig_types[48] | |
1391 | #define SWIGTYPE_p_wxCursor swig_types[49] | |
1392 | #define SWIGTYPE_p_wxObject swig_types[50] | |
1393 | #define SWIGTYPE_p_unsigned_long swig_types[51] | |
1394 | #define SWIGTYPE_p_wxSplitterWindow swig_types[52] | |
1395 | #define SWIGTYPE_p_wxHtmlWindow swig_types[53] | |
1396 | #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[54] | |
1397 | #define SWIGTYPE_p_wxPyHtmlWindow swig_types[55] | |
1398 | #define SWIGTYPE_p_wxWindow swig_types[56] | |
1399 | #define SWIGTYPE_p_wxScrolledWindow swig_types[57] | |
1400 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[58] | |
1401 | #define SWIGTYPE_p_wxString swig_types[59] | |
1402 | #define SWIGTYPE_p_wxDialog swig_types[60] | |
1403 | #define SWIGTYPE_p_wxPanel swig_types[61] | |
1404 | #define SWIGTYPE_p_wxHtmlWinParser swig_types[62] | |
1405 | #define SWIGTYPE_p_wxHtmlParser swig_types[63] | |
1406 | #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[64] | |
1407 | #define SWIGTYPE_p_wxFileSystem swig_types[65] | |
1408 | #define SWIGTYPE_p_wxHelpControllerBase swig_types[66] | |
1409 | #define SWIGTYPE_p_wxBitmap swig_types[67] | |
1410 | #define SWIGTYPE_unsigned_int swig_types[68] | |
1411 | #define SWIGTYPE_p_unsigned_int swig_types[69] | |
1412 | #define SWIGTYPE_p_wxHtmlWordCell swig_types[70] | |
1413 | #define SWIGTYPE_p_unsigned_char swig_types[71] | |
1414 | #define SWIGTYPE_p_wxMouseEvent swig_types[72] | |
1415 | #define SWIGTYPE_p_wxCommandEvent swig_types[73] | |
1416 | #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[74] | |
1417 | #define SWIGTYPE_p_wxHtmlHelpController swig_types[75] | |
1418 | #define SWIGTYPE_p_wxColour swig_types[76] | |
1419 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[77] | |
1420 | static swig_type_info *swig_types[79]; | |
994141e6 | 1421 | |
093d3ff1 | 1422 | /* -------- TYPES TABLE (END) -------- */ |
994141e6 | 1423 | |
994141e6 | 1424 | |
093d3ff1 RD |
1425 | /*----------------------------------------------- |
1426 | @(target):= _html.so | |
1427 | ------------------------------------------------*/ | |
1428 | #define SWIG_init init_html | |
1429 | ||
1430 | #define SWIG_name "_html" | |
994141e6 | 1431 | |
d14a1e28 RD |
1432 | #include "wx/wxPython/wxPython.h" |
1433 | #include "wx/wxPython/pyclasses.h" | |
1434 | #include "wx/wxPython/pyistream.h" | |
1435 | #include "wx/wxPython/printfw.h" | |
1436 | ||
1437 | #include <wx/html/htmlwin.h> | |
1438 | #include <wx/html/htmprint.h> | |
1439 | #include <wx/html/helpctrl.h> | |
091f5bed RD |
1440 | #include <wx/html/helpwnd.h> |
1441 | #include <wx/html/helpfrm.h> | |
1442 | #include <wx/html/helpdlg.h> | |
d14a1e28 RD |
1443 | |
1444 | ||
b2dc1044 RD |
1445 | static const wxString wxPyEmptyString(wxEmptyString); |
1446 | static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow")); | |
1447 | static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout")); | |
1448 | static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing")); | |
994141e6 | 1449 | |
093d3ff1 RD |
1450 | /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ |
1451 | #define SWIG_From_int PyInt_FromLong | |
1452 | /*@@*/ | |
1453 | ||
1454 | ||
15afbcd0 RD |
1455 | #include <limits.h> |
1456 | ||
1457 | ||
093d3ff1 | 1458 | SWIGINTERN int |
c32bde28 RD |
1459 | SWIG_CheckLongInRange(long value, long min_value, long max_value, |
1460 | const char *errmsg) | |
15afbcd0 | 1461 | { |
c32bde28 RD |
1462 | if (value < min_value) { |
1463 | if (errmsg) { | |
1464 | PyErr_Format(PyExc_OverflowError, | |
1465 | "value %ld is less than '%s' minimum %ld", | |
1466 | value, errmsg, min_value); | |
1467 | } | |
1468 | return 0; | |
1469 | } else if (value > max_value) { | |
1470 | if (errmsg) { | |
1471 | PyErr_Format(PyExc_OverflowError, | |
1472 | "value %ld is greater than '%s' maximum %ld", | |
1473 | value, errmsg, max_value); | |
15afbcd0 | 1474 | } |
c32bde28 | 1475 | return 0; |
15afbcd0 | 1476 | } |
c32bde28 | 1477 | return 1; |
15afbcd0 RD |
1478 | } |
1479 | ||
1480 | ||
093d3ff1 | 1481 | SWIGINTERN int |
c32bde28 | 1482 | SWIG_AsVal_long(PyObject* obj, long* val) |
15afbcd0 | 1483 | { |
c32bde28 RD |
1484 | if (PyNumber_Check(obj)) { |
1485 | if (val) *val = PyInt_AsLong(obj); | |
1486 | return 1; | |
1487 | } | |
69223c70 | 1488 | else { |
093d3ff1 | 1489 | SWIG_type_error("number", obj); |
69223c70 | 1490 | } |
c32bde28 | 1491 | return 0; |
15afbcd0 RD |
1492 | } |
1493 | ||
1494 | ||
1495 | #if INT_MAX != LONG_MAX | |
093d3ff1 | 1496 | SWIGINTERN int |
c32bde28 | 1497 | SWIG_AsVal_int(PyObject *obj, int *val) |
994141e6 | 1498 | { |
093d3ff1 | 1499 | const char* errmsg = val ? "int" : (char*)0; |
c32bde28 RD |
1500 | long v; |
1501 | if (SWIG_AsVal_long(obj, &v)) { | |
1502 | if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { | |
093d3ff1 | 1503 | if (val) *val = (int)(v); |
c32bde28 RD |
1504 | return 1; |
1505 | } else { | |
1506 | return 0; | |
1507 | } | |
1508 | } else { | |
1509 | PyErr_Clear(); | |
1510 | } | |
1511 | if (val) { | |
093d3ff1 | 1512 | SWIG_type_error(errmsg, obj); |
c32bde28 RD |
1513 | } |
1514 | return 0; | |
15afbcd0 RD |
1515 | } |
1516 | #else | |
093d3ff1 | 1517 | SWIGINTERNSHORT int |
c32bde28 RD |
1518 | SWIG_AsVal_int(PyObject *obj, int *val) |
1519 | { | |
1520 | return SWIG_AsVal_long(obj,(long*)val); | |
1521 | } | |
15afbcd0 RD |
1522 | #endif |
1523 | ||
1524 | ||
093d3ff1 | 1525 | SWIGINTERNSHORT int |
c32bde28 | 1526 | SWIG_As_int(PyObject* obj) |
15afbcd0 | 1527 | { |
c32bde28 RD |
1528 | int v; |
1529 | if (!SWIG_AsVal_int(obj, &v)) { | |
1530 | /* | |
093d3ff1 | 1531 | this is needed to make valgrind/purify happier. |
c32bde28 RD |
1532 | */ |
1533 | memset((void*)&v, 0, sizeof(int)); | |
15afbcd0 | 1534 | } |
c32bde28 RD |
1535 | return v; |
1536 | } | |
1537 | ||
1538 | ||
093d3ff1 | 1539 | SWIGINTERNSHORT int |
c32bde28 RD |
1540 | SWIG_Check_int(PyObject* obj) |
1541 | { | |
1542 | return SWIG_AsVal_int(obj, (int*)0); | |
994141e6 RD |
1543 | } |
1544 | ||
093d3ff1 | 1545 | static void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
1546 | int* temp = NULL; |
1547 | if (sizes) temp = int_LIST_helper(sizes); | |
1548 | self->SetFonts(normal_face, fixed_face, temp); | |
1549 | if (temp) | |
1550 | delete [] temp; | |
1551 | } | |
1552 | ||
1553 | class wxPyHtmlTagHandler : public wxHtmlTagHandler { | |
1554 | DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler); | |
1555 | public: | |
1556 | wxPyHtmlTagHandler() : wxHtmlTagHandler() {}; | |
1557 | ||
1558 | wxHtmlParser* GetParser() { return m_Parser; } | |
1559 | void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); } | |
1560 | ||
1561 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
1562 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
1563 | ||
1564 | PYPRIVATE; | |
1565 | }; | |
1566 | ||
1567 | IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler); | |
1568 | ||
1569 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags); | |
1570 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag); | |
1571 | ||
1572 | ||
1573 | class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler { | |
1574 | DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler); | |
1575 | public: | |
1576 | wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {}; | |
1577 | ||
1578 | wxHtmlWinParser* GetParser() { return m_WParser; } | |
1579 | void ParseInner(const wxHtmlTag& tag) | |
1580 | { wxHtmlWinTagHandler::ParseInner(tag); } | |
1581 | ||
1582 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
1583 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
1584 | ||
1585 | PYPRIVATE; | |
1586 | }; | |
1587 | ||
1588 | IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler); | |
1589 | ||
1590 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags); | |
1591 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag); | |
1592 | ||
1593 | ||
1594 | ||
1595 | class wxPyHtmlTagsModule : public wxHtmlTagsModule { | |
1596 | public: | |
1597 | wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() { | |
1598 | m_tagHandlerClass = thc; | |
1599 | Py_INCREF(m_tagHandlerClass); | |
1600 | RegisterModule(this); | |
1601 | wxHtmlWinParser::AddModule(this); | |
1602 | } | |
1603 | ||
1604 | void OnExit() { | |
5a446332 | 1605 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
1606 | Py_DECREF(m_tagHandlerClass); |
1607 | m_tagHandlerClass = NULL; | |
1608 | for (size_t x=0; x < m_objArray.GetCount(); x++) { | |
1609 | PyObject* obj = (PyObject*)m_objArray.Item(x); | |
1610 | Py_DECREF(obj); | |
1611 | } | |
4f89f6a3 | 1612 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
1613 | }; |
1614 | ||
1615 | void FillHandlersTable(wxHtmlWinParser *parser) { | |
1616 | // Wave our magic wand... (if it works it's a miracle! ;-) | |
1617 | ||
1618 | // First, make a new instance of the tag handler | |
5a446332 | 1619 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
fd3f2efe RD |
1620 | PyObject* arg = PyTuple_New(0); |
1621 | PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg); | |
d14a1e28 | 1622 | Py_DECREF(arg); |
091f5bed | 1623 | |
d14a1e28 RD |
1624 | // now figure out where it's C++ object is... |
1625 | wxPyHtmlWinTagHandler* thPtr; | |
fd3f2efe | 1626 | if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) { |
4f89f6a3 | 1627 | wxPyEndBlockThreads(blocked); |
d14a1e28 | 1628 | return; |
fd3f2efe | 1629 | } |
4f89f6a3 | 1630 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
1631 | |
1632 | // add it, | |
1633 | parser->AddTagHandler(thPtr); | |
1634 | ||
1635 | // and track it. | |
1636 | m_objArray.Add(obj); | |
1637 | } | |
1638 | ||
1639 | private: | |
1640 | PyObject* m_tagHandlerClass; | |
1641 | wxArrayPtrVoid m_objArray; | |
1642 | ||
1643 | }; | |
1644 | ||
1645 | ||
1646 | void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) { | |
1647 | // Dynamically create a new wxModule. Refcounts tagHandlerClass | |
1648 | // and adds itself to the wxModules list and to the wxHtmlWinParser. | |
1649 | new wxPyHtmlTagsModule(tagHandlerClass); | |
1650 | } | |
1651 | ||
1652 | ||
093d3ff1 RD |
1653 | SWIGINTERNSHORT PyObject* |
1654 | SWIG_From_bool(bool value) | |
1655 | { | |
1656 | PyObject *obj = value ? Py_True : Py_False; | |
1657 | Py_INCREF(obj); | |
1658 | return obj; | |
1659 | } | |
1660 | ||
1661 | ||
c32bde28 | 1662 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { |
d14a1e28 RD |
1663 | PyObject* o2; |
1664 | PyObject* o3; | |
c32bde28 | 1665 | |
d14a1e28 RD |
1666 | if (!target) { |
1667 | target = o; | |
1668 | } else if (target == Py_None) { | |
1669 | Py_DECREF(Py_None); | |
1670 | target = o; | |
7e63a440 RD |
1671 | } else { |
1672 | if (!PyTuple_Check(target)) { | |
1673 | o2 = target; | |
1674 | target = PyTuple_New(1); | |
1675 | PyTuple_SetItem(target, 0, o2); | |
1676 | } | |
d14a1e28 RD |
1677 | o3 = PyTuple_New(1); |
1678 | PyTuple_SetItem(o3, 0, o); | |
1679 | ||
1680 | o2 = target; | |
1681 | target = PySequence_Concat(o2, o3); | |
1682 | Py_DECREF(o2); | |
1683 | Py_DECREF(o3); | |
1684 | } | |
1685 | return target; | |
7e63a440 | 1686 | } |
d14a1e28 | 1687 | |
994141e6 | 1688 | |
994141e6 | 1689 | |
093d3ff1 | 1690 | SWIGINTERN int |
c32bde28 | 1691 | SWIG_AsVal_bool(PyObject *obj, bool *val) |
15afbcd0 | 1692 | { |
c32bde28 RD |
1693 | if (obj == Py_True) { |
1694 | if (val) *val = true; | |
1695 | return 1; | |
1696 | } | |
1697 | if (obj == Py_False) { | |
1698 | if (val) *val = false; | |
1699 | return 1; | |
1700 | } | |
1701 | int res = 0; | |
1702 | if (SWIG_AsVal_int(obj, &res)) { | |
093d3ff1 | 1703 | if (val) *val = res ? true : false; |
15afbcd0 | 1704 | return 1; |
093d3ff1 RD |
1705 | } else { |
1706 | PyErr_Clear(); | |
1707 | } | |
c32bde28 | 1708 | if (val) { |
093d3ff1 | 1709 | SWIG_type_error("bool", obj); |
c32bde28 RD |
1710 | } |
1711 | return 0; | |
15afbcd0 RD |
1712 | } |
1713 | ||
1714 | ||
093d3ff1 | 1715 | SWIGINTERNSHORT bool |
c32bde28 | 1716 | SWIG_As_bool(PyObject* obj) |
15afbcd0 | 1717 | { |
c32bde28 RD |
1718 | bool v; |
1719 | if (!SWIG_AsVal_bool(obj, &v)) { | |
1720 | /* | |
093d3ff1 | 1721 | this is needed to make valgrind/purify happier. |
c32bde28 RD |
1722 | */ |
1723 | memset((void*)&v, 0, sizeof(bool)); | |
15afbcd0 | 1724 | } |
c32bde28 RD |
1725 | return v; |
1726 | } | |
1727 | ||
1728 | ||
093d3ff1 | 1729 | SWIGINTERNSHORT int |
c32bde28 RD |
1730 | SWIG_Check_bool(PyObject* obj) |
1731 | { | |
1732 | return SWIG_AsVal_bool(obj, (bool*)0); | |
15afbcd0 RD |
1733 | } |
1734 | ||
1735 | ||
093d3ff1 | 1736 | SWIGINTERNSHORT int |
c32bde28 RD |
1737 | SWIG_CheckUnsignedLongInRange(unsigned long value, |
1738 | unsigned long max_value, | |
1739 | const char *errmsg) | |
15afbcd0 | 1740 | { |
c32bde28 RD |
1741 | if (value > max_value) { |
1742 | if (errmsg) { | |
1743 | PyErr_Format(PyExc_OverflowError, | |
093d3ff1 | 1744 | "value %lu is greater than '%s' minimum %lu", |
c32bde28 | 1745 | value, errmsg, max_value); |
15afbcd0 | 1746 | } |
c32bde28 | 1747 | return 0; |
15afbcd0 | 1748 | } |
c32bde28 RD |
1749 | return 1; |
1750 | } | |
1751 | ||
1752 | ||
093d3ff1 | 1753 | SWIGINTERN int |
c32bde28 RD |
1754 | SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) |
1755 | { | |
1756 | long v = 0; | |
1757 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
093d3ff1 | 1758 | SWIG_type_error("unsigned number", obj); |
c32bde28 RD |
1759 | } |
1760 | else if (val) | |
1761 | *val = (unsigned long)v; | |
1762 | return 1; | |
15afbcd0 RD |
1763 | } |
1764 | ||
1765 | ||
1766 | #if UINT_MAX != ULONG_MAX | |
093d3ff1 | 1767 | SWIGINTERN int |
c32bde28 | 1768 | SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) |
994141e6 | 1769 | { |
093d3ff1 | 1770 | const char* errmsg = val ? "unsigned int" : (char*)0; |
c32bde28 RD |
1771 | unsigned long v; |
1772 | if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { | |
1773 | if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) { | |
093d3ff1 | 1774 | if (val) *val = (unsigned int)(v); |
c32bde28 RD |
1775 | return 1; |
1776 | } | |
1777 | } else { | |
1778 | PyErr_Clear(); | |
1779 | } | |
1780 | if (val) { | |
093d3ff1 | 1781 | SWIG_type_error(errmsg, obj); |
c32bde28 RD |
1782 | } |
1783 | return 0; | |
994141e6 | 1784 | } |
15afbcd0 | 1785 | #else |
093d3ff1 | 1786 | SWIGINTERNSHORT unsigned int |
c32bde28 RD |
1787 | SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) |
1788 | { | |
1789 | return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val); | |
1790 | } | |
15afbcd0 | 1791 | #endif |
994141e6 RD |
1792 | |
1793 | ||
093d3ff1 | 1794 | SWIGINTERNSHORT unsigned int |
c32bde28 | 1795 | SWIG_As_unsigned_SS_int(PyObject* obj) |
994141e6 | 1796 | { |
c32bde28 RD |
1797 | unsigned int v; |
1798 | if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) { | |
1799 | /* | |
093d3ff1 | 1800 | this is needed to make valgrind/purify happier. |
c32bde28 RD |
1801 | */ |
1802 | memset((void*)&v, 0, sizeof(unsigned int)); | |
15afbcd0 | 1803 | } |
c32bde28 RD |
1804 | return v; |
1805 | } | |
1806 | ||
1807 | ||
093d3ff1 | 1808 | SWIGINTERNSHORT int |
c32bde28 RD |
1809 | SWIG_Check_unsigned_SS_int(PyObject* obj) |
1810 | { | |
1811 | return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0); | |
15afbcd0 RD |
1812 | } |
1813 | ||
1814 | ||
093d3ff1 RD |
1815 | /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ |
1816 | #define SWIG_From_long PyInt_FromLong | |
1817 | /*@@*/ | |
1818 | ||
1819 | ||
1820 | SWIGINTERNSHORT PyObject* | |
c32bde28 | 1821 | SWIG_From_unsigned_SS_long(unsigned long value) |
15afbcd0 RD |
1822 | { |
1823 | return (value > LONG_MAX) ? | |
1824 | PyLong_FromUnsignedLong(value) | |
093d3ff1 | 1825 | : PyInt_FromLong((long)(value)); |
994141e6 RD |
1826 | } |
1827 | ||
1828 | ||
15afbcd0 | 1829 | #if UINT_MAX < LONG_MAX |
093d3ff1 | 1830 | /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ |
c32bde28 RD |
1831 | #define SWIG_From_unsigned_SS_int SWIG_From_long |
1832 | /*@@*/ | |
15afbcd0 | 1833 | #else |
093d3ff1 | 1834 | /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ |
c32bde28 RD |
1835 | #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long |
1836 | /*@@*/ | |
15afbcd0 | 1837 | #endif |
994141e6 | 1838 | |
d14a1e28 RD |
1839 | // here's the C++ version |
1840 | class wxPyHtmlFilter : public wxHtmlFilter { | |
1841 | DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter); | |
1842 | public: | |
1843 | wxPyHtmlFilter() : wxHtmlFilter() {} | |
1844 | ||
e811c8ce | 1845 | // returns True if this filter is able to open&read given file |
d14a1e28 | 1846 | virtual bool CanRead(const wxFSFile& file) const { |
ae8162c8 | 1847 | bool rval = false; |
d14a1e28 | 1848 | bool found; |
5a446332 | 1849 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 | 1850 | if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) { |
412d302d | 1851 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const |
d14a1e28 RD |
1852 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); |
1853 | Py_DECREF(obj); | |
1854 | } | |
4f89f6a3 | 1855 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
1856 | return rval; |
1857 | } | |
1858 | ||
1859 | ||
1860 | // Reads given file and returns HTML document. | |
1861 | // Returns empty string if opening failed | |
1862 | virtual wxString ReadFile(const wxFSFile& file) const { | |
1863 | wxString rval; | |
1864 | bool found; | |
5a446332 | 1865 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 | 1866 | if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) { |
412d302d | 1867 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const |
d14a1e28 RD |
1868 | PyObject* ro; |
1869 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj)); | |
1870 | Py_DECREF(obj); | |
1871 | if (ro) { | |
1872 | rval = Py2wxString(ro); | |
1873 | Py_DECREF(ro); | |
1874 | } | |
1875 | } | |
4f89f6a3 | 1876 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
1877 | return rval; |
1878 | } | |
1879 | ||
1880 | PYPRIVATE; | |
1881 | }; | |
1882 | ||
1883 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter); | |
1884 | ||
1885 | ||
1886 | class wxPyHtmlWindow : public wxHtmlWindow { | |
1887 | DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow); | |
1888 | public: | |
1889 | wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1, | |
1890 | const wxPoint& pos = wxDefaultPosition, | |
1891 | const wxSize& size = wxDefaultSize, | |
1892 | long style = wxHW_DEFAULT_STYLE, | |
1893 | const wxString& name = wxPyHtmlWindowNameStr) | |
1894 | : wxHtmlWindow(parent, id, pos, size, style, name) {}; | |
1895 | wxPyHtmlWindow() : wxHtmlWindow() {}; | |
1896 | ||
1897 | bool ScrollToAnchor(const wxString& anchor) { | |
1898 | return wxHtmlWindow::ScrollToAnchor(anchor); | |
1899 | } | |
1900 | ||
1901 | bool HasAnchor(const wxString& anchor) { | |
1902 | const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor); | |
1903 | return c!=NULL; | |
1904 | } | |
1905 | ||
1906 | void OnLinkClicked(const wxHtmlLinkInfo& link); | |
1907 | void base_OnLinkClicked(const wxHtmlLinkInfo& link); | |
1908 | ||
1909 | wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type, | |
1910 | const wxString& url, | |
1911 | wxString *redirect) const; | |
1912 | ||
1913 | DEC_PYCALLBACK__STRING(OnSetTitle); | |
1914 | DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover); | |
1915 | DEC_PYCALLBACK__CELLINTINTME(OnCellClicked); | |
1916 | PYPRIVATE; | |
1917 | }; | |
1918 | ||
1919 | IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow ); | |
1920 | IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle); | |
1921 | IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover); | |
1922 | IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked); | |
1923 | ||
1924 | ||
1925 | void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) { | |
1926 | bool found; | |
5a446332 | 1927 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
1928 | if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) { |
1929 | PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0); | |
1930 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
1931 | Py_DECREF(obj); | |
1932 | } | |
4f89f6a3 | 1933 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
1934 | if (! found) |
1935 | wxHtmlWindow::OnLinkClicked(link); | |
1936 | } | |
1937 | void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) { | |
1938 | wxHtmlWindow::OnLinkClicked(link); | |
1939 | } | |
1940 | ||
1941 | ||
1942 | wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type, | |
1943 | const wxString& url, | |
1944 | wxString *redirect) const { | |
1945 | bool found; | |
1946 | wxHtmlOpeningStatus rval; | |
5a446332 | 1947 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
1948 | if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) { |
1949 | PyObject* ro; | |
1950 | PyObject* s = wx2PyString(url); | |
1951 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s)); | |
1952 | Py_DECREF(s); | |
1953 | if (PyString_Check(ro) | |
1954 | #if PYTHON_API_VERSION >= 1009 | |
1955 | || PyUnicode_Check(ro) | |
1956 | #endif | |
1957 | ) { | |
1958 | *redirect = Py2wxString(ro); | |
1959 | rval = wxHTML_REDIRECT; | |
1960 | } | |
1961 | else { | |
1962 | PyObject* num = PyNumber_Int(ro); | |
1963 | rval = (wxHtmlOpeningStatus)PyInt_AsLong(num); | |
1964 | Py_DECREF(num); | |
1965 | } | |
1966 | Py_DECREF(ro); | |
1967 | } | |
4f89f6a3 | 1968 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
1969 | if (! found) |
1970 | rval = wxHtmlWindow::OnOpeningURL(type, url, redirect); | |
1971 | return rval; | |
1972 | } | |
1973 | ||
1974 | ||
1975 | ||
093d3ff1 | 1976 | static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
1977 | int* temp = NULL; |
1978 | if (sizes) temp = int_LIST_helper(sizes); | |
1979 | self->SetFonts(normal_face, fixed_face, temp); | |
1980 | if (temp) | |
1981 | delete [] temp; | |
1982 | } | |
093d3ff1 | 1983 | static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
1984 | int* temp = NULL; |
1985 | if (sizes) temp = int_LIST_helper(sizes); | |
1986 | self->SetFonts(normal_face, fixed_face, temp); | |
1987 | if (temp) | |
1988 | delete [] temp; | |
1989 | } | |
093d3ff1 | 1990 | static void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
1991 | int* temp = NULL; |
1992 | if (sizes) temp = int_LIST_helper(sizes); | |
1993 | self->SetFonts(normal_face, fixed_face, temp); | |
1994 | if (temp) | |
1995 | delete [] temp; | |
1996 | } | |
994141e6 | 1997 | |
15afbcd0 | 1998 | #include <float.h> |
093d3ff1 | 1999 | SWIGINTERN int |
c32bde28 RD |
2000 | SWIG_CheckDoubleInRange(double value, double min_value, |
2001 | double max_value, const char* errmsg) | |
15afbcd0 | 2002 | { |
c32bde28 RD |
2003 | if (value < min_value) { |
2004 | if (errmsg) { | |
2005 | PyErr_Format(PyExc_OverflowError, | |
2006 | "value %g is less than %s minimum %g", | |
2007 | value, errmsg, min_value); | |
15afbcd0 | 2008 | } |
c32bde28 RD |
2009 | return 0; |
2010 | } else if (value > max_value) { | |
2011 | if (errmsg) { | |
2012 | PyErr_Format(PyExc_OverflowError, | |
2013 | "value %g is greater than %s maximum %g", | |
2014 | value, errmsg, max_value); | |
2015 | } | |
2016 | return 0; | |
15afbcd0 | 2017 | } |
c32bde28 | 2018 | return 1; |
15afbcd0 RD |
2019 | } |
2020 | ||
2021 | ||
093d3ff1 | 2022 | SWIGINTERN int |
c32bde28 | 2023 | SWIG_AsVal_double(PyObject *obj, double* val) |
994141e6 | 2024 | { |
c32bde28 RD |
2025 | if (PyNumber_Check(obj)) { |
2026 | if (val) *val = PyFloat_AsDouble(obj); | |
2027 | return 1; | |
2028 | } | |
69223c70 | 2029 | else { |
093d3ff1 | 2030 | SWIG_type_error("number", obj); |
69223c70 | 2031 | } |
c32bde28 RD |
2032 | return 0; |
2033 | } | |
2034 | ||
2035 | ||
093d3ff1 | 2036 | SWIGINTERN int |
c32bde28 RD |
2037 | SWIG_AsVal_float(PyObject *obj, float *val) |
2038 | { | |
093d3ff1 | 2039 | const char* errmsg = val ? "float" : (char*)0; |
c32bde28 RD |
2040 | double v; |
2041 | if (SWIG_AsVal_double(obj, &v)) { | |
2042 | if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) { | |
093d3ff1 | 2043 | if (val) *val = (float)(v); |
c32bde28 RD |
2044 | return 1; |
2045 | } else { | |
2046 | return 0; | |
2047 | } | |
2048 | } else { | |
2049 | PyErr_Clear(); | |
2050 | } | |
2051 | if (val) { | |
093d3ff1 | 2052 | SWIG_type_error(errmsg, obj); |
c32bde28 RD |
2053 | } |
2054 | return 0; | |
994141e6 RD |
2055 | } |
2056 | ||
2057 | ||
093d3ff1 | 2058 | SWIGINTERNSHORT float |
c32bde28 | 2059 | SWIG_As_float(PyObject* obj) |
994141e6 | 2060 | { |
c32bde28 RD |
2061 | float v; |
2062 | if (!SWIG_AsVal_float(obj, &v)) { | |
2063 | /* | |
093d3ff1 | 2064 | this is needed to make valgrind/purify happier. |
c32bde28 RD |
2065 | */ |
2066 | memset((void*)&v, 0, sizeof(float)); | |
2067 | } | |
2068 | return v; | |
15afbcd0 RD |
2069 | } |
2070 | ||
c32bde28 | 2071 | |
093d3ff1 | 2072 | SWIGINTERNSHORT int |
c32bde28 | 2073 | SWIG_Check_float(PyObject* obj) |
15afbcd0 | 2074 | { |
c32bde28 | 2075 | return SWIG_AsVal_float(obj, (float*)0); |
994141e6 RD |
2076 | } |
2077 | ||
093d3ff1 | 2078 | static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
2079 | int* temp = NULL; |
2080 | if (sizes) temp = int_LIST_helper(sizes); | |
2081 | self->SetFonts(normal_face, fixed_face, temp); | |
2082 | if (temp) | |
2083 | delete [] temp; | |
2084 | } | |
091f5bed RD |
2085 | |
2086 | SWIGINTERNSHORT long | |
2087 | SWIG_As_long(PyObject* obj) | |
2088 | { | |
2089 | long v; | |
2090 | if (!SWIG_AsVal_long(obj, &v)) { | |
2091 | /* | |
2092 | this is needed to make valgrind/purify happier. | |
2093 | */ | |
2094 | memset((void*)&v, 0, sizeof(long)); | |
2095 | } | |
2096 | return v; | |
2097 | } | |
2098 | ||
2099 | ||
2100 | SWIGINTERNSHORT int | |
2101 | SWIG_Check_long(PyObject* obj) | |
2102 | { | |
2103 | return SWIG_AsVal_long(obj, (long*)0); | |
2104 | } | |
2105 | ||
d14a1e28 RD |
2106 | #ifdef __cplusplus |
2107 | extern "C" { | |
2108 | #endif | |
c32bde28 | 2109 | static int _wrap_HtmlWindowNameStr_set(PyObject *) { |
b2dc1044 RD |
2110 | PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only."); |
2111 | return 1; | |
2112 | } | |
2113 | ||
2114 | ||
093d3ff1 | 2115 | static PyObject *_wrap_HtmlWindowNameStr_get(void) { |
b2dc1044 RD |
2116 | PyObject *pyobj; |
2117 | ||
2118 | { | |
2119 | #if wxUSE_UNICODE | |
2120 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); | |
2121 | #else | |
2122 | pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); | |
2123 | #endif | |
2124 | } | |
2125 | return pyobj; | |
2126 | } | |
2127 | ||
2128 | ||
c32bde28 | 2129 | static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) { |
b2dc1044 RD |
2130 | PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only."); |
2131 | return 1; | |
2132 | } | |
2133 | ||
2134 | ||
093d3ff1 | 2135 | static PyObject *_wrap_HtmlPrintoutTitleStr_get(void) { |
b2dc1044 RD |
2136 | PyObject *pyobj; |
2137 | ||
2138 | { | |
2139 | #if wxUSE_UNICODE | |
2140 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); | |
2141 | #else | |
2142 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); | |
2143 | #endif | |
2144 | } | |
2145 | return pyobj; | |
2146 | } | |
2147 | ||
2148 | ||
c32bde28 | 2149 | static int _wrap_HtmlPrintingTitleStr_set(PyObject *) { |
b2dc1044 RD |
2150 | PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only."); |
2151 | return 1; | |
2152 | } | |
2153 | ||
2154 | ||
093d3ff1 | 2155 | static PyObject *_wrap_HtmlPrintingTitleStr_get(void) { |
b2dc1044 RD |
2156 | PyObject *pyobj; |
2157 | ||
2158 | { | |
2159 | #if wxUSE_UNICODE | |
2160 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); | |
2161 | #else | |
2162 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); | |
2163 | #endif | |
2164 | } | |
2165 | return pyobj; | |
2166 | } | |
2167 | ||
2168 | ||
c32bde28 | 2169 | static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2170 | PyObject *resultobj; |
2171 | wxString *arg1 = 0 ; | |
2172 | wxString const &arg2_defvalue = wxPyEmptyString ; | |
2173 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
2174 | wxHtmlLinkInfo *result; | |
ae8162c8 RD |
2175 | bool temp1 = false ; |
2176 | bool temp2 = false ; | |
d14a1e28 RD |
2177 | PyObject * obj0 = 0 ; |
2178 | PyObject * obj1 = 0 ; | |
2179 | char *kwnames[] = { | |
2180 | (char *) "href",(char *) "target", NULL | |
2181 | }; | |
2182 | ||
2183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail; | |
2184 | { | |
2185 | arg1 = wxString_in_helper(obj0); | |
2186 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 2187 | temp1 = true; |
d14a1e28 RD |
2188 | } |
2189 | if (obj1) { | |
2190 | { | |
2191 | arg2 = wxString_in_helper(obj1); | |
2192 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 2193 | temp2 = true; |
d14a1e28 RD |
2194 | } |
2195 | } | |
2196 | { | |
2197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2198 | result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2); | |
2199 | ||
2200 | wxPyEndAllowThreads(__tstate); | |
2201 | if (PyErr_Occurred()) SWIG_fail; | |
2202 | } | |
15afbcd0 | 2203 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1); |
d14a1e28 RD |
2204 | { |
2205 | if (temp1) | |
2206 | delete arg1; | |
2207 | } | |
2208 | { | |
2209 | if (temp2) | |
2210 | delete arg2; | |
2211 | } | |
2212 | return resultobj; | |
2213 | fail: | |
2214 | { | |
2215 | if (temp1) | |
2216 | delete arg1; | |
2217 | } | |
2218 | { | |
2219 | if (temp2) | |
2220 | delete arg2; | |
2221 | } | |
2222 | return NULL; | |
2223 | } | |
2224 | ||
2225 | ||
c32bde28 | 2226 | static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2227 | PyObject *resultobj; |
2228 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
2229 | wxString result; | |
2230 | PyObject * obj0 = 0 ; | |
2231 | char *kwnames[] = { | |
2232 | (char *) "self", NULL | |
2233 | }; | |
2234 | ||
2235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2236 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0); |
2237 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2238 | { |
2239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2240 | result = (arg1)->GetHref(); | |
2241 | ||
2242 | wxPyEndAllowThreads(__tstate); | |
2243 | if (PyErr_Occurred()) SWIG_fail; | |
2244 | } | |
2245 | { | |
2246 | #if wxUSE_UNICODE | |
2247 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2248 | #else | |
2249 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2250 | #endif | |
2251 | } | |
2252 | return resultobj; | |
2253 | fail: | |
2254 | return NULL; | |
2255 | } | |
2256 | ||
2257 | ||
c32bde28 | 2258 | static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2259 | PyObject *resultobj; |
2260 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
2261 | wxString result; | |
2262 | PyObject * obj0 = 0 ; | |
2263 | char *kwnames[] = { | |
2264 | (char *) "self", NULL | |
2265 | }; | |
2266 | ||
2267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2268 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0); |
2269 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2270 | { |
2271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2272 | result = (arg1)->GetTarget(); | |
2273 | ||
2274 | wxPyEndAllowThreads(__tstate); | |
2275 | if (PyErr_Occurred()) SWIG_fail; | |
2276 | } | |
2277 | { | |
2278 | #if wxUSE_UNICODE | |
2279 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2280 | #else | |
2281 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2282 | #endif | |
2283 | } | |
2284 | return resultobj; | |
2285 | fail: | |
2286 | return NULL; | |
2287 | } | |
2288 | ||
2289 | ||
c32bde28 | 2290 | static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2291 | PyObject *resultobj; |
2292 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
2293 | wxMouseEvent *result; | |
2294 | PyObject * obj0 = 0 ; | |
2295 | char *kwnames[] = { | |
2296 | (char *) "self", NULL | |
2297 | }; | |
2298 | ||
2299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2300 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0); |
2301 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2302 | { |
2303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2304 | result = (wxMouseEvent *)(arg1)->GetEvent(); | |
2305 | ||
2306 | wxPyEndAllowThreads(__tstate); | |
2307 | if (PyErr_Occurred()) SWIG_fail; | |
2308 | } | |
2309 | { | |
412d302d | 2310 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
2311 | } |
2312 | return resultobj; | |
2313 | fail: | |
2314 | return NULL; | |
2315 | } | |
2316 | ||
2317 | ||
c32bde28 | 2318 | static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2319 | PyObject *resultobj; |
2320 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
2321 | wxHtmlCell *result; | |
2322 | PyObject * obj0 = 0 ; | |
2323 | char *kwnames[] = { | |
2324 | (char *) "self", NULL | |
2325 | }; | |
2326 | ||
2327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2328 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0); |
2329 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2330 | { |
2331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2332 | result = (wxHtmlCell *)(arg1)->GetHtmlCell(); | |
2333 | ||
2334 | wxPyEndAllowThreads(__tstate); | |
2335 | if (PyErr_Occurred()) SWIG_fail; | |
2336 | } | |
15afbcd0 | 2337 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
2338 | return resultobj; |
2339 | fail: | |
2340 | return NULL; | |
2341 | } | |
2342 | ||
2343 | ||
c32bde28 | 2344 | static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2345 | PyObject *resultobj; |
2346 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
2347 | wxMouseEvent *arg2 = (wxMouseEvent *) 0 ; | |
2348 | PyObject * obj0 = 0 ; | |
2349 | PyObject * obj1 = 0 ; | |
2350 | char *kwnames[] = { | |
2351 | (char *) "self",(char *) "e", NULL | |
2352 | }; | |
2353 | ||
2354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
2355 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0); |
2356 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2357 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); | |
2358 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
2359 | { |
2360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2361 | (arg1)->SetEvent((wxMouseEvent const *)arg2); | |
2362 | ||
2363 | wxPyEndAllowThreads(__tstate); | |
2364 | if (PyErr_Occurred()) SWIG_fail; | |
2365 | } | |
2366 | Py_INCREF(Py_None); resultobj = Py_None; | |
2367 | return resultobj; | |
2368 | fail: | |
2369 | return NULL; | |
2370 | } | |
2371 | ||
2372 | ||
c32bde28 | 2373 | static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2374 | PyObject *resultobj; |
2375 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
2376 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
2377 | PyObject * obj0 = 0 ; | |
2378 | PyObject * obj1 = 0 ; | |
2379 | char *kwnames[] = { | |
2380 | (char *) "self",(char *) "e", NULL | |
2381 | }; | |
2382 | ||
2383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
2384 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0); |
2385 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2386 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); | |
2387 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
2388 | { |
2389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2390 | (arg1)->SetHtmlCell((wxHtmlCell const *)arg2); | |
2391 | ||
2392 | wxPyEndAllowThreads(__tstate); | |
2393 | if (PyErr_Occurred()) SWIG_fail; | |
2394 | } | |
2395 | Py_INCREF(Py_None); resultobj = Py_None; | |
2396 | return resultobj; | |
2397 | fail: | |
2398 | return NULL; | |
2399 | } | |
2400 | ||
2401 | ||
c32bde28 | 2402 | static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
2403 | PyObject *obj; |
2404 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2405 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj); | |
2406 | Py_INCREF(obj); | |
2407 | return Py_BuildValue((char *)""); | |
2408 | } | |
c32bde28 | 2409 | static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2410 | PyObject *resultobj; |
2411 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
2412 | wxString result; | |
2413 | PyObject * obj0 = 0 ; | |
2414 | char *kwnames[] = { | |
2415 | (char *) "self", NULL | |
2416 | }; | |
2417 | ||
2418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2419 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0); |
2420 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2421 | { |
2422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2423 | result = (arg1)->GetName(); | |
2424 | ||
2425 | wxPyEndAllowThreads(__tstate); | |
2426 | if (PyErr_Occurred()) SWIG_fail; | |
2427 | } | |
2428 | { | |
2429 | #if wxUSE_UNICODE | |
2430 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2431 | #else | |
2432 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2433 | #endif | |
2434 | } | |
2435 | return resultobj; | |
2436 | fail: | |
2437 | return NULL; | |
2438 | } | |
2439 | ||
2440 | ||
c32bde28 | 2441 | static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2442 | PyObject *resultobj; |
2443 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
2444 | wxString *arg2 = 0 ; | |
2445 | bool result; | |
ae8162c8 | 2446 | bool temp2 = false ; |
d14a1e28 RD |
2447 | PyObject * obj0 = 0 ; |
2448 | PyObject * obj1 = 0 ; | |
2449 | char *kwnames[] = { | |
2450 | (char *) "self",(char *) "par", NULL | |
2451 | }; | |
2452 | ||
2453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
2454 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0); |
2455 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2456 | { |
2457 | arg2 = wxString_in_helper(obj1); | |
2458 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 2459 | temp2 = true; |
d14a1e28 RD |
2460 | } |
2461 | { | |
2462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2463 | result = (bool)(arg1)->HasParam((wxString const &)*arg2); | |
2464 | ||
2465 | wxPyEndAllowThreads(__tstate); | |
2466 | if (PyErr_Occurred()) SWIG_fail; | |
2467 | } | |
4f89f6a3 RD |
2468 | { |
2469 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2470 | } | |
d14a1e28 RD |
2471 | { |
2472 | if (temp2) | |
2473 | delete arg2; | |
2474 | } | |
2475 | return resultobj; | |
2476 | fail: | |
2477 | { | |
2478 | if (temp2) | |
2479 | delete arg2; | |
2480 | } | |
2481 | return NULL; | |
2482 | } | |
2483 | ||
2484 | ||
c32bde28 | 2485 | static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2486 | PyObject *resultobj; |
2487 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
2488 | wxString *arg2 = 0 ; | |
ae8162c8 | 2489 | int arg3 = (int) false ; |
d14a1e28 | 2490 | wxString result; |
ae8162c8 | 2491 | bool temp2 = false ; |
d14a1e28 RD |
2492 | PyObject * obj0 = 0 ; |
2493 | PyObject * obj1 = 0 ; | |
994141e6 | 2494 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
2495 | char *kwnames[] = { |
2496 | (char *) "self",(char *) "par",(char *) "with_commas", NULL | |
2497 | }; | |
2498 | ||
994141e6 | 2499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
2500 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0); |
2501 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2502 | { |
2503 | arg2 = wxString_in_helper(obj1); | |
2504 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 2505 | temp2 = true; |
d14a1e28 | 2506 | } |
994141e6 | 2507 | if (obj2) { |
093d3ff1 RD |
2508 | { |
2509 | arg3 = (int)(SWIG_As_int(obj2)); | |
2510 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2511 | } | |
994141e6 | 2512 | } |
d14a1e28 RD |
2513 | { |
2514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2515 | result = (arg1)->GetParam((wxString const &)*arg2,arg3); | |
2516 | ||
2517 | wxPyEndAllowThreads(__tstate); | |
2518 | if (PyErr_Occurred()) SWIG_fail; | |
2519 | } | |
2520 | { | |
2521 | #if wxUSE_UNICODE | |
2522 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2523 | #else | |
2524 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2525 | #endif | |
2526 | } | |
2527 | { | |
2528 | if (temp2) | |
2529 | delete arg2; | |
2530 | } | |
2531 | return resultobj; | |
2532 | fail: | |
2533 | { | |
2534 | if (temp2) | |
2535 | delete arg2; | |
2536 | } | |
2537 | return NULL; | |
2538 | } | |
2539 | ||
2540 | ||
c32bde28 | 2541 | static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2542 | PyObject *resultobj; |
2543 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
2544 | wxString result; | |
2545 | PyObject * obj0 = 0 ; | |
2546 | char *kwnames[] = { | |
2547 | (char *) "self", NULL | |
2548 | }; | |
2549 | ||
2550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2551 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0); |
2552 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2553 | { |
2554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2555 | result = (arg1)->GetAllParams(); | |
2556 | ||
2557 | wxPyEndAllowThreads(__tstate); | |
2558 | if (PyErr_Occurred()) SWIG_fail; | |
2559 | } | |
2560 | { | |
2561 | #if wxUSE_UNICODE | |
2562 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2563 | #else | |
2564 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2565 | #endif | |
2566 | } | |
2567 | return resultobj; | |
2568 | fail: | |
2569 | return NULL; | |
2570 | } | |
2571 | ||
2572 | ||
c32bde28 | 2573 | static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2574 | PyObject *resultobj; |
2575 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
2576 | bool result; | |
2577 | PyObject * obj0 = 0 ; | |
2578 | char *kwnames[] = { | |
2579 | (char *) "self", NULL | |
2580 | }; | |
2581 | ||
2582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2583 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0); |
2584 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2585 | { |
2586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2587 | result = (bool)(arg1)->HasEnding(); | |
2588 | ||
2589 | wxPyEndAllowThreads(__tstate); | |
2590 | if (PyErr_Occurred()) SWIG_fail; | |
2591 | } | |
4f89f6a3 RD |
2592 | { |
2593 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2594 | } | |
d14a1e28 RD |
2595 | return resultobj; |
2596 | fail: | |
2597 | return NULL; | |
2598 | } | |
2599 | ||
2600 | ||
c32bde28 | 2601 | static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2602 | PyObject *resultobj; |
2603 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
2604 | int result; | |
2605 | PyObject * obj0 = 0 ; | |
2606 | char *kwnames[] = { | |
2607 | (char *) "self", NULL | |
2608 | }; | |
2609 | ||
2610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2611 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0); |
2612 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2613 | { |
2614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2615 | result = (int)(arg1)->GetBeginPos(); | |
2616 | ||
2617 | wxPyEndAllowThreads(__tstate); | |
2618 | if (PyErr_Occurred()) SWIG_fail; | |
2619 | } | |
093d3ff1 RD |
2620 | { |
2621 | resultobj = SWIG_From_int((int)(result)); | |
2622 | } | |
d14a1e28 RD |
2623 | return resultobj; |
2624 | fail: | |
2625 | return NULL; | |
2626 | } | |
2627 | ||
2628 | ||
c32bde28 | 2629 | static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2630 | PyObject *resultobj; |
2631 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
2632 | int result; | |
2633 | PyObject * obj0 = 0 ; | |
2634 | char *kwnames[] = { | |
2635 | (char *) "self", NULL | |
2636 | }; | |
2637 | ||
2638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2639 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0); |
2640 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2641 | { |
2642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2643 | result = (int)(arg1)->GetEndPos1(); | |
2644 | ||
2645 | wxPyEndAllowThreads(__tstate); | |
2646 | if (PyErr_Occurred()) SWIG_fail; | |
2647 | } | |
093d3ff1 RD |
2648 | { |
2649 | resultobj = SWIG_From_int((int)(result)); | |
2650 | } | |
d14a1e28 RD |
2651 | return resultobj; |
2652 | fail: | |
2653 | return NULL; | |
2654 | } | |
2655 | ||
2656 | ||
c32bde28 | 2657 | static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2658 | PyObject *resultobj; |
2659 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
2660 | int result; | |
2661 | PyObject * obj0 = 0 ; | |
2662 | char *kwnames[] = { | |
2663 | (char *) "self", NULL | |
2664 | }; | |
2665 | ||
2666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2667 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0); |
2668 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2669 | { |
2670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2671 | result = (int)(arg1)->GetEndPos2(); | |
2672 | ||
2673 | wxPyEndAllowThreads(__tstate); | |
2674 | if (PyErr_Occurred()) SWIG_fail; | |
2675 | } | |
093d3ff1 RD |
2676 | { |
2677 | resultobj = SWIG_From_int((int)(result)); | |
2678 | } | |
d14a1e28 RD |
2679 | return resultobj; |
2680 | fail: | |
2681 | return NULL; | |
2682 | } | |
2683 | ||
2684 | ||
c32bde28 | 2685 | static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
2686 | PyObject *obj; |
2687 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2688 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj); | |
2689 | Py_INCREF(obj); | |
2690 | return Py_BuildValue((char *)""); | |
2691 | } | |
c32bde28 | 2692 | static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2693 | PyObject *resultobj; |
2694 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
2695 | wxFileSystem *arg2 = (wxFileSystem *) 0 ; | |
2696 | PyObject * obj0 = 0 ; | |
2697 | PyObject * obj1 = 0 ; | |
2698 | char *kwnames[] = { | |
2699 | (char *) "self",(char *) "fs", NULL | |
2700 | }; | |
2701 | ||
2702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
2703 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0); |
2704 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2705 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0); | |
2706 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
2707 | { |
2708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2709 | (arg1)->SetFS(arg2); | |
2710 | ||
2711 | wxPyEndAllowThreads(__tstate); | |
2712 | if (PyErr_Occurred()) SWIG_fail; | |
2713 | } | |
2714 | Py_INCREF(Py_None); resultobj = Py_None; | |
2715 | return resultobj; | |
2716 | fail: | |
2717 | return NULL; | |
2718 | } | |
2719 | ||
2720 | ||
c32bde28 | 2721 | static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2722 | PyObject *resultobj; |
2723 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
2724 | wxFileSystem *result; | |
2725 | PyObject * obj0 = 0 ; | |
2726 | char *kwnames[] = { | |
2727 | (char *) "self", NULL | |
2728 | }; | |
2729 | ||
2730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2731 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0); |
2732 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2733 | { |
2734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2735 | result = (wxFileSystem *)(arg1)->GetFS(); | |
2736 | ||
2737 | wxPyEndAllowThreads(__tstate); | |
2738 | if (PyErr_Occurred()) SWIG_fail; | |
2739 | } | |
2740 | { | |
412d302d | 2741 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
2742 | } |
2743 | return resultobj; | |
2744 | fail: | |
2745 | return NULL; | |
2746 | } | |
2747 | ||
2748 | ||
c32bde28 | 2749 | static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2750 | PyObject *resultobj; |
2751 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
2752 | wxString *arg2 = 0 ; | |
2753 | wxObject *result; | |
ae8162c8 | 2754 | bool temp2 = false ; |
d14a1e28 RD |
2755 | PyObject * obj0 = 0 ; |
2756 | PyObject * obj1 = 0 ; | |
2757 | char *kwnames[] = { | |
2758 | (char *) "self",(char *) "source", NULL | |
2759 | }; | |
2760 | ||
2761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
2762 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0); |
2763 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2764 | { |
2765 | arg2 = wxString_in_helper(obj1); | |
2766 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 2767 | temp2 = true; |
d14a1e28 RD |
2768 | } |
2769 | { | |
2770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2771 | result = (wxObject *)(arg1)->Parse((wxString const &)*arg2); | |
2772 | ||
2773 | wxPyEndAllowThreads(__tstate); | |
2774 | if (PyErr_Occurred()) SWIG_fail; | |
2775 | } | |
2776 | { | |
412d302d | 2777 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
2778 | } |
2779 | { | |
2780 | if (temp2) | |
2781 | delete arg2; | |
2782 | } | |
2783 | return resultobj; | |
2784 | fail: | |
2785 | { | |
2786 | if (temp2) | |
2787 | delete arg2; | |
2788 | } | |
2789 | return NULL; | |
2790 | } | |
2791 | ||
2792 | ||
c32bde28 | 2793 | static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2794 | PyObject *resultobj; |
2795 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
2796 | wxString *arg2 = 0 ; | |
ae8162c8 | 2797 | bool temp2 = false ; |
d14a1e28 RD |
2798 | PyObject * obj0 = 0 ; |
2799 | PyObject * obj1 = 0 ; | |
2800 | char *kwnames[] = { | |
2801 | (char *) "self",(char *) "source", NULL | |
2802 | }; | |
2803 | ||
2804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
2805 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0); |
2806 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2807 | { |
2808 | arg2 = wxString_in_helper(obj1); | |
2809 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 2810 | temp2 = true; |
d14a1e28 RD |
2811 | } |
2812 | { | |
2813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2814 | (arg1)->InitParser((wxString const &)*arg2); | |
2815 | ||
2816 | wxPyEndAllowThreads(__tstate); | |
2817 | if (PyErr_Occurred()) SWIG_fail; | |
2818 | } | |
2819 | Py_INCREF(Py_None); resultobj = Py_None; | |
2820 | { | |
2821 | if (temp2) | |
2822 | delete arg2; | |
2823 | } | |
2824 | return resultobj; | |
2825 | fail: | |
2826 | { | |
2827 | if (temp2) | |
2828 | delete arg2; | |
2829 | } | |
2830 | return NULL; | |
2831 | } | |
2832 | ||
2833 | ||
c32bde28 | 2834 | static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2835 | PyObject *resultobj; |
2836 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
2837 | PyObject * obj0 = 0 ; | |
2838 | char *kwnames[] = { | |
2839 | (char *) "self", NULL | |
2840 | }; | |
2841 | ||
2842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2843 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0); |
2844 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2845 | { |
2846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2847 | (arg1)->DoneParser(); | |
2848 | ||
2849 | wxPyEndAllowThreads(__tstate); | |
2850 | if (PyErr_Occurred()) SWIG_fail; | |
2851 | } | |
2852 | Py_INCREF(Py_None); resultobj = Py_None; | |
2853 | return resultobj; | |
2854 | fail: | |
2855 | return NULL; | |
2856 | } | |
2857 | ||
2858 | ||
c32bde28 | 2859 | static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2860 | PyObject *resultobj; |
2861 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
2862 | int arg2 ; | |
2863 | int arg3 ; | |
2864 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2865 | PyObject * obj1 = 0 ; |
2866 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2867 | char *kwnames[] = { |
2868 | (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL | |
2869 | }; | |
2870 | ||
994141e6 | 2871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
2872 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0); |
2873 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2874 | { | |
2875 | arg2 = (int)(SWIG_As_int(obj1)); | |
2876 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2877 | } | |
2878 | { | |
2879 | arg3 = (int)(SWIG_As_int(obj2)); | |
2880 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2881 | } | |
d14a1e28 RD |
2882 | { |
2883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2884 | (arg1)->DoParsing(arg2,arg3); | |
2885 | ||
2886 | wxPyEndAllowThreads(__tstate); | |
2887 | if (PyErr_Occurred()) SWIG_fail; | |
2888 | } | |
2889 | Py_INCREF(Py_None); resultobj = Py_None; | |
2890 | return resultobj; | |
2891 | fail: | |
2892 | return NULL; | |
2893 | } | |
2894 | ||
2895 | ||
c32bde28 | 2896 | static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2897 | PyObject *resultobj; |
2898 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
2899 | PyObject * obj0 = 0 ; | |
2900 | char *kwnames[] = { | |
2901 | (char *) "self", NULL | |
2902 | }; | |
2903 | ||
2904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2905 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0); |
2906 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2907 | { |
2908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2909 | (arg1)->StopParsing(); | |
2910 | ||
2911 | wxPyEndAllowThreads(__tstate); | |
2912 | if (PyErr_Occurred()) SWIG_fail; | |
2913 | } | |
2914 | Py_INCREF(Py_None); resultobj = Py_None; | |
2915 | return resultobj; | |
2916 | fail: | |
2917 | return NULL; | |
2918 | } | |
2919 | ||
2920 | ||
c32bde28 | 2921 | static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2922 | PyObject *resultobj; |
2923 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
2924 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
2925 | PyObject * obj0 = 0 ; | |
2926 | PyObject * obj1 = 0 ; | |
2927 | char *kwnames[] = { | |
2928 | (char *) "self",(char *) "handler", NULL | |
2929 | }; | |
2930 | ||
2931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
2932 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0); |
2933 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2934 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0); | |
2935 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
2936 | { |
2937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2938 | (arg1)->AddTagHandler(arg2); | |
2939 | ||
2940 | wxPyEndAllowThreads(__tstate); | |
2941 | if (PyErr_Occurred()) SWIG_fail; | |
2942 | } | |
2943 | Py_INCREF(Py_None); resultobj = Py_None; | |
2944 | return resultobj; | |
2945 | fail: | |
2946 | return NULL; | |
2947 | } | |
2948 | ||
2949 | ||
c32bde28 | 2950 | static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2951 | PyObject *resultobj; |
2952 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
2953 | wxString *result; | |
2954 | PyObject * obj0 = 0 ; | |
2955 | char *kwnames[] = { | |
2956 | (char *) "self", NULL | |
2957 | }; | |
2958 | ||
2959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2960 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0); |
2961 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2962 | { |
2963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2964 | result = (wxString *)(arg1)->GetSource(); | |
2965 | ||
2966 | wxPyEndAllowThreads(__tstate); | |
2967 | if (PyErr_Occurred()) SWIG_fail; | |
2968 | } | |
2969 | { | |
2970 | #if wxUSE_UNICODE | |
2971 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
2972 | #else | |
2973 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
2974 | #endif | |
2975 | } | |
2976 | return resultobj; | |
2977 | fail: | |
2978 | return NULL; | |
2979 | } | |
2980 | ||
2981 | ||
c32bde28 | 2982 | static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2983 | PyObject *resultobj; |
2984 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
2985 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
2986 | wxString arg3 ; | |
d14a1e28 RD |
2987 | PyObject * obj0 = 0 ; |
2988 | PyObject * obj1 = 0 ; | |
2989 | PyObject * obj2 = 0 ; | |
2990 | char *kwnames[] = { | |
2991 | (char *) "self",(char *) "handler",(char *) "tags", NULL | |
2992 | }; | |
2993 | ||
2994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
2995 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0); |
2996 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2997 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0); | |
2998 | if (SWIG_arg_fail(2)) SWIG_fail; | |
e811c8ce RD |
2999 | { |
3000 | wxString* sptr = wxString_in_helper(obj2); | |
3001 | if (sptr == NULL) SWIG_fail; | |
3002 | arg3 = *sptr; | |
3003 | delete sptr; | |
3004 | } | |
d14a1e28 RD |
3005 | { |
3006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3007 | (arg1)->PushTagHandler(arg2,arg3); | |
3008 | ||
3009 | wxPyEndAllowThreads(__tstate); | |
3010 | if (PyErr_Occurred()) SWIG_fail; | |
3011 | } | |
3012 | Py_INCREF(Py_None); resultobj = Py_None; | |
3013 | return resultobj; | |
3014 | fail: | |
3015 | return NULL; | |
3016 | } | |
3017 | ||
3018 | ||
c32bde28 | 3019 | static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3020 | PyObject *resultobj; |
3021 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3022 | PyObject * obj0 = 0 ; | |
3023 | char *kwnames[] = { | |
3024 | (char *) "self", NULL | |
3025 | }; | |
3026 | ||
3027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3028 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0); |
3029 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3030 | { |
3031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3032 | (arg1)->PopTagHandler(); | |
3033 | ||
3034 | wxPyEndAllowThreads(__tstate); | |
3035 | if (PyErr_Occurred()) SWIG_fail; | |
3036 | } | |
3037 | Py_INCREF(Py_None); resultobj = Py_None; | |
3038 | return resultobj; | |
3039 | fail: | |
3040 | return NULL; | |
3041 | } | |
3042 | ||
3043 | ||
c32bde28 | 3044 | static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
3045 | PyObject *obj; |
3046 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3047 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj); | |
3048 | Py_INCREF(obj); | |
3049 | return Py_BuildValue((char *)""); | |
3050 | } | |
c32bde28 | 3051 | static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3052 | PyObject *resultobj; |
3053 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ; | |
3054 | wxHtmlWinParser *result; | |
3055 | PyObject * obj0 = 0 ; | |
3056 | char *kwnames[] = { | |
3057 | (char *) "wnd", NULL | |
3058 | }; | |
3059 | ||
3060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail; | |
3061 | if (obj0) { | |
093d3ff1 RD |
3062 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
3063 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3064 | } |
3065 | { | |
3066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3067 | result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1); | |
3068 | ||
3069 | wxPyEndAllowThreads(__tstate); | |
3070 | if (PyErr_Occurred()) SWIG_fail; | |
3071 | } | |
15afbcd0 | 3072 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1); |
d14a1e28 RD |
3073 | return resultobj; |
3074 | fail: | |
3075 | return NULL; | |
3076 | } | |
3077 | ||
3078 | ||
c32bde28 | 3079 | static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3080 | PyObject *resultobj; |
3081 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3082 | wxDC *arg2 = (wxDC *) 0 ; | |
3083 | PyObject * obj0 = 0 ; | |
3084 | PyObject * obj1 = 0 ; | |
3085 | char *kwnames[] = { | |
3086 | (char *) "self",(char *) "dc", NULL | |
3087 | }; | |
3088 | ||
3089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
3090 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3091 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3092 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
3093 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
3094 | { |
3095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3096 | (arg1)->SetDC(arg2); | |
3097 | ||
3098 | wxPyEndAllowThreads(__tstate); | |
3099 | if (PyErr_Occurred()) SWIG_fail; | |
3100 | } | |
3101 | Py_INCREF(Py_None); resultobj = Py_None; | |
3102 | return resultobj; | |
3103 | fail: | |
3104 | return NULL; | |
3105 | } | |
3106 | ||
3107 | ||
c32bde28 | 3108 | static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3109 | PyObject *resultobj; |
3110 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3111 | wxDC *result; | |
3112 | PyObject * obj0 = 0 ; | |
3113 | char *kwnames[] = { | |
3114 | (char *) "self", NULL | |
3115 | }; | |
3116 | ||
3117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3118 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3119 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3120 | { |
3121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3122 | result = (wxDC *)(arg1)->GetDC(); | |
3123 | ||
3124 | wxPyEndAllowThreads(__tstate); | |
3125 | if (PyErr_Occurred()) SWIG_fail; | |
3126 | } | |
3127 | { | |
412d302d | 3128 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
3129 | } |
3130 | return resultobj; | |
3131 | fail: | |
3132 | return NULL; | |
3133 | } | |
3134 | ||
3135 | ||
c32bde28 | 3136 | static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3137 | PyObject *resultobj; |
3138 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3139 | int result; | |
3140 | PyObject * obj0 = 0 ; | |
3141 | char *kwnames[] = { | |
3142 | (char *) "self", NULL | |
3143 | }; | |
3144 | ||
3145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3146 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3147 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3148 | { |
3149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3150 | result = (int)(arg1)->GetCharHeight(); | |
3151 | ||
3152 | wxPyEndAllowThreads(__tstate); | |
3153 | if (PyErr_Occurred()) SWIG_fail; | |
3154 | } | |
093d3ff1 RD |
3155 | { |
3156 | resultobj = SWIG_From_int((int)(result)); | |
3157 | } | |
d14a1e28 RD |
3158 | return resultobj; |
3159 | fail: | |
3160 | return NULL; | |
3161 | } | |
3162 | ||
3163 | ||
c32bde28 | 3164 | static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3165 | PyObject *resultobj; |
3166 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3167 | int result; | |
3168 | PyObject * obj0 = 0 ; | |
3169 | char *kwnames[] = { | |
3170 | (char *) "self", NULL | |
3171 | }; | |
3172 | ||
3173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3174 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3175 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3176 | { |
3177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3178 | result = (int)(arg1)->GetCharWidth(); | |
3179 | ||
3180 | wxPyEndAllowThreads(__tstate); | |
3181 | if (PyErr_Occurred()) SWIG_fail; | |
3182 | } | |
093d3ff1 RD |
3183 | { |
3184 | resultobj = SWIG_From_int((int)(result)); | |
3185 | } | |
d14a1e28 RD |
3186 | return resultobj; |
3187 | fail: | |
3188 | return NULL; | |
3189 | } | |
3190 | ||
3191 | ||
c32bde28 | 3192 | static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3193 | PyObject *resultobj; |
3194 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3195 | wxPyHtmlWindow *result; | |
3196 | PyObject * obj0 = 0 ; | |
3197 | char *kwnames[] = { | |
3198 | (char *) "self", NULL | |
3199 | }; | |
3200 | ||
3201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3202 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3203 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3204 | { |
3205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3206 | result = (wxPyHtmlWindow *)(arg1)->GetWindow(); | |
3207 | ||
3208 | wxPyEndAllowThreads(__tstate); | |
3209 | if (PyErr_Occurred()) SWIG_fail; | |
3210 | } | |
3211 | { | |
412d302d | 3212 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
3213 | } |
3214 | return resultobj; | |
3215 | fail: | |
3216 | return NULL; | |
3217 | } | |
3218 | ||
3219 | ||
c32bde28 | 3220 | static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3221 | PyObject *resultobj; |
3222 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3223 | wxString arg2 ; | |
3224 | wxString arg3 ; | |
3225 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
3226 | PyObject * obj0 = 0 ; |
3227 | PyObject * obj1 = 0 ; | |
3228 | PyObject * obj2 = 0 ; | |
3229 | PyObject * obj3 = 0 ; | |
3230 | char *kwnames[] = { | |
3231 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
3232 | }; | |
3233 | ||
3234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
093d3ff1 RD |
3235 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3236 | if (SWIG_arg_fail(1)) SWIG_fail; | |
e811c8ce RD |
3237 | { |
3238 | wxString* sptr = wxString_in_helper(obj1); | |
3239 | if (sptr == NULL) SWIG_fail; | |
3240 | arg2 = *sptr; | |
3241 | delete sptr; | |
3242 | } | |
3243 | { | |
3244 | wxString* sptr = wxString_in_helper(obj2); | |
3245 | if (sptr == NULL) SWIG_fail; | |
3246 | arg3 = *sptr; | |
3247 | delete sptr; | |
3248 | } | |
d14a1e28 RD |
3249 | if (obj3) { |
3250 | arg4 = obj3; | |
3251 | } | |
3252 | { | |
3253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3254 | wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4); | |
3255 | ||
3256 | wxPyEndAllowThreads(__tstate); | |
3257 | if (PyErr_Occurred()) SWIG_fail; | |
3258 | } | |
3259 | Py_INCREF(Py_None); resultobj = Py_None; | |
3260 | return resultobj; | |
3261 | fail: | |
3262 | return NULL; | |
3263 | } | |
3264 | ||
3265 | ||
ae8162c8 | 3266 | static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
30ee79f7 RD |
3267 | PyObject *resultobj; |
3268 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3269 | int arg2 = (int) -1 ; | |
ae8162c8 RD |
3270 | wxString const &arg3_defvalue = wxPyEmptyString ; |
3271 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
3272 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
3273 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
3274 | bool temp3 = false ; | |
3275 | bool temp4 = false ; | |
30ee79f7 RD |
3276 | PyObject * obj0 = 0 ; |
3277 | PyObject * obj1 = 0 ; | |
ae8162c8 RD |
3278 | PyObject * obj2 = 0 ; |
3279 | PyObject * obj3 = 0 ; | |
30ee79f7 | 3280 | char *kwnames[] = { |
ae8162c8 | 3281 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL |
30ee79f7 RD |
3282 | }; |
3283 | ||
ae8162c8 | 3284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
3285 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3286 | if (SWIG_arg_fail(1)) SWIG_fail; | |
30ee79f7 | 3287 | if (obj1) { |
093d3ff1 RD |
3288 | { |
3289 | arg2 = (int)(SWIG_As_int(obj1)); | |
3290 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3291 | } | |
30ee79f7 | 3292 | } |
ae8162c8 RD |
3293 | if (obj2) { |
3294 | { | |
3295 | arg3 = wxString_in_helper(obj2); | |
3296 | if (arg3 == NULL) SWIG_fail; | |
3297 | temp3 = true; | |
3298 | } | |
3299 | } | |
3300 | if (obj3) { | |
3301 | { | |
3302 | arg4 = wxString_in_helper(obj3); | |
3303 | if (arg4 == NULL) SWIG_fail; | |
3304 | temp4 = true; | |
3305 | } | |
3306 | } | |
30ee79f7 RD |
3307 | { |
3308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ae8162c8 | 3309 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); |
30ee79f7 RD |
3310 | |
3311 | wxPyEndAllowThreads(__tstate); | |
3312 | if (PyErr_Occurred()) SWIG_fail; | |
3313 | } | |
3314 | Py_INCREF(Py_None); resultobj = Py_None; | |
ae8162c8 RD |
3315 | { |
3316 | if (temp3) | |
3317 | delete arg3; | |
3318 | } | |
3319 | { | |
3320 | if (temp4) | |
3321 | delete arg4; | |
3322 | } | |
30ee79f7 RD |
3323 | return resultobj; |
3324 | fail: | |
ae8162c8 RD |
3325 | { |
3326 | if (temp3) | |
3327 | delete arg3; | |
3328 | } | |
3329 | { | |
3330 | if (temp4) | |
3331 | delete arg4; | |
3332 | } | |
30ee79f7 RD |
3333 | return NULL; |
3334 | } | |
3335 | ||
3336 | ||
c32bde28 | 3337 | static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3338 | PyObject *resultobj; |
3339 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3340 | wxHtmlContainerCell *result; | |
3341 | PyObject * obj0 = 0 ; | |
3342 | char *kwnames[] = { | |
3343 | (char *) "self", NULL | |
3344 | }; | |
3345 | ||
3346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3347 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3348 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3349 | { |
3350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3351 | result = (wxHtmlContainerCell *)(arg1)->GetContainer(); | |
3352 | ||
3353 | wxPyEndAllowThreads(__tstate); | |
3354 | if (PyErr_Occurred()) SWIG_fail; | |
3355 | } | |
15afbcd0 | 3356 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
3357 | return resultobj; |
3358 | fail: | |
3359 | return NULL; | |
3360 | } | |
3361 | ||
3362 | ||
c32bde28 | 3363 | static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3364 | PyObject *resultobj; |
3365 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3366 | wxHtmlContainerCell *result; | |
3367 | PyObject * obj0 = 0 ; | |
3368 | char *kwnames[] = { | |
3369 | (char *) "self", NULL | |
3370 | }; | |
3371 | ||
3372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3373 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3374 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3375 | { |
3376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3377 | result = (wxHtmlContainerCell *)(arg1)->OpenContainer(); | |
3378 | ||
3379 | wxPyEndAllowThreads(__tstate); | |
3380 | if (PyErr_Occurred()) SWIG_fail; | |
3381 | } | |
15afbcd0 | 3382 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
3383 | return resultobj; |
3384 | fail: | |
3385 | return NULL; | |
3386 | } | |
3387 | ||
3388 | ||
c32bde28 | 3389 | static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3390 | PyObject *resultobj; |
3391 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3392 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
3393 | wxHtmlContainerCell *result; | |
3394 | PyObject * obj0 = 0 ; | |
3395 | PyObject * obj1 = 0 ; | |
3396 | char *kwnames[] = { | |
3397 | (char *) "self",(char *) "c", NULL | |
3398 | }; | |
3399 | ||
3400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
3401 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3402 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3403 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); | |
3404 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
3405 | { |
3406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3407 | result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2); | |
3408 | ||
3409 | wxPyEndAllowThreads(__tstate); | |
3410 | if (PyErr_Occurred()) SWIG_fail; | |
3411 | } | |
15afbcd0 | 3412 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
3413 | return resultobj; |
3414 | fail: | |
3415 | return NULL; | |
3416 | } | |
3417 | ||
3418 | ||
c32bde28 | 3419 | static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3420 | PyObject *resultobj; |
3421 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3422 | wxHtmlContainerCell *result; | |
3423 | PyObject * obj0 = 0 ; | |
3424 | char *kwnames[] = { | |
3425 | (char *) "self", NULL | |
3426 | }; | |
3427 | ||
3428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3429 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3430 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3431 | { |
3432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3433 | result = (wxHtmlContainerCell *)(arg1)->CloseContainer(); | |
3434 | ||
3435 | wxPyEndAllowThreads(__tstate); | |
3436 | if (PyErr_Occurred()) SWIG_fail; | |
3437 | } | |
15afbcd0 | 3438 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
3439 | return resultobj; |
3440 | fail: | |
3441 | return NULL; | |
3442 | } | |
3443 | ||
3444 | ||
c32bde28 | 3445 | static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3446 | PyObject *resultobj; |
3447 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3448 | int result; | |
3449 | PyObject * obj0 = 0 ; | |
3450 | char *kwnames[] = { | |
3451 | (char *) "self", NULL | |
3452 | }; | |
3453 | ||
3454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3455 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3456 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3457 | { |
3458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3459 | result = (int)(arg1)->GetFontSize(); | |
3460 | ||
3461 | wxPyEndAllowThreads(__tstate); | |
3462 | if (PyErr_Occurred()) SWIG_fail; | |
3463 | } | |
093d3ff1 RD |
3464 | { |
3465 | resultobj = SWIG_From_int((int)(result)); | |
3466 | } | |
d14a1e28 RD |
3467 | return resultobj; |
3468 | fail: | |
3469 | return NULL; | |
3470 | } | |
3471 | ||
3472 | ||
c32bde28 | 3473 | static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3474 | PyObject *resultobj; |
3475 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3476 | int arg2 ; | |
3477 | PyObject * obj0 = 0 ; | |
994141e6 | 3478 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3479 | char *kwnames[] = { |
3480 | (char *) "self",(char *) "s", NULL | |
3481 | }; | |
3482 | ||
994141e6 | 3483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
3484 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3485 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3486 | { | |
3487 | arg2 = (int)(SWIG_As_int(obj1)); | |
3488 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3489 | } | |
d14a1e28 RD |
3490 | { |
3491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3492 | (arg1)->SetFontSize(arg2); | |
3493 | ||
3494 | wxPyEndAllowThreads(__tstate); | |
3495 | if (PyErr_Occurred()) SWIG_fail; | |
3496 | } | |
3497 | Py_INCREF(Py_None); resultobj = Py_None; | |
3498 | return resultobj; | |
3499 | fail: | |
3500 | return NULL; | |
3501 | } | |
3502 | ||
3503 | ||
c32bde28 | 3504 | static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3505 | PyObject *resultobj; |
3506 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3507 | int result; | |
3508 | PyObject * obj0 = 0 ; | |
3509 | char *kwnames[] = { | |
3510 | (char *) "self", NULL | |
3511 | }; | |
3512 | ||
3513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3514 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3515 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3516 | { |
3517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3518 | result = (int)(arg1)->GetFontBold(); | |
3519 | ||
3520 | wxPyEndAllowThreads(__tstate); | |
3521 | if (PyErr_Occurred()) SWIG_fail; | |
3522 | } | |
093d3ff1 RD |
3523 | { |
3524 | resultobj = SWIG_From_int((int)(result)); | |
3525 | } | |
d14a1e28 RD |
3526 | return resultobj; |
3527 | fail: | |
3528 | return NULL; | |
3529 | } | |
3530 | ||
3531 | ||
c32bde28 | 3532 | static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3533 | PyObject *resultobj; |
3534 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3535 | int arg2 ; | |
3536 | PyObject * obj0 = 0 ; | |
994141e6 | 3537 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3538 | char *kwnames[] = { |
3539 | (char *) "self",(char *) "x", NULL | |
3540 | }; | |
3541 | ||
994141e6 | 3542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
3543 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3544 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3545 | { | |
3546 | arg2 = (int)(SWIG_As_int(obj1)); | |
3547 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3548 | } | |
d14a1e28 RD |
3549 | { |
3550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3551 | (arg1)->SetFontBold(arg2); | |
3552 | ||
3553 | wxPyEndAllowThreads(__tstate); | |
3554 | if (PyErr_Occurred()) SWIG_fail; | |
3555 | } | |
3556 | Py_INCREF(Py_None); resultobj = Py_None; | |
3557 | return resultobj; | |
3558 | fail: | |
3559 | return NULL; | |
3560 | } | |
3561 | ||
3562 | ||
c32bde28 | 3563 | static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3564 | PyObject *resultobj; |
3565 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3566 | int result; | |
3567 | PyObject * obj0 = 0 ; | |
3568 | char *kwnames[] = { | |
3569 | (char *) "self", NULL | |
3570 | }; | |
3571 | ||
3572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3573 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3574 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3575 | { |
3576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3577 | result = (int)(arg1)->GetFontItalic(); | |
3578 | ||
3579 | wxPyEndAllowThreads(__tstate); | |
3580 | if (PyErr_Occurred()) SWIG_fail; | |
3581 | } | |
093d3ff1 RD |
3582 | { |
3583 | resultobj = SWIG_From_int((int)(result)); | |
3584 | } | |
d14a1e28 RD |
3585 | return resultobj; |
3586 | fail: | |
3587 | return NULL; | |
3588 | } | |
3589 | ||
3590 | ||
c32bde28 | 3591 | static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3592 | PyObject *resultobj; |
3593 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3594 | int arg2 ; | |
3595 | PyObject * obj0 = 0 ; | |
994141e6 | 3596 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3597 | char *kwnames[] = { |
3598 | (char *) "self",(char *) "x", NULL | |
3599 | }; | |
3600 | ||
994141e6 | 3601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
3602 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3603 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3604 | { | |
3605 | arg2 = (int)(SWIG_As_int(obj1)); | |
3606 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3607 | } | |
d14a1e28 RD |
3608 | { |
3609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3610 | (arg1)->SetFontItalic(arg2); | |
3611 | ||
3612 | wxPyEndAllowThreads(__tstate); | |
3613 | if (PyErr_Occurred()) SWIG_fail; | |
3614 | } | |
3615 | Py_INCREF(Py_None); resultobj = Py_None; | |
3616 | return resultobj; | |
3617 | fail: | |
3618 | return NULL; | |
3619 | } | |
3620 | ||
3621 | ||
c32bde28 | 3622 | static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3623 | PyObject *resultobj; |
3624 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3625 | int result; | |
3626 | PyObject * obj0 = 0 ; | |
3627 | char *kwnames[] = { | |
3628 | (char *) "self", NULL | |
3629 | }; | |
3630 | ||
3631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3632 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3633 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3634 | { |
3635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3636 | result = (int)(arg1)->GetFontUnderlined(); | |
3637 | ||
3638 | wxPyEndAllowThreads(__tstate); | |
3639 | if (PyErr_Occurred()) SWIG_fail; | |
3640 | } | |
093d3ff1 RD |
3641 | { |
3642 | resultobj = SWIG_From_int((int)(result)); | |
3643 | } | |
d14a1e28 RD |
3644 | return resultobj; |
3645 | fail: | |
3646 | return NULL; | |
3647 | } | |
3648 | ||
3649 | ||
c32bde28 | 3650 | static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3651 | PyObject *resultobj; |
3652 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3653 | int arg2 ; | |
3654 | PyObject * obj0 = 0 ; | |
994141e6 | 3655 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3656 | char *kwnames[] = { |
3657 | (char *) "self",(char *) "x", NULL | |
3658 | }; | |
3659 | ||
994141e6 | 3660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
3661 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3662 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3663 | { | |
3664 | arg2 = (int)(SWIG_As_int(obj1)); | |
3665 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3666 | } | |
d14a1e28 RD |
3667 | { |
3668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3669 | (arg1)->SetFontUnderlined(arg2); | |
3670 | ||
3671 | wxPyEndAllowThreads(__tstate); | |
3672 | if (PyErr_Occurred()) SWIG_fail; | |
3673 | } | |
3674 | Py_INCREF(Py_None); resultobj = Py_None; | |
3675 | return resultobj; | |
3676 | fail: | |
3677 | return NULL; | |
3678 | } | |
3679 | ||
3680 | ||
c32bde28 | 3681 | static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3682 | PyObject *resultobj; |
3683 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3684 | int result; | |
3685 | PyObject * obj0 = 0 ; | |
3686 | char *kwnames[] = { | |
3687 | (char *) "self", NULL | |
3688 | }; | |
3689 | ||
3690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3691 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3692 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3693 | { |
3694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3695 | result = (int)(arg1)->GetFontFixed(); | |
3696 | ||
3697 | wxPyEndAllowThreads(__tstate); | |
3698 | if (PyErr_Occurred()) SWIG_fail; | |
3699 | } | |
093d3ff1 RD |
3700 | { |
3701 | resultobj = SWIG_From_int((int)(result)); | |
3702 | } | |
d14a1e28 RD |
3703 | return resultobj; |
3704 | fail: | |
3705 | return NULL; | |
3706 | } | |
3707 | ||
3708 | ||
c32bde28 | 3709 | static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3710 | PyObject *resultobj; |
3711 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3712 | int arg2 ; | |
3713 | PyObject * obj0 = 0 ; | |
994141e6 | 3714 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3715 | char *kwnames[] = { |
3716 | (char *) "self",(char *) "x", NULL | |
3717 | }; | |
3718 | ||
994141e6 | 3719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
3720 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3721 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3722 | { | |
3723 | arg2 = (int)(SWIG_As_int(obj1)); | |
3724 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3725 | } | |
d14a1e28 RD |
3726 | { |
3727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3728 | (arg1)->SetFontFixed(arg2); | |
3729 | ||
3730 | wxPyEndAllowThreads(__tstate); | |
3731 | if (PyErr_Occurred()) SWIG_fail; | |
3732 | } | |
3733 | Py_INCREF(Py_None); resultobj = Py_None; | |
3734 | return resultobj; | |
3735 | fail: | |
3736 | return NULL; | |
3737 | } | |
3738 | ||
3739 | ||
c32bde28 | 3740 | static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3741 | PyObject *resultobj; |
3742 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3743 | int result; | |
3744 | PyObject * obj0 = 0 ; | |
3745 | char *kwnames[] = { | |
3746 | (char *) "self", NULL | |
3747 | }; | |
3748 | ||
3749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3750 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3751 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3752 | { |
3753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3754 | result = (int)(arg1)->GetAlign(); | |
3755 | ||
3756 | wxPyEndAllowThreads(__tstate); | |
3757 | if (PyErr_Occurred()) SWIG_fail; | |
3758 | } | |
093d3ff1 RD |
3759 | { |
3760 | resultobj = SWIG_From_int((int)(result)); | |
3761 | } | |
d14a1e28 RD |
3762 | return resultobj; |
3763 | fail: | |
3764 | return NULL; | |
3765 | } | |
3766 | ||
3767 | ||
c32bde28 | 3768 | static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3769 | PyObject *resultobj; |
3770 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3771 | int arg2 ; | |
3772 | PyObject * obj0 = 0 ; | |
994141e6 | 3773 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3774 | char *kwnames[] = { |
3775 | (char *) "self",(char *) "a", NULL | |
3776 | }; | |
3777 | ||
994141e6 | 3778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
3779 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3780 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3781 | { | |
3782 | arg2 = (int)(SWIG_As_int(obj1)); | |
3783 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3784 | } | |
d14a1e28 RD |
3785 | { |
3786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3787 | (arg1)->SetAlign(arg2); | |
3788 | ||
3789 | wxPyEndAllowThreads(__tstate); | |
3790 | if (PyErr_Occurred()) SWIG_fail; | |
3791 | } | |
3792 | Py_INCREF(Py_None); resultobj = Py_None; | |
3793 | return resultobj; | |
3794 | fail: | |
3795 | return NULL; | |
3796 | } | |
3797 | ||
3798 | ||
c32bde28 | 3799 | static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3800 | PyObject *resultobj; |
3801 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3802 | wxColour result; | |
3803 | PyObject * obj0 = 0 ; | |
3804 | char *kwnames[] = { | |
3805 | (char *) "self", NULL | |
3806 | }; | |
3807 | ||
3808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3809 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3810 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3811 | { |
3812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3813 | result = (arg1)->GetLinkColor(); | |
3814 | ||
3815 | wxPyEndAllowThreads(__tstate); | |
3816 | if (PyErr_Occurred()) SWIG_fail; | |
3817 | } | |
3818 | { | |
3819 | wxColour * resultptr; | |
093d3ff1 | 3820 | resultptr = new wxColour((wxColour &)(result)); |
15afbcd0 | 3821 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
3822 | } |
3823 | return resultobj; | |
3824 | fail: | |
3825 | return NULL; | |
3826 | } | |
3827 | ||
3828 | ||
c32bde28 | 3829 | static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3830 | PyObject *resultobj; |
3831 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3832 | wxColour *arg2 = 0 ; | |
3833 | wxColour temp2 ; | |
3834 | PyObject * obj0 = 0 ; | |
3835 | PyObject * obj1 = 0 ; | |
3836 | char *kwnames[] = { | |
3837 | (char *) "self",(char *) "clr", NULL | |
3838 | }; | |
3839 | ||
3840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
3841 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3842 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3843 | { |
3844 | arg2 = &temp2; | |
3845 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3846 | } | |
3847 | { | |
3848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3849 | (arg1)->SetLinkColor((wxColour const &)*arg2); | |
3850 | ||
3851 | wxPyEndAllowThreads(__tstate); | |
3852 | if (PyErr_Occurred()) SWIG_fail; | |
3853 | } | |
3854 | Py_INCREF(Py_None); resultobj = Py_None; | |
3855 | return resultobj; | |
3856 | fail: | |
3857 | return NULL; | |
3858 | } | |
3859 | ||
3860 | ||
c32bde28 | 3861 | static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3862 | PyObject *resultobj; |
3863 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3864 | wxColour result; | |
3865 | PyObject * obj0 = 0 ; | |
3866 | char *kwnames[] = { | |
3867 | (char *) "self", NULL | |
3868 | }; | |
3869 | ||
3870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3871 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3872 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3873 | { |
3874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3875 | result = (arg1)->GetActualColor(); | |
3876 | ||
3877 | wxPyEndAllowThreads(__tstate); | |
3878 | if (PyErr_Occurred()) SWIG_fail; | |
3879 | } | |
3880 | { | |
3881 | wxColour * resultptr; | |
093d3ff1 | 3882 | resultptr = new wxColour((wxColour &)(result)); |
15afbcd0 | 3883 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
3884 | } |
3885 | return resultobj; | |
3886 | fail: | |
3887 | return NULL; | |
3888 | } | |
3889 | ||
3890 | ||
c32bde28 | 3891 | static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3892 | PyObject *resultobj; |
3893 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3894 | wxColour *arg2 = 0 ; | |
3895 | wxColour temp2 ; | |
3896 | PyObject * obj0 = 0 ; | |
3897 | PyObject * obj1 = 0 ; | |
3898 | char *kwnames[] = { | |
3899 | (char *) "self",(char *) "clr", NULL | |
3900 | }; | |
3901 | ||
3902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
3903 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3904 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3905 | { |
3906 | arg2 = &temp2; | |
3907 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3908 | } | |
3909 | { | |
3910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3911 | (arg1)->SetActualColor((wxColour const &)*arg2); | |
3912 | ||
3913 | wxPyEndAllowThreads(__tstate); | |
3914 | if (PyErr_Occurred()) SWIG_fail; | |
3915 | } | |
3916 | Py_INCREF(Py_None); resultobj = Py_None; | |
3917 | return resultobj; | |
3918 | fail: | |
3919 | return NULL; | |
3920 | } | |
3921 | ||
3922 | ||
c32bde28 | 3923 | static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3924 | PyObject *resultobj; |
3925 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3926 | wxString *arg2 = 0 ; | |
ae8162c8 | 3927 | bool temp2 = false ; |
d14a1e28 RD |
3928 | PyObject * obj0 = 0 ; |
3929 | PyObject * obj1 = 0 ; | |
3930 | char *kwnames[] = { | |
3931 | (char *) "self",(char *) "link", NULL | |
3932 | }; | |
3933 | ||
3934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
3935 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3936 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3937 | { |
3938 | arg2 = wxString_in_helper(obj1); | |
3939 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 3940 | temp2 = true; |
d14a1e28 RD |
3941 | } |
3942 | { | |
3943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3944 | (arg1)->SetLink((wxString const &)*arg2); | |
3945 | ||
3946 | wxPyEndAllowThreads(__tstate); | |
3947 | if (PyErr_Occurred()) SWIG_fail; | |
3948 | } | |
3949 | Py_INCREF(Py_None); resultobj = Py_None; | |
3950 | { | |
3951 | if (temp2) | |
3952 | delete arg2; | |
3953 | } | |
3954 | return resultobj; | |
3955 | fail: | |
3956 | { | |
3957 | if (temp2) | |
3958 | delete arg2; | |
3959 | } | |
3960 | return NULL; | |
3961 | } | |
3962 | ||
3963 | ||
c32bde28 | 3964 | static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3965 | PyObject *resultobj; |
3966 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
3967 | wxFont *result; | |
3968 | PyObject * obj0 = 0 ; | |
3969 | char *kwnames[] = { | |
3970 | (char *) "self", NULL | |
3971 | }; | |
3972 | ||
3973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3974 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
3975 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3976 | { |
3977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3978 | result = (wxFont *)(arg1)->CreateCurrentFont(); | |
3979 | ||
3980 | wxPyEndAllowThreads(__tstate); | |
3981 | if (PyErr_Occurred()) SWIG_fail; | |
3982 | } | |
15afbcd0 | 3983 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0); |
d14a1e28 RD |
3984 | return resultobj; |
3985 | fail: | |
3986 | return NULL; | |
3987 | } | |
3988 | ||
3989 | ||
c32bde28 | 3990 | static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3991 | PyObject *resultobj; |
3992 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
093d3ff1 | 3993 | SwigValueWrapper<wxHtmlLinkInfo > result; |
d14a1e28 RD |
3994 | PyObject * obj0 = 0 ; |
3995 | char *kwnames[] = { | |
3996 | (char *) "self", NULL | |
3997 | }; | |
3998 | ||
3999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4000 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); |
4001 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4002 | { |
4003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4004 | result = (arg1)->GetLink(); | |
4005 | ||
4006 | wxPyEndAllowThreads(__tstate); | |
4007 | if (PyErr_Occurred()) SWIG_fail; | |
4008 | } | |
4009 | { | |
4010 | wxHtmlLinkInfo * resultptr; | |
093d3ff1 | 4011 | resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &)(result)); |
15afbcd0 | 4012 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1); |
d14a1e28 RD |
4013 | } |
4014 | return resultobj; | |
4015 | fail: | |
4016 | return NULL; | |
4017 | } | |
4018 | ||
4019 | ||
c32bde28 | 4020 | static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4021 | PyObject *obj; |
4022 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4023 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj); | |
4024 | Py_INCREF(obj); | |
4025 | return Py_BuildValue((char *)""); | |
4026 | } | |
c32bde28 | 4027 | static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4028 | PyObject *resultobj; |
4029 | wxPyHtmlTagHandler *result; | |
4030 | char *kwnames[] = { | |
4031 | NULL | |
4032 | }; | |
4033 | ||
4034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail; | |
4035 | { | |
4036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4037 | result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler(); | |
4038 | ||
4039 | wxPyEndAllowThreads(__tstate); | |
4040 | if (PyErr_Occurred()) SWIG_fail; | |
4041 | } | |
15afbcd0 | 4042 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1); |
d14a1e28 RD |
4043 | return resultobj; |
4044 | fail: | |
4045 | return NULL; | |
4046 | } | |
4047 | ||
4048 | ||
c32bde28 | 4049 | static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4050 | PyObject *resultobj; |
4051 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
4052 | PyObject *arg2 = (PyObject *) 0 ; | |
4053 | PyObject *arg3 = (PyObject *) 0 ; | |
4054 | PyObject * obj0 = 0 ; | |
4055 | PyObject * obj1 = 0 ; | |
4056 | PyObject * obj2 = 0 ; | |
4057 | char *kwnames[] = { | |
4058 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
4059 | }; | |
4060 | ||
4061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
4062 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0); |
4063 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4064 | arg2 = obj1; |
4065 | arg3 = obj2; | |
4066 | { | |
4067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4068 | (arg1)->_setCallbackInfo(arg2,arg3); | |
4069 | ||
4070 | wxPyEndAllowThreads(__tstate); | |
4071 | if (PyErr_Occurred()) SWIG_fail; | |
4072 | } | |
4073 | Py_INCREF(Py_None); resultobj = Py_None; | |
4074 | return resultobj; | |
4075 | fail: | |
4076 | return NULL; | |
4077 | } | |
4078 | ||
4079 | ||
c32bde28 | 4080 | static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4081 | PyObject *resultobj; |
4082 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
4083 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
4084 | PyObject * obj0 = 0 ; | |
4085 | PyObject * obj1 = 0 ; | |
4086 | char *kwnames[] = { | |
4087 | (char *) "self",(char *) "parser", NULL | |
4088 | }; | |
4089 | ||
4090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4091 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0); |
4092 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4093 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0); | |
4094 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
4095 | { |
4096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4097 | (arg1)->SetParser(arg2); | |
4098 | ||
4099 | wxPyEndAllowThreads(__tstate); | |
4100 | if (PyErr_Occurred()) SWIG_fail; | |
4101 | } | |
4102 | Py_INCREF(Py_None); resultobj = Py_None; | |
4103 | return resultobj; | |
4104 | fail: | |
4105 | return NULL; | |
4106 | } | |
4107 | ||
4108 | ||
c32bde28 | 4109 | static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4110 | PyObject *resultobj; |
4111 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
4112 | wxHtmlParser *result; | |
4113 | PyObject * obj0 = 0 ; | |
4114 | char *kwnames[] = { | |
4115 | (char *) "self", NULL | |
4116 | }; | |
4117 | ||
4118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4119 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0); |
4120 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4121 | { |
4122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4123 | result = (wxHtmlParser *)(arg1)->GetParser(); | |
4124 | ||
4125 | wxPyEndAllowThreads(__tstate); | |
4126 | if (PyErr_Occurred()) SWIG_fail; | |
4127 | } | |
15afbcd0 | 4128 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0); |
d14a1e28 RD |
4129 | return resultobj; |
4130 | fail: | |
4131 | return NULL; | |
4132 | } | |
4133 | ||
4134 | ||
c32bde28 | 4135 | static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4136 | PyObject *resultobj; |
4137 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
4138 | wxHtmlTag *arg2 = 0 ; | |
4139 | PyObject * obj0 = 0 ; | |
4140 | PyObject * obj1 = 0 ; | |
4141 | char *kwnames[] = { | |
4142 | (char *) "self",(char *) "tag", NULL | |
4143 | }; | |
4144 | ||
4145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4146 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0); |
4147 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4148 | { | |
4149 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0); | |
4150 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4151 | if (arg2 == NULL) { | |
4152 | SWIG_null_ref("wxHtmlTag"); | |
4153 | } | |
4154 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
4155 | } |
4156 | { | |
4157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4158 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
4159 | ||
4160 | wxPyEndAllowThreads(__tstate); | |
4161 | if (PyErr_Occurred()) SWIG_fail; | |
4162 | } | |
4163 | Py_INCREF(Py_None); resultobj = Py_None; | |
4164 | return resultobj; | |
4165 | fail: | |
4166 | return NULL; | |
4167 | } | |
4168 | ||
4169 | ||
c32bde28 | 4170 | static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4171 | PyObject *obj; |
4172 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4173 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj); | |
4174 | Py_INCREF(obj); | |
4175 | return Py_BuildValue((char *)""); | |
4176 | } | |
c32bde28 | 4177 | static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4178 | PyObject *resultobj; |
4179 | wxPyHtmlWinTagHandler *result; | |
4180 | char *kwnames[] = { | |
4181 | NULL | |
4182 | }; | |
4183 | ||
4184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail; | |
4185 | { | |
4186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4187 | result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler(); | |
4188 | ||
4189 | wxPyEndAllowThreads(__tstate); | |
4190 | if (PyErr_Occurred()) SWIG_fail; | |
4191 | } | |
15afbcd0 | 4192 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1); |
d14a1e28 RD |
4193 | return resultobj; |
4194 | fail: | |
4195 | return NULL; | |
4196 | } | |
4197 | ||
4198 | ||
c32bde28 | 4199 | static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4200 | PyObject *resultobj; |
4201 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
4202 | PyObject *arg2 = (PyObject *) 0 ; | |
4203 | PyObject *arg3 = (PyObject *) 0 ; | |
4204 | PyObject * obj0 = 0 ; | |
4205 | PyObject * obj1 = 0 ; | |
4206 | PyObject * obj2 = 0 ; | |
4207 | char *kwnames[] = { | |
4208 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
4209 | }; | |
4210 | ||
4211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
4212 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0); |
4213 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4214 | arg2 = obj1; |
4215 | arg3 = obj2; | |
4216 | { | |
4217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4218 | (arg1)->_setCallbackInfo(arg2,arg3); | |
4219 | ||
4220 | wxPyEndAllowThreads(__tstate); | |
4221 | if (PyErr_Occurred()) SWIG_fail; | |
4222 | } | |
4223 | Py_INCREF(Py_None); resultobj = Py_None; | |
4224 | return resultobj; | |
4225 | fail: | |
4226 | return NULL; | |
4227 | } | |
4228 | ||
4229 | ||
c32bde28 | 4230 | static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4231 | PyObject *resultobj; |
4232 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
4233 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
4234 | PyObject * obj0 = 0 ; | |
4235 | PyObject * obj1 = 0 ; | |
4236 | char *kwnames[] = { | |
4237 | (char *) "self",(char *) "parser", NULL | |
4238 | }; | |
4239 | ||
4240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4241 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0); |
4242 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4243 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0); | |
4244 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
4245 | { |
4246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4247 | (arg1)->SetParser(arg2); | |
4248 | ||
4249 | wxPyEndAllowThreads(__tstate); | |
4250 | if (PyErr_Occurred()) SWIG_fail; | |
4251 | } | |
4252 | Py_INCREF(Py_None); resultobj = Py_None; | |
4253 | return resultobj; | |
4254 | fail: | |
4255 | return NULL; | |
4256 | } | |
4257 | ||
4258 | ||
c32bde28 | 4259 | static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4260 | PyObject *resultobj; |
4261 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
4262 | wxHtmlWinParser *result; | |
4263 | PyObject * obj0 = 0 ; | |
4264 | char *kwnames[] = { | |
4265 | (char *) "self", NULL | |
4266 | }; | |
4267 | ||
4268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4269 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0); |
4270 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4271 | { |
4272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4273 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
4274 | ||
4275 | wxPyEndAllowThreads(__tstate); | |
4276 | if (PyErr_Occurred()) SWIG_fail; | |
4277 | } | |
15afbcd0 | 4278 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0); |
d14a1e28 RD |
4279 | return resultobj; |
4280 | fail: | |
4281 | return NULL; | |
4282 | } | |
4283 | ||
4284 | ||
c32bde28 | 4285 | static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4286 | PyObject *resultobj; |
4287 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
4288 | wxHtmlTag *arg2 = 0 ; | |
4289 | PyObject * obj0 = 0 ; | |
4290 | PyObject * obj1 = 0 ; | |
4291 | char *kwnames[] = { | |
4292 | (char *) "self",(char *) "tag", NULL | |
4293 | }; | |
4294 | ||
4295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4296 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0); |
4297 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4298 | { | |
4299 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0); | |
4300 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4301 | if (arg2 == NULL) { | |
4302 | SWIG_null_ref("wxHtmlTag"); | |
4303 | } | |
4304 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
4305 | } |
4306 | { | |
4307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4308 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
4309 | ||
4310 | wxPyEndAllowThreads(__tstate); | |
4311 | if (PyErr_Occurred()) SWIG_fail; | |
4312 | } | |
4313 | Py_INCREF(Py_None); resultobj = Py_None; | |
4314 | return resultobj; | |
4315 | fail: | |
4316 | return NULL; | |
4317 | } | |
4318 | ||
4319 | ||
c32bde28 | 4320 | static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4321 | PyObject *obj; |
4322 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4323 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj); | |
4324 | Py_INCREF(obj); | |
4325 | return Py_BuildValue((char *)""); | |
4326 | } | |
c32bde28 | 4327 | static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4328 | PyObject *resultobj; |
4329 | PyObject *arg1 = (PyObject *) 0 ; | |
4330 | PyObject * obj0 = 0 ; | |
4331 | char *kwnames[] = { | |
4332 | (char *) "tagHandlerClass", NULL | |
4333 | }; | |
4334 | ||
4335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail; | |
4336 | arg1 = obj0; | |
4337 | { | |
4338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4339 | wxHtmlWinParser_AddTagHandler(arg1); | |
4340 | ||
4341 | wxPyEndAllowThreads(__tstate); | |
4342 | if (PyErr_Occurred()) SWIG_fail; | |
4343 | } | |
4344 | Py_INCREF(Py_None); resultobj = Py_None; | |
4345 | return resultobj; | |
4346 | fail: | |
4347 | return NULL; | |
4348 | } | |
4349 | ||
4350 | ||
c32bde28 | 4351 | static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4352 | PyObject *resultobj; |
4353 | wxHtmlSelection *result; | |
4354 | char *kwnames[] = { | |
4355 | NULL | |
4356 | }; | |
4357 | ||
4358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail; | |
4359 | { | |
4360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4361 | result = (wxHtmlSelection *)new wxHtmlSelection(); | |
4362 | ||
4363 | wxPyEndAllowThreads(__tstate); | |
4364 | if (PyErr_Occurred()) SWIG_fail; | |
4365 | } | |
15afbcd0 | 4366 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1); |
d14a1e28 RD |
4367 | return resultobj; |
4368 | fail: | |
4369 | return NULL; | |
4370 | } | |
4371 | ||
4372 | ||
c32bde28 | 4373 | static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4374 | PyObject *resultobj; |
4375 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
4376 | PyObject * obj0 = 0 ; | |
4377 | char *kwnames[] = { | |
4378 | (char *) "self", NULL | |
4379 | }; | |
4380 | ||
4381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4382 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0); |
4383 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4384 | { |
4385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4386 | delete arg1; | |
4387 | ||
4388 | wxPyEndAllowThreads(__tstate); | |
4389 | if (PyErr_Occurred()) SWIG_fail; | |
4390 | } | |
4391 | Py_INCREF(Py_None); resultobj = Py_None; | |
4392 | return resultobj; | |
4393 | fail: | |
4394 | return NULL; | |
4395 | } | |
4396 | ||
4397 | ||
c32bde28 | 4398 | static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4399 | PyObject *resultobj; |
4400 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
4401 | wxPoint *arg2 = 0 ; | |
4402 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
4403 | wxPoint *arg4 = 0 ; | |
4404 | wxHtmlCell *arg5 = (wxHtmlCell *) 0 ; | |
4405 | wxPoint temp2 ; | |
4406 | wxPoint temp4 ; | |
4407 | PyObject * obj0 = 0 ; | |
4408 | PyObject * obj1 = 0 ; | |
4409 | PyObject * obj2 = 0 ; | |
4410 | PyObject * obj3 = 0 ; | |
4411 | PyObject * obj4 = 0 ; | |
4412 | char *kwnames[] = { | |
4413 | (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL | |
4414 | }; | |
4415 | ||
4416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
093d3ff1 RD |
4417 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0); |
4418 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4419 | { |
4420 | arg2 = &temp2; | |
4421 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
4422 | } | |
093d3ff1 RD |
4423 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
4424 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
4425 | { |
4426 | arg4 = &temp4; | |
4427 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4428 | } | |
093d3ff1 RD |
4429 | SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
4430 | if (SWIG_arg_fail(5)) SWIG_fail; | |
d14a1e28 RD |
4431 | { |
4432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4433 | (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5); | |
4434 | ||
4435 | wxPyEndAllowThreads(__tstate); | |
4436 | if (PyErr_Occurred()) SWIG_fail; | |
4437 | } | |
4438 | Py_INCREF(Py_None); resultobj = Py_None; | |
4439 | return resultobj; | |
4440 | fail: | |
4441 | return NULL; | |
4442 | } | |
4443 | ||
4444 | ||
c32bde28 | 4445 | static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4446 | PyObject *resultobj; |
4447 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
4448 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
4449 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
4450 | PyObject * obj0 = 0 ; | |
4451 | PyObject * obj1 = 0 ; | |
4452 | PyObject * obj2 = 0 ; | |
4453 | char *kwnames[] = { | |
4454 | (char *) "self",(char *) "fromCell",(char *) "toCell", NULL | |
4455 | }; | |
4456 | ||
4457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
4458 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0); |
4459 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4460 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); | |
4461 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4462 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); | |
4463 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
4464 | { |
4465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4466 | (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3); | |
4467 | ||
4468 | wxPyEndAllowThreads(__tstate); | |
4469 | if (PyErr_Occurred()) SWIG_fail; | |
4470 | } | |
4471 | Py_INCREF(Py_None); resultobj = Py_None; | |
4472 | return resultobj; | |
4473 | fail: | |
4474 | return NULL; | |
4475 | } | |
4476 | ||
4477 | ||
c32bde28 | 4478 | static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4479 | PyObject *resultobj; |
4480 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
4481 | wxHtmlCell *result; | |
4482 | PyObject * obj0 = 0 ; | |
4483 | char *kwnames[] = { | |
4484 | (char *) "self", NULL | |
4485 | }; | |
4486 | ||
4487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4488 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0); |
4489 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4490 | { |
4491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4492 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell(); | |
4493 | ||
4494 | wxPyEndAllowThreads(__tstate); | |
4495 | if (PyErr_Occurred()) SWIG_fail; | |
4496 | } | |
15afbcd0 | 4497 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
4498 | return resultobj; |
4499 | fail: | |
4500 | return NULL; | |
4501 | } | |
4502 | ||
4503 | ||
c32bde28 | 4504 | static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4505 | PyObject *resultobj; |
4506 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
4507 | wxHtmlCell *result; | |
4508 | PyObject * obj0 = 0 ; | |
4509 | char *kwnames[] = { | |
4510 | (char *) "self", NULL | |
4511 | }; | |
4512 | ||
4513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4514 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0); |
4515 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4516 | { |
4517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4518 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell(); | |
4519 | ||
4520 | wxPyEndAllowThreads(__tstate); | |
4521 | if (PyErr_Occurred()) SWIG_fail; | |
4522 | } | |
15afbcd0 | 4523 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
4524 | return resultobj; |
4525 | fail: | |
4526 | return NULL; | |
4527 | } | |
4528 | ||
4529 | ||
c32bde28 | 4530 | static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4531 | PyObject *resultobj; |
4532 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
4533 | wxPoint *result; | |
4534 | PyObject * obj0 = 0 ; | |
4535 | char *kwnames[] = { | |
4536 | (char *) "self", NULL | |
4537 | }; | |
4538 | ||
4539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4540 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0); |
4541 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4542 | { |
4543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4544 | { | |
4545 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos(); | |
4546 | result = (wxPoint *) &_result_ref; | |
4547 | } | |
4548 | ||
4549 | wxPyEndAllowThreads(__tstate); | |
4550 | if (PyErr_Occurred()) SWIG_fail; | |
4551 | } | |
15afbcd0 | 4552 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); |
d14a1e28 RD |
4553 | return resultobj; |
4554 | fail: | |
4555 | return NULL; | |
4556 | } | |
4557 | ||
4558 | ||
c32bde28 | 4559 | static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4560 | PyObject *resultobj; |
4561 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
4562 | wxPoint *result; | |
4563 | PyObject * obj0 = 0 ; | |
4564 | char *kwnames[] = { | |
4565 | (char *) "self", NULL | |
4566 | }; | |
4567 | ||
4568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4569 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0); |
4570 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4571 | { |
4572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4573 | { | |
4574 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos(); | |
4575 | result = (wxPoint *) &_result_ref; | |
4576 | } | |
4577 | ||
4578 | wxPyEndAllowThreads(__tstate); | |
4579 | if (PyErr_Occurred()) SWIG_fail; | |
4580 | } | |
15afbcd0 | 4581 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); |
d14a1e28 RD |
4582 | return resultobj; |
4583 | fail: | |
4584 | return NULL; | |
4585 | } | |
4586 | ||
4587 | ||
c32bde28 | 4588 | static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4589 | PyObject *resultobj; |
4590 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
4591 | wxPoint *result; | |
4592 | PyObject * obj0 = 0 ; | |
4593 | char *kwnames[] = { | |
4594 | (char *) "self", NULL | |
4595 | }; | |
4596 | ||
4597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4598 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0); |
4599 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4600 | { |
4601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4602 | { | |
4603 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos(); | |
4604 | result = (wxPoint *) &_result_ref; | |
4605 | } | |
4606 | ||
4607 | wxPyEndAllowThreads(__tstate); | |
4608 | if (PyErr_Occurred()) SWIG_fail; | |
4609 | } | |
15afbcd0 | 4610 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); |
d14a1e28 RD |
4611 | return resultobj; |
4612 | fail: | |
4613 | return NULL; | |
4614 | } | |
4615 | ||
4616 | ||
c32bde28 | 4617 | static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4618 | PyObject *resultobj; |
4619 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
4620 | wxPoint *result; | |
4621 | PyObject * obj0 = 0 ; | |
4622 | char *kwnames[] = { | |
4623 | (char *) "self", NULL | |
4624 | }; | |
4625 | ||
4626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4627 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0); |
4628 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4629 | { |
4630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4631 | { | |
4632 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos(); | |
4633 | result = (wxPoint *) &_result_ref; | |
4634 | } | |
4635 | ||
4636 | wxPyEndAllowThreads(__tstate); | |
4637 | if (PyErr_Occurred()) SWIG_fail; | |
4638 | } | |
15afbcd0 | 4639 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); |
d14a1e28 RD |
4640 | return resultobj; |
4641 | fail: | |
4642 | return NULL; | |
4643 | } | |
4644 | ||
4645 | ||
c32bde28 | 4646 | static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4647 | PyObject *resultobj; |
4648 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
4649 | wxPoint *arg2 = 0 ; | |
4650 | wxPoint temp2 ; | |
4651 | PyObject * obj0 = 0 ; | |
4652 | PyObject * obj1 = 0 ; | |
4653 | char *kwnames[] = { | |
4654 | (char *) "self",(char *) "pos", NULL | |
4655 | }; | |
4656 | ||
4657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4658 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0); |
4659 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4660 | { |
4661 | arg2 = &temp2; | |
4662 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
4663 | } | |
4664 | { | |
4665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4666 | (arg1)->SetFromPrivPos((wxPoint const &)*arg2); | |
4667 | ||
4668 | wxPyEndAllowThreads(__tstate); | |
4669 | if (PyErr_Occurred()) SWIG_fail; | |
4670 | } | |
4671 | Py_INCREF(Py_None); resultobj = Py_None; | |
4672 | return resultobj; | |
4673 | fail: | |
4674 | return NULL; | |
4675 | } | |
4676 | ||
4677 | ||
c32bde28 | 4678 | static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4679 | PyObject *resultobj; |
4680 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
4681 | wxPoint *arg2 = 0 ; | |
4682 | wxPoint temp2 ; | |
4683 | PyObject * obj0 = 0 ; | |
4684 | PyObject * obj1 = 0 ; | |
4685 | char *kwnames[] = { | |
4686 | (char *) "self",(char *) "pos", NULL | |
4687 | }; | |
4688 | ||
4689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4690 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0); |
4691 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4692 | { |
4693 | arg2 = &temp2; | |
4694 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
4695 | } | |
4696 | { | |
4697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4698 | (arg1)->SetToPrivPos((wxPoint const &)*arg2); | |
4699 | ||
4700 | wxPyEndAllowThreads(__tstate); | |
4701 | if (PyErr_Occurred()) SWIG_fail; | |
4702 | } | |
4703 | Py_INCREF(Py_None); resultobj = Py_None; | |
4704 | return resultobj; | |
4705 | fail: | |
4706 | return NULL; | |
4707 | } | |
4708 | ||
4709 | ||
c32bde28 | 4710 | static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4711 | PyObject *resultobj; |
4712 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
4713 | PyObject * obj0 = 0 ; | |
4714 | char *kwnames[] = { | |
4715 | (char *) "self", NULL | |
4716 | }; | |
4717 | ||
4718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4719 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0); |
4720 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4721 | { |
4722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4723 | (arg1)->ClearPrivPos(); | |
4724 | ||
4725 | wxPyEndAllowThreads(__tstate); | |
4726 | if (PyErr_Occurred()) SWIG_fail; | |
4727 | } | |
4728 | Py_INCREF(Py_None); resultobj = Py_None; | |
4729 | return resultobj; | |
4730 | fail: | |
4731 | return NULL; | |
4732 | } | |
4733 | ||
4734 | ||
c32bde28 | 4735 | static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4736 | PyObject *resultobj; |
4737 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
4738 | bool result; | |
4739 | PyObject * obj0 = 0 ; | |
4740 | char *kwnames[] = { | |
4741 | (char *) "self", NULL | |
4742 | }; | |
4743 | ||
4744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4745 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0); |
4746 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4747 | { |
4748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4749 | result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty(); | |
4750 | ||
4751 | wxPyEndAllowThreads(__tstate); | |
4752 | if (PyErr_Occurred()) SWIG_fail; | |
4753 | } | |
4f89f6a3 | 4754 | { |
093d3ff1 | 4755 | resultobj = SWIG_From_bool((bool)(result)); |
4f89f6a3 | 4756 | } |
d14a1e28 RD |
4757 | return resultobj; |
4758 | fail: | |
4759 | return NULL; | |
4760 | } | |
4761 | ||
4762 | ||
c32bde28 | 4763 | static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4764 | PyObject *obj; |
4765 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4766 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj); | |
4767 | Py_INCREF(obj); | |
4768 | return Py_BuildValue((char *)""); | |
4769 | } | |
c32bde28 | 4770 | static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4771 | PyObject *resultobj; |
4772 | wxHtmlRenderingState *result; | |
4773 | char *kwnames[] = { | |
4774 | NULL | |
4775 | }; | |
4776 | ||
4777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail; | |
4778 | { | |
4779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4780 | result = (wxHtmlRenderingState *)new wxHtmlRenderingState(); | |
4781 | ||
4782 | wxPyEndAllowThreads(__tstate); | |
4783 | if (PyErr_Occurred()) SWIG_fail; | |
4784 | } | |
15afbcd0 | 4785 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1); |
d14a1e28 RD |
4786 | return resultobj; |
4787 | fail: | |
4788 | return NULL; | |
4789 | } | |
4790 | ||
4791 | ||
c32bde28 | 4792 | static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4793 | PyObject *resultobj; |
4794 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
4795 | PyObject * obj0 = 0 ; | |
4796 | char *kwnames[] = { | |
4797 | (char *) "self", NULL | |
4798 | }; | |
4799 | ||
4800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4801 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0); |
4802 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4803 | { |
4804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4805 | delete arg1; | |
4806 | ||
4807 | wxPyEndAllowThreads(__tstate); | |
4808 | if (PyErr_Occurred()) SWIG_fail; | |
4809 | } | |
4810 | Py_INCREF(Py_None); resultobj = Py_None; | |
4811 | return resultobj; | |
4812 | fail: | |
4813 | return NULL; | |
4814 | } | |
4815 | ||
4816 | ||
c32bde28 | 4817 | static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4818 | PyObject *resultobj; |
4819 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
093d3ff1 | 4820 | wxHtmlSelectionState arg2 ; |
d14a1e28 | 4821 | PyObject * obj0 = 0 ; |
994141e6 | 4822 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4823 | char *kwnames[] = { |
4824 | (char *) "self",(char *) "s", NULL | |
4825 | }; | |
4826 | ||
994141e6 | 4827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
4828 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0); |
4829 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4830 | { | |
4831 | arg2 = (wxHtmlSelectionState)(SWIG_As_int(obj1)); | |
4832 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4833 | } | |
d14a1e28 RD |
4834 | { |
4835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4836 | (arg1)->SetSelectionState((wxHtmlSelectionState )arg2); | |
4837 | ||
4838 | wxPyEndAllowThreads(__tstate); | |
4839 | if (PyErr_Occurred()) SWIG_fail; | |
4840 | } | |
4841 | Py_INCREF(Py_None); resultobj = Py_None; | |
4842 | return resultobj; | |
4843 | fail: | |
4844 | return NULL; | |
4845 | } | |
4846 | ||
4847 | ||
c32bde28 | 4848 | static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4849 | PyObject *resultobj; |
4850 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
093d3ff1 | 4851 | wxHtmlSelectionState result; |
d14a1e28 RD |
4852 | PyObject * obj0 = 0 ; |
4853 | char *kwnames[] = { | |
4854 | (char *) "self", NULL | |
4855 | }; | |
4856 | ||
4857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4858 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0); |
4859 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4860 | { |
4861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 4862 | result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState(); |
d14a1e28 RD |
4863 | |
4864 | wxPyEndAllowThreads(__tstate); | |
4865 | if (PyErr_Occurred()) SWIG_fail; | |
4866 | } | |
093d3ff1 | 4867 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
4868 | return resultobj; |
4869 | fail: | |
4870 | return NULL; | |
4871 | } | |
4872 | ||
4873 | ||
c32bde28 | 4874 | static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4875 | PyObject *resultobj; |
4876 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
4877 | wxColour *arg2 = 0 ; | |
4878 | wxColour temp2 ; | |
4879 | PyObject * obj0 = 0 ; | |
4880 | PyObject * obj1 = 0 ; | |
4881 | char *kwnames[] = { | |
4882 | (char *) "self",(char *) "c", NULL | |
4883 | }; | |
4884 | ||
4885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4886 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0); |
4887 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4888 | { |
4889 | arg2 = &temp2; | |
4890 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
4891 | } | |
4892 | { | |
4893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4894 | (arg1)->SetFgColour((wxColour const &)*arg2); | |
4895 | ||
4896 | wxPyEndAllowThreads(__tstate); | |
4897 | if (PyErr_Occurred()) SWIG_fail; | |
4898 | } | |
4899 | Py_INCREF(Py_None); resultobj = Py_None; | |
4900 | return resultobj; | |
4901 | fail: | |
4902 | return NULL; | |
4903 | } | |
4904 | ||
4905 | ||
c32bde28 | 4906 | static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4907 | PyObject *resultobj; |
4908 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
4909 | wxColour *result; | |
4910 | PyObject * obj0 = 0 ; | |
4911 | char *kwnames[] = { | |
4912 | (char *) "self", NULL | |
4913 | }; | |
4914 | ||
4915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4916 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0); |
4917 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4918 | { |
4919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4920 | { | |
4921 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour(); | |
4922 | result = (wxColour *) &_result_ref; | |
4923 | } | |
4924 | ||
4925 | wxPyEndAllowThreads(__tstate); | |
4926 | if (PyErr_Occurred()) SWIG_fail; | |
4927 | } | |
15afbcd0 | 4928 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); |
d14a1e28 RD |
4929 | return resultobj; |
4930 | fail: | |
4931 | return NULL; | |
4932 | } | |
4933 | ||
4934 | ||
c32bde28 | 4935 | static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4936 | PyObject *resultobj; |
4937 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
4938 | wxColour *arg2 = 0 ; | |
4939 | wxColour temp2 ; | |
4940 | PyObject * obj0 = 0 ; | |
4941 | PyObject * obj1 = 0 ; | |
4942 | char *kwnames[] = { | |
4943 | (char *) "self",(char *) "c", NULL | |
4944 | }; | |
4945 | ||
4946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4947 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0); |
4948 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4949 | { |
4950 | arg2 = &temp2; | |
4951 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
4952 | } | |
4953 | { | |
4954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4955 | (arg1)->SetBgColour((wxColour const &)*arg2); | |
4956 | ||
4957 | wxPyEndAllowThreads(__tstate); | |
4958 | if (PyErr_Occurred()) SWIG_fail; | |
4959 | } | |
4960 | Py_INCREF(Py_None); resultobj = Py_None; | |
4961 | return resultobj; | |
4962 | fail: | |
4963 | return NULL; | |
4964 | } | |
4965 | ||
4966 | ||
c32bde28 | 4967 | static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4968 | PyObject *resultobj; |
4969 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
4970 | wxColour *result; | |
4971 | PyObject * obj0 = 0 ; | |
4972 | char *kwnames[] = { | |
4973 | (char *) "self", NULL | |
4974 | }; | |
4975 | ||
4976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4977 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0); |
4978 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4979 | { |
4980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4981 | { | |
4982 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour(); | |
4983 | result = (wxColour *) &_result_ref; | |
4984 | } | |
4985 | ||
4986 | wxPyEndAllowThreads(__tstate); | |
4987 | if (PyErr_Occurred()) SWIG_fail; | |
4988 | } | |
15afbcd0 | 4989 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); |
d14a1e28 RD |
4990 | return resultobj; |
4991 | fail: | |
4992 | return NULL; | |
4993 | } | |
4994 | ||
4995 | ||
c32bde28 | 4996 | static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4997 | PyObject *obj; |
4998 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4999 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj); | |
5000 | Py_INCREF(obj); | |
5001 | return Py_BuildValue((char *)""); | |
5002 | } | |
c32bde28 | 5003 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5004 | PyObject *resultobj; |
5005 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
5006 | wxColour *arg2 = 0 ; | |
5007 | wxColour result; | |
5008 | wxColour temp2 ; | |
5009 | PyObject * obj0 = 0 ; | |
5010 | PyObject * obj1 = 0 ; | |
5011 | char *kwnames[] = { | |
5012 | (char *) "self",(char *) "clr", NULL | |
5013 | }; | |
5014 | ||
5015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5016 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0); |
5017 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5018 | { |
5019 | arg2 = &temp2; | |
5020 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5021 | } | |
5022 | { | |
5023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5024 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
5025 | ||
5026 | wxPyEndAllowThreads(__tstate); | |
5027 | if (PyErr_Occurred()) SWIG_fail; | |
5028 | } | |
5029 | { | |
5030 | wxColour * resultptr; | |
093d3ff1 | 5031 | resultptr = new wxColour((wxColour &)(result)); |
15afbcd0 | 5032 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
5033 | } |
5034 | return resultobj; | |
5035 | fail: | |
5036 | return NULL; | |
5037 | } | |
5038 | ||
5039 | ||
c32bde28 | 5040 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5041 | PyObject *resultobj; |
5042 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
5043 | wxColour *arg2 = 0 ; | |
5044 | wxColour result; | |
5045 | wxColour temp2 ; | |
5046 | PyObject * obj0 = 0 ; | |
5047 | PyObject * obj1 = 0 ; | |
5048 | char *kwnames[] = { | |
5049 | (char *) "self",(char *) "clr", NULL | |
5050 | }; | |
5051 | ||
5052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5053 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0); |
5054 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5055 | { |
5056 | arg2 = &temp2; | |
5057 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5058 | } | |
5059 | { | |
5060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5061 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
5062 | ||
5063 | wxPyEndAllowThreads(__tstate); | |
5064 | if (PyErr_Occurred()) SWIG_fail; | |
5065 | } | |
5066 | { | |
5067 | wxColour * resultptr; | |
093d3ff1 | 5068 | resultptr = new wxColour((wxColour &)(result)); |
15afbcd0 | 5069 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
5070 | } |
5071 | return resultobj; | |
5072 | fail: | |
5073 | return NULL; | |
5074 | } | |
5075 | ||
5076 | ||
c32bde28 | 5077 | static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5078 | PyObject *obj; |
5079 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5080 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj); | |
5081 | Py_INCREF(obj); | |
5082 | return Py_BuildValue((char *)""); | |
5083 | } | |
c32bde28 | 5084 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5085 | PyObject *resultobj; |
5086 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
5087 | wxColour *arg2 = 0 ; | |
5088 | wxColour result; | |
5089 | wxColour temp2 ; | |
5090 | PyObject * obj0 = 0 ; | |
5091 | PyObject * obj1 = 0 ; | |
5092 | char *kwnames[] = { | |
5093 | (char *) "self",(char *) "clr", NULL | |
5094 | }; | |
5095 | ||
5096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5097 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0); |
5098 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5099 | { |
5100 | arg2 = &temp2; | |
5101 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5102 | } | |
5103 | { | |
5104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5105 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
5106 | ||
5107 | wxPyEndAllowThreads(__tstate); | |
5108 | if (PyErr_Occurred()) SWIG_fail; | |
5109 | } | |
5110 | { | |
5111 | wxColour * resultptr; | |
093d3ff1 | 5112 | resultptr = new wxColour((wxColour &)(result)); |
15afbcd0 | 5113 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
5114 | } |
5115 | return resultobj; | |
5116 | fail: | |
5117 | return NULL; | |
5118 | } | |
5119 | ||
5120 | ||
c32bde28 | 5121 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5122 | PyObject *resultobj; |
5123 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
5124 | wxColour *arg2 = 0 ; | |
5125 | wxColour result; | |
5126 | wxColour temp2 ; | |
5127 | PyObject * obj0 = 0 ; | |
5128 | PyObject * obj1 = 0 ; | |
5129 | char *kwnames[] = { | |
5130 | (char *) "self",(char *) "clr", NULL | |
5131 | }; | |
5132 | ||
5133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5134 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0); |
5135 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5136 | { |
5137 | arg2 = &temp2; | |
5138 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5139 | } | |
5140 | { | |
5141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5142 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
5143 | ||
5144 | wxPyEndAllowThreads(__tstate); | |
5145 | if (PyErr_Occurred()) SWIG_fail; | |
5146 | } | |
5147 | { | |
5148 | wxColour * resultptr; | |
093d3ff1 | 5149 | resultptr = new wxColour((wxColour &)(result)); |
15afbcd0 | 5150 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
5151 | } |
5152 | return resultobj; | |
5153 | fail: | |
5154 | return NULL; | |
5155 | } | |
5156 | ||
5157 | ||
c32bde28 | 5158 | static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5159 | PyObject *obj; |
5160 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5161 | SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj); | |
5162 | Py_INCREF(obj); | |
5163 | return Py_BuildValue((char *)""); | |
5164 | } | |
c32bde28 | 5165 | static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5166 | PyObject *resultobj; |
5167 | wxHtmlRenderingInfo *result; | |
5168 | char *kwnames[] = { | |
5169 | NULL | |
5170 | }; | |
5171 | ||
5172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail; | |
5173 | { | |
5174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5175 | result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo(); | |
5176 | ||
5177 | wxPyEndAllowThreads(__tstate); | |
5178 | if (PyErr_Occurred()) SWIG_fail; | |
5179 | } | |
15afbcd0 | 5180 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1); |
d14a1e28 RD |
5181 | return resultobj; |
5182 | fail: | |
5183 | return NULL; | |
5184 | } | |
5185 | ||
5186 | ||
c32bde28 | 5187 | static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5188 | PyObject *resultobj; |
5189 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
5190 | PyObject * obj0 = 0 ; | |
5191 | char *kwnames[] = { | |
5192 | (char *) "self", NULL | |
5193 | }; | |
5194 | ||
5195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5196 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0); |
5197 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5198 | { |
5199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5200 | delete arg1; | |
5201 | ||
5202 | wxPyEndAllowThreads(__tstate); | |
5203 | if (PyErr_Occurred()) SWIG_fail; | |
5204 | } | |
5205 | Py_INCREF(Py_None); resultobj = Py_None; | |
5206 | return resultobj; | |
5207 | fail: | |
5208 | return NULL; | |
5209 | } | |
5210 | ||
5211 | ||
c32bde28 | 5212 | static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5213 | PyObject *resultobj; |
5214 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
5215 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
5216 | PyObject * obj0 = 0 ; | |
5217 | PyObject * obj1 = 0 ; | |
5218 | char *kwnames[] = { | |
5219 | (char *) "self",(char *) "s", NULL | |
5220 | }; | |
5221 | ||
5222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5223 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0); |
5224 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5225 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0); | |
5226 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
5227 | { |
5228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5229 | (arg1)->SetSelection(arg2); | |
5230 | ||
5231 | wxPyEndAllowThreads(__tstate); | |
5232 | if (PyErr_Occurred()) SWIG_fail; | |
5233 | } | |
5234 | Py_INCREF(Py_None); resultobj = Py_None; | |
5235 | return resultobj; | |
5236 | fail: | |
5237 | return NULL; | |
5238 | } | |
5239 | ||
5240 | ||
c32bde28 | 5241 | static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5242 | PyObject *resultobj; |
5243 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
5244 | wxHtmlSelection *result; | |
5245 | PyObject * obj0 = 0 ; | |
5246 | char *kwnames[] = { | |
5247 | (char *) "self", NULL | |
5248 | }; | |
5249 | ||
5250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5251 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0); |
5252 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5253 | { |
5254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5255 | result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection(); | |
5256 | ||
5257 | wxPyEndAllowThreads(__tstate); | |
5258 | if (PyErr_Occurred()) SWIG_fail; | |
5259 | } | |
15afbcd0 | 5260 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0); |
d14a1e28 RD |
5261 | return resultobj; |
5262 | fail: | |
5263 | return NULL; | |
5264 | } | |
5265 | ||
5266 | ||
c32bde28 | 5267 | static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5268 | PyObject *resultobj; |
5269 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
5270 | wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; | |
5271 | PyObject * obj0 = 0 ; | |
5272 | PyObject * obj1 = 0 ; | |
5273 | char *kwnames[] = { | |
5274 | (char *) "self",(char *) "style", NULL | |
5275 | }; | |
5276 | ||
5277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5278 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0); |
5279 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5280 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0); | |
5281 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
5282 | { |
5283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5284 | (arg1)->SetStyle(arg2); | |
5285 | ||
5286 | wxPyEndAllowThreads(__tstate); | |
5287 | if (PyErr_Occurred()) SWIG_fail; | |
5288 | } | |
5289 | Py_INCREF(Py_None); resultobj = Py_None; | |
5290 | return resultobj; | |
5291 | fail: | |
5292 | return NULL; | |
5293 | } | |
5294 | ||
5295 | ||
c32bde28 | 5296 | static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5297 | PyObject *resultobj; |
5298 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
5299 | wxHtmlRenderingStyle *result; | |
5300 | PyObject * obj0 = 0 ; | |
5301 | char *kwnames[] = { | |
5302 | (char *) "self", NULL | |
5303 | }; | |
5304 | ||
5305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5306 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0); |
5307 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5308 | { |
5309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5310 | { | |
5311 | wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle(); | |
5312 | result = (wxHtmlRenderingStyle *) &_result_ref; | |
5313 | } | |
5314 | ||
5315 | wxPyEndAllowThreads(__tstate); | |
5316 | if (PyErr_Occurred()) SWIG_fail; | |
5317 | } | |
15afbcd0 | 5318 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0); |
d14a1e28 RD |
5319 | return resultobj; |
5320 | fail: | |
5321 | return NULL; | |
5322 | } | |
5323 | ||
5324 | ||
c32bde28 | 5325 | static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5326 | PyObject *resultobj; |
5327 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
5328 | wxHtmlRenderingState *result; | |
5329 | PyObject * obj0 = 0 ; | |
5330 | char *kwnames[] = { | |
5331 | (char *) "self", NULL | |
5332 | }; | |
5333 | ||
5334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5335 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0); |
5336 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5337 | { |
5338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5339 | { | |
5340 | wxHtmlRenderingState &_result_ref = (arg1)->GetState(); | |
5341 | result = (wxHtmlRenderingState *) &_result_ref; | |
5342 | } | |
5343 | ||
5344 | wxPyEndAllowThreads(__tstate); | |
5345 | if (PyErr_Occurred()) SWIG_fail; | |
5346 | } | |
15afbcd0 | 5347 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0); |
d14a1e28 RD |
5348 | return resultobj; |
5349 | fail: | |
5350 | return NULL; | |
5351 | } | |
5352 | ||
5353 | ||
c32bde28 | 5354 | static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5355 | PyObject *obj; |
5356 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5357 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj); | |
5358 | Py_INCREF(obj); | |
5359 | return Py_BuildValue((char *)""); | |
5360 | } | |
c32bde28 | 5361 | static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5362 | PyObject *resultobj; |
5363 | wxHtmlCell *result; | |
5364 | char *kwnames[] = { | |
5365 | NULL | |
5366 | }; | |
5367 | ||
5368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail; | |
5369 | { | |
5370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5371 | result = (wxHtmlCell *)new wxHtmlCell(); | |
5372 | ||
5373 | wxPyEndAllowThreads(__tstate); | |
5374 | if (PyErr_Occurred()) SWIG_fail; | |
5375 | } | |
15afbcd0 | 5376 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1); |
d14a1e28 RD |
5377 | return resultobj; |
5378 | fail: | |
5379 | return NULL; | |
5380 | } | |
5381 | ||
5382 | ||
c32bde28 | 5383 | static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5384 | PyObject *resultobj; |
5385 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5386 | int result; | |
5387 | PyObject * obj0 = 0 ; | |
5388 | char *kwnames[] = { | |
5389 | (char *) "self", NULL | |
5390 | }; | |
5391 | ||
5392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5393 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5394 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5395 | { |
5396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5397 | result = (int)(arg1)->GetPosX(); | |
5398 | ||
5399 | wxPyEndAllowThreads(__tstate); | |
5400 | if (PyErr_Occurred()) SWIG_fail; | |
5401 | } | |
093d3ff1 RD |
5402 | { |
5403 | resultobj = SWIG_From_int((int)(result)); | |
5404 | } | |
d14a1e28 RD |
5405 | return resultobj; |
5406 | fail: | |
5407 | return NULL; | |
5408 | } | |
5409 | ||
5410 | ||
c32bde28 | 5411 | static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5412 | PyObject *resultobj; |
5413 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5414 | int result; | |
5415 | PyObject * obj0 = 0 ; | |
5416 | char *kwnames[] = { | |
5417 | (char *) "self", NULL | |
5418 | }; | |
5419 | ||
5420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5421 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5422 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5423 | { |
5424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5425 | result = (int)(arg1)->GetPosY(); | |
5426 | ||
5427 | wxPyEndAllowThreads(__tstate); | |
5428 | if (PyErr_Occurred()) SWIG_fail; | |
5429 | } | |
093d3ff1 RD |
5430 | { |
5431 | resultobj = SWIG_From_int((int)(result)); | |
5432 | } | |
d14a1e28 RD |
5433 | return resultobj; |
5434 | fail: | |
5435 | return NULL; | |
5436 | } | |
5437 | ||
5438 | ||
c32bde28 | 5439 | static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5440 | PyObject *resultobj; |
5441 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5442 | int result; | |
5443 | PyObject * obj0 = 0 ; | |
5444 | char *kwnames[] = { | |
5445 | (char *) "self", NULL | |
5446 | }; | |
5447 | ||
5448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5449 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5450 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5451 | { |
5452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5453 | result = (int)(arg1)->GetWidth(); | |
5454 | ||
5455 | wxPyEndAllowThreads(__tstate); | |
5456 | if (PyErr_Occurred()) SWIG_fail; | |
5457 | } | |
093d3ff1 RD |
5458 | { |
5459 | resultobj = SWIG_From_int((int)(result)); | |
5460 | } | |
d14a1e28 RD |
5461 | return resultobj; |
5462 | fail: | |
5463 | return NULL; | |
5464 | } | |
5465 | ||
5466 | ||
c32bde28 | 5467 | static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5468 | PyObject *resultobj; |
5469 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5470 | int result; | |
5471 | PyObject * obj0 = 0 ; | |
5472 | char *kwnames[] = { | |
5473 | (char *) "self", NULL | |
5474 | }; | |
5475 | ||
5476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5477 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5478 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5479 | { |
5480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5481 | result = (int)(arg1)->GetHeight(); | |
5482 | ||
5483 | wxPyEndAllowThreads(__tstate); | |
5484 | if (PyErr_Occurred()) SWIG_fail; | |
5485 | } | |
093d3ff1 RD |
5486 | { |
5487 | resultobj = SWIG_From_int((int)(result)); | |
5488 | } | |
d14a1e28 RD |
5489 | return resultobj; |
5490 | fail: | |
5491 | return NULL; | |
5492 | } | |
5493 | ||
5494 | ||
c32bde28 | 5495 | static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5496 | PyObject *resultobj; |
5497 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5498 | int result; | |
5499 | PyObject * obj0 = 0 ; | |
5500 | char *kwnames[] = { | |
5501 | (char *) "self", NULL | |
5502 | }; | |
5503 | ||
5504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5505 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5506 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5507 | { |
5508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5509 | result = (int)(arg1)->GetDescent(); | |
5510 | ||
5511 | wxPyEndAllowThreads(__tstate); | |
5512 | if (PyErr_Occurred()) SWIG_fail; | |
5513 | } | |
093d3ff1 RD |
5514 | { |
5515 | resultobj = SWIG_From_int((int)(result)); | |
5516 | } | |
d14a1e28 RD |
5517 | return resultobj; |
5518 | fail: | |
5519 | return NULL; | |
5520 | } | |
5521 | ||
5522 | ||
c32bde28 | 5523 | static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
4f89f6a3 RD |
5524 | PyObject *resultobj; |
5525 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5526 | int result; | |
5527 | PyObject * obj0 = 0 ; | |
5528 | char *kwnames[] = { | |
5529 | (char *) "self", NULL | |
5530 | }; | |
5531 | ||
5532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5533 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5534 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4f89f6a3 RD |
5535 | { |
5536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5537 | result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth(); | |
5538 | ||
5539 | wxPyEndAllowThreads(__tstate); | |
5540 | if (PyErr_Occurred()) SWIG_fail; | |
5541 | } | |
093d3ff1 RD |
5542 | { |
5543 | resultobj = SWIG_From_int((int)(result)); | |
5544 | } | |
4f89f6a3 RD |
5545 | return resultobj; |
5546 | fail: | |
5547 | return NULL; | |
5548 | } | |
5549 | ||
5550 | ||
c32bde28 | 5551 | static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) { |
39f61e25 RD |
5552 | PyObject *resultobj; |
5553 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5554 | wxString *result; | |
5555 | PyObject * obj0 = 0 ; | |
5556 | char *kwnames[] = { | |
5557 | (char *) "self", NULL | |
5558 | }; | |
5559 | ||
5560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5561 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5562 | if (SWIG_arg_fail(1)) SWIG_fail; | |
39f61e25 RD |
5563 | { |
5564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5565 | { | |
5566 | wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId(); | |
5567 | result = (wxString *) &_result_ref; | |
5568 | } | |
5569 | ||
5570 | wxPyEndAllowThreads(__tstate); | |
5571 | if (PyErr_Occurred()) SWIG_fail; | |
5572 | } | |
5573 | { | |
5574 | #if wxUSE_UNICODE | |
5575 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
5576 | #else | |
5577 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
5578 | #endif | |
5579 | } | |
5580 | return resultobj; | |
5581 | fail: | |
5582 | return NULL; | |
5583 | } | |
5584 | ||
5585 | ||
c32bde28 | 5586 | static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) { |
39f61e25 RD |
5587 | PyObject *resultobj; |
5588 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5589 | wxString *arg2 = 0 ; | |
ae8162c8 | 5590 | bool temp2 = false ; |
39f61e25 RD |
5591 | PyObject * obj0 = 0 ; |
5592 | PyObject * obj1 = 0 ; | |
5593 | char *kwnames[] = { | |
5594 | (char *) "self",(char *) "id", NULL | |
5595 | }; | |
5596 | ||
5597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5598 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5599 | if (SWIG_arg_fail(1)) SWIG_fail; | |
39f61e25 RD |
5600 | { |
5601 | arg2 = wxString_in_helper(obj1); | |
5602 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 5603 | temp2 = true; |
39f61e25 RD |
5604 | } |
5605 | { | |
5606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5607 | (arg1)->SetId((wxString const &)*arg2); | |
5608 | ||
5609 | wxPyEndAllowThreads(__tstate); | |
5610 | if (PyErr_Occurred()) SWIG_fail; | |
5611 | } | |
5612 | Py_INCREF(Py_None); resultobj = Py_None; | |
5613 | { | |
5614 | if (temp2) | |
5615 | delete arg2; | |
5616 | } | |
5617 | return resultobj; | |
5618 | fail: | |
5619 | { | |
5620 | if (temp2) | |
5621 | delete arg2; | |
5622 | } | |
5623 | return NULL; | |
5624 | } | |
5625 | ||
5626 | ||
c32bde28 | 5627 | static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5628 | PyObject *resultobj; |
5629 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5630 | int arg2 = (int) 0 ; | |
5631 | int arg3 = (int) 0 ; | |
5632 | wxHtmlLinkInfo *result; | |
5633 | PyObject * obj0 = 0 ; | |
994141e6 RD |
5634 | PyObject * obj1 = 0 ; |
5635 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5636 | char *kwnames[] = { |
5637 | (char *) "self",(char *) "x",(char *) "y", NULL | |
5638 | }; | |
5639 | ||
994141e6 | 5640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
5641 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5642 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 5643 | if (obj1) { |
093d3ff1 RD |
5644 | { |
5645 | arg2 = (int)(SWIG_As_int(obj1)); | |
5646 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5647 | } | |
994141e6 RD |
5648 | } |
5649 | if (obj2) { | |
093d3ff1 RD |
5650 | { |
5651 | arg3 = (int)(SWIG_As_int(obj2)); | |
5652 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5653 | } | |
994141e6 | 5654 | } |
d14a1e28 RD |
5655 | { |
5656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5657 | result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3); | |
5658 | ||
5659 | wxPyEndAllowThreads(__tstate); | |
5660 | if (PyErr_Occurred()) SWIG_fail; | |
5661 | } | |
15afbcd0 | 5662 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0); |
d14a1e28 RD |
5663 | return resultobj; |
5664 | fail: | |
5665 | return NULL; | |
5666 | } | |
5667 | ||
5668 | ||
c32bde28 | 5669 | static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5670 | PyObject *resultobj; |
5671 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5672 | wxHtmlCell *result; | |
5673 | PyObject * obj0 = 0 ; | |
5674 | char *kwnames[] = { | |
5675 | (char *) "self", NULL | |
5676 | }; | |
5677 | ||
5678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5679 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5680 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5681 | { |
5682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5683 | result = (wxHtmlCell *)(arg1)->GetNext(); | |
5684 | ||
5685 | wxPyEndAllowThreads(__tstate); | |
5686 | if (PyErr_Occurred()) SWIG_fail; | |
5687 | } | |
15afbcd0 | 5688 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
5689 | return resultobj; |
5690 | fail: | |
5691 | return NULL; | |
5692 | } | |
5693 | ||
5694 | ||
c32bde28 | 5695 | static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5696 | PyObject *resultobj; |
5697 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5698 | wxHtmlContainerCell *result; | |
5699 | PyObject * obj0 = 0 ; | |
5700 | char *kwnames[] = { | |
5701 | (char *) "self", NULL | |
5702 | }; | |
5703 | ||
5704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5705 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5706 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5707 | { |
5708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5709 | result = (wxHtmlContainerCell *)(arg1)->GetParent(); | |
5710 | ||
5711 | wxPyEndAllowThreads(__tstate); | |
5712 | if (PyErr_Occurred()) SWIG_fail; | |
5713 | } | |
15afbcd0 | 5714 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
5715 | return resultobj; |
5716 | fail: | |
5717 | return NULL; | |
5718 | } | |
5719 | ||
5720 | ||
c32bde28 | 5721 | static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5722 | PyObject *resultobj; |
5723 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5724 | wxHtmlCell *result; | |
5725 | PyObject * obj0 = 0 ; | |
5726 | char *kwnames[] = { | |
5727 | (char *) "self", NULL | |
5728 | }; | |
5729 | ||
5730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5731 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5732 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5733 | { |
5734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5735 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild(); | |
5736 | ||
5737 | wxPyEndAllowThreads(__tstate); | |
5738 | if (PyErr_Occurred()) SWIG_fail; | |
5739 | } | |
15afbcd0 | 5740 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
5741 | return resultobj; |
5742 | fail: | |
5743 | return NULL; | |
5744 | } | |
5745 | ||
5746 | ||
c32bde28 | 5747 | static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5748 | PyObject *resultobj; |
5749 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5750 | wxCursor result; | |
5751 | PyObject * obj0 = 0 ; | |
5752 | char *kwnames[] = { | |
5753 | (char *) "self", NULL | |
5754 | }; | |
5755 | ||
5756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5757 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5758 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5759 | { |
5760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5761 | result = ((wxHtmlCell const *)arg1)->GetCursor(); | |
5762 | ||
5763 | wxPyEndAllowThreads(__tstate); | |
5764 | if (PyErr_Occurred()) SWIG_fail; | |
5765 | } | |
5766 | { | |
5767 | wxCursor * resultptr; | |
093d3ff1 | 5768 | resultptr = new wxCursor((wxCursor &)(result)); |
15afbcd0 | 5769 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1); |
d14a1e28 RD |
5770 | } |
5771 | return resultobj; | |
5772 | fail: | |
5773 | return NULL; | |
5774 | } | |
5775 | ||
5776 | ||
c32bde28 | 5777 | static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5778 | PyObject *resultobj; |
5779 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5780 | bool result; | |
5781 | PyObject * obj0 = 0 ; | |
5782 | char *kwnames[] = { | |
5783 | (char *) "self", NULL | |
5784 | }; | |
5785 | ||
5786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5787 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5788 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5789 | { |
5790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5791 | result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell(); | |
5792 | ||
5793 | wxPyEndAllowThreads(__tstate); | |
5794 | if (PyErr_Occurred()) SWIG_fail; | |
5795 | } | |
4f89f6a3 RD |
5796 | { |
5797 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5798 | } | |
d14a1e28 RD |
5799 | return resultobj; |
5800 | fail: | |
5801 | return NULL; | |
5802 | } | |
5803 | ||
5804 | ||
c32bde28 | 5805 | static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5806 | PyObject *resultobj; |
5807 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5808 | wxHtmlLinkInfo *arg2 = 0 ; | |
5809 | PyObject * obj0 = 0 ; | |
5810 | PyObject * obj1 = 0 ; | |
5811 | char *kwnames[] = { | |
5812 | (char *) "self",(char *) "link", NULL | |
5813 | }; | |
5814 | ||
5815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5816 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5817 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5818 | { | |
5819 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0); | |
5820 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5821 | if (arg2 == NULL) { | |
5822 | SWIG_null_ref("wxHtmlLinkInfo"); | |
5823 | } | |
5824 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
5825 | } |
5826 | { | |
5827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5828 | (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2); | |
5829 | ||
5830 | wxPyEndAllowThreads(__tstate); | |
5831 | if (PyErr_Occurred()) SWIG_fail; | |
5832 | } | |
5833 | Py_INCREF(Py_None); resultobj = Py_None; | |
5834 | return resultobj; | |
5835 | fail: | |
5836 | return NULL; | |
5837 | } | |
5838 | ||
5839 | ||
c32bde28 | 5840 | static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5841 | PyObject *resultobj; |
5842 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5843 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
5844 | PyObject * obj0 = 0 ; | |
5845 | PyObject * obj1 = 0 ; | |
5846 | char *kwnames[] = { | |
5847 | (char *) "self",(char *) "cell", NULL | |
5848 | }; | |
5849 | ||
5850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5851 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5852 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5853 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); | |
5854 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
5855 | { |
5856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5857 | (arg1)->SetNext(arg2); | |
5858 | ||
5859 | wxPyEndAllowThreads(__tstate); | |
5860 | if (PyErr_Occurred()) SWIG_fail; | |
5861 | } | |
5862 | Py_INCREF(Py_None); resultobj = Py_None; | |
5863 | return resultobj; | |
5864 | fail: | |
5865 | return NULL; | |
5866 | } | |
5867 | ||
5868 | ||
c32bde28 | 5869 | static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5870 | PyObject *resultobj; |
5871 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5872 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
5873 | PyObject * obj0 = 0 ; | |
5874 | PyObject * obj1 = 0 ; | |
5875 | char *kwnames[] = { | |
5876 | (char *) "self",(char *) "p", NULL | |
5877 | }; | |
5878 | ||
5879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5880 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5881 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5882 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); | |
5883 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
5884 | { |
5885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5886 | (arg1)->SetParent(arg2); | |
5887 | ||
5888 | wxPyEndAllowThreads(__tstate); | |
5889 | if (PyErr_Occurred()) SWIG_fail; | |
5890 | } | |
5891 | Py_INCREF(Py_None); resultobj = Py_None; | |
5892 | return resultobj; | |
5893 | fail: | |
5894 | return NULL; | |
5895 | } | |
5896 | ||
5897 | ||
c32bde28 | 5898 | static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5899 | PyObject *resultobj; |
5900 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5901 | int arg2 ; | |
5902 | int arg3 ; | |
5903 | PyObject * obj0 = 0 ; | |
994141e6 RD |
5904 | PyObject * obj1 = 0 ; |
5905 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5906 | char *kwnames[] = { |
5907 | (char *) "self",(char *) "x",(char *) "y", NULL | |
5908 | }; | |
5909 | ||
994141e6 | 5910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
5911 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5912 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5913 | { | |
5914 | arg2 = (int)(SWIG_As_int(obj1)); | |
5915 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5916 | } | |
5917 | { | |
5918 | arg3 = (int)(SWIG_As_int(obj2)); | |
5919 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5920 | } | |
d14a1e28 RD |
5921 | { |
5922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5923 | (arg1)->SetPos(arg2,arg3); | |
5924 | ||
5925 | wxPyEndAllowThreads(__tstate); | |
5926 | if (PyErr_Occurred()) SWIG_fail; | |
5927 | } | |
5928 | Py_INCREF(Py_None); resultobj = Py_None; | |
5929 | return resultobj; | |
5930 | fail: | |
5931 | return NULL; | |
5932 | } | |
5933 | ||
5934 | ||
c32bde28 | 5935 | static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5936 | PyObject *resultobj; |
5937 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5938 | int arg2 ; | |
5939 | PyObject * obj0 = 0 ; | |
994141e6 | 5940 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5941 | char *kwnames[] = { |
5942 | (char *) "self",(char *) "w", NULL | |
5943 | }; | |
5944 | ||
994141e6 | 5945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
5946 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5947 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5948 | { | |
5949 | arg2 = (int)(SWIG_As_int(obj1)); | |
5950 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5951 | } | |
d14a1e28 RD |
5952 | { |
5953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5954 | (arg1)->Layout(arg2); | |
5955 | ||
5956 | wxPyEndAllowThreads(__tstate); | |
5957 | if (PyErr_Occurred()) SWIG_fail; | |
5958 | } | |
5959 | Py_INCREF(Py_None); resultobj = Py_None; | |
5960 | return resultobj; | |
5961 | fail: | |
5962 | return NULL; | |
5963 | } | |
5964 | ||
5965 | ||
c32bde28 | 5966 | static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5967 | PyObject *resultobj; |
5968 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5969 | wxDC *arg2 = 0 ; | |
5970 | int arg3 ; | |
5971 | int arg4 ; | |
5972 | int arg5 ; | |
5973 | int arg6 ; | |
5974 | wxHtmlRenderingInfo *arg7 = 0 ; | |
5975 | PyObject * obj0 = 0 ; | |
5976 | PyObject * obj1 = 0 ; | |
994141e6 RD |
5977 | PyObject * obj2 = 0 ; |
5978 | PyObject * obj3 = 0 ; | |
5979 | PyObject * obj4 = 0 ; | |
5980 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
5981 | PyObject * obj6 = 0 ; |
5982 | char *kwnames[] = { | |
5983 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL | |
5984 | }; | |
5985 | ||
994141e6 | 5986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
5987 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
5988 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5989 | { | |
5990 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
5991 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5992 | if (arg2 == NULL) { | |
5993 | SWIG_null_ref("wxDC"); | |
5994 | } | |
5995 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5996 | } | |
5997 | { | |
5998 | arg3 = (int)(SWIG_As_int(obj2)); | |
5999 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6000 | } | |
6001 | { | |
6002 | arg4 = (int)(SWIG_As_int(obj3)); | |
6003 | if (SWIG_arg_fail(4)) SWIG_fail; | |
6004 | } | |
6005 | { | |
6006 | arg5 = (int)(SWIG_As_int(obj4)); | |
6007 | if (SWIG_arg_fail(5)) SWIG_fail; | |
6008 | } | |
6009 | { | |
6010 | arg6 = (int)(SWIG_As_int(obj5)); | |
6011 | if (SWIG_arg_fail(6)) SWIG_fail; | |
6012 | } | |
6013 | { | |
6014 | SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0); | |
6015 | if (SWIG_arg_fail(7)) SWIG_fail; | |
6016 | if (arg7 == NULL) { | |
6017 | SWIG_null_ref("wxHtmlRenderingInfo"); | |
6018 | } | |
6019 | if (SWIG_arg_fail(7)) SWIG_fail; | |
d14a1e28 RD |
6020 | } |
6021 | { | |
6022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6023 | (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7); | |
6024 | ||
6025 | wxPyEndAllowThreads(__tstate); | |
6026 | if (PyErr_Occurred()) SWIG_fail; | |
6027 | } | |
6028 | Py_INCREF(Py_None); resultobj = Py_None; | |
6029 | return resultobj; | |
6030 | fail: | |
6031 | return NULL; | |
6032 | } | |
6033 | ||
6034 | ||
c32bde28 | 6035 | static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6036 | PyObject *resultobj; |
6037 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6038 | wxDC *arg2 = 0 ; | |
6039 | int arg3 ; | |
6040 | int arg4 ; | |
6041 | wxHtmlRenderingInfo *arg5 = 0 ; | |
6042 | PyObject * obj0 = 0 ; | |
6043 | PyObject * obj1 = 0 ; | |
994141e6 RD |
6044 | PyObject * obj2 = 0 ; |
6045 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
6046 | PyObject * obj4 = 0 ; |
6047 | char *kwnames[] = { | |
6048 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL | |
6049 | }; | |
6050 | ||
994141e6 | 6051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
6052 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
6053 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6054 | { | |
6055 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
6056 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6057 | if (arg2 == NULL) { | |
6058 | SWIG_null_ref("wxDC"); | |
6059 | } | |
6060 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6061 | } | |
6062 | { | |
6063 | arg3 = (int)(SWIG_As_int(obj2)); | |
6064 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6065 | } | |
6066 | { | |
6067 | arg4 = (int)(SWIG_As_int(obj3)); | |
6068 | if (SWIG_arg_fail(4)) SWIG_fail; | |
6069 | } | |
6070 | { | |
6071 | SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0); | |
6072 | if (SWIG_arg_fail(5)) SWIG_fail; | |
6073 | if (arg5 == NULL) { | |
6074 | SWIG_null_ref("wxHtmlRenderingInfo"); | |
6075 | } | |
6076 | if (SWIG_arg_fail(5)) SWIG_fail; | |
d14a1e28 RD |
6077 | } |
6078 | { | |
6079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6080 | (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5); | |
6081 | ||
6082 | wxPyEndAllowThreads(__tstate); | |
6083 | if (PyErr_Occurred()) SWIG_fail; | |
6084 | } | |
6085 | Py_INCREF(Py_None); resultobj = Py_None; | |
6086 | return resultobj; | |
6087 | fail: | |
6088 | return NULL; | |
6089 | } | |
6090 | ||
6091 | ||
c32bde28 | 6092 | static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6093 | PyObject *resultobj; |
6094 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6095 | int arg2 ; | |
6096 | void *arg3 = (void *) 0 ; | |
6097 | wxHtmlCell *result; | |
6098 | PyObject * obj0 = 0 ; | |
994141e6 | 6099 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6100 | PyObject * obj2 = 0 ; |
6101 | char *kwnames[] = { | |
6102 | (char *) "self",(char *) "condition",(char *) "param", NULL | |
6103 | }; | |
6104 | ||
994141e6 | 6105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
6106 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
6107 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6108 | { | |
6109 | arg2 = (int)(SWIG_As_int(obj1)); | |
6110 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6111 | } | |
6112 | { | |
6113 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) { | |
6114 | SWIG_arg_fail(3);SWIG_fail; | |
6115 | } | |
6116 | } | |
d14a1e28 RD |
6117 | { |
6118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6119 | result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3); | |
6120 | ||
6121 | wxPyEndAllowThreads(__tstate); | |
6122 | if (PyErr_Occurred()) SWIG_fail; | |
6123 | } | |
15afbcd0 | 6124 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
6125 | return resultobj; |
6126 | fail: | |
6127 | return NULL; | |
6128 | } | |
6129 | ||
6130 | ||
c32bde28 | 6131 | static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6132 | PyObject *resultobj; |
6133 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6134 | int *arg2 = (int *) 0 ; | |
6135 | bool result; | |
6136 | int temp2 ; | |
c32bde28 | 6137 | int res2 = 0 ; |
d14a1e28 RD |
6138 | PyObject * obj0 = 0 ; |
6139 | PyObject * obj1 = 0 ; | |
6140 | char *kwnames[] = { | |
6141 | (char *) "self",(char *) "INOUT", NULL | |
6142 | }; | |
6143 | ||
6144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6145 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
6146 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 6147 | { |
c32bde28 RD |
6148 | if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) { |
6149 | temp2 = SWIG_As_int(obj1); | |
093d3ff1 | 6150 | if (SWIG_arg_fail(2)) SWIG_fail; |
c32bde28 RD |
6151 | arg2 = &temp2; |
6152 | res2 = SWIG_NEWOBJ; | |
6153 | } | |
d14a1e28 RD |
6154 | } |
6155 | { | |
6156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6157 | result = (bool)(arg1)->AdjustPagebreak(arg2); | |
6158 | ||
6159 | wxPyEndAllowThreads(__tstate); | |
6160 | if (PyErr_Occurred()) SWIG_fail; | |
6161 | } | |
4f89f6a3 RD |
6162 | { |
6163 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6164 | } | |
c32bde28 RD |
6165 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
6166 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
6167 | return resultobj; |
6168 | fail: | |
6169 | return NULL; | |
6170 | } | |
6171 | ||
6172 | ||
c32bde28 | 6173 | static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6174 | PyObject *resultobj; |
6175 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6176 | bool arg2 ; | |
6177 | PyObject * obj0 = 0 ; | |
6178 | PyObject * obj1 = 0 ; | |
6179 | char *kwnames[] = { | |
6180 | (char *) "self",(char *) "can", NULL | |
6181 | }; | |
6182 | ||
6183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6184 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
6185 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6186 | { | |
6187 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
6188 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6189 | } | |
d14a1e28 RD |
6190 | { |
6191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6192 | (arg1)->SetCanLiveOnPagebreak(arg2); | |
6193 | ||
6194 | wxPyEndAllowThreads(__tstate); | |
6195 | if (PyErr_Occurred()) SWIG_fail; | |
6196 | } | |
6197 | Py_INCREF(Py_None); resultobj = Py_None; | |
6198 | return resultobj; | |
6199 | fail: | |
6200 | return NULL; | |
6201 | } | |
6202 | ||
6203 | ||
c32bde28 | 6204 | static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6205 | PyObject *resultobj; |
6206 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6207 | bool result; | |
6208 | PyObject * obj0 = 0 ; | |
6209 | char *kwnames[] = { | |
6210 | (char *) "self", NULL | |
6211 | }; | |
6212 | ||
6213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6214 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
6215 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6216 | { |
6217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6218 | result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed(); | |
6219 | ||
6220 | wxPyEndAllowThreads(__tstate); | |
6221 | if (PyErr_Occurred()) SWIG_fail; | |
6222 | } | |
4f89f6a3 RD |
6223 | { |
6224 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6225 | } | |
d14a1e28 RD |
6226 | return resultobj; |
6227 | fail: | |
6228 | return NULL; | |
6229 | } | |
6230 | ||
6231 | ||
c32bde28 | 6232 | static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6233 | PyObject *resultobj; |
6234 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6235 | bool result; | |
6236 | PyObject * obj0 = 0 ; | |
6237 | char *kwnames[] = { | |
6238 | (char *) "self", NULL | |
6239 | }; | |
6240 | ||
6241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6242 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
6243 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6244 | { |
6245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6246 | result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell(); | |
6247 | ||
6248 | wxPyEndAllowThreads(__tstate); | |
6249 | if (PyErr_Occurred()) SWIG_fail; | |
6250 | } | |
4f89f6a3 RD |
6251 | { |
6252 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6253 | } | |
d14a1e28 RD |
6254 | return resultobj; |
6255 | fail: | |
6256 | return NULL; | |
6257 | } | |
6258 | ||
6259 | ||
c32bde28 | 6260 | static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6261 | PyObject *resultobj; |
6262 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
e811c8ce RD |
6263 | int arg2 ; |
6264 | int arg3 ; | |
d14a1e28 RD |
6265 | unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; |
6266 | wxHtmlCell *result; | |
6267 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6268 | PyObject * obj1 = 0 ; |
6269 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
6270 | PyObject * obj3 = 0 ; |
6271 | char *kwnames[] = { | |
6272 | (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL | |
6273 | }; | |
6274 | ||
994141e6 | 6275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
6276 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
6277 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6278 | { | |
6279 | arg2 = (int)(SWIG_As_int(obj1)); | |
6280 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6281 | } | |
6282 | { | |
6283 | arg3 = (int)(SWIG_As_int(obj2)); | |
6284 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6285 | } | |
d14a1e28 | 6286 | if (obj3) { |
093d3ff1 RD |
6287 | { |
6288 | arg4 = (unsigned int)(SWIG_As_unsigned_SS_int(obj3)); | |
6289 | if (SWIG_arg_fail(4)) SWIG_fail; | |
6290 | } | |
d14a1e28 RD |
6291 | } |
6292 | { | |
6293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6294 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4); | |
6295 | ||
6296 | wxPyEndAllowThreads(__tstate); | |
6297 | if (PyErr_Occurred()) SWIG_fail; | |
6298 | } | |
15afbcd0 | 6299 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
6300 | return resultobj; |
6301 | fail: | |
6302 | return NULL; | |
6303 | } | |
6304 | ||
6305 | ||
c32bde28 | 6306 | static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6307 | PyObject *resultobj; |
6308 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6309 | wxPoint result; | |
6310 | PyObject * obj0 = 0 ; | |
6311 | char *kwnames[] = { | |
6312 | (char *) "self", NULL | |
6313 | }; | |
6314 | ||
6315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6316 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
6317 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6318 | { |
6319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6320 | result = ((wxHtmlCell const *)arg1)->GetAbsPos(); | |
6321 | ||
6322 | wxPyEndAllowThreads(__tstate); | |
6323 | if (PyErr_Occurred()) SWIG_fail; | |
6324 | } | |
6325 | { | |
6326 | wxPoint * resultptr; | |
093d3ff1 | 6327 | resultptr = new wxPoint((wxPoint &)(result)); |
15afbcd0 | 6328 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
6329 | } |
6330 | return resultobj; | |
6331 | fail: | |
6332 | return NULL; | |
6333 | } | |
6334 | ||
6335 | ||
c32bde28 | 6336 | static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6337 | PyObject *resultobj; |
6338 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6339 | wxHtmlCell *result; | |
6340 | PyObject * obj0 = 0 ; | |
6341 | char *kwnames[] = { | |
6342 | (char *) "self", NULL | |
6343 | }; | |
6344 | ||
6345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6346 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
6347 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6348 | { |
6349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6350 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal(); | |
6351 | ||
6352 | wxPyEndAllowThreads(__tstate); | |
6353 | if (PyErr_Occurred()) SWIG_fail; | |
6354 | } | |
15afbcd0 | 6355 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
6356 | return resultobj; |
6357 | fail: | |
6358 | return NULL; | |
6359 | } | |
6360 | ||
6361 | ||
c32bde28 | 6362 | static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6363 | PyObject *resultobj; |
6364 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6365 | wxHtmlCell *result; | |
6366 | PyObject * obj0 = 0 ; | |
6367 | char *kwnames[] = { | |
6368 | (char *) "self", NULL | |
6369 | }; | |
6370 | ||
6371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6372 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
6373 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6374 | { |
6375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6376 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal(); | |
6377 | ||
6378 | wxPyEndAllowThreads(__tstate); | |
6379 | if (PyErr_Occurred()) SWIG_fail; | |
6380 | } | |
15afbcd0 | 6381 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
6382 | return resultobj; |
6383 | fail: | |
6384 | return NULL; | |
6385 | } | |
6386 | ||
6387 | ||
c32bde28 | 6388 | static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6389 | PyObject *resultobj; |
6390 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6391 | unsigned int result; | |
6392 | PyObject * obj0 = 0 ; | |
6393 | char *kwnames[] = { | |
6394 | (char *) "self", NULL | |
6395 | }; | |
6396 | ||
6397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6398 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
6399 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6400 | { |
6401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6402 | result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth(); | |
6403 | ||
6404 | wxPyEndAllowThreads(__tstate); | |
6405 | if (PyErr_Occurred()) SWIG_fail; | |
6406 | } | |
093d3ff1 RD |
6407 | { |
6408 | resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); | |
6409 | } | |
d14a1e28 RD |
6410 | return resultobj; |
6411 | fail: | |
6412 | return NULL; | |
6413 | } | |
6414 | ||
6415 | ||
c32bde28 | 6416 | static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6417 | PyObject *resultobj; |
6418 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6419 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
6420 | bool result; | |
6421 | PyObject * obj0 = 0 ; | |
6422 | PyObject * obj1 = 0 ; | |
6423 | char *kwnames[] = { | |
6424 | (char *) "self",(char *) "cell", NULL | |
6425 | }; | |
6426 | ||
6427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6428 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
6429 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6430 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); | |
6431 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
6432 | { |
6433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6434 | result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2); | |
6435 | ||
6436 | wxPyEndAllowThreads(__tstate); | |
6437 | if (PyErr_Occurred()) SWIG_fail; | |
6438 | } | |
4f89f6a3 RD |
6439 | { |
6440 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6441 | } | |
d14a1e28 RD |
6442 | return resultobj; |
6443 | fail: | |
6444 | return NULL; | |
6445 | } | |
6446 | ||
6447 | ||
c32bde28 | 6448 | static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6449 | PyObject *resultobj; |
6450 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6451 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
6452 | wxString result; | |
6453 | PyObject * obj0 = 0 ; | |
6454 | PyObject * obj1 = 0 ; | |
6455 | char *kwnames[] = { | |
6456 | (char *) "self",(char *) "sel", NULL | |
6457 | }; | |
6458 | ||
6459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6460 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); |
6461 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6462 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0); | |
6463 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
6464 | { |
6465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6466 | result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2); | |
6467 | ||
6468 | wxPyEndAllowThreads(__tstate); | |
6469 | if (PyErr_Occurred()) SWIG_fail; | |
6470 | } | |
6471 | { | |
6472 | #if wxUSE_UNICODE | |
6473 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6474 | #else | |
6475 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6476 | #endif | |
6477 | } | |
6478 | return resultobj; | |
6479 | fail: | |
6480 | return NULL; | |
6481 | } | |
6482 | ||
6483 | ||
c32bde28 | 6484 | static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
6485 | PyObject *obj; |
6486 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6487 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj); | |
6488 | Py_INCREF(obj); | |
6489 | return Py_BuildValue((char *)""); | |
6490 | } | |
c32bde28 | 6491 | static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6492 | PyObject *resultobj; |
6493 | wxString *arg1 = 0 ; | |
6494 | wxDC *arg2 = 0 ; | |
6495 | wxHtmlWordCell *result; | |
ae8162c8 | 6496 | bool temp1 = false ; |
d14a1e28 RD |
6497 | PyObject * obj0 = 0 ; |
6498 | PyObject * obj1 = 0 ; | |
6499 | char *kwnames[] = { | |
6500 | (char *) "word",(char *) "dc", NULL | |
6501 | }; | |
6502 | ||
6503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail; | |
6504 | { | |
6505 | arg1 = wxString_in_helper(obj0); | |
6506 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 6507 | temp1 = true; |
d14a1e28 | 6508 | } |
093d3ff1 RD |
6509 | { |
6510 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
6511 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6512 | if (arg2 == NULL) { | |
6513 | SWIG_null_ref("wxDC"); | |
6514 | } | |
6515 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
6516 | } |
6517 | { | |
6518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6519 | result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2); | |
6520 | ||
6521 | wxPyEndAllowThreads(__tstate); | |
6522 | if (PyErr_Occurred()) SWIG_fail; | |
6523 | } | |
15afbcd0 | 6524 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1); |
d14a1e28 RD |
6525 | { |
6526 | if (temp1) | |
6527 | delete arg1; | |
6528 | } | |
6529 | return resultobj; | |
6530 | fail: | |
6531 | { | |
6532 | if (temp1) | |
6533 | delete arg1; | |
6534 | } | |
6535 | return NULL; | |
6536 | } | |
6537 | ||
6538 | ||
c32bde28 | 6539 | static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
6540 | PyObject *obj; |
6541 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6542 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj); | |
6543 | Py_INCREF(obj); | |
6544 | return Py_BuildValue((char *)""); | |
6545 | } | |
c32bde28 | 6546 | static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6547 | PyObject *resultobj; |
6548 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
6549 | wxHtmlContainerCell *result; | |
6550 | PyObject * obj0 = 0 ; | |
6551 | char *kwnames[] = { | |
6552 | (char *) "parent", NULL | |
6553 | }; | |
6554 | ||
6555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6556 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); |
6557 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6558 | { |
6559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6560 | result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1); | |
6561 | ||
6562 | wxPyEndAllowThreads(__tstate); | |
6563 | if (PyErr_Occurred()) SWIG_fail; | |
6564 | } | |
15afbcd0 | 6565 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1); |
d14a1e28 RD |
6566 | return resultobj; |
6567 | fail: | |
6568 | return NULL; | |
6569 | } | |
6570 | ||
6571 | ||
c32bde28 | 6572 | static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6573 | PyObject *resultobj; |
6574 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
6575 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
6576 | PyObject * obj0 = 0 ; | |
6577 | PyObject * obj1 = 0 ; | |
6578 | char *kwnames[] = { | |
6579 | (char *) "self",(char *) "cell", NULL | |
6580 | }; | |
6581 | ||
6582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6583 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); |
6584 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6585 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); | |
6586 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
6587 | { |
6588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6589 | (arg1)->InsertCell(arg2); | |
6590 | ||
6591 | wxPyEndAllowThreads(__tstate); | |
6592 | if (PyErr_Occurred()) SWIG_fail; | |
6593 | } | |
6594 | Py_INCREF(Py_None); resultobj = Py_None; | |
6595 | return resultobj; | |
6596 | fail: | |
6597 | return NULL; | |
6598 | } | |
6599 | ||
6600 | ||
c32bde28 | 6601 | static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6602 | PyObject *resultobj; |
6603 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
6604 | int arg2 ; | |
6605 | PyObject * obj0 = 0 ; | |
994141e6 | 6606 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6607 | char *kwnames[] = { |
6608 | (char *) "self",(char *) "al", NULL | |
6609 | }; | |
6610 | ||
994141e6 | 6611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
6612 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); |
6613 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6614 | { | |
6615 | arg2 = (int)(SWIG_As_int(obj1)); | |
6616 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6617 | } | |
d14a1e28 RD |
6618 | { |
6619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6620 | (arg1)->SetAlignHor(arg2); | |
6621 | ||
6622 | wxPyEndAllowThreads(__tstate); | |
6623 | if (PyErr_Occurred()) SWIG_fail; | |
6624 | } | |
6625 | Py_INCREF(Py_None); resultobj = Py_None; | |
6626 | return resultobj; | |
6627 | fail: | |
6628 | return NULL; | |
6629 | } | |
6630 | ||
6631 | ||
c32bde28 | 6632 | static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6633 | PyObject *resultobj; |
6634 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
6635 | int result; | |
6636 | PyObject * obj0 = 0 ; | |
6637 | char *kwnames[] = { | |
6638 | (char *) "self", NULL | |
6639 | }; | |
6640 | ||
6641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6642 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); |
6643 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6644 | { |
6645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6646 | result = (int)(arg1)->GetAlignHor(); | |
6647 | ||
6648 | wxPyEndAllowThreads(__tstate); | |
6649 | if (PyErr_Occurred()) SWIG_fail; | |
6650 | } | |
093d3ff1 RD |
6651 | { |
6652 | resultobj = SWIG_From_int((int)(result)); | |
6653 | } | |
d14a1e28 RD |
6654 | return resultobj; |
6655 | fail: | |
6656 | return NULL; | |
6657 | } | |
6658 | ||
6659 | ||
c32bde28 | 6660 | static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6661 | PyObject *resultobj; |
6662 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
6663 | int arg2 ; | |
6664 | PyObject * obj0 = 0 ; | |
994141e6 | 6665 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6666 | char *kwnames[] = { |
6667 | (char *) "self",(char *) "al", NULL | |
6668 | }; | |
6669 | ||
994141e6 | 6670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
6671 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); |
6672 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6673 | { | |
6674 | arg2 = (int)(SWIG_As_int(obj1)); | |
6675 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6676 | } | |
d14a1e28 RD |
6677 | { |
6678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6679 | (arg1)->SetAlignVer(arg2); | |
6680 | ||
6681 | wxPyEndAllowThreads(__tstate); | |
6682 | if (PyErr_Occurred()) SWIG_fail; | |
6683 | } | |
6684 | Py_INCREF(Py_None); resultobj = Py_None; | |
6685 | return resultobj; | |
6686 | fail: | |
6687 | return NULL; | |
6688 | } | |
6689 | ||
6690 | ||
c32bde28 | 6691 | static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6692 | PyObject *resultobj; |
6693 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
6694 | int result; | |
6695 | PyObject * obj0 = 0 ; | |
6696 | char *kwnames[] = { | |
6697 | (char *) "self", NULL | |
6698 | }; | |
6699 | ||
6700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6701 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); |
6702 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6703 | { |
6704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6705 | result = (int)(arg1)->GetAlignVer(); | |
6706 | ||
6707 | wxPyEndAllowThreads(__tstate); | |
6708 | if (PyErr_Occurred()) SWIG_fail; | |
6709 | } | |
093d3ff1 RD |
6710 | { |
6711 | resultobj = SWIG_From_int((int)(result)); | |
6712 | } | |
d14a1e28 RD |
6713 | return resultobj; |
6714 | fail: | |
6715 | return NULL; | |
6716 | } | |
6717 | ||
6718 | ||
c32bde28 | 6719 | static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6720 | PyObject *resultobj; |
6721 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
6722 | int arg2 ; | |
6723 | int arg3 ; | |
6724 | int arg4 = (int) wxHTML_UNITS_PIXELS ; | |
6725 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6726 | PyObject * obj1 = 0 ; |
6727 | PyObject * obj2 = 0 ; | |
6728 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
6729 | char *kwnames[] = { |
6730 | (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL | |
6731 | }; | |
6732 | ||
994141e6 | 6733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
6734 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); |
6735 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6736 | { | |
6737 | arg2 = (int)(SWIG_As_int(obj1)); | |
6738 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6739 | } | |
6740 | { | |
6741 | arg3 = (int)(SWIG_As_int(obj2)); | |
6742 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6743 | } | |
994141e6 | 6744 | if (obj3) { |
093d3ff1 RD |
6745 | { |
6746 | arg4 = (int)(SWIG_As_int(obj3)); | |
6747 | if (SWIG_arg_fail(4)) SWIG_fail; | |
6748 | } | |
994141e6 | 6749 | } |
d14a1e28 RD |
6750 | { |
6751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6752 | (arg1)->SetIndent(arg2,arg3,arg4); | |
6753 | ||
6754 | wxPyEndAllowThreads(__tstate); | |
6755 | if (PyErr_Occurred()) SWIG_fail; | |
6756 | } | |
6757 | Py_INCREF(Py_None); resultobj = Py_None; | |
6758 | return resultobj; | |
6759 | fail: | |
6760 | return NULL; | |
6761 | } | |
6762 | ||
6763 | ||
c32bde28 | 6764 | static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6765 | PyObject *resultobj; |
6766 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
6767 | int arg2 ; | |
6768 | int result; | |
6769 | PyObject * obj0 = 0 ; | |
994141e6 | 6770 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6771 | char *kwnames[] = { |
6772 | (char *) "self",(char *) "ind", NULL | |
6773 | }; | |
6774 | ||
994141e6 | 6775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
6776 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); |
6777 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6778 | { | |
6779 | arg2 = (int)(SWIG_As_int(obj1)); | |
6780 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6781 | } | |
d14a1e28 RD |
6782 | { |
6783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6784 | result = (int)(arg1)->GetIndent(arg2); | |
6785 | ||
6786 | wxPyEndAllowThreads(__tstate); | |
6787 | if (PyErr_Occurred()) SWIG_fail; | |
6788 | } | |
093d3ff1 RD |
6789 | { |
6790 | resultobj = SWIG_From_int((int)(result)); | |
6791 | } | |
d14a1e28 RD |
6792 | return resultobj; |
6793 | fail: | |
6794 | return NULL; | |
6795 | } | |
6796 | ||
6797 | ||
c32bde28 | 6798 | static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6799 | PyObject *resultobj; |
6800 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
6801 | int arg2 ; | |
6802 | int result; | |
6803 | PyObject * obj0 = 0 ; | |
994141e6 | 6804 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6805 | char *kwnames[] = { |
6806 | (char *) "self",(char *) "ind", NULL | |
6807 | }; | |
6808 | ||
994141e6 | 6809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
6810 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); |
6811 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6812 | { | |
6813 | arg2 = (int)(SWIG_As_int(obj1)); | |
6814 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6815 | } | |
d14a1e28 RD |
6816 | { |
6817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6818 | result = (int)(arg1)->GetIndentUnits(arg2); | |
6819 | ||
6820 | wxPyEndAllowThreads(__tstate); | |
6821 | if (PyErr_Occurred()) SWIG_fail; | |
6822 | } | |
093d3ff1 RD |
6823 | { |
6824 | resultobj = SWIG_From_int((int)(result)); | |
6825 | } | |
d14a1e28 RD |
6826 | return resultobj; |
6827 | fail: | |
6828 | return NULL; | |
6829 | } | |
6830 | ||
6831 | ||
c32bde28 | 6832 | static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6833 | PyObject *resultobj; |
6834 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
6835 | wxHtmlTag *arg2 = 0 ; | |
6836 | PyObject * obj0 = 0 ; | |
6837 | PyObject * obj1 = 0 ; | |
6838 | char *kwnames[] = { | |
6839 | (char *) "self",(char *) "tag", NULL | |
6840 | }; | |
6841 | ||
6842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6843 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); |
6844 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6845 | { | |
6846 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0); | |
6847 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6848 | if (arg2 == NULL) { | |
6849 | SWIG_null_ref("wxHtmlTag"); | |
6850 | } | |
6851 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
6852 | } |
6853 | { | |
6854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6855 | (arg1)->SetAlign((wxHtmlTag const &)*arg2); | |
6856 | ||
6857 | wxPyEndAllowThreads(__tstate); | |
6858 | if (PyErr_Occurred()) SWIG_fail; | |
6859 | } | |
6860 | Py_INCREF(Py_None); resultobj = Py_None; | |
6861 | return resultobj; | |
6862 | fail: | |
6863 | return NULL; | |
6864 | } | |
6865 | ||
6866 | ||
c32bde28 | 6867 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6868 | PyObject *resultobj; |
6869 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
6870 | int arg2 ; | |
6871 | int arg3 ; | |
6872 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6873 | PyObject * obj1 = 0 ; |
6874 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
6875 | char *kwnames[] = { |
6876 | (char *) "self",(char *) "w",(char *) "units", NULL | |
6877 | }; | |
6878 | ||
994141e6 | 6879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
6880 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); |
6881 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6882 | { | |
6883 | arg2 = (int)(SWIG_As_int(obj1)); | |
6884 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6885 | } | |
6886 | { | |
6887 | arg3 = (int)(SWIG_As_int(obj2)); | |
6888 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6889 | } | |
d14a1e28 RD |
6890 | { |
6891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6892 | (arg1)->SetWidthFloat(arg2,arg3); | |
6893 | ||
6894 | wxPyEndAllowThreads(__tstate); | |
6895 | if (PyErr_Occurred()) SWIG_fail; | |
6896 | } | |
6897 | Py_INCREF(Py_None); resultobj = Py_None; | |
6898 | return resultobj; | |
6899 | fail: | |
6900 | return NULL; | |
6901 | } | |
6902 | ||
6903 | ||
c32bde28 | 6904 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6905 | PyObject *resultobj; |
6906 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
6907 | wxHtmlTag *arg2 = 0 ; | |
6908 | PyObject * obj0 = 0 ; | |
6909 | PyObject * obj1 = 0 ; | |
6910 | char *kwnames[] = { | |
6911 | (char *) "self",(char *) "tag", NULL | |
6912 | }; | |
6913 | ||
6914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6915 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); |
6916 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6917 | { | |
6918 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0); | |
6919 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6920 | if (arg2 == NULL) { | |
6921 | SWIG_null_ref("wxHtmlTag"); | |
6922 | } | |
6923 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
6924 | } |
6925 | { | |
6926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6927 | (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2); | |
6928 | ||
6929 | wxPyEndAllowThreads(__tstate); | |
6930 | if (PyErr_Occurred()) SWIG_fail; | |
6931 | } | |
6932 | Py_INCREF(Py_None); resultobj = Py_None; | |
6933 | return resultobj; | |
6934 | fail: | |
6935 | return NULL; | |
6936 | } | |
6937 | ||
6938 | ||
c32bde28 | 6939 | static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6940 | PyObject *resultobj; |
6941 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
6942 | int arg2 ; | |
6943 | int arg3 = (int) wxHTML_ALIGN_TOP ; | |
6944 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6945 | PyObject * obj1 = 0 ; |
6946 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
6947 | char *kwnames[] = { |
6948 | (char *) "self",(char *) "h",(char *) "align", NULL | |
6949 | }; | |
6950 | ||
994141e6 | 6951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
6952 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); |
6953 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6954 | { | |
6955 | arg2 = (int)(SWIG_As_int(obj1)); | |
6956 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6957 | } | |
994141e6 | 6958 | if (obj2) { |
093d3ff1 RD |
6959 | { |
6960 | arg3 = (int)(SWIG_As_int(obj2)); | |
6961 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6962 | } | |
994141e6 | 6963 | } |
d14a1e28 RD |
6964 | { |
6965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6966 | (arg1)->SetMinHeight(arg2,arg3); | |
6967 | ||
6968 | wxPyEndAllowThreads(__tstate); | |
6969 | if (PyErr_Occurred()) SWIG_fail; | |
6970 | } | |
6971 | Py_INCREF(Py_None); resultobj = Py_None; | |
6972 | return resultobj; | |
6973 | fail: | |
6974 | return NULL; | |
6975 | } | |
6976 | ||
6977 | ||
c32bde28 | 6978 | static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6979 | PyObject *resultobj; |
6980 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
6981 | wxColour *arg2 = 0 ; | |
6982 | wxColour temp2 ; | |
6983 | PyObject * obj0 = 0 ; | |
6984 | PyObject * obj1 = 0 ; | |
6985 | char *kwnames[] = { | |
6986 | (char *) "self",(char *) "clr", NULL | |
6987 | }; | |
6988 | ||
6989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6990 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); |
6991 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6992 | { |
6993 | arg2 = &temp2; | |
6994 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6995 | } | |
6996 | { | |
6997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6998 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); | |
6999 | ||
7000 | wxPyEndAllowThreads(__tstate); | |
7001 | if (PyErr_Occurred()) SWIG_fail; | |
7002 | } | |
7003 | Py_INCREF(Py_None); resultobj = Py_None; | |
7004 | return resultobj; | |
7005 | fail: | |
7006 | return NULL; | |
7007 | } | |
7008 | ||
7009 | ||
c32bde28 | 7010 | static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7011 | PyObject *resultobj; |
7012 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
7013 | wxColour result; | |
7014 | PyObject * obj0 = 0 ; | |
7015 | char *kwnames[] = { | |
7016 | (char *) "self", NULL | |
7017 | }; | |
7018 | ||
7019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7020 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); |
7021 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7022 | { |
7023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7024 | result = (arg1)->GetBackgroundColour(); | |
7025 | ||
7026 | wxPyEndAllowThreads(__tstate); | |
7027 | if (PyErr_Occurred()) SWIG_fail; | |
7028 | } | |
7029 | { | |
7030 | wxColour * resultptr; | |
093d3ff1 | 7031 | resultptr = new wxColour((wxColour &)(result)); |
15afbcd0 | 7032 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
7033 | } |
7034 | return resultobj; | |
7035 | fail: | |
7036 | return NULL; | |
7037 | } | |
7038 | ||
7039 | ||
c32bde28 | 7040 | static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7041 | PyObject *resultobj; |
7042 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
7043 | wxColour *arg2 = 0 ; | |
7044 | wxColour *arg3 = 0 ; | |
7045 | wxColour temp2 ; | |
7046 | wxColour temp3 ; | |
7047 | PyObject * obj0 = 0 ; | |
7048 | PyObject * obj1 = 0 ; | |
7049 | PyObject * obj2 = 0 ; | |
7050 | char *kwnames[] = { | |
7051 | (char *) "self",(char *) "clr1",(char *) "clr2", NULL | |
7052 | }; | |
7053 | ||
7054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
7055 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); |
7056 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7057 | { |
7058 | arg2 = &temp2; | |
7059 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
7060 | } | |
7061 | { | |
7062 | arg3 = &temp3; | |
7063 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
7064 | } | |
7065 | { | |
7066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7067 | (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3); | |
7068 | ||
7069 | wxPyEndAllowThreads(__tstate); | |
7070 | if (PyErr_Occurred()) SWIG_fail; | |
7071 | } | |
7072 | Py_INCREF(Py_None); resultobj = Py_None; | |
7073 | return resultobj; | |
7074 | fail: | |
7075 | return NULL; | |
7076 | } | |
7077 | ||
7078 | ||
c32bde28 | 7079 | static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7080 | PyObject *resultobj; |
7081 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
7082 | wxHtmlCell *result; | |
7083 | PyObject * obj0 = 0 ; | |
7084 | char *kwnames[] = { | |
7085 | (char *) "self", NULL | |
7086 | }; | |
7087 | ||
7088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7089 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); |
7090 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7091 | { |
7092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7093 | result = (wxHtmlCell *)(arg1)->GetFirstChild(); | |
7094 | ||
7095 | wxPyEndAllowThreads(__tstate); | |
7096 | if (PyErr_Occurred()) SWIG_fail; | |
7097 | } | |
15afbcd0 | 7098 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
7099 | return resultobj; |
7100 | fail: | |
7101 | return NULL; | |
7102 | } | |
7103 | ||
7104 | ||
c32bde28 | 7105 | static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7106 | PyObject *obj; |
7107 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7108 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj); | |
7109 | Py_INCREF(obj); | |
7110 | return Py_BuildValue((char *)""); | |
7111 | } | |
c32bde28 | 7112 | static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 7113 | PyObject *resultobj; |
51b83b37 | 7114 | wxColour *arg1 = 0 ; |
d14a1e28 RD |
7115 | int arg2 = (int) wxHTML_CLR_FOREGROUND ; |
7116 | wxHtmlColourCell *result; | |
51b83b37 | 7117 | wxColour temp1 ; |
d14a1e28 | 7118 | PyObject * obj0 = 0 ; |
994141e6 | 7119 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7120 | char *kwnames[] = { |
7121 | (char *) "clr",(char *) "flags", NULL | |
7122 | }; | |
7123 | ||
994141e6 | 7124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 | 7125 | { |
51b83b37 RD |
7126 | arg1 = &temp1; |
7127 | if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail; | |
093d3ff1 | 7128 | } |
994141e6 | 7129 | if (obj1) { |
093d3ff1 RD |
7130 | { |
7131 | arg2 = (int)(SWIG_As_int(obj1)); | |
7132 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7133 | } | |
994141e6 | 7134 | } |
d14a1e28 RD |
7135 | { |
7136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
51b83b37 | 7137 | result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2); |
d14a1e28 RD |
7138 | |
7139 | wxPyEndAllowThreads(__tstate); | |
7140 | if (PyErr_Occurred()) SWIG_fail; | |
7141 | } | |
15afbcd0 | 7142 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1); |
d14a1e28 RD |
7143 | return resultobj; |
7144 | fail: | |
7145 | return NULL; | |
7146 | } | |
7147 | ||
7148 | ||
c32bde28 | 7149 | static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7150 | PyObject *obj; |
7151 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7152 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj); | |
7153 | Py_INCREF(obj); | |
7154 | return Py_BuildValue((char *)""); | |
7155 | } | |
c32bde28 | 7156 | static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7157 | PyObject *resultobj; |
7158 | wxFont *arg1 = (wxFont *) 0 ; | |
7159 | wxHtmlFontCell *result; | |
7160 | PyObject * obj0 = 0 ; | |
7161 | char *kwnames[] = { | |
7162 | (char *) "font", NULL | |
7163 | }; | |
7164 | ||
7165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7166 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); |
7167 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7168 | { |
7169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7170 | result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1); | |
7171 | ||
7172 | wxPyEndAllowThreads(__tstate); | |
7173 | if (PyErr_Occurred()) SWIG_fail; | |
7174 | } | |
15afbcd0 | 7175 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1); |
d14a1e28 RD |
7176 | return resultobj; |
7177 | fail: | |
7178 | return NULL; | |
7179 | } | |
7180 | ||
7181 | ||
c32bde28 | 7182 | static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7183 | PyObject *obj; |
7184 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7185 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj); | |
7186 | Py_INCREF(obj); | |
7187 | return Py_BuildValue((char *)""); | |
7188 | } | |
c32bde28 | 7189 | static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7190 | PyObject *resultobj; |
7191 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7192 | int arg2 = (int) 0 ; | |
7193 | wxHtmlWidgetCell *result; | |
7194 | PyObject * obj0 = 0 ; | |
994141e6 | 7195 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7196 | char *kwnames[] = { |
7197 | (char *) "wnd",(char *) "w", NULL | |
7198 | }; | |
7199 | ||
994141e6 | 7200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
7201 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
7202 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 7203 | if (obj1) { |
093d3ff1 RD |
7204 | { |
7205 | arg2 = (int)(SWIG_As_int(obj1)); | |
7206 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7207 | } | |
994141e6 | 7208 | } |
d14a1e28 RD |
7209 | { |
7210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7211 | result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2); | |
7212 | ||
7213 | wxPyEndAllowThreads(__tstate); | |
7214 | if (PyErr_Occurred()) SWIG_fail; | |
7215 | } | |
15afbcd0 | 7216 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1); |
d14a1e28 RD |
7217 | return resultobj; |
7218 | fail: | |
7219 | return NULL; | |
7220 | } | |
7221 | ||
7222 | ||
c32bde28 | 7223 | static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7224 | PyObject *obj; |
7225 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7226 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj); | |
7227 | Py_INCREF(obj); | |
7228 | return Py_BuildValue((char *)""); | |
7229 | } | |
c32bde28 | 7230 | static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7231 | PyObject *resultobj; |
7232 | wxPyHtmlFilter *result; | |
7233 | char *kwnames[] = { | |
7234 | NULL | |
7235 | }; | |
7236 | ||
7237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail; | |
7238 | { | |
7239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7240 | result = (wxPyHtmlFilter *)new wxPyHtmlFilter(); | |
7241 | ||
7242 | wxPyEndAllowThreads(__tstate); | |
7243 | if (PyErr_Occurred()) SWIG_fail; | |
7244 | } | |
15afbcd0 | 7245 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1); |
d14a1e28 RD |
7246 | return resultobj; |
7247 | fail: | |
7248 | return NULL; | |
7249 | } | |
7250 | ||
7251 | ||
c32bde28 | 7252 | static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7253 | PyObject *resultobj; |
7254 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
7255 | PyObject *arg2 = (PyObject *) 0 ; | |
7256 | PyObject *arg3 = (PyObject *) 0 ; | |
7257 | PyObject * obj0 = 0 ; | |
7258 | PyObject * obj1 = 0 ; | |
7259 | PyObject * obj2 = 0 ; | |
7260 | char *kwnames[] = { | |
7261 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
7262 | }; | |
7263 | ||
7264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
7265 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0); |
7266 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7267 | arg2 = obj1; |
7268 | arg3 = obj2; | |
7269 | { | |
7270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7271 | (arg1)->_setCallbackInfo(arg2,arg3); | |
7272 | ||
7273 | wxPyEndAllowThreads(__tstate); | |
7274 | if (PyErr_Occurred()) SWIG_fail; | |
7275 | } | |
7276 | Py_INCREF(Py_None); resultobj = Py_None; | |
7277 | return resultobj; | |
7278 | fail: | |
7279 | return NULL; | |
7280 | } | |
7281 | ||
7282 | ||
c32bde28 | 7283 | static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7284 | PyObject *obj; |
7285 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7286 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj); | |
7287 | Py_INCREF(obj); | |
7288 | return Py_BuildValue((char *)""); | |
7289 | } | |
c32bde28 | 7290 | static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7291 | PyObject *resultobj; |
7292 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7293 | int arg2 = (int) -1 ; | |
7294 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
7295 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7296 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7297 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7298 | int arg5 = (int) wxHW_DEFAULT_STYLE ; | |
7299 | wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ; | |
7300 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7301 | wxPyHtmlWindow *result; | |
7302 | wxPoint temp3 ; | |
7303 | wxSize temp4 ; | |
ae8162c8 | 7304 | bool temp6 = false ; |
d14a1e28 | 7305 | PyObject * obj0 = 0 ; |
994141e6 | 7306 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7307 | PyObject * obj2 = 0 ; |
7308 | PyObject * obj3 = 0 ; | |
994141e6 | 7309 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
7310 | PyObject * obj5 = 0 ; |
7311 | char *kwnames[] = { | |
7312 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7313 | }; | |
7314 | ||
994141e6 | 7315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
7316 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
7317 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 7318 | if (obj1) { |
093d3ff1 RD |
7319 | { |
7320 | arg2 = (int)(SWIG_As_int(obj1)); | |
7321 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7322 | } | |
994141e6 | 7323 | } |
d14a1e28 RD |
7324 | if (obj2) { |
7325 | { | |
7326 | arg3 = &temp3; | |
7327 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7328 | } | |
7329 | } | |
7330 | if (obj3) { | |
7331 | { | |
7332 | arg4 = &temp4; | |
7333 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7334 | } | |
7335 | } | |
994141e6 | 7336 | if (obj4) { |
093d3ff1 RD |
7337 | { |
7338 | arg5 = (int)(SWIG_As_int(obj4)); | |
7339 | if (SWIG_arg_fail(5)) SWIG_fail; | |
7340 | } | |
994141e6 | 7341 | } |
d14a1e28 RD |
7342 | if (obj5) { |
7343 | { | |
7344 | arg6 = wxString_in_helper(obj5); | |
7345 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 7346 | temp6 = true; |
d14a1e28 RD |
7347 | } |
7348 | } | |
7349 | { | |
e3b71cb8 | 7350 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
7351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7352 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7353 | ||
7354 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7355 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 7356 | } |
b0f7404b | 7357 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1); |
d14a1e28 RD |
7358 | { |
7359 | if (temp6) | |
7360 | delete arg6; | |
7361 | } | |
7362 | return resultobj; | |
7363 | fail: | |
7364 | { | |
7365 | if (temp6) | |
7366 | delete arg6; | |
7367 | } | |
7368 | return NULL; | |
7369 | } | |
7370 | ||
7371 | ||
c32bde28 | 7372 | static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7373 | PyObject *resultobj; |
7374 | wxPyHtmlWindow *result; | |
7375 | char *kwnames[] = { | |
7376 | NULL | |
7377 | }; | |
7378 | ||
7379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail; | |
7380 | { | |
e3b71cb8 | 7381 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
7382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7383 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(); | |
7384 | ||
7385 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7386 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 7387 | } |
b0f7404b | 7388 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1); |
d14a1e28 RD |
7389 | return resultobj; |
7390 | fail: | |
7391 | return NULL; | |
7392 | } | |
7393 | ||
7394 | ||
c32bde28 | 7395 | static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7396 | PyObject *resultobj; |
7397 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7398 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7399 | int arg3 = (int) -1 ; | |
7400 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
7401 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7402 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7403 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7404 | int arg6 = (int) wxHW_SCROLLBAR_AUTO ; | |
7405 | wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ; | |
7406 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7407 | bool result; | |
7408 | wxPoint temp4 ; | |
7409 | wxSize temp5 ; | |
ae8162c8 | 7410 | bool temp7 = false ; |
d14a1e28 RD |
7411 | PyObject * obj0 = 0 ; |
7412 | PyObject * obj1 = 0 ; | |
994141e6 | 7413 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7414 | PyObject * obj3 = 0 ; |
7415 | PyObject * obj4 = 0 ; | |
994141e6 | 7416 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
7417 | PyObject * obj6 = 0 ; |
7418 | char *kwnames[] = { | |
7419 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7420 | }; | |
7421 | ||
994141e6 | 7422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
7423 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
7424 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7425 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7426 | if (SWIG_arg_fail(2)) SWIG_fail; | |
994141e6 | 7427 | if (obj2) { |
093d3ff1 RD |
7428 | { |
7429 | arg3 = (int)(SWIG_As_int(obj2)); | |
7430 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7431 | } | |
994141e6 | 7432 | } |
d14a1e28 RD |
7433 | if (obj3) { |
7434 | { | |
7435 | arg4 = &temp4; | |
7436 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7437 | } | |
7438 | } | |
7439 | if (obj4) { | |
7440 | { | |
7441 | arg5 = &temp5; | |
7442 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7443 | } | |
7444 | } | |
994141e6 | 7445 | if (obj5) { |
093d3ff1 RD |
7446 | { |
7447 | arg6 = (int)(SWIG_As_int(obj5)); | |
7448 | if (SWIG_arg_fail(6)) SWIG_fail; | |
7449 | } | |
994141e6 | 7450 | } |
d14a1e28 RD |
7451 | if (obj6) { |
7452 | { | |
7453 | arg7 = wxString_in_helper(obj6); | |
7454 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 7455 | temp7 = true; |
d14a1e28 RD |
7456 | } |
7457 | } | |
7458 | { | |
7459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7460 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7461 | ||
7462 | wxPyEndAllowThreads(__tstate); | |
7463 | if (PyErr_Occurred()) SWIG_fail; | |
7464 | } | |
4f89f6a3 RD |
7465 | { |
7466 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7467 | } | |
d14a1e28 RD |
7468 | { |
7469 | if (temp7) | |
7470 | delete arg7; | |
7471 | } | |
7472 | return resultobj; | |
7473 | fail: | |
7474 | { | |
7475 | if (temp7) | |
7476 | delete arg7; | |
7477 | } | |
7478 | return NULL; | |
7479 | } | |
7480 | ||
7481 | ||
c32bde28 | 7482 | static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7483 | PyObject *resultobj; |
7484 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7485 | PyObject *arg2 = (PyObject *) 0 ; | |
7486 | PyObject *arg3 = (PyObject *) 0 ; | |
7487 | PyObject * obj0 = 0 ; | |
7488 | PyObject * obj1 = 0 ; | |
7489 | PyObject * obj2 = 0 ; | |
7490 | char *kwnames[] = { | |
7491 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
7492 | }; | |
7493 | ||
7494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
7495 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
7496 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7497 | arg2 = obj1; |
7498 | arg3 = obj2; | |
7499 | { | |
7500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7501 | (arg1)->_setCallbackInfo(arg2,arg3); | |
7502 | ||
7503 | wxPyEndAllowThreads(__tstate); | |
7504 | if (PyErr_Occurred()) SWIG_fail; | |
7505 | } | |
7506 | Py_INCREF(Py_None); resultobj = Py_None; | |
7507 | return resultobj; | |
7508 | fail: | |
7509 | return NULL; | |
7510 | } | |
7511 | ||
7512 | ||
c32bde28 | 7513 | static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7514 | PyObject *resultobj; |
7515 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7516 | wxString *arg2 = 0 ; | |
7517 | bool result; | |
ae8162c8 | 7518 | bool temp2 = false ; |
d14a1e28 RD |
7519 | PyObject * obj0 = 0 ; |
7520 | PyObject * obj1 = 0 ; | |
7521 | char *kwnames[] = { | |
7522 | (char *) "self",(char *) "source", NULL | |
7523 | }; | |
7524 | ||
7525 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7526 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
7527 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7528 | { |
7529 | arg2 = wxString_in_helper(obj1); | |
7530 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 7531 | temp2 = true; |
d14a1e28 RD |
7532 | } |
7533 | { | |
7534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7535 | result = (bool)(arg1)->SetPage((wxString const &)*arg2); | |
7536 | ||
7537 | wxPyEndAllowThreads(__tstate); | |
7538 | if (PyErr_Occurred()) SWIG_fail; | |
7539 | } | |
4f89f6a3 RD |
7540 | { |
7541 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7542 | } | |
d14a1e28 RD |
7543 | { |
7544 | if (temp2) | |
7545 | delete arg2; | |
7546 | } | |
7547 | return resultobj; | |
7548 | fail: | |
7549 | { | |
7550 | if (temp2) | |
7551 | delete arg2; | |
7552 | } | |
7553 | return NULL; | |
7554 | } | |
7555 | ||
7556 | ||
c32bde28 | 7557 | static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7558 | PyObject *resultobj; |
7559 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7560 | wxString *arg2 = 0 ; | |
7561 | bool result; | |
ae8162c8 | 7562 | bool temp2 = false ; |
d14a1e28 RD |
7563 | PyObject * obj0 = 0 ; |
7564 | PyObject * obj1 = 0 ; | |
7565 | char *kwnames[] = { | |
7566 | (char *) "self",(char *) "location", NULL | |
7567 | }; | |
7568 | ||
7569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7570 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
7571 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7572 | { |
7573 | arg2 = wxString_in_helper(obj1); | |
7574 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 7575 | temp2 = true; |
d14a1e28 RD |
7576 | } |
7577 | { | |
7578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7579 | result = (bool)(arg1)->LoadPage((wxString const &)*arg2); | |
7580 | ||
7581 | wxPyEndAllowThreads(__tstate); | |
7582 | if (PyErr_Occurred()) SWIG_fail; | |
7583 | } | |
4f89f6a3 RD |
7584 | { |
7585 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7586 | } | |
d14a1e28 RD |
7587 | { |
7588 | if (temp2) | |
7589 | delete arg2; | |
7590 | } | |
7591 | return resultobj; | |
7592 | fail: | |
7593 | { | |
7594 | if (temp2) | |
7595 | delete arg2; | |
7596 | } | |
7597 | return NULL; | |
7598 | } | |
7599 | ||
7600 | ||
c32bde28 | 7601 | static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7602 | PyObject *resultobj; |
7603 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7604 | wxString *arg2 = 0 ; | |
7605 | bool result; | |
ae8162c8 | 7606 | bool temp2 = false ; |
d14a1e28 RD |
7607 | PyObject * obj0 = 0 ; |
7608 | PyObject * obj1 = 0 ; | |
7609 | char *kwnames[] = { | |
7610 | (char *) "self",(char *) "filename", NULL | |
7611 | }; | |
7612 | ||
7613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7614 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
7615 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7616 | { |
7617 | arg2 = wxString_in_helper(obj1); | |
7618 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 7619 | temp2 = true; |
d14a1e28 RD |
7620 | } |
7621 | { | |
7622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7623 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
7624 | ||
7625 | wxPyEndAllowThreads(__tstate); | |
7626 | if (PyErr_Occurred()) SWIG_fail; | |
7627 | } | |
4f89f6a3 RD |
7628 | { |
7629 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7630 | } | |
d14a1e28 RD |
7631 | { |
7632 | if (temp2) | |
7633 | delete arg2; | |
7634 | } | |
7635 | return resultobj; | |
7636 | fail: | |
7637 | { | |
7638 | if (temp2) | |
7639 | delete arg2; | |
7640 | } | |
7641 | return NULL; | |
7642 | } | |
7643 | ||
7644 | ||
c32bde28 | 7645 | static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7646 | PyObject *resultobj; |
7647 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7648 | wxString *arg2 = 0 ; | |
7649 | bool result; | |
ae8162c8 | 7650 | bool temp2 = false ; |
d14a1e28 RD |
7651 | PyObject * obj0 = 0 ; |
7652 | PyObject * obj1 = 0 ; | |
7653 | char *kwnames[] = { | |
7654 | (char *) "self",(char *) "source", NULL | |
7655 | }; | |
7656 | ||
7657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7658 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
7659 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7660 | { |
7661 | arg2 = wxString_in_helper(obj1); | |
7662 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 7663 | temp2 = true; |
d14a1e28 RD |
7664 | } |
7665 | { | |
7666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7667 | result = (bool)(arg1)->AppendToPage((wxString const &)*arg2); | |
7668 | ||
7669 | wxPyEndAllowThreads(__tstate); | |
7670 | if (PyErr_Occurred()) SWIG_fail; | |
7671 | } | |
4f89f6a3 RD |
7672 | { |
7673 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7674 | } | |
d14a1e28 RD |
7675 | { |
7676 | if (temp2) | |
7677 | delete arg2; | |
7678 | } | |
7679 | return resultobj; | |
7680 | fail: | |
7681 | { | |
7682 | if (temp2) | |
7683 | delete arg2; | |
7684 | } | |
7685 | return NULL; | |
7686 | } | |
7687 | ||
7688 | ||
c32bde28 | 7689 | static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7690 | PyObject *resultobj; |
7691 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7692 | wxString result; | |
7693 | PyObject * obj0 = 0 ; | |
7694 | char *kwnames[] = { | |
7695 | (char *) "self", NULL | |
7696 | }; | |
7697 | ||
7698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7699 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
7700 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7701 | { |
7702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7703 | result = (arg1)->GetOpenedPage(); | |
7704 | ||
7705 | wxPyEndAllowThreads(__tstate); | |
7706 | if (PyErr_Occurred()) SWIG_fail; | |
7707 | } | |
7708 | { | |
7709 | #if wxUSE_UNICODE | |
7710 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7711 | #else | |
7712 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7713 | #endif | |
7714 | } | |
7715 | return resultobj; | |
7716 | fail: | |
7717 | return NULL; | |
7718 | } | |
7719 | ||
7720 | ||
c32bde28 | 7721 | static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7722 | PyObject *resultobj; |
7723 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7724 | wxString result; | |
7725 | PyObject * obj0 = 0 ; | |
7726 | char *kwnames[] = { | |
7727 | (char *) "self", NULL | |
7728 | }; | |
7729 | ||
7730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7731 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
7732 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7733 | { |
7734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7735 | result = (arg1)->GetOpenedAnchor(); | |
7736 | ||
7737 | wxPyEndAllowThreads(__tstate); | |
7738 | if (PyErr_Occurred()) SWIG_fail; | |
7739 | } | |
7740 | { | |
7741 | #if wxUSE_UNICODE | |
7742 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7743 | #else | |
7744 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7745 | #endif | |
7746 | } | |
7747 | return resultobj; | |
7748 | fail: | |
7749 | return NULL; | |
7750 | } | |
7751 | ||
7752 | ||
c32bde28 | 7753 | static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7754 | PyObject *resultobj; |
7755 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7756 | wxString result; | |
7757 | PyObject * obj0 = 0 ; | |
7758 | char *kwnames[] = { | |
7759 | (char *) "self", NULL | |
7760 | }; | |
7761 | ||
7762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7763 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
7764 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7765 | { |
7766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7767 | result = (arg1)->GetOpenedPageTitle(); | |
7768 | ||
7769 | wxPyEndAllowThreads(__tstate); | |
7770 | if (PyErr_Occurred()) SWIG_fail; | |
7771 | } | |
7772 | { | |
7773 | #if wxUSE_UNICODE | |
7774 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7775 | #else | |
7776 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7777 | #endif | |
7778 | } | |
7779 | return resultobj; | |
7780 | fail: | |
7781 | return NULL; | |
7782 | } | |
7783 | ||
7784 | ||
c32bde28 | 7785 | static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7786 | PyObject *resultobj; |
7787 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7788 | wxFrame *arg2 = (wxFrame *) 0 ; | |
7789 | wxString *arg3 = 0 ; | |
ae8162c8 | 7790 | bool temp3 = false ; |
d14a1e28 RD |
7791 | PyObject * obj0 = 0 ; |
7792 | PyObject * obj1 = 0 ; | |
7793 | PyObject * obj2 = 0 ; | |
7794 | char *kwnames[] = { | |
7795 | (char *) "self",(char *) "frame",(char *) "format", NULL | |
7796 | }; | |
7797 | ||
7798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
7799 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
7800 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7801 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
7802 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
7803 | { |
7804 | arg3 = wxString_in_helper(obj2); | |
7805 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 7806 | temp3 = true; |
d14a1e28 RD |
7807 | } |
7808 | { | |
7809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7810 | (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3); | |
7811 | ||
7812 | wxPyEndAllowThreads(__tstate); | |
7813 | if (PyErr_Occurred()) SWIG_fail; | |
7814 | } | |
7815 | Py_INCREF(Py_None); resultobj = Py_None; | |
7816 | { | |
7817 | if (temp3) | |
7818 | delete arg3; | |
7819 | } | |
7820 | return resultobj; | |
7821 | fail: | |
7822 | { | |
7823 | if (temp3) | |
7824 | delete arg3; | |
7825 | } | |
7826 | return NULL; | |
7827 | } | |
7828 | ||
7829 | ||
c32bde28 | 7830 | static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7831 | PyObject *resultobj; |
7832 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7833 | wxFrame *result; | |
7834 | PyObject * obj0 = 0 ; | |
7835 | char *kwnames[] = { | |
7836 | (char *) "self", NULL | |
7837 | }; | |
7838 | ||
7839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7840 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
7841 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7842 | { |
7843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7844 | result = (wxFrame *)(arg1)->GetRelatedFrame(); | |
7845 | ||
7846 | wxPyEndAllowThreads(__tstate); | |
7847 | if (PyErr_Occurred()) SWIG_fail; | |
7848 | } | |
7849 | { | |
412d302d | 7850 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
7851 | } |
7852 | return resultobj; | |
7853 | fail: | |
7854 | return NULL; | |
7855 | } | |
7856 | ||
7857 | ||
c32bde28 | 7858 | static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7859 | PyObject *resultobj; |
7860 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7861 | int arg2 ; | |
7862 | PyObject * obj0 = 0 ; | |
994141e6 | 7863 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7864 | char *kwnames[] = { |
7865 | (char *) "self",(char *) "bar", NULL | |
7866 | }; | |
7867 | ||
994141e6 | 7868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
7869 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
7870 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7871 | { | |
7872 | arg2 = (int)(SWIG_As_int(obj1)); | |
7873 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7874 | } | |
d14a1e28 RD |
7875 | { |
7876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7877 | (arg1)->SetRelatedStatusBar(arg2); | |
7878 | ||
7879 | wxPyEndAllowThreads(__tstate); | |
7880 | if (PyErr_Occurred()) SWIG_fail; | |
7881 | } | |
7882 | Py_INCREF(Py_None); resultobj = Py_None; | |
7883 | return resultobj; | |
7884 | fail: | |
7885 | return NULL; | |
7886 | } | |
7887 | ||
7888 | ||
c32bde28 | 7889 | static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7890 | PyObject *resultobj; |
7891 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7892 | wxString arg2 ; | |
7893 | wxString arg3 ; | |
7894 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
7895 | PyObject * obj0 = 0 ; |
7896 | PyObject * obj1 = 0 ; | |
7897 | PyObject * obj2 = 0 ; | |
7898 | PyObject * obj3 = 0 ; | |
7899 | char *kwnames[] = { | |
7900 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
7901 | }; | |
7902 | ||
7903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
093d3ff1 RD |
7904 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
7905 | if (SWIG_arg_fail(1)) SWIG_fail; | |
e811c8ce RD |
7906 | { |
7907 | wxString* sptr = wxString_in_helper(obj1); | |
7908 | if (sptr == NULL) SWIG_fail; | |
7909 | arg2 = *sptr; | |
7910 | delete sptr; | |
7911 | } | |
7912 | { | |
7913 | wxString* sptr = wxString_in_helper(obj2); | |
7914 | if (sptr == NULL) SWIG_fail; | |
7915 | arg3 = *sptr; | |
7916 | delete sptr; | |
7917 | } | |
d14a1e28 RD |
7918 | if (obj3) { |
7919 | arg4 = obj3; | |
7920 | } | |
7921 | { | |
7922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7923 | wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4); | |
7924 | ||
7925 | wxPyEndAllowThreads(__tstate); | |
7926 | if (PyErr_Occurred()) SWIG_fail; | |
7927 | } | |
7928 | Py_INCREF(Py_None); resultobj = Py_None; | |
7929 | return resultobj; | |
7930 | fail: | |
7931 | return NULL; | |
7932 | } | |
7933 | ||
7934 | ||
ae8162c8 | 7935 | static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
30ee79f7 RD |
7936 | PyObject *resultobj; |
7937 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7938 | int arg2 = (int) -1 ; | |
ae8162c8 RD |
7939 | wxString const &arg3_defvalue = wxPyEmptyString ; |
7940 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
7941 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
7942 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
7943 | bool temp3 = false ; | |
7944 | bool temp4 = false ; | |
30ee79f7 RD |
7945 | PyObject * obj0 = 0 ; |
7946 | PyObject * obj1 = 0 ; | |
ae8162c8 RD |
7947 | PyObject * obj2 = 0 ; |
7948 | PyObject * obj3 = 0 ; | |
30ee79f7 | 7949 | char *kwnames[] = { |
ae8162c8 | 7950 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL |
30ee79f7 RD |
7951 | }; |
7952 | ||
ae8162c8 | 7953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
7954 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
7955 | if (SWIG_arg_fail(1)) SWIG_fail; | |
30ee79f7 | 7956 | if (obj1) { |
093d3ff1 RD |
7957 | { |
7958 | arg2 = (int)(SWIG_As_int(obj1)); | |
7959 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7960 | } | |
30ee79f7 | 7961 | } |
ae8162c8 RD |
7962 | if (obj2) { |
7963 | { | |
7964 | arg3 = wxString_in_helper(obj2); | |
7965 | if (arg3 == NULL) SWIG_fail; | |
7966 | temp3 = true; | |
7967 | } | |
7968 | } | |
7969 | if (obj3) { | |
7970 | { | |
7971 | arg4 = wxString_in_helper(obj3); | |
7972 | if (arg4 == NULL) SWIG_fail; | |
7973 | temp4 = true; | |
7974 | } | |
7975 | } | |
30ee79f7 RD |
7976 | { |
7977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ae8162c8 | 7978 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); |
30ee79f7 RD |
7979 | |
7980 | wxPyEndAllowThreads(__tstate); | |
7981 | if (PyErr_Occurred()) SWIG_fail; | |
7982 | } | |
7983 | Py_INCREF(Py_None); resultobj = Py_None; | |
ae8162c8 RD |
7984 | { |
7985 | if (temp3) | |
7986 | delete arg3; | |
7987 | } | |
7988 | { | |
7989 | if (temp4) | |
7990 | delete arg4; | |
7991 | } | |
30ee79f7 RD |
7992 | return resultobj; |
7993 | fail: | |
ae8162c8 RD |
7994 | { |
7995 | if (temp3) | |
7996 | delete arg3; | |
7997 | } | |
7998 | { | |
7999 | if (temp4) | |
8000 | delete arg4; | |
8001 | } | |
30ee79f7 RD |
8002 | return NULL; |
8003 | } | |
8004 | ||
8005 | ||
943e8dfd | 8006 | static PyObject *_wrap_HtmlWindow_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8007 | PyObject *resultobj; |
8008 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8009 | wxString *arg2 = 0 ; | |
ae8162c8 | 8010 | bool temp2 = false ; |
d14a1e28 RD |
8011 | PyObject * obj0 = 0 ; |
8012 | PyObject * obj1 = 0 ; | |
8013 | char *kwnames[] = { | |
8014 | (char *) "self",(char *) "title", NULL | |
8015 | }; | |
8016 | ||
943e8dfd | 8017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetLabel",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
8018 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8019 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8020 | { |
8021 | arg2 = wxString_in_helper(obj1); | |
8022 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 8023 | temp2 = true; |
d14a1e28 RD |
8024 | } |
8025 | { | |
8026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
943e8dfd | 8027 | (arg1)->SetLabel((wxString const &)*arg2); |
d14a1e28 RD |
8028 | |
8029 | wxPyEndAllowThreads(__tstate); | |
8030 | if (PyErr_Occurred()) SWIG_fail; | |
8031 | } | |
8032 | Py_INCREF(Py_None); resultobj = Py_None; | |
8033 | { | |
8034 | if (temp2) | |
8035 | delete arg2; | |
8036 | } | |
8037 | return resultobj; | |
8038 | fail: | |
8039 | { | |
8040 | if (temp2) | |
8041 | delete arg2; | |
8042 | } | |
8043 | return NULL; | |
8044 | } | |
8045 | ||
8046 | ||
c32bde28 | 8047 | static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8048 | PyObject *resultobj; |
8049 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8050 | int arg2 ; | |
8051 | PyObject * obj0 = 0 ; | |
994141e6 | 8052 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8053 | char *kwnames[] = { |
8054 | (char *) "self",(char *) "b", NULL | |
8055 | }; | |
8056 | ||
994141e6 | 8057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
8058 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8059 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8060 | { | |
8061 | arg2 = (int)(SWIG_As_int(obj1)); | |
8062 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8063 | } | |
d14a1e28 RD |
8064 | { |
8065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8066 | (arg1)->SetBorders(arg2); | |
8067 | ||
8068 | wxPyEndAllowThreads(__tstate); | |
8069 | if (PyErr_Occurred()) SWIG_fail; | |
8070 | } | |
8071 | Py_INCREF(Py_None); resultobj = Py_None; | |
8072 | return resultobj; | |
8073 | fail: | |
8074 | return NULL; | |
8075 | } | |
8076 | ||
8077 | ||
53aa7709 RD |
8078 | static PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *, PyObject *args, PyObject *kwargs) { |
8079 | PyObject *resultobj; | |
8080 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8081 | wxBitmap *arg2 = 0 ; | |
8082 | PyObject * obj0 = 0 ; | |
8083 | PyObject * obj1 = 0 ; | |
8084 | char *kwnames[] = { | |
8085 | (char *) "self",(char *) "bmpBg", NULL | |
8086 | }; | |
8087 | ||
8088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) goto fail; | |
8089 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); | |
8090 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8091 | { | |
8092 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
8093 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8094 | if (arg2 == NULL) { | |
8095 | SWIG_null_ref("wxBitmap"); | |
8096 | } | |
8097 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8098 | } | |
8099 | { | |
8100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8101 | (arg1)->SetBackgroundImage((wxBitmap const &)*arg2); | |
8102 | ||
8103 | wxPyEndAllowThreads(__tstate); | |
8104 | if (PyErr_Occurred()) SWIG_fail; | |
8105 | } | |
8106 | Py_INCREF(Py_None); resultobj = Py_None; | |
8107 | return resultobj; | |
8108 | fail: | |
8109 | return NULL; | |
8110 | } | |
8111 | ||
8112 | ||
c32bde28 | 8113 | static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8114 | PyObject *resultobj; |
8115 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8116 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
8117 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
8118 | PyObject * obj0 = 0 ; |
8119 | PyObject * obj1 = 0 ; | |
8120 | PyObject * obj2 = 0 ; | |
8121 | char *kwnames[] = { | |
8122 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
8123 | }; | |
8124 | ||
8125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
8126 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8127 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8128 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); | |
8129 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 | 8130 | if (obj2) { |
e811c8ce RD |
8131 | { |
8132 | wxString* sptr = wxString_in_helper(obj2); | |
8133 | if (sptr == NULL) SWIG_fail; | |
8134 | arg3 = *sptr; | |
8135 | delete sptr; | |
8136 | } | |
d14a1e28 RD |
8137 | } |
8138 | { | |
8139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8140 | (arg1)->ReadCustomization(arg2,arg3); | |
8141 | ||
8142 | wxPyEndAllowThreads(__tstate); | |
8143 | if (PyErr_Occurred()) SWIG_fail; | |
8144 | } | |
8145 | Py_INCREF(Py_None); resultobj = Py_None; | |
8146 | return resultobj; | |
8147 | fail: | |
8148 | return NULL; | |
8149 | } | |
8150 | ||
8151 | ||
c32bde28 | 8152 | static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8153 | PyObject *resultobj; |
8154 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8155 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
8156 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
8157 | PyObject * obj0 = 0 ; |
8158 | PyObject * obj1 = 0 ; | |
8159 | PyObject * obj2 = 0 ; | |
8160 | char *kwnames[] = { | |
8161 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
8162 | }; | |
8163 | ||
8164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
8165 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8166 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8167 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); | |
8168 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 | 8169 | if (obj2) { |
e811c8ce RD |
8170 | { |
8171 | wxString* sptr = wxString_in_helper(obj2); | |
8172 | if (sptr == NULL) SWIG_fail; | |
8173 | arg3 = *sptr; | |
8174 | delete sptr; | |
8175 | } | |
d14a1e28 RD |
8176 | } |
8177 | { | |
8178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8179 | (arg1)->WriteCustomization(arg2,arg3); | |
8180 | ||
8181 | wxPyEndAllowThreads(__tstate); | |
8182 | if (PyErr_Occurred()) SWIG_fail; | |
8183 | } | |
8184 | Py_INCREF(Py_None); resultobj = Py_None; | |
8185 | return resultobj; | |
8186 | fail: | |
8187 | return NULL; | |
8188 | } | |
8189 | ||
8190 | ||
c32bde28 | 8191 | static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8192 | PyObject *resultobj; |
8193 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8194 | bool result; | |
8195 | PyObject * obj0 = 0 ; | |
8196 | char *kwnames[] = { | |
8197 | (char *) "self", NULL | |
8198 | }; | |
8199 | ||
8200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8201 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8202 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8203 | { |
8204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8205 | result = (bool)(arg1)->HistoryBack(); | |
8206 | ||
8207 | wxPyEndAllowThreads(__tstate); | |
8208 | if (PyErr_Occurred()) SWIG_fail; | |
8209 | } | |
4f89f6a3 RD |
8210 | { |
8211 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8212 | } | |
d14a1e28 RD |
8213 | return resultobj; |
8214 | fail: | |
8215 | return NULL; | |
8216 | } | |
8217 | ||
8218 | ||
c32bde28 | 8219 | static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8220 | PyObject *resultobj; |
8221 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8222 | bool result; | |
8223 | PyObject * obj0 = 0 ; | |
8224 | char *kwnames[] = { | |
8225 | (char *) "self", NULL | |
8226 | }; | |
8227 | ||
8228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8229 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8230 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8231 | { |
8232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8233 | result = (bool)(arg1)->HistoryForward(); | |
8234 | ||
8235 | wxPyEndAllowThreads(__tstate); | |
8236 | if (PyErr_Occurred()) SWIG_fail; | |
8237 | } | |
4f89f6a3 RD |
8238 | { |
8239 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8240 | } | |
d14a1e28 RD |
8241 | return resultobj; |
8242 | fail: | |
8243 | return NULL; | |
8244 | } | |
8245 | ||
8246 | ||
c32bde28 | 8247 | static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8248 | PyObject *resultobj; |
8249 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8250 | bool result; | |
8251 | PyObject * obj0 = 0 ; | |
8252 | char *kwnames[] = { | |
8253 | (char *) "self", NULL | |
8254 | }; | |
8255 | ||
8256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8257 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8258 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8259 | { |
8260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8261 | result = (bool)(arg1)->HistoryCanBack(); | |
8262 | ||
8263 | wxPyEndAllowThreads(__tstate); | |
8264 | if (PyErr_Occurred()) SWIG_fail; | |
8265 | } | |
4f89f6a3 RD |
8266 | { |
8267 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8268 | } | |
d14a1e28 RD |
8269 | return resultobj; |
8270 | fail: | |
8271 | return NULL; | |
8272 | } | |
8273 | ||
8274 | ||
c32bde28 | 8275 | static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8276 | PyObject *resultobj; |
8277 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8278 | bool result; | |
8279 | PyObject * obj0 = 0 ; | |
8280 | char *kwnames[] = { | |
8281 | (char *) "self", NULL | |
8282 | }; | |
8283 | ||
8284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8285 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8286 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8287 | { |
8288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8289 | result = (bool)(arg1)->HistoryCanForward(); | |
8290 | ||
8291 | wxPyEndAllowThreads(__tstate); | |
8292 | if (PyErr_Occurred()) SWIG_fail; | |
8293 | } | |
4f89f6a3 RD |
8294 | { |
8295 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8296 | } | |
d14a1e28 RD |
8297 | return resultobj; |
8298 | fail: | |
8299 | return NULL; | |
8300 | } | |
8301 | ||
8302 | ||
c32bde28 | 8303 | static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8304 | PyObject *resultobj; |
8305 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8306 | PyObject * obj0 = 0 ; | |
8307 | char *kwnames[] = { | |
8308 | (char *) "self", NULL | |
8309 | }; | |
8310 | ||
8311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8312 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8313 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8314 | { |
8315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8316 | (arg1)->HistoryClear(); | |
8317 | ||
8318 | wxPyEndAllowThreads(__tstate); | |
8319 | if (PyErr_Occurred()) SWIG_fail; | |
8320 | } | |
8321 | Py_INCREF(Py_None); resultobj = Py_None; | |
8322 | return resultobj; | |
8323 | fail: | |
8324 | return NULL; | |
8325 | } | |
8326 | ||
8327 | ||
c32bde28 | 8328 | static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8329 | PyObject *resultobj; |
8330 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8331 | wxHtmlContainerCell *result; | |
8332 | PyObject * obj0 = 0 ; | |
8333 | char *kwnames[] = { | |
8334 | (char *) "self", NULL | |
8335 | }; | |
8336 | ||
8337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8338 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8339 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8340 | { |
8341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8342 | result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation(); | |
8343 | ||
8344 | wxPyEndAllowThreads(__tstate); | |
8345 | if (PyErr_Occurred()) SWIG_fail; | |
8346 | } | |
15afbcd0 | 8347 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
8348 | return resultobj; |
8349 | fail: | |
8350 | return NULL; | |
8351 | } | |
8352 | ||
8353 | ||
c32bde28 | 8354 | static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8355 | PyObject *resultobj; |
8356 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8357 | wxHtmlWinParser *result; | |
8358 | PyObject * obj0 = 0 ; | |
8359 | char *kwnames[] = { | |
8360 | (char *) "self", NULL | |
8361 | }; | |
8362 | ||
8363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8364 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8365 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8366 | { |
8367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8368 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
8369 | ||
8370 | wxPyEndAllowThreads(__tstate); | |
8371 | if (PyErr_Occurred()) SWIG_fail; | |
8372 | } | |
15afbcd0 | 8373 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0); |
d14a1e28 RD |
8374 | return resultobj; |
8375 | fail: | |
8376 | return NULL; | |
8377 | } | |
8378 | ||
8379 | ||
c32bde28 | 8380 | static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8381 | PyObject *resultobj; |
8382 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8383 | wxString *arg2 = 0 ; | |
8384 | bool result; | |
ae8162c8 | 8385 | bool temp2 = false ; |
d14a1e28 RD |
8386 | PyObject * obj0 = 0 ; |
8387 | PyObject * obj1 = 0 ; | |
8388 | char *kwnames[] = { | |
8389 | (char *) "self",(char *) "anchor", NULL | |
8390 | }; | |
8391 | ||
8392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8393 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8394 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8395 | { |
8396 | arg2 = wxString_in_helper(obj1); | |
8397 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 8398 | temp2 = true; |
d14a1e28 RD |
8399 | } |
8400 | { | |
8401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8402 | result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2); | |
8403 | ||
8404 | wxPyEndAllowThreads(__tstate); | |
8405 | if (PyErr_Occurred()) SWIG_fail; | |
8406 | } | |
4f89f6a3 RD |
8407 | { |
8408 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8409 | } | |
d14a1e28 RD |
8410 | { |
8411 | if (temp2) | |
8412 | delete arg2; | |
8413 | } | |
8414 | return resultobj; | |
8415 | fail: | |
8416 | { | |
8417 | if (temp2) | |
8418 | delete arg2; | |
8419 | } | |
8420 | return NULL; | |
8421 | } | |
8422 | ||
8423 | ||
c32bde28 | 8424 | static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8425 | PyObject *resultobj; |
8426 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8427 | wxString *arg2 = 0 ; | |
8428 | bool result; | |
ae8162c8 | 8429 | bool temp2 = false ; |
d14a1e28 RD |
8430 | PyObject * obj0 = 0 ; |
8431 | PyObject * obj1 = 0 ; | |
8432 | char *kwnames[] = { | |
8433 | (char *) "self",(char *) "anchor", NULL | |
8434 | }; | |
8435 | ||
8436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8437 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8438 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8439 | { |
8440 | arg2 = wxString_in_helper(obj1); | |
8441 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 8442 | temp2 = true; |
d14a1e28 RD |
8443 | } |
8444 | { | |
8445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8446 | result = (bool)(arg1)->HasAnchor((wxString const &)*arg2); | |
8447 | ||
8448 | wxPyEndAllowThreads(__tstate); | |
8449 | if (PyErr_Occurred()) SWIG_fail; | |
8450 | } | |
4f89f6a3 RD |
8451 | { |
8452 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8453 | } | |
d14a1e28 RD |
8454 | { |
8455 | if (temp2) | |
8456 | delete arg2; | |
8457 | } | |
8458 | return resultobj; | |
8459 | fail: | |
8460 | { | |
8461 | if (temp2) | |
8462 | delete arg2; | |
8463 | } | |
8464 | return NULL; | |
8465 | } | |
8466 | ||
8467 | ||
c32bde28 | 8468 | static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8469 | PyObject *resultobj; |
8470 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
8471 | PyObject * obj0 = 0 ; | |
8472 | char *kwnames[] = { | |
8473 | (char *) "filter", NULL | |
8474 | }; | |
8475 | ||
8476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8477 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0); |
8478 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8479 | { |
8480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8481 | wxPyHtmlWindow::AddFilter(arg1); | |
8482 | ||
8483 | wxPyEndAllowThreads(__tstate); | |
8484 | if (PyErr_Occurred()) SWIG_fail; | |
8485 | } | |
8486 | Py_INCREF(Py_None); resultobj = Py_None; | |
8487 | return resultobj; | |
8488 | fail: | |
8489 | return NULL; | |
8490 | } | |
8491 | ||
8492 | ||
c32bde28 | 8493 | static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) { |
db914595 RD |
8494 | PyObject *resultobj; |
8495 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8496 | wxPoint *arg2 = 0 ; | |
8497 | wxPoint temp2 ; | |
8498 | PyObject * obj0 = 0 ; | |
8499 | PyObject * obj1 = 0 ; | |
8500 | char *kwnames[] = { | |
8501 | (char *) "self",(char *) "pos", NULL | |
8502 | }; | |
8503 | ||
8504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8505 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8506 | if (SWIG_arg_fail(1)) SWIG_fail; | |
db914595 RD |
8507 | { |
8508 | arg2 = &temp2; | |
8509 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
8510 | } | |
8511 | { | |
8512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8513 | (arg1)->SelectWord((wxPoint const &)*arg2); | |
8514 | ||
8515 | wxPyEndAllowThreads(__tstate); | |
8516 | if (PyErr_Occurred()) SWIG_fail; | |
8517 | } | |
8518 | Py_INCREF(Py_None); resultobj = Py_None; | |
8519 | return resultobj; | |
8520 | fail: | |
8521 | return NULL; | |
8522 | } | |
8523 | ||
8524 | ||
c32bde28 | 8525 | static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) { |
db914595 RD |
8526 | PyObject *resultobj; |
8527 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8528 | wxPoint *arg2 = 0 ; | |
8529 | wxPoint temp2 ; | |
8530 | PyObject * obj0 = 0 ; | |
8531 | PyObject * obj1 = 0 ; | |
8532 | char *kwnames[] = { | |
8533 | (char *) "self",(char *) "pos", NULL | |
8534 | }; | |
8535 | ||
8536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8537 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8538 | if (SWIG_arg_fail(1)) SWIG_fail; | |
db914595 RD |
8539 | { |
8540 | arg2 = &temp2; | |
8541 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
8542 | } | |
8543 | { | |
8544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8545 | (arg1)->SelectLine((wxPoint const &)*arg2); | |
8546 | ||
8547 | wxPyEndAllowThreads(__tstate); | |
8548 | if (PyErr_Occurred()) SWIG_fail; | |
8549 | } | |
8550 | Py_INCREF(Py_None); resultobj = Py_None; | |
8551 | return resultobj; | |
8552 | fail: | |
8553 | return NULL; | |
8554 | } | |
8555 | ||
8556 | ||
c32bde28 | 8557 | static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
db914595 RD |
8558 | PyObject *resultobj; |
8559 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8560 | PyObject * obj0 = 0 ; | |
8561 | char *kwnames[] = { | |
8562 | (char *) "self", NULL | |
8563 | }; | |
8564 | ||
8565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8566 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8567 | if (SWIG_arg_fail(1)) SWIG_fail; | |
db914595 RD |
8568 | { |
8569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8570 | (arg1)->SelectAll(); | |
8571 | ||
8572 | wxPyEndAllowThreads(__tstate); | |
8573 | if (PyErr_Occurred()) SWIG_fail; | |
8574 | } | |
8575 | Py_INCREF(Py_None); resultobj = Py_None; | |
8576 | return resultobj; | |
8577 | fail: | |
8578 | return NULL; | |
8579 | } | |
8580 | ||
8581 | ||
c32bde28 | 8582 | static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) { |
b0f7404b RD |
8583 | PyObject *resultobj; |
8584 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8585 | wxString result; | |
8586 | PyObject * obj0 = 0 ; | |
8587 | char *kwnames[] = { | |
8588 | (char *) "self", NULL | |
8589 | }; | |
8590 | ||
8591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8592 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8593 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b0f7404b RD |
8594 | { |
8595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8596 | result = (arg1)->SelectionToText(); | |
8597 | ||
8598 | wxPyEndAllowThreads(__tstate); | |
8599 | if (PyErr_Occurred()) SWIG_fail; | |
8600 | } | |
8601 | { | |
8602 | #if wxUSE_UNICODE | |
8603 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8604 | #else | |
8605 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8606 | #endif | |
8607 | } | |
8608 | return resultobj; | |
8609 | fail: | |
8610 | return NULL; | |
8611 | } | |
8612 | ||
8613 | ||
c32bde28 | 8614 | static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) { |
b0f7404b RD |
8615 | PyObject *resultobj; |
8616 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8617 | wxString result; | |
8618 | PyObject * obj0 = 0 ; | |
8619 | char *kwnames[] = { | |
8620 | (char *) "self", NULL | |
8621 | }; | |
8622 | ||
8623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8624 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8625 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b0f7404b RD |
8626 | { |
8627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8628 | result = (arg1)->ToText(); | |
8629 | ||
8630 | wxPyEndAllowThreads(__tstate); | |
8631 | if (PyErr_Occurred()) SWIG_fail; | |
8632 | } | |
8633 | { | |
8634 | #if wxUSE_UNICODE | |
8635 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8636 | #else | |
8637 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8638 | #endif | |
8639 | } | |
8640 | return resultobj; | |
8641 | fail: | |
8642 | return NULL; | |
8643 | } | |
8644 | ||
8645 | ||
c32bde28 | 8646 | static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8647 | PyObject *resultobj; |
8648 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8649 | wxHtmlLinkInfo *arg2 = 0 ; | |
8650 | PyObject * obj0 = 0 ; | |
8651 | PyObject * obj1 = 0 ; | |
8652 | char *kwnames[] = { | |
8653 | (char *) "self",(char *) "link", NULL | |
8654 | }; | |
8655 | ||
8656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8657 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8658 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8659 | { | |
8660 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0); | |
8661 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8662 | if (arg2 == NULL) { | |
8663 | SWIG_null_ref("wxHtmlLinkInfo"); | |
8664 | } | |
8665 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
8666 | } |
8667 | { | |
8668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8669 | (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2); | |
8670 | ||
8671 | wxPyEndAllowThreads(__tstate); | |
8672 | if (PyErr_Occurred()) SWIG_fail; | |
8673 | } | |
8674 | Py_INCREF(Py_None); resultobj = Py_None; | |
8675 | return resultobj; | |
8676 | fail: | |
8677 | return NULL; | |
8678 | } | |
8679 | ||
8680 | ||
c32bde28 | 8681 | static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8682 | PyObject *resultobj; |
8683 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8684 | wxString *arg2 = 0 ; | |
ae8162c8 | 8685 | bool temp2 = false ; |
d14a1e28 RD |
8686 | PyObject * obj0 = 0 ; |
8687 | PyObject * obj1 = 0 ; | |
8688 | char *kwnames[] = { | |
8689 | (char *) "self",(char *) "title", NULL | |
8690 | }; | |
8691 | ||
8692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8693 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8694 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8695 | { |
8696 | arg2 = wxString_in_helper(obj1); | |
8697 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 8698 | temp2 = true; |
d14a1e28 RD |
8699 | } |
8700 | { | |
8701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8702 | (arg1)->base_OnSetTitle((wxString const &)*arg2); | |
8703 | ||
8704 | wxPyEndAllowThreads(__tstate); | |
8705 | if (PyErr_Occurred()) SWIG_fail; | |
8706 | } | |
8707 | Py_INCREF(Py_None); resultobj = Py_None; | |
8708 | { | |
8709 | if (temp2) | |
8710 | delete arg2; | |
8711 | } | |
8712 | return resultobj; | |
8713 | fail: | |
8714 | { | |
8715 | if (temp2) | |
8716 | delete arg2; | |
8717 | } | |
8718 | return NULL; | |
8719 | } | |
8720 | ||
8721 | ||
c32bde28 | 8722 | static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8723 | PyObject *resultobj; |
8724 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8725 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
e811c8ce RD |
8726 | int arg3 ; |
8727 | int arg4 ; | |
d14a1e28 RD |
8728 | PyObject * obj0 = 0 ; |
8729 | PyObject * obj1 = 0 ; | |
994141e6 RD |
8730 | PyObject * obj2 = 0 ; |
8731 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
8732 | char *kwnames[] = { |
8733 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL | |
8734 | }; | |
8735 | ||
994141e6 | 8736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
8737 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8738 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8739 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); | |
8740 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8741 | { | |
8742 | arg3 = (int)(SWIG_As_int(obj2)); | |
8743 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8744 | } | |
8745 | { | |
8746 | arg4 = (int)(SWIG_As_int(obj3)); | |
8747 | if (SWIG_arg_fail(4)) SWIG_fail; | |
8748 | } | |
d14a1e28 RD |
8749 | { |
8750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8751 | (arg1)->base_OnCellMouseHover(arg2,arg3,arg4); | |
8752 | ||
8753 | wxPyEndAllowThreads(__tstate); | |
8754 | if (PyErr_Occurred()) SWIG_fail; | |
8755 | } | |
8756 | Py_INCREF(Py_None); resultobj = Py_None; | |
8757 | return resultobj; | |
8758 | fail: | |
8759 | return NULL; | |
8760 | } | |
8761 | ||
8762 | ||
c32bde28 | 8763 | static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8764 | PyObject *resultobj; |
8765 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
8766 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
e811c8ce RD |
8767 | int arg3 ; |
8768 | int arg4 ; | |
d14a1e28 RD |
8769 | wxMouseEvent *arg5 = 0 ; |
8770 | PyObject * obj0 = 0 ; | |
8771 | PyObject * obj1 = 0 ; | |
994141e6 RD |
8772 | PyObject * obj2 = 0 ; |
8773 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
8774 | PyObject * obj4 = 0 ; |
8775 | char *kwnames[] = { | |
8776 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL | |
8777 | }; | |
8778 | ||
994141e6 | 8779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
8780 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); |
8781 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8782 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); | |
8783 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8784 | { | |
8785 | arg3 = (int)(SWIG_As_int(obj2)); | |
8786 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8787 | } | |
8788 | { | |
8789 | arg4 = (int)(SWIG_As_int(obj3)); | |
8790 | if (SWIG_arg_fail(4)) SWIG_fail; | |
8791 | } | |
8792 | { | |
8793 | SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); | |
8794 | if (SWIG_arg_fail(5)) SWIG_fail; | |
8795 | if (arg5 == NULL) { | |
8796 | SWIG_null_ref("wxMouseEvent"); | |
8797 | } | |
8798 | if (SWIG_arg_fail(5)) SWIG_fail; | |
d14a1e28 RD |
8799 | } |
8800 | { | |
8801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8802 | (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5); | |
8803 | ||
8804 | wxPyEndAllowThreads(__tstate); | |
8805 | if (PyErr_Occurred()) SWIG_fail; | |
8806 | } | |
8807 | Py_INCREF(Py_None); resultobj = Py_None; | |
8808 | return resultobj; | |
8809 | fail: | |
8810 | return NULL; | |
8811 | } | |
8812 | ||
8813 | ||
c32bde28 | 8814 | static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
22bfe96c | 8815 | PyObject *resultobj; |
093d3ff1 | 8816 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
22bfe96c RD |
8817 | wxVisualAttributes result; |
8818 | PyObject * obj0 = 0 ; | |
8819 | char *kwnames[] = { | |
8820 | (char *) "variant", NULL | |
8821 | }; | |
8822 | ||
8823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
8824 | if (obj0) { | |
093d3ff1 RD |
8825 | { |
8826 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
8827 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8828 | } | |
22bfe96c RD |
8829 | } |
8830 | { | |
e3b71cb8 | 8831 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
8832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8833 | result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
8834 | ||
8835 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8836 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
8837 | } |
8838 | { | |
8839 | wxVisualAttributes * resultptr; | |
093d3ff1 | 8840 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
22bfe96c RD |
8841 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
8842 | } | |
8843 | return resultobj; | |
8844 | fail: | |
8845 | return NULL; | |
8846 | } | |
8847 | ||
8848 | ||
c32bde28 | 8849 | static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8850 | PyObject *obj; |
8851 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8852 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj); | |
8853 | Py_INCREF(obj); | |
8854 | return Py_BuildValue((char *)""); | |
8855 | } | |
c32bde28 | 8856 | static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8857 | PyObject *resultobj; |
8858 | wxHtmlDCRenderer *result; | |
8859 | char *kwnames[] = { | |
8860 | NULL | |
8861 | }; | |
8862 | ||
8863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail; | |
8864 | { | |
e3b71cb8 | 8865 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8867 | result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer(); | |
8868 | ||
8869 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8870 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8871 | } |
15afbcd0 | 8872 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1); |
d14a1e28 RD |
8873 | return resultobj; |
8874 | fail: | |
8875 | return NULL; | |
8876 | } | |
8877 | ||
8878 | ||
c32bde28 | 8879 | static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8880 | PyObject *resultobj; |
8881 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
8882 | PyObject * obj0 = 0 ; | |
8883 | char *kwnames[] = { | |
8884 | (char *) "self", NULL | |
8885 | }; | |
8886 | ||
8887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8888 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0); |
8889 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8890 | { |
8891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8892 | delete arg1; | |
8893 | ||
8894 | wxPyEndAllowThreads(__tstate); | |
8895 | if (PyErr_Occurred()) SWIG_fail; | |
8896 | } | |
8897 | Py_INCREF(Py_None); resultobj = Py_None; | |
8898 | return resultobj; | |
8899 | fail: | |
8900 | return NULL; | |
8901 | } | |
8902 | ||
8903 | ||
c32bde28 | 8904 | static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8905 | PyObject *resultobj; |
8906 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
8907 | wxDC *arg2 = (wxDC *) 0 ; | |
8908 | int arg3 ; | |
8909 | PyObject * obj0 = 0 ; | |
8910 | PyObject * obj1 = 0 ; | |
994141e6 | 8911 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8912 | char *kwnames[] = { |
8913 | (char *) "self",(char *) "dc",(char *) "maxwidth", NULL | |
8914 | }; | |
8915 | ||
994141e6 | 8916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
8917 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0); |
8918 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8919 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
8920 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8921 | { | |
8922 | arg3 = (int)(SWIG_As_int(obj2)); | |
8923 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8924 | } | |
d14a1e28 RD |
8925 | { |
8926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8927 | (arg1)->SetDC(arg2,arg3); | |
8928 | ||
8929 | wxPyEndAllowThreads(__tstate); | |
8930 | if (PyErr_Occurred()) SWIG_fail; | |
8931 | } | |
8932 | Py_INCREF(Py_None); resultobj = Py_None; | |
8933 | return resultobj; | |
8934 | fail: | |
8935 | return NULL; | |
8936 | } | |
8937 | ||
8938 | ||
c32bde28 | 8939 | static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8940 | PyObject *resultobj; |
8941 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
8942 | int arg2 ; | |
8943 | int arg3 ; | |
8944 | PyObject * obj0 = 0 ; | |
994141e6 RD |
8945 | PyObject * obj1 = 0 ; |
8946 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
8947 | char *kwnames[] = { |
8948 | (char *) "self",(char *) "width",(char *) "height", NULL | |
8949 | }; | |
8950 | ||
994141e6 | 8951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
8952 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0); |
8953 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8954 | { | |
8955 | arg2 = (int)(SWIG_As_int(obj1)); | |
8956 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8957 | } | |
8958 | { | |
8959 | arg3 = (int)(SWIG_As_int(obj2)); | |
8960 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8961 | } | |
d14a1e28 RD |
8962 | { |
8963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8964 | (arg1)->SetSize(arg2,arg3); | |
8965 | ||
8966 | wxPyEndAllowThreads(__tstate); | |
8967 | if (PyErr_Occurred()) SWIG_fail; | |
8968 | } | |
8969 | Py_INCREF(Py_None); resultobj = Py_None; | |
8970 | return resultobj; | |
8971 | fail: | |
8972 | return NULL; | |
8973 | } | |
8974 | ||
8975 | ||
c32bde28 | 8976 | static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8977 | PyObject *resultobj; |
8978 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
8979 | wxString *arg2 = 0 ; | |
8980 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8981 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
ae8162c8 RD |
8982 | bool arg4 = (bool) true ; |
8983 | bool temp2 = false ; | |
8984 | bool temp3 = false ; | |
d14a1e28 RD |
8985 | PyObject * obj0 = 0 ; |
8986 | PyObject * obj1 = 0 ; | |
8987 | PyObject * obj2 = 0 ; | |
8988 | PyObject * obj3 = 0 ; | |
8989 | char *kwnames[] = { | |
8990 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
8991 | }; | |
8992 | ||
8993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
093d3ff1 RD |
8994 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0); |
8995 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8996 | { |
8997 | arg2 = wxString_in_helper(obj1); | |
8998 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 8999 | temp2 = true; |
d14a1e28 RD |
9000 | } |
9001 | if (obj2) { | |
9002 | { | |
9003 | arg3 = wxString_in_helper(obj2); | |
9004 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 9005 | temp3 = true; |
d14a1e28 RD |
9006 | } |
9007 | } | |
9008 | if (obj3) { | |
093d3ff1 RD |
9009 | { |
9010 | arg4 = (bool)(SWIG_As_bool(obj3)); | |
9011 | if (SWIG_arg_fail(4)) SWIG_fail; | |
9012 | } | |
d14a1e28 RD |
9013 | } |
9014 | { | |
9015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9016 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
9017 | ||
9018 | wxPyEndAllowThreads(__tstate); | |
9019 | if (PyErr_Occurred()) SWIG_fail; | |
9020 | } | |
9021 | Py_INCREF(Py_None); resultobj = Py_None; | |
9022 | { | |
9023 | if (temp2) | |
9024 | delete arg2; | |
9025 | } | |
9026 | { | |
9027 | if (temp3) | |
9028 | delete arg3; | |
9029 | } | |
9030 | return resultobj; | |
9031 | fail: | |
9032 | { | |
9033 | if (temp2) | |
9034 | delete arg2; | |
9035 | } | |
9036 | { | |
9037 | if (temp3) | |
9038 | delete arg3; | |
9039 | } | |
9040 | return NULL; | |
9041 | } | |
9042 | ||
9043 | ||
c32bde28 | 9044 | static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9045 | PyObject *resultobj; |
9046 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
9047 | wxString arg2 ; | |
9048 | wxString arg3 ; | |
9049 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
9050 | PyObject * obj0 = 0 ; |
9051 | PyObject * obj1 = 0 ; | |
9052 | PyObject * obj2 = 0 ; | |
9053 | PyObject * obj3 = 0 ; | |
9054 | char *kwnames[] = { | |
9055 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
9056 | }; | |
9057 | ||
9058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
093d3ff1 RD |
9059 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0); |
9060 | if (SWIG_arg_fail(1)) SWIG_fail; | |
e811c8ce RD |
9061 | { |
9062 | wxString* sptr = wxString_in_helper(obj1); | |
9063 | if (sptr == NULL) SWIG_fail; | |
9064 | arg2 = *sptr; | |
9065 | delete sptr; | |
9066 | } | |
9067 | { | |
9068 | wxString* sptr = wxString_in_helper(obj2); | |
9069 | if (sptr == NULL) SWIG_fail; | |
9070 | arg3 = *sptr; | |
9071 | delete sptr; | |
9072 | } | |
d14a1e28 RD |
9073 | if (obj3) { |
9074 | arg4 = obj3; | |
9075 | } | |
9076 | { | |
9077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9078 | wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4); | |
9079 | ||
9080 | wxPyEndAllowThreads(__tstate); | |
9081 | if (PyErr_Occurred()) SWIG_fail; | |
9082 | } | |
9083 | Py_INCREF(Py_None); resultobj = Py_None; | |
9084 | return resultobj; | |
9085 | fail: | |
9086 | return NULL; | |
9087 | } | |
9088 | ||
9089 | ||
ae8162c8 | 9090 | static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
30ee79f7 RD |
9091 | PyObject *resultobj; |
9092 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
9093 | int arg2 = (int) -1 ; | |
ae8162c8 RD |
9094 | wxString const &arg3_defvalue = wxPyEmptyString ; |
9095 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
9096 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
9097 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
9098 | bool temp3 = false ; | |
9099 | bool temp4 = false ; | |
30ee79f7 RD |
9100 | PyObject * obj0 = 0 ; |
9101 | PyObject * obj1 = 0 ; | |
ae8162c8 RD |
9102 | PyObject * obj2 = 0 ; |
9103 | PyObject * obj3 = 0 ; | |
30ee79f7 | 9104 | char *kwnames[] = { |
ae8162c8 | 9105 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL |
30ee79f7 RD |
9106 | }; |
9107 | ||
ae8162c8 | 9108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
9109 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0); |
9110 | if (SWIG_arg_fail(1)) SWIG_fail; | |
30ee79f7 | 9111 | if (obj1) { |
093d3ff1 RD |
9112 | { |
9113 | arg2 = (int)(SWIG_As_int(obj1)); | |
9114 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9115 | } | |
30ee79f7 | 9116 | } |
ae8162c8 RD |
9117 | if (obj2) { |
9118 | { | |
9119 | arg3 = wxString_in_helper(obj2); | |
9120 | if (arg3 == NULL) SWIG_fail; | |
9121 | temp3 = true; | |
9122 | } | |
9123 | } | |
9124 | if (obj3) { | |
9125 | { | |
9126 | arg4 = wxString_in_helper(obj3); | |
9127 | if (arg4 == NULL) SWIG_fail; | |
9128 | temp4 = true; | |
9129 | } | |
9130 | } | |
30ee79f7 RD |
9131 | { |
9132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ae8162c8 | 9133 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); |
30ee79f7 RD |
9134 | |
9135 | wxPyEndAllowThreads(__tstate); | |
9136 | if (PyErr_Occurred()) SWIG_fail; | |
9137 | } | |
9138 | Py_INCREF(Py_None); resultobj = Py_None; | |
ae8162c8 RD |
9139 | { |
9140 | if (temp3) | |
9141 | delete arg3; | |
9142 | } | |
9143 | { | |
9144 | if (temp4) | |
9145 | delete arg4; | |
9146 | } | |
30ee79f7 RD |
9147 | return resultobj; |
9148 | fail: | |
ae8162c8 RD |
9149 | { |
9150 | if (temp3) | |
9151 | delete arg3; | |
9152 | } | |
9153 | { | |
9154 | if (temp4) | |
9155 | delete arg4; | |
9156 | } | |
30ee79f7 RD |
9157 | return NULL; |
9158 | } | |
9159 | ||
9160 | ||
c32bde28 | 9161 | static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9162 | PyObject *resultobj; |
9163 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
9164 | int arg2 ; | |
9165 | int arg3 ; | |
9166 | int arg4 = (int) 0 ; | |
ae8162c8 | 9167 | int arg5 = (int) false ; |
d14a1e28 RD |
9168 | int arg6 = (int) INT_MAX ; |
9169 | int *arg7 = (int *) NULL ; | |
9170 | int arg8 = (int) 0 ; | |
9171 | int result; | |
9172 | PyObject * obj0 = 0 ; | |
994141e6 RD |
9173 | PyObject * obj1 = 0 ; |
9174 | PyObject * obj2 = 0 ; | |
9175 | PyObject * obj3 = 0 ; | |
9176 | PyObject * obj4 = 0 ; | |
9177 | PyObject * obj5 = 0 ; | |
d14a1e28 | 9178 | PyObject * obj6 = 0 ; |
994141e6 | 9179 | PyObject * obj7 = 0 ; |
d14a1e28 | 9180 | char *kwnames[] = { |
f78cc896 | 9181 | (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL |
d14a1e28 RD |
9182 | }; |
9183 | ||
994141e6 | 9184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
9185 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0); |
9186 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9187 | { | |
9188 | arg2 = (int)(SWIG_As_int(obj1)); | |
9189 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9190 | } | |
9191 | { | |
9192 | arg3 = (int)(SWIG_As_int(obj2)); | |
9193 | if (SWIG_arg_fail(3)) SWIG_fail; | |
9194 | } | |
994141e6 | 9195 | if (obj3) { |
093d3ff1 RD |
9196 | { |
9197 | arg4 = (int)(SWIG_As_int(obj3)); | |
9198 | if (SWIG_arg_fail(4)) SWIG_fail; | |
9199 | } | |
994141e6 RD |
9200 | } |
9201 | if (obj4) { | |
093d3ff1 RD |
9202 | { |
9203 | arg5 = (int)(SWIG_As_int(obj4)); | |
9204 | if (SWIG_arg_fail(5)) SWIG_fail; | |
9205 | } | |
994141e6 RD |
9206 | } |
9207 | if (obj5) { | |
093d3ff1 RD |
9208 | { |
9209 | arg6 = (int)(SWIG_As_int(obj5)); | |
9210 | if (SWIG_arg_fail(6)) SWIG_fail; | |
9211 | } | |
994141e6 | 9212 | } |
d14a1e28 | 9213 | if (obj6) { |
093d3ff1 RD |
9214 | SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_int, SWIG_POINTER_EXCEPTION | 0); |
9215 | if (SWIG_arg_fail(7)) SWIG_fail; | |
d14a1e28 | 9216 | } |
994141e6 | 9217 | if (obj7) { |
093d3ff1 RD |
9218 | { |
9219 | arg8 = (int)(SWIG_As_int(obj7)); | |
9220 | if (SWIG_arg_fail(8)) SWIG_fail; | |
9221 | } | |
994141e6 | 9222 | } |
d14a1e28 RD |
9223 | { |
9224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9225 | result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
9226 | ||
9227 | wxPyEndAllowThreads(__tstate); | |
9228 | if (PyErr_Occurred()) SWIG_fail; | |
9229 | } | |
093d3ff1 RD |
9230 | { |
9231 | resultobj = SWIG_From_int((int)(result)); | |
9232 | } | |
d14a1e28 RD |
9233 | return resultobj; |
9234 | fail: | |
9235 | return NULL; | |
9236 | } | |
9237 | ||
9238 | ||
c32bde28 | 9239 | static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9240 | PyObject *resultobj; |
9241 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
9242 | int result; | |
9243 | PyObject * obj0 = 0 ; | |
9244 | char *kwnames[] = { | |
9245 | (char *) "self", NULL | |
9246 | }; | |
9247 | ||
9248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9249 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0); |
9250 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9251 | { |
9252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9253 | result = (int)(arg1)->GetTotalHeight(); | |
9254 | ||
9255 | wxPyEndAllowThreads(__tstate); | |
9256 | if (PyErr_Occurred()) SWIG_fail; | |
9257 | } | |
093d3ff1 RD |
9258 | { |
9259 | resultobj = SWIG_From_int((int)(result)); | |
9260 | } | |
d14a1e28 RD |
9261 | return resultobj; |
9262 | fail: | |
9263 | return NULL; | |
9264 | } | |
9265 | ||
9266 | ||
c32bde28 | 9267 | static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9268 | PyObject *obj; |
9269 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9270 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj); | |
9271 | Py_INCREF(obj); | |
9272 | return Py_BuildValue((char *)""); | |
9273 | } | |
c32bde28 | 9274 | static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9275 | PyObject *resultobj; |
9276 | wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; | |
9277 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
9278 | wxHtmlPrintout *result; | |
ae8162c8 | 9279 | bool temp1 = false ; |
d14a1e28 RD |
9280 | PyObject * obj0 = 0 ; |
9281 | char *kwnames[] = { | |
9282 | (char *) "title", NULL | |
9283 | }; | |
9284 | ||
9285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail; | |
9286 | if (obj0) { | |
9287 | { | |
9288 | arg1 = wxString_in_helper(obj0); | |
9289 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 9290 | temp1 = true; |
d14a1e28 RD |
9291 | } |
9292 | } | |
9293 | { | |
e3b71cb8 | 9294 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
9295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9296 | result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1); | |
9297 | ||
9298 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9299 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9300 | } |
15afbcd0 | 9301 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1); |
d14a1e28 RD |
9302 | { |
9303 | if (temp1) | |
9304 | delete arg1; | |
9305 | } | |
9306 | return resultobj; | |
9307 | fail: | |
9308 | { | |
9309 | if (temp1) | |
9310 | delete arg1; | |
9311 | } | |
9312 | return NULL; | |
9313 | } | |
9314 | ||
9315 | ||
c32bde28 | 9316 | static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9317 | PyObject *resultobj; |
9318 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
9319 | wxString *arg2 = 0 ; | |
9320 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
9321 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
ae8162c8 RD |
9322 | bool arg4 = (bool) true ; |
9323 | bool temp2 = false ; | |
9324 | bool temp3 = false ; | |
d14a1e28 RD |
9325 | PyObject * obj0 = 0 ; |
9326 | PyObject * obj1 = 0 ; | |
9327 | PyObject * obj2 = 0 ; | |
9328 | PyObject * obj3 = 0 ; | |
9329 | char *kwnames[] = { | |
9330 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
9331 | }; | |
9332 | ||
9333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
093d3ff1 RD |
9334 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0); |
9335 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9336 | { |
9337 | arg2 = wxString_in_helper(obj1); | |
9338 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 9339 | temp2 = true; |
d14a1e28 RD |
9340 | } |
9341 | if (obj2) { | |
9342 | { | |
9343 | arg3 = wxString_in_helper(obj2); | |
9344 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 9345 | temp3 = true; |
d14a1e28 RD |
9346 | } |
9347 | } | |
9348 | if (obj3) { | |
093d3ff1 RD |
9349 | { |
9350 | arg4 = (bool)(SWIG_As_bool(obj3)); | |
9351 | if (SWIG_arg_fail(4)) SWIG_fail; | |
9352 | } | |
d14a1e28 RD |
9353 | } |
9354 | { | |
9355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9356 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
9357 | ||
9358 | wxPyEndAllowThreads(__tstate); | |
9359 | if (PyErr_Occurred()) SWIG_fail; | |
9360 | } | |
9361 | Py_INCREF(Py_None); resultobj = Py_None; | |
9362 | { | |
9363 | if (temp2) | |
9364 | delete arg2; | |
9365 | } | |
9366 | { | |
9367 | if (temp3) | |
9368 | delete arg3; | |
9369 | } | |
9370 | return resultobj; | |
9371 | fail: | |
9372 | { | |
9373 | if (temp2) | |
9374 | delete arg2; | |
9375 | } | |
9376 | { | |
9377 | if (temp3) | |
9378 | delete arg3; | |
9379 | } | |
9380 | return NULL; | |
9381 | } | |
9382 | ||
9383 | ||
c32bde28 | 9384 | static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9385 | PyObject *resultobj; |
9386 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
9387 | wxString *arg2 = 0 ; | |
ae8162c8 | 9388 | bool temp2 = false ; |
d14a1e28 RD |
9389 | PyObject * obj0 = 0 ; |
9390 | PyObject * obj1 = 0 ; | |
9391 | char *kwnames[] = { | |
9392 | (char *) "self",(char *) "htmlfile", NULL | |
9393 | }; | |
9394 | ||
9395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9396 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0); |
9397 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9398 | { |
9399 | arg2 = wxString_in_helper(obj1); | |
9400 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 9401 | temp2 = true; |
d14a1e28 RD |
9402 | } |
9403 | { | |
9404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9405 | (arg1)->SetHtmlFile((wxString const &)*arg2); | |
9406 | ||
9407 | wxPyEndAllowThreads(__tstate); | |
9408 | if (PyErr_Occurred()) SWIG_fail; | |
9409 | } | |
9410 | Py_INCREF(Py_None); resultobj = Py_None; | |
9411 | { | |
9412 | if (temp2) | |
9413 | delete arg2; | |
9414 | } | |
9415 | return resultobj; | |
9416 | fail: | |
9417 | { | |
9418 | if (temp2) | |
9419 | delete arg2; | |
9420 | } | |
9421 | return NULL; | |
9422 | } | |
9423 | ||
9424 | ||
c32bde28 | 9425 | static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9426 | PyObject *resultobj; |
9427 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
9428 | wxString *arg2 = 0 ; | |
9429 | int arg3 = (int) wxPAGE_ALL ; | |
ae8162c8 | 9430 | bool temp2 = false ; |
d14a1e28 RD |
9431 | PyObject * obj0 = 0 ; |
9432 | PyObject * obj1 = 0 ; | |
994141e6 | 9433 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9434 | char *kwnames[] = { |
9435 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
9436 | }; | |
9437 | ||
994141e6 | 9438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
9439 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0); |
9440 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9441 | { |
9442 | arg2 = wxString_in_helper(obj1); | |
9443 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 9444 | temp2 = true; |
d14a1e28 | 9445 | } |
994141e6 | 9446 | if (obj2) { |
093d3ff1 RD |
9447 | { |
9448 | arg3 = (int)(SWIG_As_int(obj2)); | |
9449 | if (SWIG_arg_fail(3)) SWIG_fail; | |
9450 | } | |
994141e6 | 9451 | } |
d14a1e28 RD |
9452 | { |
9453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9454 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
9455 | ||
9456 | wxPyEndAllowThreads(__tstate); | |
9457 | if (PyErr_Occurred()) SWIG_fail; | |
9458 | } | |
9459 | Py_INCREF(Py_None); resultobj = Py_None; | |
9460 | { | |
9461 | if (temp2) | |
9462 | delete arg2; | |
9463 | } | |
9464 | return resultobj; | |
9465 | fail: | |
9466 | { | |
9467 | if (temp2) | |
9468 | delete arg2; | |
9469 | } | |
9470 | return NULL; | |
9471 | } | |
9472 | ||
9473 | ||
c32bde28 | 9474 | static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9475 | PyObject *resultobj; |
9476 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
9477 | wxString *arg2 = 0 ; | |
9478 | int arg3 = (int) wxPAGE_ALL ; | |
ae8162c8 | 9479 | bool temp2 = false ; |
d14a1e28 RD |
9480 | PyObject * obj0 = 0 ; |
9481 | PyObject * obj1 = 0 ; | |
994141e6 | 9482 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9483 | char *kwnames[] = { |
9484 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
9485 | }; | |
9486 | ||
994141e6 | 9487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
9488 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0); |
9489 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9490 | { |
9491 | arg2 = wxString_in_helper(obj1); | |
9492 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 9493 | temp2 = true; |
d14a1e28 | 9494 | } |
994141e6 | 9495 | if (obj2) { |
093d3ff1 RD |
9496 | { |
9497 | arg3 = (int)(SWIG_As_int(obj2)); | |
9498 | if (SWIG_arg_fail(3)) SWIG_fail; | |
9499 | } | |
994141e6 | 9500 | } |
d14a1e28 RD |
9501 | { |
9502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9503 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
9504 | ||
9505 | wxPyEndAllowThreads(__tstate); | |
9506 | if (PyErr_Occurred()) SWIG_fail; | |
9507 | } | |
9508 | Py_INCREF(Py_None); resultobj = Py_None; | |
9509 | { | |
9510 | if (temp2) | |
9511 | delete arg2; | |
9512 | } | |
9513 | return resultobj; | |
9514 | fail: | |
9515 | { | |
9516 | if (temp2) | |
9517 | delete arg2; | |
9518 | } | |
9519 | return NULL; | |
9520 | } | |
9521 | ||
9522 | ||
c32bde28 | 9523 | static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9524 | PyObject *resultobj; |
9525 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
9526 | wxString arg2 ; | |
9527 | wxString arg3 ; | |
9528 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
9529 | PyObject * obj0 = 0 ; |
9530 | PyObject * obj1 = 0 ; | |
9531 | PyObject * obj2 = 0 ; | |
9532 | PyObject * obj3 = 0 ; | |
9533 | char *kwnames[] = { | |
9534 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
9535 | }; | |
9536 | ||
9537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
093d3ff1 RD |
9538 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0); |
9539 | if (SWIG_arg_fail(1)) SWIG_fail; | |
e811c8ce RD |
9540 | { |
9541 | wxString* sptr = wxString_in_helper(obj1); | |
9542 | if (sptr == NULL) SWIG_fail; | |
9543 | arg2 = *sptr; | |
9544 | delete sptr; | |
9545 | } | |
9546 | { | |
9547 | wxString* sptr = wxString_in_helper(obj2); | |
9548 | if (sptr == NULL) SWIG_fail; | |
9549 | arg3 = *sptr; | |
9550 | delete sptr; | |
9551 | } | |
d14a1e28 RD |
9552 | if (obj3) { |
9553 | arg4 = obj3; | |
9554 | } | |
9555 | { | |
9556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9557 | wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4); | |
9558 | ||
9559 | wxPyEndAllowThreads(__tstate); | |
9560 | if (PyErr_Occurred()) SWIG_fail; | |
9561 | } | |
9562 | Py_INCREF(Py_None); resultobj = Py_None; | |
9563 | return resultobj; | |
9564 | fail: | |
9565 | return NULL; | |
9566 | } | |
9567 | ||
9568 | ||
ae8162c8 | 9569 | static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
30ee79f7 RD |
9570 | PyObject *resultobj; |
9571 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
9572 | int arg2 = (int) -1 ; | |
ae8162c8 RD |
9573 | wxString const &arg3_defvalue = wxPyEmptyString ; |
9574 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
9575 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
9576 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
9577 | bool temp3 = false ; | |
9578 | bool temp4 = false ; | |
30ee79f7 RD |
9579 | PyObject * obj0 = 0 ; |
9580 | PyObject * obj1 = 0 ; | |
ae8162c8 RD |
9581 | PyObject * obj2 = 0 ; |
9582 | PyObject * obj3 = 0 ; | |
30ee79f7 | 9583 | char *kwnames[] = { |
ae8162c8 | 9584 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL |
30ee79f7 RD |
9585 | }; |
9586 | ||
ae8162c8 | 9587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
9588 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0); |
9589 | if (SWIG_arg_fail(1)) SWIG_fail; | |
30ee79f7 | 9590 | if (obj1) { |
093d3ff1 RD |
9591 | { |
9592 | arg2 = (int)(SWIG_As_int(obj1)); | |
9593 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9594 | } | |
30ee79f7 | 9595 | } |
ae8162c8 RD |
9596 | if (obj2) { |
9597 | { | |
9598 | arg3 = wxString_in_helper(obj2); | |
9599 | if (arg3 == NULL) SWIG_fail; | |
9600 | temp3 = true; | |
9601 | } | |
9602 | } | |
9603 | if (obj3) { | |
9604 | { | |
9605 | arg4 = wxString_in_helper(obj3); | |
9606 | if (arg4 == NULL) SWIG_fail; | |
9607 | temp4 = true; | |
9608 | } | |
9609 | } | |
30ee79f7 RD |
9610 | { |
9611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ae8162c8 | 9612 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); |
30ee79f7 RD |
9613 | |
9614 | wxPyEndAllowThreads(__tstate); | |
9615 | if (PyErr_Occurred()) SWIG_fail; | |
9616 | } | |
9617 | Py_INCREF(Py_None); resultobj = Py_None; | |
ae8162c8 RD |
9618 | { |
9619 | if (temp3) | |
9620 | delete arg3; | |
9621 | } | |
9622 | { | |
9623 | if (temp4) | |
9624 | delete arg4; | |
9625 | } | |
30ee79f7 RD |
9626 | return resultobj; |
9627 | fail: | |
ae8162c8 RD |
9628 | { |
9629 | if (temp3) | |
9630 | delete arg3; | |
9631 | } | |
9632 | { | |
9633 | if (temp4) | |
9634 | delete arg4; | |
9635 | } | |
30ee79f7 RD |
9636 | return NULL; |
9637 | } | |
9638 | ||
9639 | ||
c32bde28 | 9640 | static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9641 | PyObject *resultobj; |
9642 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
9643 | float arg2 = (float) 25.2 ; | |
9644 | float arg3 = (float) 25.2 ; | |
9645 | float arg4 = (float) 25.2 ; | |
9646 | float arg5 = (float) 25.2 ; | |
9647 | float arg6 = (float) 5 ; | |
9648 | PyObject * obj0 = 0 ; | |
994141e6 RD |
9649 | PyObject * obj1 = 0 ; |
9650 | PyObject * obj2 = 0 ; | |
9651 | PyObject * obj3 = 0 ; | |
9652 | PyObject * obj4 = 0 ; | |
9653 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
9654 | char *kwnames[] = { |
9655 | (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL | |
9656 | }; | |
9657 | ||
994141e6 | 9658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
9659 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0); |
9660 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 9661 | if (obj1) { |
093d3ff1 RD |
9662 | { |
9663 | arg2 = (float)(SWIG_As_float(obj1)); | |
9664 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9665 | } | |
994141e6 RD |
9666 | } |
9667 | if (obj2) { | |
093d3ff1 RD |
9668 | { |
9669 | arg3 = (float)(SWIG_As_float(obj2)); | |
9670 | if (SWIG_arg_fail(3)) SWIG_fail; | |
9671 | } | |
994141e6 RD |
9672 | } |
9673 | if (obj3) { | |
093d3ff1 RD |
9674 | { |
9675 | arg4 = (float)(SWIG_As_float(obj3)); | |
9676 | if (SWIG_arg_fail(4)) SWIG_fail; | |
9677 | } | |
994141e6 RD |
9678 | } |
9679 | if (obj4) { | |
093d3ff1 RD |
9680 | { |
9681 | arg5 = (float)(SWIG_As_float(obj4)); | |
9682 | if (SWIG_arg_fail(5)) SWIG_fail; | |
9683 | } | |
994141e6 RD |
9684 | } |
9685 | if (obj5) { | |
093d3ff1 RD |
9686 | { |
9687 | arg6 = (float)(SWIG_As_float(obj5)); | |
9688 | if (SWIG_arg_fail(6)) SWIG_fail; | |
9689 | } | |
994141e6 | 9690 | } |
d14a1e28 RD |
9691 | { |
9692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9693 | (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6); | |
9694 | ||
9695 | wxPyEndAllowThreads(__tstate); | |
9696 | if (PyErr_Occurred()) SWIG_fail; | |
9697 | } | |
9698 | Py_INCREF(Py_None); resultobj = Py_None; | |
9699 | return resultobj; | |
9700 | fail: | |
9701 | return NULL; | |
9702 | } | |
9703 | ||
9704 | ||
c32bde28 | 9705 | static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9706 | PyObject *resultobj; |
9707 | wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; | |
9708 | PyObject * obj0 = 0 ; | |
9709 | char *kwnames[] = { | |
9710 | (char *) "filter", NULL | |
9711 | }; | |
9712 | ||
9713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9714 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlFilter, SWIG_POINTER_EXCEPTION | 0); |
9715 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9716 | { |
9717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9718 | wxHtmlPrintout::AddFilter(arg1); | |
9719 | ||
9720 | wxPyEndAllowThreads(__tstate); | |
9721 | if (PyErr_Occurred()) SWIG_fail; | |
9722 | } | |
9723 | Py_INCREF(Py_None); resultobj = Py_None; | |
9724 | return resultobj; | |
9725 | fail: | |
9726 | return NULL; | |
9727 | } | |
9728 | ||
9729 | ||
c32bde28 | 9730 | static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9731 | PyObject *resultobj; |
9732 | char *kwnames[] = { | |
9733 | NULL | |
9734 | }; | |
9735 | ||
9736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail; | |
9737 | { | |
9738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9739 | wxHtmlPrintout::CleanUpStatics(); | |
9740 | ||
9741 | wxPyEndAllowThreads(__tstate); | |
9742 | if (PyErr_Occurred()) SWIG_fail; | |
9743 | } | |
9744 | Py_INCREF(Py_None); resultobj = Py_None; | |
9745 | return resultobj; | |
9746 | fail: | |
9747 | return NULL; | |
9748 | } | |
9749 | ||
9750 | ||
c32bde28 | 9751 | static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9752 | PyObject *obj; |
9753 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9754 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj); | |
9755 | Py_INCREF(obj); | |
9756 | return Py_BuildValue((char *)""); | |
9757 | } | |
c32bde28 | 9758 | static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9759 | PyObject *resultobj; |
9760 | wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; | |
9761 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
9762 | wxWindow *arg2 = (wxWindow *) NULL ; | |
9763 | wxHtmlEasyPrinting *result; | |
ae8162c8 | 9764 | bool temp1 = false ; |
d14a1e28 RD |
9765 | PyObject * obj0 = 0 ; |
9766 | PyObject * obj1 = 0 ; | |
9767 | char *kwnames[] = { | |
9768 | (char *) "name",(char *) "parentWindow", NULL | |
9769 | }; | |
9770 | ||
9771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail; | |
9772 | if (obj0) { | |
9773 | { | |
9774 | arg1 = wxString_in_helper(obj0); | |
9775 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 9776 | temp1 = true; |
d14a1e28 RD |
9777 | } |
9778 | } | |
9779 | if (obj1) { | |
093d3ff1 RD |
9780 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
9781 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
9782 | } |
9783 | { | |
e3b71cb8 | 9784 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
9785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9786 | result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2); | |
9787 | ||
9788 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9789 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9790 | } |
15afbcd0 | 9791 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1); |
d14a1e28 RD |
9792 | { |
9793 | if (temp1) | |
9794 | delete arg1; | |
9795 | } | |
9796 | return resultobj; | |
9797 | fail: | |
9798 | { | |
9799 | if (temp1) | |
9800 | delete arg1; | |
9801 | } | |
9802 | return NULL; | |
9803 | } | |
9804 | ||
9805 | ||
c32bde28 | 9806 | static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9807 | PyObject *resultobj; |
9808 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
9809 | PyObject * obj0 = 0 ; | |
9810 | char *kwnames[] = { | |
9811 | (char *) "self", NULL | |
9812 | }; | |
9813 | ||
9814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9815 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0); |
9816 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9817 | { |
9818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9819 | delete arg1; | |
9820 | ||
9821 | wxPyEndAllowThreads(__tstate); | |
9822 | if (PyErr_Occurred()) SWIG_fail; | |
9823 | } | |
9824 | Py_INCREF(Py_None); resultobj = Py_None; | |
9825 | return resultobj; | |
9826 | fail: | |
9827 | return NULL; | |
9828 | } | |
9829 | ||
9830 | ||
c32bde28 | 9831 | static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9832 | PyObject *resultobj; |
9833 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
9834 | wxString *arg2 = 0 ; | |
ae8162c8 | 9835 | bool temp2 = false ; |
d14a1e28 RD |
9836 | PyObject * obj0 = 0 ; |
9837 | PyObject * obj1 = 0 ; | |
9838 | char *kwnames[] = { | |
9839 | (char *) "self",(char *) "htmlfile", NULL | |
9840 | }; | |
9841 | ||
9842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9843 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0); |
9844 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9845 | { |
9846 | arg2 = wxString_in_helper(obj1); | |
9847 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 9848 | temp2 = true; |
d14a1e28 RD |
9849 | } |
9850 | { | |
9851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9852 | (arg1)->PreviewFile((wxString const &)*arg2); | |
9853 | ||
9854 | wxPyEndAllowThreads(__tstate); | |
9855 | if (PyErr_Occurred()) SWIG_fail; | |
9856 | } | |
9857 | Py_INCREF(Py_None); resultobj = Py_None; | |
9858 | { | |
9859 | if (temp2) | |
9860 | delete arg2; | |
9861 | } | |
9862 | return resultobj; | |
9863 | fail: | |
9864 | { | |
9865 | if (temp2) | |
9866 | delete arg2; | |
9867 | } | |
9868 | return NULL; | |
9869 | } | |
9870 | ||
9871 | ||
c32bde28 | 9872 | static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9873 | PyObject *resultobj; |
9874 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
9875 | wxString *arg2 = 0 ; | |
9876 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
9877 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
ae8162c8 RD |
9878 | bool temp2 = false ; |
9879 | bool temp3 = false ; | |
d14a1e28 RD |
9880 | PyObject * obj0 = 0 ; |
9881 | PyObject * obj1 = 0 ; | |
9882 | PyObject * obj2 = 0 ; | |
9883 | char *kwnames[] = { | |
9884 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
9885 | }; | |
9886 | ||
9887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
9888 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0); |
9889 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9890 | { |
9891 | arg2 = wxString_in_helper(obj1); | |
9892 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 9893 | temp2 = true; |
d14a1e28 RD |
9894 | } |
9895 | if (obj2) { | |
9896 | { | |
9897 | arg3 = wxString_in_helper(obj2); | |
9898 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 9899 | temp3 = true; |
d14a1e28 RD |
9900 | } |
9901 | } | |
9902 | { | |
9903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9904 | (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3); | |
9905 | ||
9906 | wxPyEndAllowThreads(__tstate); | |
9907 | if (PyErr_Occurred()) SWIG_fail; | |
9908 | } | |
9909 | Py_INCREF(Py_None); resultobj = Py_None; | |
9910 | { | |
9911 | if (temp2) | |
9912 | delete arg2; | |
9913 | } | |
9914 | { | |
9915 | if (temp3) | |
9916 | delete arg3; | |
9917 | } | |
9918 | return resultobj; | |
9919 | fail: | |
9920 | { | |
9921 | if (temp2) | |
9922 | delete arg2; | |
9923 | } | |
9924 | { | |
9925 | if (temp3) | |
9926 | delete arg3; | |
9927 | } | |
9928 | return NULL; | |
9929 | } | |
9930 | ||
9931 | ||
c32bde28 | 9932 | static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9933 | PyObject *resultobj; |
9934 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
9935 | wxString *arg2 = 0 ; | |
ae8162c8 | 9936 | bool temp2 = false ; |
d14a1e28 RD |
9937 | PyObject * obj0 = 0 ; |
9938 | PyObject * obj1 = 0 ; | |
9939 | char *kwnames[] = { | |
9940 | (char *) "self",(char *) "htmlfile", NULL | |
9941 | }; | |
9942 | ||
9943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9944 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0); |
9945 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9946 | { |
9947 | arg2 = wxString_in_helper(obj1); | |
9948 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 9949 | temp2 = true; |
d14a1e28 RD |
9950 | } |
9951 | { | |
9952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9953 | (arg1)->PrintFile((wxString const &)*arg2); | |
9954 | ||
9955 | wxPyEndAllowThreads(__tstate); | |
9956 | if (PyErr_Occurred()) SWIG_fail; | |
9957 | } | |
9958 | Py_INCREF(Py_None); resultobj = Py_None; | |
9959 | { | |
9960 | if (temp2) | |
9961 | delete arg2; | |
9962 | } | |
9963 | return resultobj; | |
9964 | fail: | |
9965 | { | |
9966 | if (temp2) | |
9967 | delete arg2; | |
9968 | } | |
9969 | return NULL; | |
9970 | } | |
9971 | ||
9972 | ||
c32bde28 | 9973 | static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9974 | PyObject *resultobj; |
9975 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
9976 | wxString *arg2 = 0 ; | |
9977 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
9978 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
ae8162c8 RD |
9979 | bool temp2 = false ; |
9980 | bool temp3 = false ; | |
d14a1e28 RD |
9981 | PyObject * obj0 = 0 ; |
9982 | PyObject * obj1 = 0 ; | |
9983 | PyObject * obj2 = 0 ; | |
9984 | char *kwnames[] = { | |
9985 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
9986 | }; | |
9987 | ||
9988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
9989 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0); |
9990 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9991 | { |
9992 | arg2 = wxString_in_helper(obj1); | |
9993 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 9994 | temp2 = true; |
d14a1e28 RD |
9995 | } |
9996 | if (obj2) { | |
9997 | { | |
9998 | arg3 = wxString_in_helper(obj2); | |
9999 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 10000 | temp3 = true; |
d14a1e28 RD |
10001 | } |
10002 | } | |
10003 | { | |
10004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10005 | (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3); | |
10006 | ||
10007 | wxPyEndAllowThreads(__tstate); | |
10008 | if (PyErr_Occurred()) SWIG_fail; | |
10009 | } | |
10010 | Py_INCREF(Py_None); resultobj = Py_None; | |
10011 | { | |
10012 | if (temp2) | |
10013 | delete arg2; | |
10014 | } | |
10015 | { | |
10016 | if (temp3) | |
10017 | delete arg3; | |
10018 | } | |
10019 | return resultobj; | |
10020 | fail: | |
10021 | { | |
10022 | if (temp2) | |
10023 | delete arg2; | |
10024 | } | |
10025 | { | |
10026 | if (temp3) | |
10027 | delete arg3; | |
10028 | } | |
10029 | return NULL; | |
10030 | } | |
10031 | ||
10032 | ||
c32bde28 | 10033 | static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10034 | PyObject *resultobj; |
10035 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
10036 | PyObject * obj0 = 0 ; | |
10037 | char *kwnames[] = { | |
10038 | (char *) "self", NULL | |
10039 | }; | |
10040 | ||
10041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10042 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0); |
10043 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10044 | { |
10045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10046 | (arg1)->PageSetup(); | |
10047 | ||
10048 | wxPyEndAllowThreads(__tstate); | |
10049 | if (PyErr_Occurred()) SWIG_fail; | |
10050 | } | |
10051 | Py_INCREF(Py_None); resultobj = Py_None; | |
10052 | return resultobj; | |
10053 | fail: | |
10054 | return NULL; | |
10055 | } | |
10056 | ||
10057 | ||
c32bde28 | 10058 | static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10059 | PyObject *resultobj; |
10060 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
10061 | wxString *arg2 = 0 ; | |
10062 | int arg3 = (int) wxPAGE_ALL ; | |
ae8162c8 | 10063 | bool temp2 = false ; |
d14a1e28 RD |
10064 | PyObject * obj0 = 0 ; |
10065 | PyObject * obj1 = 0 ; | |
994141e6 | 10066 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10067 | char *kwnames[] = { |
10068 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
10069 | }; | |
10070 | ||
994141e6 | 10071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
10072 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0); |
10073 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10074 | { |
10075 | arg2 = wxString_in_helper(obj1); | |
10076 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 10077 | temp2 = true; |
d14a1e28 | 10078 | } |
994141e6 | 10079 | if (obj2) { |
093d3ff1 RD |
10080 | { |
10081 | arg3 = (int)(SWIG_As_int(obj2)); | |
10082 | if (SWIG_arg_fail(3)) SWIG_fail; | |
10083 | } | |
994141e6 | 10084 | } |
d14a1e28 RD |
10085 | { |
10086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10087 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
10088 | ||
10089 | wxPyEndAllowThreads(__tstate); | |
10090 | if (PyErr_Occurred()) SWIG_fail; | |
10091 | } | |
10092 | Py_INCREF(Py_None); resultobj = Py_None; | |
10093 | { | |
10094 | if (temp2) | |
10095 | delete arg2; | |
10096 | } | |
10097 | return resultobj; | |
10098 | fail: | |
10099 | { | |
10100 | if (temp2) | |
10101 | delete arg2; | |
10102 | } | |
10103 | return NULL; | |
10104 | } | |
10105 | ||
10106 | ||
c32bde28 | 10107 | static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10108 | PyObject *resultobj; |
10109 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
10110 | wxString *arg2 = 0 ; | |
10111 | int arg3 = (int) wxPAGE_ALL ; | |
ae8162c8 | 10112 | bool temp2 = false ; |
d14a1e28 RD |
10113 | PyObject * obj0 = 0 ; |
10114 | PyObject * obj1 = 0 ; | |
994141e6 | 10115 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10116 | char *kwnames[] = { |
10117 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
10118 | }; | |
10119 | ||
994141e6 | 10120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
10121 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0); |
10122 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10123 | { |
10124 | arg2 = wxString_in_helper(obj1); | |
10125 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 10126 | temp2 = true; |
d14a1e28 | 10127 | } |
994141e6 | 10128 | if (obj2) { |
093d3ff1 RD |
10129 | { |
10130 | arg3 = (int)(SWIG_As_int(obj2)); | |
10131 | if (SWIG_arg_fail(3)) SWIG_fail; | |
10132 | } | |
994141e6 | 10133 | } |
d14a1e28 RD |
10134 | { |
10135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10136 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
10137 | ||
10138 | wxPyEndAllowThreads(__tstate); | |
10139 | if (PyErr_Occurred()) SWIG_fail; | |
10140 | } | |
10141 | Py_INCREF(Py_None); resultobj = Py_None; | |
10142 | { | |
10143 | if (temp2) | |
10144 | delete arg2; | |
10145 | } | |
10146 | return resultobj; | |
10147 | fail: | |
10148 | { | |
10149 | if (temp2) | |
10150 | delete arg2; | |
10151 | } | |
10152 | return NULL; | |
10153 | } | |
10154 | ||
10155 | ||
c32bde28 | 10156 | static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10157 | PyObject *resultobj; |
10158 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
10159 | wxString arg2 ; | |
10160 | wxString arg3 ; | |
10161 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
10162 | PyObject * obj0 = 0 ; |
10163 | PyObject * obj1 = 0 ; | |
10164 | PyObject * obj2 = 0 ; | |
10165 | PyObject * obj3 = 0 ; | |
10166 | char *kwnames[] = { | |
10167 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
10168 | }; | |
10169 | ||
10170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
093d3ff1 RD |
10171 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0); |
10172 | if (SWIG_arg_fail(1)) SWIG_fail; | |
e811c8ce RD |
10173 | { |
10174 | wxString* sptr = wxString_in_helper(obj1); | |
10175 | if (sptr == NULL) SWIG_fail; | |
10176 | arg2 = *sptr; | |
10177 | delete sptr; | |
10178 | } | |
10179 | { | |
10180 | wxString* sptr = wxString_in_helper(obj2); | |
10181 | if (sptr == NULL) SWIG_fail; | |
10182 | arg3 = *sptr; | |
10183 | delete sptr; | |
10184 | } | |
d14a1e28 RD |
10185 | if (obj3) { |
10186 | arg4 = obj3; | |
10187 | } | |
10188 | { | |
10189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10190 | wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4); | |
10191 | ||
10192 | wxPyEndAllowThreads(__tstate); | |
10193 | if (PyErr_Occurred()) SWIG_fail; | |
10194 | } | |
10195 | Py_INCREF(Py_None); resultobj = Py_None; | |
10196 | return resultobj; | |
10197 | fail: | |
10198 | return NULL; | |
10199 | } | |
10200 | ||
10201 | ||
ae8162c8 | 10202 | static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
30ee79f7 RD |
10203 | PyObject *resultobj; |
10204 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
10205 | int arg2 = (int) -1 ; | |
ae8162c8 RD |
10206 | wxString const &arg3_defvalue = wxPyEmptyString ; |
10207 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10208 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
10209 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
10210 | bool temp3 = false ; | |
10211 | bool temp4 = false ; | |
30ee79f7 RD |
10212 | PyObject * obj0 = 0 ; |
10213 | PyObject * obj1 = 0 ; | |
ae8162c8 RD |
10214 | PyObject * obj2 = 0 ; |
10215 | PyObject * obj3 = 0 ; | |
30ee79f7 | 10216 | char *kwnames[] = { |
ae8162c8 | 10217 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL |
30ee79f7 RD |
10218 | }; |
10219 | ||
ae8162c8 | 10220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
10221 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0); |
10222 | if (SWIG_arg_fail(1)) SWIG_fail; | |
30ee79f7 | 10223 | if (obj1) { |
093d3ff1 RD |
10224 | { |
10225 | arg2 = (int)(SWIG_As_int(obj1)); | |
10226 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10227 | } | |
30ee79f7 | 10228 | } |
ae8162c8 RD |
10229 | if (obj2) { |
10230 | { | |
10231 | arg3 = wxString_in_helper(obj2); | |
10232 | if (arg3 == NULL) SWIG_fail; | |
10233 | temp3 = true; | |
10234 | } | |
10235 | } | |
10236 | if (obj3) { | |
10237 | { | |
10238 | arg4 = wxString_in_helper(obj3); | |
10239 | if (arg4 == NULL) SWIG_fail; | |
10240 | temp4 = true; | |
10241 | } | |
10242 | } | |
30ee79f7 RD |
10243 | { |
10244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ae8162c8 | 10245 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); |
30ee79f7 RD |
10246 | |
10247 | wxPyEndAllowThreads(__tstate); | |
10248 | if (PyErr_Occurred()) SWIG_fail; | |
10249 | } | |
10250 | Py_INCREF(Py_None); resultobj = Py_None; | |
ae8162c8 RD |
10251 | { |
10252 | if (temp3) | |
10253 | delete arg3; | |
10254 | } | |
10255 | { | |
10256 | if (temp4) | |
10257 | delete arg4; | |
10258 | } | |
30ee79f7 RD |
10259 | return resultobj; |
10260 | fail: | |
ae8162c8 RD |
10261 | { |
10262 | if (temp3) | |
10263 | delete arg3; | |
10264 | } | |
10265 | { | |
10266 | if (temp4) | |
10267 | delete arg4; | |
10268 | } | |
30ee79f7 RD |
10269 | return NULL; |
10270 | } | |
10271 | ||
10272 | ||
c32bde28 | 10273 | static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10274 | PyObject *resultobj; |
10275 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
10276 | wxPrintData *result; | |
10277 | PyObject * obj0 = 0 ; | |
10278 | char *kwnames[] = { | |
10279 | (char *) "self", NULL | |
10280 | }; | |
10281 | ||
10282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10283 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0); |
10284 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10285 | { |
10286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10287 | result = (wxPrintData *)(arg1)->GetPrintData(); | |
10288 | ||
10289 | wxPyEndAllowThreads(__tstate); | |
10290 | if (PyErr_Occurred()) SWIG_fail; | |
10291 | } | |
15afbcd0 | 10292 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
10293 | return resultobj; |
10294 | fail: | |
10295 | return NULL; | |
10296 | } | |
10297 | ||
10298 | ||
c32bde28 | 10299 | static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10300 | PyObject *resultobj; |
10301 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
10302 | wxPageSetupDialogData *result; | |
10303 | PyObject * obj0 = 0 ; | |
10304 | char *kwnames[] = { | |
10305 | (char *) "self", NULL | |
10306 | }; | |
10307 | ||
10308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10309 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0); |
10310 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10311 | { |
10312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10313 | result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData(); | |
10314 | ||
10315 | wxPyEndAllowThreads(__tstate); | |
10316 | if (PyErr_Occurred()) SWIG_fail; | |
10317 | } | |
15afbcd0 | 10318 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); |
d14a1e28 RD |
10319 | return resultobj; |
10320 | fail: | |
10321 | return NULL; | |
10322 | } | |
10323 | ||
10324 | ||
c32bde28 | 10325 | static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10326 | PyObject *obj; |
10327 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10328 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj); | |
10329 | Py_INCREF(obj); | |
10330 | return Py_BuildValue((char *)""); | |
10331 | } | |
c32bde28 | 10332 | static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10333 | PyObject *resultobj; |
10334 | wxString *arg1 = 0 ; | |
10335 | wxString *arg2 = 0 ; | |
10336 | wxString *arg3 = 0 ; | |
10337 | wxString *arg4 = 0 ; | |
10338 | wxHtmlBookRecord *result; | |
ae8162c8 RD |
10339 | bool temp1 = false ; |
10340 | bool temp2 = false ; | |
10341 | bool temp3 = false ; | |
10342 | bool temp4 = false ; | |
d14a1e28 RD |
10343 | PyObject * obj0 = 0 ; |
10344 | PyObject * obj1 = 0 ; | |
10345 | PyObject * obj2 = 0 ; | |
10346 | PyObject * obj3 = 0 ; | |
10347 | char *kwnames[] = { | |
10348 | (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL | |
10349 | }; | |
10350 | ||
10351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
10352 | { | |
10353 | arg1 = wxString_in_helper(obj0); | |
10354 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 10355 | temp1 = true; |
d14a1e28 RD |
10356 | } |
10357 | { | |
10358 | arg2 = wxString_in_helper(obj1); | |
10359 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 10360 | temp2 = true; |
d14a1e28 RD |
10361 | } |
10362 | { | |
10363 | arg3 = wxString_in_helper(obj2); | |
10364 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 10365 | temp3 = true; |
d14a1e28 RD |
10366 | } |
10367 | { | |
10368 | arg4 = wxString_in_helper(obj3); | |
10369 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 10370 | temp4 = true; |
d14a1e28 RD |
10371 | } |
10372 | { | |
10373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10374 | result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
10375 | ||
10376 | wxPyEndAllowThreads(__tstate); | |
10377 | if (PyErr_Occurred()) SWIG_fail; | |
10378 | } | |
15afbcd0 | 10379 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1); |
d14a1e28 RD |
10380 | { |
10381 | if (temp1) | |
10382 | delete arg1; | |
10383 | } | |
10384 | { | |
10385 | if (temp2) | |
10386 | delete arg2; | |
10387 | } | |
10388 | { | |
10389 | if (temp3) | |
10390 | delete arg3; | |
10391 | } | |
10392 | { | |
10393 | if (temp4) | |
10394 | delete arg4; | |
10395 | } | |
10396 | return resultobj; | |
10397 | fail: | |
10398 | { | |
10399 | if (temp1) | |
10400 | delete arg1; | |
10401 | } | |
10402 | { | |
10403 | if (temp2) | |
10404 | delete arg2; | |
10405 | } | |
10406 | { | |
10407 | if (temp3) | |
10408 | delete arg3; | |
10409 | } | |
10410 | { | |
10411 | if (temp4) | |
10412 | delete arg4; | |
10413 | } | |
10414 | return NULL; | |
10415 | } | |
10416 | ||
10417 | ||
c32bde28 | 10418 | static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10419 | PyObject *resultobj; |
10420 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
10421 | wxString result; | |
10422 | PyObject * obj0 = 0 ; | |
10423 | char *kwnames[] = { | |
10424 | (char *) "self", NULL | |
10425 | }; | |
10426 | ||
10427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10428 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0); |
10429 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10430 | { |
10431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10432 | result = (arg1)->GetBookFile(); | |
10433 | ||
10434 | wxPyEndAllowThreads(__tstate); | |
10435 | if (PyErr_Occurred()) SWIG_fail; | |
10436 | } | |
10437 | { | |
10438 | #if wxUSE_UNICODE | |
10439 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10440 | #else | |
10441 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10442 | #endif | |
10443 | } | |
10444 | return resultobj; | |
10445 | fail: | |
10446 | return NULL; | |
10447 | } | |
10448 | ||
10449 | ||
c32bde28 | 10450 | static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10451 | PyObject *resultobj; |
10452 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
10453 | wxString result; | |
10454 | PyObject * obj0 = 0 ; | |
10455 | char *kwnames[] = { | |
10456 | (char *) "self", NULL | |
10457 | }; | |
10458 | ||
10459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10460 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0); |
10461 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10462 | { |
10463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10464 | result = (arg1)->GetTitle(); | |
10465 | ||
10466 | wxPyEndAllowThreads(__tstate); | |
10467 | if (PyErr_Occurred()) SWIG_fail; | |
10468 | } | |
10469 | { | |
10470 | #if wxUSE_UNICODE | |
10471 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10472 | #else | |
10473 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10474 | #endif | |
10475 | } | |
10476 | return resultobj; | |
10477 | fail: | |
10478 | return NULL; | |
10479 | } | |
10480 | ||
10481 | ||
c32bde28 | 10482 | static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10483 | PyObject *resultobj; |
10484 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
10485 | wxString result; | |
10486 | PyObject * obj0 = 0 ; | |
10487 | char *kwnames[] = { | |
10488 | (char *) "self", NULL | |
10489 | }; | |
10490 | ||
10491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10492 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0); |
10493 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10494 | { |
10495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10496 | result = (arg1)->GetStart(); | |
10497 | ||
10498 | wxPyEndAllowThreads(__tstate); | |
10499 | if (PyErr_Occurred()) SWIG_fail; | |
10500 | } | |
10501 | { | |
10502 | #if wxUSE_UNICODE | |
10503 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10504 | #else | |
10505 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10506 | #endif | |
10507 | } | |
10508 | return resultobj; | |
10509 | fail: | |
10510 | return NULL; | |
10511 | } | |
10512 | ||
10513 | ||
c32bde28 | 10514 | static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10515 | PyObject *resultobj; |
10516 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
10517 | wxString result; | |
10518 | PyObject * obj0 = 0 ; | |
10519 | char *kwnames[] = { | |
10520 | (char *) "self", NULL | |
10521 | }; | |
10522 | ||
10523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10524 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0); |
10525 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10526 | { |
10527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10528 | result = (arg1)->GetBasePath(); | |
10529 | ||
10530 | wxPyEndAllowThreads(__tstate); | |
10531 | if (PyErr_Occurred()) SWIG_fail; | |
10532 | } | |
10533 | { | |
10534 | #if wxUSE_UNICODE | |
10535 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10536 | #else | |
10537 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10538 | #endif | |
10539 | } | |
10540 | return resultobj; | |
10541 | fail: | |
10542 | return NULL; | |
10543 | } | |
10544 | ||
10545 | ||
c32bde28 | 10546 | static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10547 | PyObject *resultobj; |
10548 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
10549 | int arg2 ; | |
10550 | int arg3 ; | |
10551 | PyObject * obj0 = 0 ; | |
994141e6 RD |
10552 | PyObject * obj1 = 0 ; |
10553 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
10554 | char *kwnames[] = { |
10555 | (char *) "self",(char *) "start",(char *) "end", NULL | |
10556 | }; | |
10557 | ||
994141e6 | 10558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
10559 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0); |
10560 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10561 | { | |
10562 | arg2 = (int)(SWIG_As_int(obj1)); | |
10563 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10564 | } | |
10565 | { | |
10566 | arg3 = (int)(SWIG_As_int(obj2)); | |
10567 | if (SWIG_arg_fail(3)) SWIG_fail; | |
10568 | } | |
d14a1e28 RD |
10569 | { |
10570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10571 | (arg1)->SetContentsRange(arg2,arg3); | |
10572 | ||
10573 | wxPyEndAllowThreads(__tstate); | |
10574 | if (PyErr_Occurred()) SWIG_fail; | |
10575 | } | |
10576 | Py_INCREF(Py_None); resultobj = Py_None; | |
10577 | return resultobj; | |
10578 | fail: | |
10579 | return NULL; | |
10580 | } | |
10581 | ||
10582 | ||
c32bde28 | 10583 | static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10584 | PyObject *resultobj; |
10585 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
10586 | int result; | |
10587 | PyObject * obj0 = 0 ; | |
10588 | char *kwnames[] = { | |
10589 | (char *) "self", NULL | |
10590 | }; | |
10591 | ||
10592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10593 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0); |
10594 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10595 | { |
10596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10597 | result = (int)(arg1)->GetContentsStart(); | |
10598 | ||
10599 | wxPyEndAllowThreads(__tstate); | |
10600 | if (PyErr_Occurred()) SWIG_fail; | |
10601 | } | |
093d3ff1 RD |
10602 | { |
10603 | resultobj = SWIG_From_int((int)(result)); | |
10604 | } | |
d14a1e28 RD |
10605 | return resultobj; |
10606 | fail: | |
10607 | return NULL; | |
10608 | } | |
10609 | ||
10610 | ||
c32bde28 | 10611 | static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10612 | PyObject *resultobj; |
10613 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
10614 | int result; | |
10615 | PyObject * obj0 = 0 ; | |
10616 | char *kwnames[] = { | |
10617 | (char *) "self", NULL | |
10618 | }; | |
10619 | ||
10620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10621 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0); |
10622 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10623 | { |
10624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10625 | result = (int)(arg1)->GetContentsEnd(); | |
10626 | ||
10627 | wxPyEndAllowThreads(__tstate); | |
10628 | if (PyErr_Occurred()) SWIG_fail; | |
10629 | } | |
093d3ff1 RD |
10630 | { |
10631 | resultobj = SWIG_From_int((int)(result)); | |
10632 | } | |
d14a1e28 RD |
10633 | return resultobj; |
10634 | fail: | |
10635 | return NULL; | |
10636 | } | |
10637 | ||
10638 | ||
c32bde28 | 10639 | static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10640 | PyObject *resultobj; |
10641 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
10642 | wxString *arg2 = 0 ; | |
ae8162c8 | 10643 | bool temp2 = false ; |
d14a1e28 RD |
10644 | PyObject * obj0 = 0 ; |
10645 | PyObject * obj1 = 0 ; | |
10646 | char *kwnames[] = { | |
10647 | (char *) "self",(char *) "title", NULL | |
10648 | }; | |
10649 | ||
10650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
10651 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0); |
10652 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10653 | { |
10654 | arg2 = wxString_in_helper(obj1); | |
10655 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 10656 | temp2 = true; |
d14a1e28 RD |
10657 | } |
10658 | { | |
10659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10660 | (arg1)->SetTitle((wxString const &)*arg2); | |
10661 | ||
10662 | wxPyEndAllowThreads(__tstate); | |
10663 | if (PyErr_Occurred()) SWIG_fail; | |
10664 | } | |
10665 | Py_INCREF(Py_None); resultobj = Py_None; | |
10666 | { | |
10667 | if (temp2) | |
10668 | delete arg2; | |
10669 | } | |
10670 | return resultobj; | |
10671 | fail: | |
10672 | { | |
10673 | if (temp2) | |
10674 | delete arg2; | |
10675 | } | |
10676 | return NULL; | |
10677 | } | |
10678 | ||
10679 | ||
c32bde28 | 10680 | static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10681 | PyObject *resultobj; |
10682 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
10683 | wxString *arg2 = 0 ; | |
ae8162c8 | 10684 | bool temp2 = false ; |
d14a1e28 RD |
10685 | PyObject * obj0 = 0 ; |
10686 | PyObject * obj1 = 0 ; | |
10687 | char *kwnames[] = { | |
10688 | (char *) "self",(char *) "path", NULL | |
10689 | }; | |
10690 | ||
10691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
10692 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0); |
10693 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10694 | { |
10695 | arg2 = wxString_in_helper(obj1); | |
10696 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 10697 | temp2 = true; |
d14a1e28 RD |
10698 | } |
10699 | { | |
10700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10701 | (arg1)->SetBasePath((wxString const &)*arg2); | |
10702 | ||
10703 | wxPyEndAllowThreads(__tstate); | |
10704 | if (PyErr_Occurred()) SWIG_fail; | |
10705 | } | |
10706 | Py_INCREF(Py_None); resultobj = Py_None; | |
10707 | { | |
10708 | if (temp2) | |
10709 | delete arg2; | |
10710 | } | |
10711 | return resultobj; | |
10712 | fail: | |
10713 | { | |
10714 | if (temp2) | |
10715 | delete arg2; | |
10716 | } | |
10717 | return NULL; | |
10718 | } | |
10719 | ||
10720 | ||
c32bde28 | 10721 | static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10722 | PyObject *resultobj; |
10723 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
10724 | wxString *arg2 = 0 ; | |
ae8162c8 | 10725 | bool temp2 = false ; |
d14a1e28 RD |
10726 | PyObject * obj0 = 0 ; |
10727 | PyObject * obj1 = 0 ; | |
10728 | char *kwnames[] = { | |
10729 | (char *) "self",(char *) "start", NULL | |
10730 | }; | |
10731 | ||
10732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
10733 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0); |
10734 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10735 | { |
10736 | arg2 = wxString_in_helper(obj1); | |
10737 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 10738 | temp2 = true; |
d14a1e28 RD |
10739 | } |
10740 | { | |
10741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10742 | (arg1)->SetStart((wxString const &)*arg2); | |
10743 | ||
10744 | wxPyEndAllowThreads(__tstate); | |
10745 | if (PyErr_Occurred()) SWIG_fail; | |
10746 | } | |
10747 | Py_INCREF(Py_None); resultobj = Py_None; | |
10748 | { | |
10749 | if (temp2) | |
10750 | delete arg2; | |
10751 | } | |
10752 | return resultobj; | |
10753 | fail: | |
10754 | { | |
10755 | if (temp2) | |
10756 | delete arg2; | |
10757 | } | |
10758 | return NULL; | |
10759 | } | |
10760 | ||
10761 | ||
c32bde28 | 10762 | static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10763 | PyObject *resultobj; |
10764 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
10765 | wxString *arg2 = 0 ; | |
10766 | wxString result; | |
ae8162c8 | 10767 | bool temp2 = false ; |
d14a1e28 RD |
10768 | PyObject * obj0 = 0 ; |
10769 | PyObject * obj1 = 0 ; | |
10770 | char *kwnames[] = { | |
10771 | (char *) "self",(char *) "page", NULL | |
10772 | }; | |
10773 | ||
10774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
10775 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0); |
10776 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10777 | { |
10778 | arg2 = wxString_in_helper(obj1); | |
10779 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 10780 | temp2 = true; |
d14a1e28 RD |
10781 | } |
10782 | { | |
10783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10784 | result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2); | |
10785 | ||
10786 | wxPyEndAllowThreads(__tstate); | |
10787 | if (PyErr_Occurred()) SWIG_fail; | |
10788 | } | |
10789 | { | |
10790 | #if wxUSE_UNICODE | |
10791 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10792 | #else | |
10793 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10794 | #endif | |
10795 | } | |
10796 | { | |
10797 | if (temp2) | |
10798 | delete arg2; | |
10799 | } | |
10800 | return resultobj; | |
10801 | fail: | |
10802 | { | |
10803 | if (temp2) | |
10804 | delete arg2; | |
10805 | } | |
10806 | return NULL; | |
10807 | } | |
10808 | ||
10809 | ||
c32bde28 | 10810 | static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10811 | PyObject *obj; |
10812 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10813 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj); | |
10814 | Py_INCREF(obj); | |
10815 | return Py_BuildValue((char *)""); | |
10816 | } | |
c32bde28 | 10817 | static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10818 | PyObject *resultobj; |
10819 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
10820 | bool result; | |
10821 | PyObject * obj0 = 0 ; | |
10822 | char *kwnames[] = { | |
10823 | (char *) "self", NULL | |
10824 | }; | |
10825 | ||
10826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10827 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0); |
10828 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10829 | { |
10830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10831 | result = (bool)(arg1)->Search(); | |
10832 | ||
10833 | wxPyEndAllowThreads(__tstate); | |
10834 | if (PyErr_Occurred()) SWIG_fail; | |
10835 | } | |
4f89f6a3 RD |
10836 | { |
10837 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10838 | } | |
d14a1e28 RD |
10839 | return resultobj; |
10840 | fail: | |
10841 | return NULL; | |
10842 | } | |
10843 | ||
10844 | ||
c32bde28 | 10845 | static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10846 | PyObject *resultobj; |
10847 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
10848 | bool result; | |
10849 | PyObject * obj0 = 0 ; | |
10850 | char *kwnames[] = { | |
10851 | (char *) "self", NULL | |
10852 | }; | |
10853 | ||
10854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10855 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0); |
10856 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10857 | { |
10858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10859 | result = (bool)(arg1)->IsActive(); | |
10860 | ||
10861 | wxPyEndAllowThreads(__tstate); | |
10862 | if (PyErr_Occurred()) SWIG_fail; | |
10863 | } | |
4f89f6a3 RD |
10864 | { |
10865 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10866 | } | |
d14a1e28 RD |
10867 | return resultobj; |
10868 | fail: | |
10869 | return NULL; | |
10870 | } | |
10871 | ||
10872 | ||
c32bde28 | 10873 | static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10874 | PyObject *resultobj; |
10875 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
10876 | int result; | |
10877 | PyObject * obj0 = 0 ; | |
10878 | char *kwnames[] = { | |
10879 | (char *) "self", NULL | |
10880 | }; | |
10881 | ||
10882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10883 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0); |
10884 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10885 | { |
10886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10887 | result = (int)(arg1)->GetCurIndex(); | |
10888 | ||
10889 | wxPyEndAllowThreads(__tstate); | |
10890 | if (PyErr_Occurred()) SWIG_fail; | |
10891 | } | |
093d3ff1 RD |
10892 | { |
10893 | resultobj = SWIG_From_int((int)(result)); | |
10894 | } | |
d14a1e28 RD |
10895 | return resultobj; |
10896 | fail: | |
10897 | return NULL; | |
10898 | } | |
10899 | ||
10900 | ||
c32bde28 | 10901 | static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10902 | PyObject *resultobj; |
10903 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
10904 | int result; | |
10905 | PyObject * obj0 = 0 ; | |
10906 | char *kwnames[] = { | |
10907 | (char *) "self", NULL | |
10908 | }; | |
10909 | ||
10910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10911 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0); |
10912 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10913 | { |
10914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10915 | result = (int)(arg1)->GetMaxIndex(); | |
10916 | ||
10917 | wxPyEndAllowThreads(__tstate); | |
10918 | if (PyErr_Occurred()) SWIG_fail; | |
10919 | } | |
093d3ff1 RD |
10920 | { |
10921 | resultobj = SWIG_From_int((int)(result)); | |
10922 | } | |
d14a1e28 RD |
10923 | return resultobj; |
10924 | fail: | |
10925 | return NULL; | |
10926 | } | |
10927 | ||
10928 | ||
c32bde28 | 10929 | static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10930 | PyObject *resultobj; |
10931 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
10932 | wxString *result; | |
10933 | PyObject * obj0 = 0 ; | |
10934 | char *kwnames[] = { | |
10935 | (char *) "self", NULL | |
10936 | }; | |
10937 | ||
10938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10939 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0); |
10940 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10941 | { |
10942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10943 | { | |
10944 | wxString const &_result_ref = (arg1)->GetName(); | |
10945 | result = (wxString *) &_result_ref; | |
10946 | } | |
10947 | ||
10948 | wxPyEndAllowThreads(__tstate); | |
10949 | if (PyErr_Occurred()) SWIG_fail; | |
10950 | } | |
cc6dd355 RD |
10951 | { |
10952 | #if wxUSE_UNICODE | |
10953 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
10954 | #else | |
10955 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
10956 | #endif | |
10957 | } | |
d14a1e28 RD |
10958 | return resultobj; |
10959 | fail: | |
10960 | return NULL; | |
10961 | } | |
10962 | ||
10963 | ||
c32bde28 | 10964 | static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10965 | PyObject *obj; |
10966 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10967 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj); | |
10968 | Py_INCREF(obj); | |
10969 | return Py_BuildValue((char *)""); | |
10970 | } | |
c32bde28 | 10971 | static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10972 | PyObject *resultobj; |
10973 | wxHtmlHelpData *result; | |
10974 | char *kwnames[] = { | |
10975 | NULL | |
10976 | }; | |
10977 | ||
10978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail; | |
10979 | { | |
10980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10981 | result = (wxHtmlHelpData *)new wxHtmlHelpData(); | |
10982 | ||
10983 | wxPyEndAllowThreads(__tstate); | |
10984 | if (PyErr_Occurred()) SWIG_fail; | |
10985 | } | |
15afbcd0 | 10986 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1); |
d14a1e28 RD |
10987 | return resultobj; |
10988 | fail: | |
10989 | return NULL; | |
10990 | } | |
10991 | ||
10992 | ||
c32bde28 | 10993 | static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10994 | PyObject *resultobj; |
10995 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
10996 | PyObject * obj0 = 0 ; | |
10997 | char *kwnames[] = { | |
10998 | (char *) "self", NULL | |
10999 | }; | |
11000 | ||
11001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
11002 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); |
11003 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11004 | { |
11005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11006 | delete arg1; | |
11007 | ||
11008 | wxPyEndAllowThreads(__tstate); | |
11009 | if (PyErr_Occurred()) SWIG_fail; | |
11010 | } | |
11011 | Py_INCREF(Py_None); resultobj = Py_None; | |
11012 | return resultobj; | |
11013 | fail: | |
11014 | return NULL; | |
11015 | } | |
11016 | ||
11017 | ||
c32bde28 | 11018 | static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11019 | PyObject *resultobj; |
11020 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
11021 | wxString *arg2 = 0 ; | |
ae8162c8 | 11022 | bool temp2 = false ; |
d14a1e28 RD |
11023 | PyObject * obj0 = 0 ; |
11024 | PyObject * obj1 = 0 ; | |
11025 | char *kwnames[] = { | |
11026 | (char *) "self",(char *) "path", NULL | |
11027 | }; | |
11028 | ||
11029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11030 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); |
11031 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11032 | { |
11033 | arg2 = wxString_in_helper(obj1); | |
11034 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 11035 | temp2 = true; |
d14a1e28 RD |
11036 | } |
11037 | { | |
11038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11039 | (arg1)->SetTempDir((wxString const &)*arg2); | |
11040 | ||
11041 | wxPyEndAllowThreads(__tstate); | |
11042 | if (PyErr_Occurred()) SWIG_fail; | |
11043 | } | |
11044 | Py_INCREF(Py_None); resultobj = Py_None; | |
11045 | { | |
11046 | if (temp2) | |
11047 | delete arg2; | |
11048 | } | |
11049 | return resultobj; | |
11050 | fail: | |
11051 | { | |
11052 | if (temp2) | |
11053 | delete arg2; | |
11054 | } | |
11055 | return NULL; | |
11056 | } | |
11057 | ||
11058 | ||
c32bde28 | 11059 | static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11060 | PyObject *resultobj; |
11061 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
11062 | wxString *arg2 = 0 ; | |
11063 | bool result; | |
ae8162c8 | 11064 | bool temp2 = false ; |
d14a1e28 RD |
11065 | PyObject * obj0 = 0 ; |
11066 | PyObject * obj1 = 0 ; | |
11067 | char *kwnames[] = { | |
11068 | (char *) "self",(char *) "book", NULL | |
11069 | }; | |
11070 | ||
11071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11072 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); |
11073 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11074 | { |
11075 | arg2 = wxString_in_helper(obj1); | |
11076 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 11077 | temp2 = true; |
d14a1e28 RD |
11078 | } |
11079 | { | |
11080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11081 | result = (bool)(arg1)->AddBook((wxString const &)*arg2); | |
11082 | ||
11083 | wxPyEndAllowThreads(__tstate); | |
11084 | if (PyErr_Occurred()) SWIG_fail; | |
11085 | } | |
4f89f6a3 RD |
11086 | { |
11087 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11088 | } | |
d14a1e28 RD |
11089 | { |
11090 | if (temp2) | |
11091 | delete arg2; | |
11092 | } | |
11093 | return resultobj; | |
11094 | fail: | |
11095 | { | |
11096 | if (temp2) | |
11097 | delete arg2; | |
11098 | } | |
11099 | return NULL; | |
11100 | } | |
11101 | ||
11102 | ||
c32bde28 | 11103 | static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11104 | PyObject *resultobj; |
11105 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
11106 | wxString *arg2 = 0 ; | |
11107 | wxString result; | |
ae8162c8 | 11108 | bool temp2 = false ; |
d14a1e28 RD |
11109 | PyObject * obj0 = 0 ; |
11110 | PyObject * obj1 = 0 ; | |
11111 | char *kwnames[] = { | |
11112 | (char *) "self",(char *) "page", NULL | |
11113 | }; | |
11114 | ||
11115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11116 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); |
11117 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11118 | { |
11119 | arg2 = wxString_in_helper(obj1); | |
11120 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 11121 | temp2 = true; |
d14a1e28 RD |
11122 | } |
11123 | { | |
11124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11125 | result = (arg1)->FindPageByName((wxString const &)*arg2); | |
11126 | ||
11127 | wxPyEndAllowThreads(__tstate); | |
11128 | if (PyErr_Occurred()) SWIG_fail; | |
11129 | } | |
11130 | { | |
11131 | #if wxUSE_UNICODE | |
11132 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11133 | #else | |
11134 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11135 | #endif | |
11136 | } | |
11137 | { | |
11138 | if (temp2) | |
11139 | delete arg2; | |
11140 | } | |
11141 | return resultobj; | |
11142 | fail: | |
11143 | { | |
11144 | if (temp2) | |
11145 | delete arg2; | |
11146 | } | |
11147 | return NULL; | |
11148 | } | |
11149 | ||
11150 | ||
c32bde28 | 11151 | static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11152 | PyObject *resultobj; |
11153 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
11154 | int arg2 ; | |
11155 | wxString result; | |
11156 | PyObject * obj0 = 0 ; | |
994141e6 | 11157 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11158 | char *kwnames[] = { |
11159 | (char *) "self",(char *) "id", NULL | |
11160 | }; | |
11161 | ||
994141e6 | 11162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
11163 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); |
11164 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11165 | { | |
11166 | arg2 = (int)(SWIG_As_int(obj1)); | |
11167 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11168 | } | |
d14a1e28 RD |
11169 | { |
11170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11171 | result = (arg1)->FindPageById(arg2); | |
11172 | ||
11173 | wxPyEndAllowThreads(__tstate); | |
11174 | if (PyErr_Occurred()) SWIG_fail; | |
11175 | } | |
11176 | { | |
11177 | #if wxUSE_UNICODE | |
11178 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11179 | #else | |
11180 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11181 | #endif | |
11182 | } | |
11183 | return resultobj; | |
11184 | fail: | |
11185 | return NULL; | |
11186 | } | |
11187 | ||
11188 | ||
c32bde28 | 11189 | static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11190 | PyObject *resultobj; |
11191 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
11192 | wxHtmlBookRecArray *result; | |
11193 | PyObject * obj0 = 0 ; | |
11194 | char *kwnames[] = { | |
11195 | (char *) "self", NULL | |
11196 | }; | |
11197 | ||
11198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
11199 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); |
11200 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11201 | { |
11202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11203 | { | |
11204 | wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray(); | |
11205 | result = (wxHtmlBookRecArray *) &_result_ref; | |
11206 | } | |
11207 | ||
11208 | wxPyEndAllowThreads(__tstate); | |
11209 | if (PyErr_Occurred()) SWIG_fail; | |
11210 | } | |
15afbcd0 | 11211 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0); |
d14a1e28 RD |
11212 | return resultobj; |
11213 | fail: | |
11214 | return NULL; | |
11215 | } | |
11216 | ||
11217 | ||
c32bde28 | 11218 | static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11219 | PyObject *obj; |
11220 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11221 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj); | |
11222 | Py_INCREF(obj); | |
11223 | return Py_BuildValue((char *)""); | |
11224 | } | |
091f5bed | 11225 | static PyObject *_wrap_new_HtmlHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11226 | PyObject *resultobj; |
11227 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11228 | int arg2 ; | |
091f5bed RD |
11229 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
11230 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
11231 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
11232 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
11233 | int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
11234 | int arg6 = (int) wxHF_DEFAULT_STYLE ; | |
11235 | wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ; | |
11236 | wxHtmlHelpWindow *result; | |
11237 | wxPoint temp3 ; | |
11238 | wxSize temp4 ; | |
d14a1e28 | 11239 | PyObject * obj0 = 0 ; |
994141e6 | 11240 | PyObject * obj1 = 0 ; |
d14a1e28 | 11241 | PyObject * obj2 = 0 ; |
994141e6 | 11242 | PyObject * obj3 = 0 ; |
d14a1e28 | 11243 | PyObject * obj4 = 0 ; |
091f5bed RD |
11244 | PyObject * obj5 = 0 ; |
11245 | PyObject * obj6 = 0 ; | |
d14a1e28 | 11246 | char *kwnames[] = { |
091f5bed | 11247 | (char *) "parent","arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL |
d14a1e28 RD |
11248 | }; |
11249 | ||
091f5bed | 11250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
11251 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
11252 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11253 | { | |
11254 | arg2 = (int)(SWIG_As_int(obj1)); | |
11255 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11256 | } | |
d14a1e28 RD |
11257 | if (obj2) { |
11258 | { | |
091f5bed RD |
11259 | arg3 = &temp3; |
11260 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
d14a1e28 RD |
11261 | } |
11262 | } | |
994141e6 | 11263 | if (obj3) { |
093d3ff1 | 11264 | { |
091f5bed RD |
11265 | arg4 = &temp4; |
11266 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
093d3ff1 | 11267 | } |
994141e6 | 11268 | } |
d14a1e28 | 11269 | if (obj4) { |
091f5bed RD |
11270 | { |
11271 | arg5 = (int)(SWIG_As_int(obj4)); | |
11272 | if (SWIG_arg_fail(5)) SWIG_fail; | |
11273 | } | |
11274 | } | |
11275 | if (obj5) { | |
11276 | { | |
11277 | arg6 = (int)(SWIG_As_int(obj5)); | |
11278 | if (SWIG_arg_fail(6)) SWIG_fail; | |
11279 | } | |
11280 | } | |
11281 | if (obj6) { | |
11282 | SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); | |
11283 | if (SWIG_arg_fail(7)) SWIG_fail; | |
d14a1e28 RD |
11284 | } |
11285 | { | |
e3b71cb8 | 11286 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 11287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
091f5bed | 11288 | result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7); |
d14a1e28 RD |
11289 | |
11290 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11291 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11292 | } |
091f5bed RD |
11293 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpWindow, 1); |
11294 | return resultobj; | |
11295 | fail: | |
11296 | return NULL; | |
11297 | } | |
11298 | ||
11299 | ||
11300 | static PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
11301 | PyObject *resultobj; | |
11302 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; | |
11303 | wxHtmlHelpWindow *result; | |
11304 | PyObject * obj0 = 0 ; | |
11305 | char *kwnames[] = { | |
11306 | (char *) "data", NULL | |
11307 | }; | |
11308 | ||
11309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) goto fail; | |
11310 | if (obj0) { | |
11311 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); | |
11312 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11313 | } | |
d14a1e28 | 11314 | { |
091f5bed RD |
11315 | if (!wxPyCheckForApp()) SWIG_fail; |
11316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11317 | result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1); | |
11318 | ||
11319 | wxPyEndAllowThreads(__tstate); | |
11320 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 | 11321 | } |
091f5bed | 11322 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpWindow, 1); |
d14a1e28 RD |
11323 | return resultobj; |
11324 | fail: | |
091f5bed RD |
11325 | return NULL; |
11326 | } | |
11327 | ||
11328 | ||
11329 | static PyObject *_wrap_HtmlHelpWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { | |
11330 | PyObject *resultobj; | |
11331 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
11332 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11333 | int arg3 ; | |
11334 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
11335 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
11336 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
11337 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
11338 | int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
11339 | int arg7 = (int) wxHF_DEFAULT_STYLE ; | |
11340 | bool result; | |
11341 | wxPoint temp4 ; | |
11342 | wxSize temp5 ; | |
11343 | PyObject * obj0 = 0 ; | |
11344 | PyObject * obj1 = 0 ; | |
11345 | PyObject * obj2 = 0 ; | |
11346 | PyObject * obj3 = 0 ; | |
11347 | PyObject * obj4 = 0 ; | |
11348 | PyObject * obj5 = 0 ; | |
11349 | PyObject * obj6 = 0 ; | |
11350 | char *kwnames[] = { | |
11351 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL | |
11352 | }; | |
11353 | ||
11354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
11355 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
11356 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11357 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
11358 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 | 11359 | { |
091f5bed RD |
11360 | arg3 = (int)(SWIG_As_int(obj2)); |
11361 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11362 | } | |
11363 | if (obj3) { | |
11364 | { | |
11365 | arg4 = &temp4; | |
11366 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
11367 | } | |
11368 | } | |
11369 | if (obj4) { | |
11370 | { | |
11371 | arg5 = &temp5; | |
11372 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
11373 | } | |
11374 | } | |
11375 | if (obj5) { | |
11376 | { | |
11377 | arg6 = (int)(SWIG_As_int(obj5)); | |
11378 | if (SWIG_arg_fail(6)) SWIG_fail; | |
11379 | } | |
11380 | } | |
11381 | if (obj6) { | |
11382 | { | |
11383 | arg7 = (int)(SWIG_As_int(obj6)); | |
11384 | if (SWIG_arg_fail(7)) SWIG_fail; | |
11385 | } | |
11386 | } | |
11387 | { | |
11388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11389 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7); | |
11390 | ||
11391 | wxPyEndAllowThreads(__tstate); | |
11392 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 | 11393 | } |
091f5bed RD |
11394 | { |
11395 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11396 | } | |
11397 | return resultobj; | |
11398 | fail: | |
d14a1e28 RD |
11399 | return NULL; |
11400 | } | |
11401 | ||
11402 | ||
091f5bed | 11403 | static PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11404 | PyObject *resultobj; |
091f5bed | 11405 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; |
d14a1e28 RD |
11406 | wxHtmlHelpData *result; |
11407 | PyObject * obj0 = 0 ; | |
11408 | char *kwnames[] = { | |
11409 | (char *) "self", NULL | |
11410 | }; | |
11411 | ||
091f5bed RD |
11412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetData",kwnames,&obj0)) goto fail; |
11413 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 11414 | if (SWIG_arg_fail(1)) SWIG_fail; |
d14a1e28 RD |
11415 | { |
11416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11417 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
11418 | ||
11419 | wxPyEndAllowThreads(__tstate); | |
11420 | if (PyErr_Occurred()) SWIG_fail; | |
11421 | } | |
15afbcd0 | 11422 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0); |
d14a1e28 RD |
11423 | return resultobj; |
11424 | fail: | |
11425 | return NULL; | |
11426 | } | |
11427 | ||
11428 | ||
091f5bed | 11429 | static PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11430 | PyObject *resultobj; |
091f5bed RD |
11431 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; |
11432 | wxHtmlHelpController *result; | |
d14a1e28 | 11433 | PyObject * obj0 = 0 ; |
d14a1e28 | 11434 | char *kwnames[] = { |
091f5bed | 11435 | (char *) "self", NULL |
d14a1e28 RD |
11436 | }; |
11437 | ||
091f5bed RD |
11438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetController",kwnames,&obj0)) goto fail; |
11439 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 11440 | if (SWIG_arg_fail(1)) SWIG_fail; |
d14a1e28 | 11441 | { |
091f5bed RD |
11442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11443 | result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController(); | |
11444 | ||
11445 | wxPyEndAllowThreads(__tstate); | |
11446 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 | 11447 | } |
091f5bed RD |
11448 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0); |
11449 | return resultobj; | |
11450 | fail: | |
11451 | return NULL; | |
11452 | } | |
11453 | ||
11454 | ||
11455 | static PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *, PyObject *args, PyObject *kwargs) { | |
11456 | PyObject *resultobj; | |
11457 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
11458 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
11459 | PyObject * obj0 = 0 ; | |
11460 | PyObject * obj1 = 0 ; | |
11461 | char *kwnames[] = { | |
11462 | (char *) "self",(char *) "controller", NULL | |
11463 | }; | |
11464 | ||
11465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) goto fail; | |
11466 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
11467 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11468 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
11469 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
11470 | { |
11471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed | 11472 | (arg1)->SetController(arg2); |
d14a1e28 RD |
11473 | |
11474 | wxPyEndAllowThreads(__tstate); | |
11475 | if (PyErr_Occurred()) SWIG_fail; | |
11476 | } | |
11477 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
11478 | return resultobj; |
11479 | fail: | |
d14a1e28 RD |
11480 | return NULL; |
11481 | } | |
11482 | ||
11483 | ||
091f5bed | 11484 | static PyObject *_wrap_HtmlHelpWindow_Display(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11485 | PyObject *resultobj; |
091f5bed | 11486 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; |
d14a1e28 | 11487 | wxString *arg2 = 0 ; |
091f5bed | 11488 | bool result; |
ae8162c8 | 11489 | bool temp2 = false ; |
d14a1e28 RD |
11490 | PyObject * obj0 = 0 ; |
11491 | PyObject * obj1 = 0 ; | |
11492 | char *kwnames[] = { | |
11493 | (char *) "self",(char *) "x", NULL | |
11494 | }; | |
11495 | ||
091f5bed RD |
11496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) goto fail; |
11497 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 11498 | if (SWIG_arg_fail(1)) SWIG_fail; |
d14a1e28 RD |
11499 | { |
11500 | arg2 = wxString_in_helper(obj1); | |
11501 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 11502 | temp2 = true; |
d14a1e28 RD |
11503 | } |
11504 | { | |
11505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed | 11506 | result = (bool)(arg1)->Display((wxString const &)*arg2); |
d14a1e28 RD |
11507 | |
11508 | wxPyEndAllowThreads(__tstate); | |
11509 | if (PyErr_Occurred()) SWIG_fail; | |
11510 | } | |
091f5bed RD |
11511 | { |
11512 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11513 | } | |
d14a1e28 RD |
11514 | { |
11515 | if (temp2) | |
11516 | delete arg2; | |
11517 | } | |
11518 | return resultobj; | |
11519 | fail: | |
11520 | { | |
11521 | if (temp2) | |
11522 | delete arg2; | |
11523 | } | |
11524 | return NULL; | |
11525 | } | |
11526 | ||
11527 | ||
091f5bed | 11528 | static PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11529 | PyObject *resultobj; |
091f5bed | 11530 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; |
d14a1e28 | 11531 | int arg2 ; |
091f5bed | 11532 | bool result; |
d14a1e28 | 11533 | PyObject * obj0 = 0 ; |
994141e6 | 11534 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11535 | char *kwnames[] = { |
11536 | (char *) "self",(char *) "id", NULL | |
11537 | }; | |
11538 | ||
091f5bed RD |
11539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) goto fail; |
11540 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 RD |
11541 | if (SWIG_arg_fail(1)) SWIG_fail; |
11542 | { | |
11543 | arg2 = (int)(SWIG_As_int(obj1)); | |
11544 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11545 | } | |
d14a1e28 RD |
11546 | { |
11547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed | 11548 | result = (bool)(arg1)->Display(arg2); |
d14a1e28 RD |
11549 | |
11550 | wxPyEndAllowThreads(__tstate); | |
11551 | if (PyErr_Occurred()) SWIG_fail; | |
11552 | } | |
091f5bed RD |
11553 | { |
11554 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11555 | } | |
d14a1e28 RD |
11556 | return resultobj; |
11557 | fail: | |
11558 | return NULL; | |
11559 | } | |
11560 | ||
11561 | ||
091f5bed | 11562 | static PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11563 | PyObject *resultobj; |
091f5bed RD |
11564 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; |
11565 | bool result; | |
d14a1e28 RD |
11566 | PyObject * obj0 = 0 ; |
11567 | char *kwnames[] = { | |
11568 | (char *) "self", NULL | |
11569 | }; | |
11570 | ||
091f5bed RD |
11571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_DisplayContents",kwnames,&obj0)) goto fail; |
11572 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 11573 | if (SWIG_arg_fail(1)) SWIG_fail; |
d14a1e28 RD |
11574 | { |
11575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed | 11576 | result = (bool)(arg1)->DisplayContents(); |
d14a1e28 RD |
11577 | |
11578 | wxPyEndAllowThreads(__tstate); | |
11579 | if (PyErr_Occurred()) SWIG_fail; | |
11580 | } | |
091f5bed RD |
11581 | { |
11582 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11583 | } | |
d14a1e28 RD |
11584 | return resultobj; |
11585 | fail: | |
11586 | return NULL; | |
11587 | } | |
11588 | ||
11589 | ||
091f5bed | 11590 | static PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11591 | PyObject *resultobj; |
091f5bed RD |
11592 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; |
11593 | bool result; | |
d14a1e28 RD |
11594 | PyObject * obj0 = 0 ; |
11595 | char *kwnames[] = { | |
11596 | (char *) "self", NULL | |
11597 | }; | |
11598 | ||
091f5bed RD |
11599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_DisplayIndex",kwnames,&obj0)) goto fail; |
11600 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 11601 | if (SWIG_arg_fail(1)) SWIG_fail; |
d14a1e28 RD |
11602 | { |
11603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed | 11604 | result = (bool)(arg1)->DisplayIndex(); |
d14a1e28 RD |
11605 | |
11606 | wxPyEndAllowThreads(__tstate); | |
11607 | if (PyErr_Occurred()) SWIG_fail; | |
11608 | } | |
091f5bed RD |
11609 | { |
11610 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11611 | } | |
d14a1e28 RD |
11612 | return resultobj; |
11613 | fail: | |
11614 | return NULL; | |
11615 | } | |
11616 | ||
11617 | ||
091f5bed | 11618 | static PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11619 | PyObject *resultobj; |
091f5bed | 11620 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; |
d14a1e28 | 11621 | wxString *arg2 = 0 ; |
091f5bed | 11622 | wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ; |
d14a1e28 | 11623 | bool result; |
ae8162c8 | 11624 | bool temp2 = false ; |
d14a1e28 RD |
11625 | PyObject * obj0 = 0 ; |
11626 | PyObject * obj1 = 0 ; | |
091f5bed | 11627 | PyObject * obj2 = 0 ; |
d14a1e28 | 11628 | char *kwnames[] = { |
091f5bed | 11629 | (char *) "self",(char *) "keyword",(char *) "mode", NULL |
d14a1e28 RD |
11630 | }; |
11631 | ||
091f5bed RD |
11632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) goto fail; |
11633 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 11634 | if (SWIG_arg_fail(1)) SWIG_fail; |
d14a1e28 RD |
11635 | { |
11636 | arg2 = wxString_in_helper(obj1); | |
11637 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 11638 | temp2 = true; |
d14a1e28 | 11639 | } |
091f5bed RD |
11640 | if (obj2) { |
11641 | { | |
11642 | wxHelpSearchMode * argp; | |
11643 | SWIG_Python_ConvertPtr(obj2, (void **)&argp, SWIGTYPE_p_wxHelpSearchMode, SWIG_POINTER_EXCEPTION); | |
11644 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11645 | if (argp == NULL) { | |
11646 | SWIG_null_ref("wxHelpSearchMode"); | |
11647 | } | |
11648 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11649 | arg3 = *argp; | |
11650 | } | |
11651 | } | |
d14a1e28 RD |
11652 | { |
11653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed | 11654 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3); |
d14a1e28 RD |
11655 | |
11656 | wxPyEndAllowThreads(__tstate); | |
11657 | if (PyErr_Occurred()) SWIG_fail; | |
11658 | } | |
4f89f6a3 RD |
11659 | { |
11660 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11661 | } | |
d14a1e28 RD |
11662 | { |
11663 | if (temp2) | |
11664 | delete arg2; | |
11665 | } | |
11666 | return resultobj; | |
11667 | fail: | |
11668 | { | |
11669 | if (temp2) | |
11670 | delete arg2; | |
11671 | } | |
11672 | return NULL; | |
11673 | } | |
11674 | ||
11675 | ||
091f5bed | 11676 | static PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11677 | PyObject *resultobj; |
091f5bed | 11678 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; |
d14a1e28 | 11679 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; |
091f5bed | 11680 | wxString const &arg3_defvalue = wxEmptyString ; |
d14a1e28 | 11681 | wxString *arg3 = (wxString *) &arg3_defvalue ; |
ae8162c8 | 11682 | bool temp3 = false ; |
d14a1e28 RD |
11683 | PyObject * obj0 = 0 ; |
11684 | PyObject * obj1 = 0 ; | |
11685 | PyObject * obj2 = 0 ; | |
11686 | char *kwnames[] = { | |
11687 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
11688 | }; | |
11689 | ||
091f5bed RD |
11690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; |
11691 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 RD |
11692 | if (SWIG_arg_fail(1)) SWIG_fail; |
11693 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); | |
11694 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
11695 | if (obj2) { |
11696 | { | |
11697 | arg3 = wxString_in_helper(obj2); | |
11698 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 11699 | temp3 = true; |
d14a1e28 RD |
11700 | } |
11701 | } | |
11702 | { | |
11703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11704 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
11705 | ||
11706 | wxPyEndAllowThreads(__tstate); | |
11707 | if (PyErr_Occurred()) SWIG_fail; | |
11708 | } | |
11709 | Py_INCREF(Py_None); resultobj = Py_None; | |
11710 | { | |
11711 | if (temp3) | |
11712 | delete arg3; | |
11713 | } | |
11714 | return resultobj; | |
11715 | fail: | |
11716 | { | |
11717 | if (temp3) | |
11718 | delete arg3; | |
11719 | } | |
11720 | return NULL; | |
11721 | } | |
11722 | ||
11723 | ||
091f5bed | 11724 | static PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11725 | PyObject *resultobj; |
091f5bed | 11726 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; |
d14a1e28 | 11727 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; |
091f5bed RD |
11728 | wxString const &arg3_defvalue = wxEmptyString ; |
11729 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11730 | bool temp3 = false ; | |
d14a1e28 RD |
11731 | PyObject * obj0 = 0 ; |
11732 | PyObject * obj1 = 0 ; | |
11733 | PyObject * obj2 = 0 ; | |
11734 | char *kwnames[] = { | |
11735 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
11736 | }; | |
11737 | ||
091f5bed RD |
11738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; |
11739 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 RD |
11740 | if (SWIG_arg_fail(1)) SWIG_fail; |
11741 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); | |
11742 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 | 11743 | if (obj2) { |
e811c8ce | 11744 | { |
091f5bed RD |
11745 | arg3 = wxString_in_helper(obj2); |
11746 | if (arg3 == NULL) SWIG_fail; | |
11747 | temp3 = true; | |
e811c8ce | 11748 | } |
d14a1e28 RD |
11749 | } |
11750 | { | |
11751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed | 11752 | (arg1)->ReadCustomization(arg2,(wxString const &)*arg3); |
d14a1e28 RD |
11753 | |
11754 | wxPyEndAllowThreads(__tstate); | |
11755 | if (PyErr_Occurred()) SWIG_fail; | |
11756 | } | |
11757 | Py_INCREF(Py_None); resultobj = Py_None; | |
091f5bed RD |
11758 | { |
11759 | if (temp3) | |
11760 | delete arg3; | |
11761 | } | |
d14a1e28 RD |
11762 | return resultobj; |
11763 | fail: | |
091f5bed RD |
11764 | { |
11765 | if (temp3) | |
11766 | delete arg3; | |
11767 | } | |
11768 | return NULL; | |
11769 | } | |
d14a1e28 | 11770 | |
091f5bed RD |
11771 | |
11772 | static PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) { | |
d14a1e28 | 11773 | PyObject *resultobj; |
091f5bed | 11774 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; |
d14a1e28 | 11775 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; |
091f5bed RD |
11776 | wxString const &arg3_defvalue = wxEmptyString ; |
11777 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11778 | bool temp3 = false ; | |
d14a1e28 RD |
11779 | PyObject * obj0 = 0 ; |
11780 | PyObject * obj1 = 0 ; | |
11781 | PyObject * obj2 = 0 ; | |
11782 | char *kwnames[] = { | |
11783 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
11784 | }; | |
11785 | ||
091f5bed RD |
11786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; |
11787 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 RD |
11788 | if (SWIG_arg_fail(1)) SWIG_fail; |
11789 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); | |
11790 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 | 11791 | if (obj2) { |
e811c8ce | 11792 | { |
091f5bed RD |
11793 | arg3 = wxString_in_helper(obj2); |
11794 | if (arg3 == NULL) SWIG_fail; | |
11795 | temp3 = true; | |
e811c8ce | 11796 | } |
d14a1e28 RD |
11797 | } |
11798 | { | |
11799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed | 11800 | (arg1)->WriteCustomization(arg2,(wxString const &)*arg3); |
d14a1e28 RD |
11801 | |
11802 | wxPyEndAllowThreads(__tstate); | |
11803 | if (PyErr_Occurred()) SWIG_fail; | |
11804 | } | |
11805 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 | 11806 | { |
091f5bed RD |
11807 | if (temp3) |
11808 | delete arg3; | |
d14a1e28 | 11809 | } |
d14a1e28 RD |
11810 | return resultobj; |
11811 | fail: | |
091f5bed RD |
11812 | { |
11813 | if (temp3) | |
11814 | delete arg3; | |
11815 | } | |
d14a1e28 RD |
11816 | return NULL; |
11817 | } | |
11818 | ||
11819 | ||
091f5bed | 11820 | static PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11821 | PyObject *resultobj; |
091f5bed | 11822 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; |
d14a1e28 RD |
11823 | PyObject * obj0 = 0 ; |
11824 | char *kwnames[] = { | |
11825 | (char *) "self", NULL | |
11826 | }; | |
11827 | ||
091f5bed RD |
11828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_NotifyPageChanged",kwnames,&obj0)) goto fail; |
11829 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 11830 | if (SWIG_arg_fail(1)) SWIG_fail; |
d14a1e28 RD |
11831 | { |
11832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed | 11833 | (arg1)->NotifyPageChanged(); |
d14a1e28 RD |
11834 | |
11835 | wxPyEndAllowThreads(__tstate); | |
11836 | if (PyErr_Occurred()) SWIG_fail; | |
11837 | } | |
11838 | Py_INCREF(Py_None); resultobj = Py_None; | |
11839 | return resultobj; | |
11840 | fail: | |
11841 | return NULL; | |
11842 | } | |
11843 | ||
11844 | ||
091f5bed | 11845 | static PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11846 | PyObject *resultobj; |
091f5bed | 11847 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; |
d14a1e28 | 11848 | PyObject * obj0 = 0 ; |
d14a1e28 | 11849 | char *kwnames[] = { |
091f5bed | 11850 | (char *) "self", NULL |
d14a1e28 RD |
11851 | }; |
11852 | ||
091f5bed RD |
11853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_RefreshLists",kwnames,&obj0)) goto fail; |
11854 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 11855 | if (SWIG_arg_fail(1)) SWIG_fail; |
d14a1e28 RD |
11856 | { |
11857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed | 11858 | (arg1)->RefreshLists(); |
d14a1e28 RD |
11859 | |
11860 | wxPyEndAllowThreads(__tstate); | |
11861 | if (PyErr_Occurred()) SWIG_fail; | |
11862 | } | |
11863 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
11864 | return resultobj; |
11865 | fail: | |
d14a1e28 RD |
11866 | return NULL; |
11867 | } | |
11868 | ||
11869 | ||
091f5bed | 11870 | static PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11871 | PyObject *resultobj; |
091f5bed RD |
11872 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; |
11873 | wxHtmlWindow *result; | |
d14a1e28 | 11874 | PyObject * obj0 = 0 ; |
d14a1e28 | 11875 | char *kwnames[] = { |
091f5bed | 11876 | (char *) "self", NULL |
d14a1e28 RD |
11877 | }; |
11878 | ||
091f5bed RD |
11879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetHtmlWindow",kwnames,&obj0)) goto fail; |
11880 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 11881 | if (SWIG_arg_fail(1)) SWIG_fail; |
d14a1e28 RD |
11882 | { |
11883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed | 11884 | result = (wxHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow(); |
d14a1e28 RD |
11885 | |
11886 | wxPyEndAllowThreads(__tstate); | |
11887 | if (PyErr_Occurred()) SWIG_fail; | |
11888 | } | |
091f5bed | 11889 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWindow, 0); |
d14a1e28 RD |
11890 | return resultobj; |
11891 | fail: | |
d14a1e28 RD |
11892 | return NULL; |
11893 | } | |
11894 | ||
11895 | ||
091f5bed | 11896 | static PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11897 | PyObject *resultobj; |
091f5bed RD |
11898 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; |
11899 | wxSplitterWindow *result; | |
d14a1e28 | 11900 | PyObject * obj0 = 0 ; |
d14a1e28 | 11901 | char *kwnames[] = { |
091f5bed | 11902 | (char *) "self", NULL |
d14a1e28 RD |
11903 | }; |
11904 | ||
091f5bed RD |
11905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetSplitterWindow",kwnames,&obj0)) goto fail; |
11906 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 11907 | if (SWIG_arg_fail(1)) SWIG_fail; |
d14a1e28 RD |
11908 | { |
11909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed | 11910 | result = (wxSplitterWindow *)(arg1)->GetSplitterWindow(); |
d14a1e28 RD |
11911 | |
11912 | wxPyEndAllowThreads(__tstate); | |
11913 | if (PyErr_Occurred()) SWIG_fail; | |
11914 | } | |
091f5bed | 11915 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 0); |
d14a1e28 RD |
11916 | return resultobj; |
11917 | fail: | |
d14a1e28 RD |
11918 | return NULL; |
11919 | } | |
11920 | ||
11921 | ||
091f5bed | 11922 | static PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11923 | PyObject *resultobj; |
091f5bed RD |
11924 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; |
11925 | wxToolBar *result; | |
d14a1e28 | 11926 | PyObject * obj0 = 0 ; |
d14a1e28 | 11927 | char *kwnames[] = { |
091f5bed | 11928 | (char *) "self", NULL |
d14a1e28 RD |
11929 | }; |
11930 | ||
091f5bed RD |
11931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetToolBar",kwnames,&obj0)) goto fail; |
11932 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 11933 | if (SWIG_arg_fail(1)) SWIG_fail; |
d14a1e28 RD |
11934 | { |
11935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed | 11936 | result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar(); |
d14a1e28 RD |
11937 | |
11938 | wxPyEndAllowThreads(__tstate); | |
11939 | if (PyErr_Occurred()) SWIG_fail; | |
11940 | } | |
d14a1e28 | 11941 | { |
091f5bed | 11942 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
11943 | } |
11944 | return resultobj; | |
11945 | fail: | |
d14a1e28 RD |
11946 | return NULL; |
11947 | } | |
11948 | ||
11949 | ||
091f5bed | 11950 | static PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11951 | PyObject *resultobj; |
091f5bed RD |
11952 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; |
11953 | wxHtmlHelpFrameCfg *result; | |
d14a1e28 RD |
11954 | PyObject * obj0 = 0 ; |
11955 | char *kwnames[] = { | |
091f5bed | 11956 | (char *) "self", NULL |
d14a1e28 RD |
11957 | }; |
11958 | ||
091f5bed RD |
11959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetCfgData",kwnames,&obj0)) goto fail; |
11960 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 11961 | if (SWIG_arg_fail(1)) SWIG_fail; |
d14a1e28 RD |
11962 | { |
11963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed RD |
11964 | { |
11965 | wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData(); | |
11966 | result = (wxHtmlHelpFrameCfg *) &_result_ref; | |
11967 | } | |
d14a1e28 RD |
11968 | |
11969 | wxPyEndAllowThreads(__tstate); | |
11970 | if (PyErr_Occurred()) SWIG_fail; | |
11971 | } | |
091f5bed | 11972 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0); |
d14a1e28 RD |
11973 | return resultobj; |
11974 | fail: | |
11975 | return NULL; | |
11976 | } | |
11977 | ||
11978 | ||
091f5bed | 11979 | static PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11980 | PyObject *resultobj; |
091f5bed RD |
11981 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; |
11982 | wxTreeCtrl *result; | |
d14a1e28 RD |
11983 | PyObject * obj0 = 0 ; |
11984 | char *kwnames[] = { | |
11985 | (char *) "self", NULL | |
11986 | }; | |
11987 | ||
091f5bed RD |
11988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetTreeCtrl",kwnames,&obj0)) goto fail; |
11989 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 11990 | if (SWIG_arg_fail(1)) SWIG_fail; |
d14a1e28 RD |
11991 | { |
11992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed | 11993 | result = (wxTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl(); |
d14a1e28 RD |
11994 | |
11995 | wxPyEndAllowThreads(__tstate); | |
11996 | if (PyErr_Occurred()) SWIG_fail; | |
11997 | } | |
091f5bed | 11998 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeCtrl, 0); |
d14a1e28 RD |
11999 | return resultobj; |
12000 | fail: | |
12001 | return NULL; | |
12002 | } | |
12003 | ||
12004 | ||
091f5bed RD |
12005 | static PyObject * HtmlHelpWindow_swigregister(PyObject *, PyObject *args) { |
12006 | PyObject *obj; | |
12007 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12008 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpWindow, obj); | |
12009 | Py_INCREF(obj); | |
12010 | return Py_BuildValue((char *)""); | |
12011 | } | |
12012 | static PyObject *_wrap_new_HtmlWindowEvent(PyObject *, PyObject *args, PyObject *kwargs) { | |
d14a1e28 | 12013 | PyObject *resultobj; |
091f5bed RD |
12014 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; |
12015 | int arg2 = (int) 0 ; | |
12016 | wxHtmlWindowEvent *result; | |
d14a1e28 | 12017 | PyObject * obj0 = 0 ; |
091f5bed | 12018 | PyObject * obj1 = 0 ; |
d14a1e28 | 12019 | char *kwnames[] = { |
091f5bed | 12020 | (char *) "commandType",(char *) "id", NULL |
d14a1e28 RD |
12021 | }; |
12022 | ||
091f5bed RD |
12023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlWindowEvent",kwnames,&obj0,&obj1)) goto fail; |
12024 | if (obj0) { | |
12025 | { | |
12026 | arg1 = (wxEventType)(SWIG_As_int(obj0)); | |
12027 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12028 | } | |
12029 | } | |
12030 | if (obj1) { | |
12031 | { | |
12032 | arg2 = (int)(SWIG_As_int(obj1)); | |
12033 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12034 | } | |
12035 | } | |
d14a1e28 RD |
12036 | { |
12037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed | 12038 | result = (wxHtmlWindowEvent *)new wxHtmlWindowEvent(arg1,arg2); |
d14a1e28 RD |
12039 | |
12040 | wxPyEndAllowThreads(__tstate); | |
12041 | if (PyErr_Occurred()) SWIG_fail; | |
12042 | } | |
091f5bed | 12043 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWindowEvent, 1); |
d14a1e28 RD |
12044 | return resultobj; |
12045 | fail: | |
12046 | return NULL; | |
12047 | } | |
12048 | ||
12049 | ||
091f5bed | 12050 | static PyObject *_wrap_HtmlWindowEvent_SetURL(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 12051 | PyObject *resultobj; |
091f5bed | 12052 | wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ; |
d14a1e28 | 12053 | wxString *arg2 = 0 ; |
ae8162c8 | 12054 | bool temp2 = false ; |
d14a1e28 RD |
12055 | PyObject * obj0 = 0 ; |
12056 | PyObject * obj1 = 0 ; | |
12057 | char *kwnames[] = { | |
091f5bed | 12058 | (char *) "self",(char *) "url", NULL |
d14a1e28 RD |
12059 | }; |
12060 | ||
091f5bed RD |
12061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowEvent_SetURL",kwnames,&obj0,&obj1)) goto fail; |
12062 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 12063 | if (SWIG_arg_fail(1)) SWIG_fail; |
d14a1e28 RD |
12064 | { |
12065 | arg2 = wxString_in_helper(obj1); | |
12066 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12067 | temp2 = true; |
d14a1e28 RD |
12068 | } |
12069 | { | |
12070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed | 12071 | (arg1)->SetURL((wxString const &)*arg2); |
d14a1e28 RD |
12072 | |
12073 | wxPyEndAllowThreads(__tstate); | |
12074 | if (PyErr_Occurred()) SWIG_fail; | |
12075 | } | |
091f5bed | 12076 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
12077 | { |
12078 | if (temp2) | |
12079 | delete arg2; | |
12080 | } | |
12081 | return resultobj; | |
12082 | fail: | |
12083 | { | |
12084 | if (temp2) | |
12085 | delete arg2; | |
12086 | } | |
12087 | return NULL; | |
12088 | } | |
12089 | ||
12090 | ||
091f5bed | 12091 | static PyObject *_wrap_HtmlWindowEvent_GetURL(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 12092 | PyObject *resultobj; |
091f5bed RD |
12093 | wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ; |
12094 | wxString *result; | |
d14a1e28 | 12095 | PyObject * obj0 = 0 ; |
d14a1e28 | 12096 | char *kwnames[] = { |
091f5bed | 12097 | (char *) "self", NULL |
d14a1e28 RD |
12098 | }; |
12099 | ||
091f5bed RD |
12100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindowEvent_GetURL",kwnames,&obj0)) goto fail; |
12101 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 12102 | if (SWIG_arg_fail(1)) SWIG_fail; |
d14a1e28 RD |
12103 | { |
12104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed RD |
12105 | { |
12106 | wxString const &_result_ref = ((wxHtmlWindowEvent const *)arg1)->GetURL(); | |
12107 | result = (wxString *) &_result_ref; | |
12108 | } | |
d14a1e28 RD |
12109 | |
12110 | wxPyEndAllowThreads(__tstate); | |
12111 | if (PyErr_Occurred()) SWIG_fail; | |
12112 | } | |
d14a1e28 | 12113 | { |
091f5bed RD |
12114 | #if wxUSE_UNICODE |
12115 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
12116 | #else | |
12117 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
12118 | #endif | |
d14a1e28 RD |
12119 | } |
12120 | return resultobj; | |
12121 | fail: | |
d14a1e28 RD |
12122 | return NULL; |
12123 | } | |
12124 | ||
12125 | ||
091f5bed RD |
12126 | static PyObject * HtmlWindowEvent_swigregister(PyObject *, PyObject *args) { |
12127 | PyObject *obj; | |
12128 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12129 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWindowEvent, obj); | |
12130 | Py_INCREF(obj); | |
12131 | return Py_BuildValue((char *)""); | |
12132 | } | |
12133 | static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) { | |
d14a1e28 | 12134 | PyObject *resultobj; |
091f5bed RD |
12135 | wxWindow *arg1 = (wxWindow *) 0 ; |
12136 | int arg2 ; | |
12137 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12138 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12139 | int arg4 = (int) wxHF_DEFAULTSTYLE ; | |
12140 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
12141 | wxHtmlHelpFrame *result; | |
12142 | bool temp3 = false ; | |
d14a1e28 RD |
12143 | PyObject * obj0 = 0 ; |
12144 | PyObject * obj1 = 0 ; | |
12145 | PyObject * obj2 = 0 ; | |
091f5bed RD |
12146 | PyObject * obj3 = 0 ; |
12147 | PyObject * obj4 = 0 ; | |
d14a1e28 | 12148 | char *kwnames[] = { |
091f5bed | 12149 | (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL |
d14a1e28 RD |
12150 | }; |
12151 | ||
091f5bed RD |
12152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
12153 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 12154 | if (SWIG_arg_fail(1)) SWIG_fail; |
091f5bed RD |
12155 | { |
12156 | arg2 = (int)(SWIG_As_int(obj1)); | |
12157 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12158 | } | |
d14a1e28 | 12159 | if (obj2) { |
e811c8ce | 12160 | { |
091f5bed RD |
12161 | arg3 = wxString_in_helper(obj2); |
12162 | if (arg3 == NULL) SWIG_fail; | |
12163 | temp3 = true; | |
e811c8ce | 12164 | } |
d14a1e28 | 12165 | } |
091f5bed RD |
12166 | if (obj3) { |
12167 | { | |
12168 | arg4 = (int)(SWIG_As_int(obj3)); | |
12169 | if (SWIG_arg_fail(4)) SWIG_fail; | |
12170 | } | |
12171 | } | |
12172 | if (obj4) { | |
12173 | SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); | |
12174 | if (SWIG_arg_fail(5)) SWIG_fail; | |
12175 | } | |
d14a1e28 | 12176 | { |
091f5bed | 12177 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 12178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
091f5bed | 12179 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5); |
d14a1e28 RD |
12180 | |
12181 | wxPyEndAllowThreads(__tstate); | |
12182 | if (PyErr_Occurred()) SWIG_fail; | |
12183 | } | |
091f5bed RD |
12184 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1); |
12185 | { | |
12186 | if (temp3) | |
12187 | delete arg3; | |
12188 | } | |
d14a1e28 RD |
12189 | return resultobj; |
12190 | fail: | |
091f5bed RD |
12191 | { |
12192 | if (temp3) | |
12193 | delete arg3; | |
12194 | } | |
d14a1e28 RD |
12195 | return NULL; |
12196 | } | |
12197 | ||
12198 | ||
091f5bed | 12199 | static PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 12200 | PyObject *resultobj; |
091f5bed RD |
12201 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; |
12202 | wxHtmlHelpFrame *result; | |
12203 | PyObject * obj0 = 0 ; | |
12204 | char *kwnames[] = { | |
12205 | (char *) "data", NULL | |
12206 | }; | |
12207 | ||
12208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) goto fail; | |
12209 | if (obj0) { | |
12210 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); | |
12211 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12212 | } | |
12213 | { | |
12214 | if (!wxPyCheckForApp()) SWIG_fail; | |
12215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12216 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1); | |
12217 | ||
12218 | wxPyEndAllowThreads(__tstate); | |
12219 | if (PyErr_Occurred()) SWIG_fail; | |
12220 | } | |
12221 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1); | |
12222 | return resultobj; | |
12223 | fail: | |
12224 | return NULL; | |
12225 | } | |
12226 | ||
12227 | ||
12228 | static PyObject *_wrap_HtmlHelpFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { | |
12229 | PyObject *resultobj; | |
12230 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
12231 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12232 | int arg3 ; | |
12233 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12234 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12235 | int arg5 = (int) wxHF_DEFAULT_STYLE ; | |
12236 | bool result; | |
12237 | bool temp4 = false ; | |
d14a1e28 RD |
12238 | PyObject * obj0 = 0 ; |
12239 | PyObject * obj1 = 0 ; | |
12240 | PyObject * obj2 = 0 ; | |
091f5bed RD |
12241 | PyObject * obj3 = 0 ; |
12242 | PyObject * obj4 = 0 ; | |
d14a1e28 | 12243 | char *kwnames[] = { |
091f5bed | 12244 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL |
d14a1e28 RD |
12245 | }; |
12246 | ||
091f5bed RD |
12247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
12248 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 12249 | if (SWIG_arg_fail(1)) SWIG_fail; |
091f5bed | 12250 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
093d3ff1 | 12251 | if (SWIG_arg_fail(2)) SWIG_fail; |
091f5bed RD |
12252 | { |
12253 | arg3 = (int)(SWIG_As_int(obj2)); | |
12254 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12255 | } | |
12256 | if (obj3) { | |
e811c8ce | 12257 | { |
091f5bed RD |
12258 | arg4 = wxString_in_helper(obj3); |
12259 | if (arg4 == NULL) SWIG_fail; | |
12260 | temp4 = true; | |
12261 | } | |
12262 | } | |
12263 | if (obj4) { | |
12264 | { | |
12265 | arg5 = (int)(SWIG_As_int(obj4)); | |
12266 | if (SWIG_arg_fail(5)) SWIG_fail; | |
e811c8ce | 12267 | } |
d14a1e28 RD |
12268 | } |
12269 | { | |
12270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed RD |
12271 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); |
12272 | ||
12273 | wxPyEndAllowThreads(__tstate); | |
12274 | if (PyErr_Occurred()) SWIG_fail; | |
12275 | } | |
12276 | { | |
12277 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12278 | } | |
12279 | { | |
12280 | if (temp4) | |
12281 | delete arg4; | |
12282 | } | |
12283 | return resultobj; | |
12284 | fail: | |
12285 | { | |
12286 | if (temp4) | |
12287 | delete arg4; | |
12288 | } | |
12289 | return NULL; | |
12290 | } | |
12291 | ||
12292 | ||
12293 | static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) { | |
12294 | PyObject *resultobj; | |
12295 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
12296 | wxHtmlHelpData *result; | |
12297 | PyObject * obj0 = 0 ; | |
12298 | char *kwnames[] = { | |
12299 | (char *) "self", NULL | |
12300 | }; | |
12301 | ||
12302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail; | |
12303 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); | |
12304 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12305 | { | |
12306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12307 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
12308 | ||
12309 | wxPyEndAllowThreads(__tstate); | |
12310 | if (PyErr_Occurred()) SWIG_fail; | |
12311 | } | |
12312 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0); | |
12313 | return resultobj; | |
12314 | fail: | |
12315 | return NULL; | |
12316 | } | |
12317 | ||
12318 | ||
12319 | static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) { | |
12320 | PyObject *resultobj; | |
12321 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
12322 | wxString *arg2 = 0 ; | |
12323 | bool temp2 = false ; | |
12324 | PyObject * obj0 = 0 ; | |
12325 | PyObject * obj1 = 0 ; | |
12326 | char *kwnames[] = { | |
12327 | (char *) "self",(char *) "format", NULL | |
12328 | }; | |
12329 | ||
12330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
12331 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); | |
12332 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12333 | { | |
12334 | arg2 = wxString_in_helper(obj1); | |
12335 | if (arg2 == NULL) SWIG_fail; | |
12336 | temp2 = true; | |
12337 | } | |
12338 | { | |
12339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12340 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
d14a1e28 RD |
12341 | |
12342 | wxPyEndAllowThreads(__tstate); | |
12343 | if (PyErr_Occurred()) SWIG_fail; | |
12344 | } | |
12345 | Py_INCREF(Py_None); resultobj = Py_None; | |
091f5bed RD |
12346 | { |
12347 | if (temp2) | |
12348 | delete arg2; | |
12349 | } | |
d14a1e28 RD |
12350 | return resultobj; |
12351 | fail: | |
091f5bed RD |
12352 | { |
12353 | if (temp2) | |
12354 | delete arg2; | |
12355 | } | |
d14a1e28 RD |
12356 | return NULL; |
12357 | } | |
12358 | ||
12359 | ||
091f5bed | 12360 | static PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 12361 | PyObject *resultobj; |
091f5bed | 12362 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; |
d14a1e28 RD |
12363 | PyObject * obj0 = 0 ; |
12364 | char *kwnames[] = { | |
12365 | (char *) "self", NULL | |
12366 | }; | |
12367 | ||
091f5bed RD |
12368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_AddGrabIfNeeded",kwnames,&obj0)) goto fail; |
12369 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); | |
093d3ff1 | 12370 | if (SWIG_arg_fail(1)) SWIG_fail; |
d14a1e28 RD |
12371 | { |
12372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
091f5bed | 12373 | (arg1)->AddGrabIfNeeded(); |
d14a1e28 RD |
12374 | |
12375 | wxPyEndAllowThreads(__tstate); | |
12376 | if (PyErr_Occurred()) SWIG_fail; | |
12377 | } | |
091f5bed | 12378 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
12379 | return resultobj; |
12380 | fail: | |
12381 | return NULL; | |
12382 | } | |
12383 | ||
12384 | ||
091f5bed RD |
12385 | static PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *, PyObject *args, PyObject *kwargs) { |
12386 | PyObject *resultobj; | |
12387 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
12388 | wxHtmlHelpController *result; | |
12389 | PyObject * obj0 = 0 ; | |
12390 | char *kwnames[] = { | |
12391 | (char *) "self", NULL | |
12392 | }; | |
12393 | ||
12394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetController",kwnames,&obj0)) goto fail; | |
12395 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); | |
12396 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12397 | { | |
12398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12399 | result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController(); | |
12400 | ||
12401 | wxPyEndAllowThreads(__tstate); | |
12402 | if (PyErr_Occurred()) SWIG_fail; | |
12403 | } | |
12404 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0); | |
12405 | return resultobj; | |
12406 | fail: | |
12407 | return NULL; | |
d14a1e28 | 12408 | } |
091f5bed RD |
12409 | |
12410 | ||
12411 | static PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *, PyObject *args, PyObject *kwargs) { | |
12412 | PyObject *resultobj; | |
12413 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
12414 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
12415 | PyObject * obj0 = 0 ; | |
12416 | PyObject * obj1 = 0 ; | |
12417 | char *kwnames[] = { | |
12418 | (char *) "self",(char *) "controller", NULL | |
12419 | }; | |
12420 | ||
12421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) goto fail; | |
12422 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); | |
12423 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12424 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
12425 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12426 | { | |
12427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12428 | (arg1)->SetController(arg2); | |
12429 | ||
12430 | wxPyEndAllowThreads(__tstate); | |
12431 | if (PyErr_Occurred()) SWIG_fail; | |
12432 | } | |
12433 | Py_INCREF(Py_None); resultobj = Py_None; | |
12434 | return resultobj; | |
12435 | fail: | |
12436 | return NULL; | |
12437 | } | |
12438 | ||
12439 | ||
12440 | static PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
12441 | PyObject *resultobj; | |
12442 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
12443 | wxHtmlHelpWindow *result; | |
12444 | PyObject * obj0 = 0 ; | |
12445 | char *kwnames[] = { | |
12446 | (char *) "self", NULL | |
12447 | }; | |
12448 | ||
12449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetHelpWindow",kwnames,&obj0)) goto fail; | |
12450 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); | |
12451 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12452 | { | |
12453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12454 | result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow(); | |
12455 | ||
12456 | wxPyEndAllowThreads(__tstate); | |
12457 | if (PyErr_Occurred()) SWIG_fail; | |
12458 | } | |
12459 | { | |
12460 | resultobj = wxPyMake_wxObject(result, 0); | |
12461 | } | |
12462 | return resultobj; | |
12463 | fail: | |
12464 | return NULL; | |
12465 | } | |
12466 | ||
12467 | ||
12468 | static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) { | |
12469 | PyObject *obj; | |
12470 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12471 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj); | |
12472 | Py_INCREF(obj); | |
12473 | return Py_BuildValue((char *)""); | |
12474 | } | |
12475 | static PyObject *_wrap_new_HtmlHelpDialog(PyObject *, PyObject *args, PyObject *kwargs) { | |
12476 | PyObject *resultobj; | |
12477 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12478 | int arg2 ; | |
12479 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12480 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12481 | int arg4 = (int) wxHF_DEFAULT_STYLE ; | |
12482 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
12483 | wxHtmlHelpDialog *result; | |
12484 | bool temp3 = false ; | |
12485 | PyObject * obj0 = 0 ; | |
12486 | PyObject * obj1 = 0 ; | |
12487 | PyObject * obj2 = 0 ; | |
12488 | PyObject * obj3 = 0 ; | |
12489 | PyObject * obj4 = 0 ; | |
12490 | char *kwnames[] = { | |
12491 | (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL | |
12492 | }; | |
12493 | ||
12494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
12495 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
12496 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12497 | { | |
12498 | arg2 = (int)(SWIG_As_int(obj1)); | |
12499 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12500 | } | |
12501 | if (obj2) { | |
12502 | { | |
12503 | arg3 = wxString_in_helper(obj2); | |
12504 | if (arg3 == NULL) SWIG_fail; | |
12505 | temp3 = true; | |
12506 | } | |
12507 | } | |
12508 | if (obj3) { | |
12509 | { | |
12510 | arg4 = (int)(SWIG_As_int(obj3)); | |
12511 | if (SWIG_arg_fail(4)) SWIG_fail; | |
12512 | } | |
12513 | } | |
12514 | if (obj4) { | |
12515 | SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); | |
12516 | if (SWIG_arg_fail(5)) SWIG_fail; | |
12517 | } | |
12518 | { | |
12519 | if (!wxPyCheckForApp()) SWIG_fail; | |
12520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12521 | result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5); | |
12522 | ||
12523 | wxPyEndAllowThreads(__tstate); | |
12524 | if (PyErr_Occurred()) SWIG_fail; | |
12525 | } | |
12526 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpDialog, 1); | |
12527 | { | |
12528 | if (temp3) | |
12529 | delete arg3; | |
12530 | } | |
12531 | return resultobj; | |
12532 | fail: | |
12533 | { | |
12534 | if (temp3) | |
12535 | delete arg3; | |
12536 | } | |
12537 | return NULL; | |
12538 | } | |
12539 | ||
12540 | ||
12541 | static PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *, PyObject *args, PyObject *kwargs) { | |
12542 | PyObject *resultobj; | |
12543 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; | |
12544 | wxHtmlHelpDialog *result; | |
12545 | PyObject * obj0 = 0 ; | |
12546 | char *kwnames[] = { | |
12547 | (char *) "data", NULL | |
12548 | }; | |
12549 | ||
12550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) goto fail; | |
12551 | if (obj0) { | |
12552 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); | |
12553 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12554 | } | |
12555 | { | |
12556 | if (!wxPyCheckForApp()) SWIG_fail; | |
12557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12558 | result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1); | |
12559 | ||
12560 | wxPyEndAllowThreads(__tstate); | |
12561 | if (PyErr_Occurred()) SWIG_fail; | |
12562 | } | |
12563 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpDialog, 1); | |
12564 | return resultobj; | |
12565 | fail: | |
12566 | return NULL; | |
12567 | } | |
12568 | ||
12569 | ||
12570 | static PyObject *_wrap_HtmlHelpDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { | |
12571 | PyObject *resultobj; | |
12572 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
12573 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12574 | int arg3 ; | |
12575 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12576 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12577 | int arg5 = (int) wxHF_DEFAULT_STYLE ; | |
12578 | bool result; | |
12579 | bool temp4 = false ; | |
12580 | PyObject * obj0 = 0 ; | |
12581 | PyObject * obj1 = 0 ; | |
12582 | PyObject * obj2 = 0 ; | |
12583 | PyObject * obj3 = 0 ; | |
12584 | PyObject * obj4 = 0 ; | |
12585 | char *kwnames[] = { | |
12586 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL | |
12587 | }; | |
12588 | ||
12589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
12590 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0); | |
12591 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12592 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
12593 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12594 | { | |
12595 | arg3 = (int)(SWIG_As_int(obj2)); | |
12596 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12597 | } | |
12598 | if (obj3) { | |
12599 | { | |
12600 | arg4 = wxString_in_helper(obj3); | |
12601 | if (arg4 == NULL) SWIG_fail; | |
12602 | temp4 = true; | |
12603 | } | |
12604 | } | |
12605 | if (obj4) { | |
12606 | { | |
12607 | arg5 = (int)(SWIG_As_int(obj4)); | |
12608 | if (SWIG_arg_fail(5)) SWIG_fail; | |
12609 | } | |
12610 | } | |
12611 | { | |
12612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12613 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
12614 | ||
12615 | wxPyEndAllowThreads(__tstate); | |
12616 | if (PyErr_Occurred()) SWIG_fail; | |
12617 | } | |
12618 | { | |
12619 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12620 | } | |
12621 | { | |
12622 | if (temp4) | |
12623 | delete arg4; | |
12624 | } | |
12625 | return resultobj; | |
12626 | fail: | |
12627 | { | |
12628 | if (temp4) | |
12629 | delete arg4; | |
12630 | } | |
12631 | return NULL; | |
12632 | } | |
12633 | ||
12634 | ||
12635 | static PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) { | |
12636 | PyObject *resultobj; | |
12637 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
12638 | wxHtmlHelpData *result; | |
12639 | PyObject * obj0 = 0 ; | |
12640 | char *kwnames[] = { | |
12641 | (char *) "self", NULL | |
12642 | }; | |
12643 | ||
12644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetData",kwnames,&obj0)) goto fail; | |
12645 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0); | |
12646 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12647 | { | |
12648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12649 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
12650 | ||
12651 | wxPyEndAllowThreads(__tstate); | |
12652 | if (PyErr_Occurred()) SWIG_fail; | |
12653 | } | |
12654 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0); | |
12655 | return resultobj; | |
12656 | fail: | |
12657 | return NULL; | |
12658 | } | |
12659 | ||
12660 | ||
12661 | static PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *, PyObject *args, PyObject *kwargs) { | |
12662 | PyObject *resultobj; | |
12663 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
12664 | wxHtmlHelpController *result; | |
12665 | PyObject * obj0 = 0 ; | |
12666 | char *kwnames[] = { | |
12667 | (char *) "self", NULL | |
12668 | }; | |
12669 | ||
12670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetController",kwnames,&obj0)) goto fail; | |
12671 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0); | |
12672 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12673 | { | |
12674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12675 | result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController(); | |
12676 | ||
12677 | wxPyEndAllowThreads(__tstate); | |
12678 | if (PyErr_Occurred()) SWIG_fail; | |
12679 | } | |
12680 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0); | |
12681 | return resultobj; | |
12682 | fail: | |
12683 | return NULL; | |
12684 | } | |
12685 | ||
12686 | ||
12687 | static PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *, PyObject *args, PyObject *kwargs) { | |
12688 | PyObject *resultobj; | |
12689 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
12690 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
12691 | PyObject * obj0 = 0 ; | |
12692 | PyObject * obj1 = 0 ; | |
12693 | char *kwnames[] = { | |
12694 | (char *) "self",(char *) "controller", NULL | |
12695 | }; | |
12696 | ||
12697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) goto fail; | |
12698 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0); | |
12699 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12700 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
12701 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12702 | { | |
12703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12704 | (arg1)->SetController(arg2); | |
12705 | ||
12706 | wxPyEndAllowThreads(__tstate); | |
12707 | if (PyErr_Occurred()) SWIG_fail; | |
12708 | } | |
12709 | Py_INCREF(Py_None); resultobj = Py_None; | |
12710 | return resultobj; | |
12711 | fail: | |
12712 | return NULL; | |
12713 | } | |
12714 | ||
12715 | ||
12716 | static PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
12717 | PyObject *resultobj; | |
12718 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
12719 | wxHtmlHelpWindow *result; | |
12720 | PyObject * obj0 = 0 ; | |
12721 | char *kwnames[] = { | |
12722 | (char *) "self", NULL | |
12723 | }; | |
12724 | ||
12725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetHelpWindow",kwnames,&obj0)) goto fail; | |
12726 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0); | |
12727 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12728 | { | |
12729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12730 | result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow(); | |
12731 | ||
12732 | wxPyEndAllowThreads(__tstate); | |
12733 | if (PyErr_Occurred()) SWIG_fail; | |
12734 | } | |
12735 | { | |
12736 | resultobj = wxPyMake_wxObject(result, 0); | |
12737 | } | |
12738 | return resultobj; | |
12739 | fail: | |
12740 | return NULL; | |
12741 | } | |
12742 | ||
12743 | ||
12744 | static PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) { | |
12745 | PyObject *resultobj; | |
12746 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
12747 | wxString *arg2 = 0 ; | |
12748 | bool temp2 = false ; | |
12749 | PyObject * obj0 = 0 ; | |
12750 | PyObject * obj1 = 0 ; | |
12751 | char *kwnames[] = { | |
12752 | (char *) "self",(char *) "format", NULL | |
12753 | }; | |
12754 | ||
12755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
12756 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0); | |
12757 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12758 | { | |
12759 | arg2 = wxString_in_helper(obj1); | |
12760 | if (arg2 == NULL) SWIG_fail; | |
12761 | temp2 = true; | |
12762 | } | |
12763 | { | |
12764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12765 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
12766 | ||
12767 | wxPyEndAllowThreads(__tstate); | |
12768 | if (PyErr_Occurred()) SWIG_fail; | |
12769 | } | |
12770 | Py_INCREF(Py_None); resultobj = Py_None; | |
12771 | { | |
12772 | if (temp2) | |
12773 | delete arg2; | |
12774 | } | |
12775 | return resultobj; | |
12776 | fail: | |
12777 | { | |
12778 | if (temp2) | |
12779 | delete arg2; | |
12780 | } | |
12781 | return NULL; | |
12782 | } | |
12783 | ||
12784 | ||
12785 | static PyObject * HtmlHelpDialog_swigregister(PyObject *, PyObject *args) { | |
12786 | PyObject *obj; | |
12787 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12788 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpDialog, obj); | |
12789 | Py_INCREF(obj); | |
12790 | return Py_BuildValue((char *)""); | |
12791 | } | |
12792 | static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *, PyObject *args) { | |
12793 | PyObject *resultobj; | |
12794 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
12795 | wxString *arg2 = 0 ; | |
12796 | int arg3 ; | |
12797 | bool result; | |
12798 | bool temp2 = false ; | |
12799 | PyObject * obj0 = 0 ; | |
12800 | PyObject * obj1 = 0 ; | |
12801 | PyObject * obj2 = 0 ; | |
12802 | ||
12803 | if(!PyArg_ParseTuple(args,(char *)"OOO:HelpControllerBase_Initialize",&obj0,&obj1,&obj2)) goto fail; | |
12804 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); | |
12805 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12806 | { | |
12807 | arg2 = wxString_in_helper(obj1); | |
12808 | if (arg2 == NULL) SWIG_fail; | |
12809 | temp2 = true; | |
12810 | } | |
12811 | { | |
12812 | arg3 = (int)(SWIG_As_int(obj2)); | |
12813 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12814 | } | |
12815 | { | |
12816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12817 | result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3); | |
12818 | ||
12819 | wxPyEndAllowThreads(__tstate); | |
12820 | if (PyErr_Occurred()) SWIG_fail; | |
12821 | } | |
12822 | { | |
12823 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12824 | } | |
12825 | { | |
12826 | if (temp2) | |
12827 | delete arg2; | |
12828 | } | |
12829 | return resultobj; | |
12830 | fail: | |
12831 | { | |
12832 | if (temp2) | |
12833 | delete arg2; | |
12834 | } | |
12835 | return NULL; | |
12836 | } | |
12837 | ||
12838 | ||
12839 | static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *, PyObject *args) { | |
12840 | PyObject *resultobj; | |
12841 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
12842 | wxString *arg2 = 0 ; | |
12843 | bool result; | |
12844 | bool temp2 = false ; | |
12845 | PyObject * obj0 = 0 ; | |
12846 | PyObject * obj1 = 0 ; | |
12847 | ||
12848 | if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_Initialize",&obj0,&obj1)) goto fail; | |
12849 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); | |
12850 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12851 | { | |
12852 | arg2 = wxString_in_helper(obj1); | |
12853 | if (arg2 == NULL) SWIG_fail; | |
12854 | temp2 = true; | |
12855 | } | |
12856 | { | |
12857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12858 | result = (bool)(arg1)->Initialize((wxString const &)*arg2); | |
12859 | ||
12860 | wxPyEndAllowThreads(__tstate); | |
12861 | if (PyErr_Occurred()) SWIG_fail; | |
12862 | } | |
12863 | { | |
12864 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12865 | } | |
12866 | { | |
12867 | if (temp2) | |
12868 | delete arg2; | |
12869 | } | |
12870 | return resultobj; | |
12871 | fail: | |
12872 | { | |
12873 | if (temp2) | |
12874 | delete arg2; | |
12875 | } | |
12876 | return NULL; | |
12877 | } | |
12878 | ||
12879 | ||
12880 | static PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) { | |
12881 | int argc; | |
12882 | PyObject *argv[4]; | |
12883 | int ii; | |
12884 | ||
12885 | argc = PyObject_Length(args); | |
12886 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
12887 | argv[ii] = PyTuple_GetItem(args,ii); | |
12888 | } | |
12889 | if (argc == 2) { | |
12890 | int _v; | |
12891 | { | |
12892 | void *ptr; | |
12893 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) { | |
12894 | _v = 0; | |
12895 | PyErr_Clear(); | |
12896 | } else { | |
12897 | _v = 1; | |
12898 | } | |
12899 | } | |
12900 | if (_v) { | |
12901 | { | |
12902 | _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]); | |
12903 | } | |
12904 | if (_v) { | |
12905 | return _wrap_HelpControllerBase_Initialize__SWIG_1(self,args); | |
12906 | } | |
12907 | } | |
12908 | } | |
12909 | if (argc == 3) { | |
12910 | int _v; | |
12911 | { | |
12912 | void *ptr; | |
12913 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) { | |
12914 | _v = 0; | |
12915 | PyErr_Clear(); | |
12916 | } else { | |
12917 | _v = 1; | |
12918 | } | |
12919 | } | |
12920 | if (_v) { | |
12921 | { | |
12922 | _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]); | |
12923 | } | |
12924 | if (_v) { | |
12925 | _v = SWIG_Check_int(argv[2]); | |
12926 | if (_v) { | |
12927 | return _wrap_HelpControllerBase_Initialize__SWIG_0(self,args); | |
12928 | } | |
12929 | } | |
12930 | } | |
12931 | } | |
12932 | ||
12933 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'"); | |
12934 | return NULL; | |
12935 | } | |
12936 | ||
12937 | ||
12938 | static PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *, PyObject *args, PyObject *kwargs) { | |
12939 | PyObject *resultobj; | |
12940 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
12941 | wxString *arg2 = 0 ; | |
12942 | long arg3 = (long) 0 ; | |
12943 | bool temp2 = false ; | |
12944 | PyObject * obj0 = 0 ; | |
12945 | PyObject * obj1 = 0 ; | |
12946 | PyObject * obj2 = 0 ; | |
12947 | char *kwnames[] = { | |
12948 | (char *) "self",(char *) "viewer",(char *) "flags", NULL | |
12949 | }; | |
12950 | ||
12951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
12952 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); | |
12953 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12954 | { | |
12955 | arg2 = wxString_in_helper(obj1); | |
12956 | if (arg2 == NULL) SWIG_fail; | |
12957 | temp2 = true; | |
12958 | } | |
12959 | if (obj2) { | |
12960 | { | |
12961 | arg3 = (long)(SWIG_As_long(obj2)); | |
12962 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12963 | } | |
12964 | } | |
12965 | { | |
12966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12967 | (arg1)->SetViewer((wxString const &)*arg2,arg3); | |
12968 | ||
12969 | wxPyEndAllowThreads(__tstate); | |
12970 | if (PyErr_Occurred()) SWIG_fail; | |
12971 | } | |
12972 | Py_INCREF(Py_None); resultobj = Py_None; | |
12973 | { | |
12974 | if (temp2) | |
12975 | delete arg2; | |
12976 | } | |
12977 | return resultobj; | |
12978 | fail: | |
12979 | { | |
12980 | if (temp2) | |
12981 | delete arg2; | |
12982 | } | |
12983 | return NULL; | |
12984 | } | |
12985 | ||
12986 | ||
12987 | static PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { | |
12988 | PyObject *resultobj; | |
12989 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
12990 | wxString const &arg2_defvalue = wxEmptyString ; | |
12991 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
12992 | bool result; | |
12993 | bool temp2 = false ; | |
12994 | PyObject * obj0 = 0 ; | |
12995 | PyObject * obj1 = 0 ; | |
12996 | char *kwnames[] = { | |
12997 | (char *) "self",(char *) "file", NULL | |
12998 | }; | |
12999 | ||
13000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
13001 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); | |
13002 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13003 | if (obj1) { | |
13004 | { | |
13005 | arg2 = wxString_in_helper(obj1); | |
13006 | if (arg2 == NULL) SWIG_fail; | |
13007 | temp2 = true; | |
13008 | } | |
13009 | } | |
13010 | { | |
13011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13012 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
13013 | ||
13014 | wxPyEndAllowThreads(__tstate); | |
13015 | if (PyErr_Occurred()) SWIG_fail; | |
13016 | } | |
13017 | { | |
13018 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13019 | } | |
13020 | { | |
13021 | if (temp2) | |
13022 | delete arg2; | |
13023 | } | |
13024 | return resultobj; | |
13025 | fail: | |
13026 | { | |
13027 | if (temp2) | |
13028 | delete arg2; | |
13029 | } | |
13030 | return NULL; | |
13031 | } | |
13032 | ||
13033 | ||
13034 | static PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) { | |
13035 | PyObject *resultobj; | |
13036 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
13037 | bool result; | |
13038 | PyObject * obj0 = 0 ; | |
13039 | char *kwnames[] = { | |
13040 | (char *) "self", NULL | |
13041 | }; | |
13042 | ||
13043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_DisplayContents",kwnames,&obj0)) goto fail; | |
13044 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); | |
13045 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13046 | { | |
13047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13048 | result = (bool)(arg1)->DisplayContents(); | |
13049 | ||
13050 | wxPyEndAllowThreads(__tstate); | |
13051 | if (PyErr_Occurred()) SWIG_fail; | |
13052 | } | |
13053 | { | |
13054 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13055 | } | |
13056 | return resultobj; | |
13057 | fail: | |
13058 | return NULL; | |
13059 | } | |
13060 | ||
13061 | ||
13062 | static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *, PyObject *args) { | |
13063 | PyObject *resultobj; | |
13064 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
13065 | int arg2 ; | |
13066 | bool result; | |
13067 | PyObject * obj0 = 0 ; | |
13068 | PyObject * obj1 = 0 ; | |
13069 | ||
13070 | if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_DisplaySection",&obj0,&obj1)) goto fail; | |
13071 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); | |
13072 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13073 | { | |
13074 | arg2 = (int)(SWIG_As_int(obj1)); | |
13075 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13076 | } | |
13077 | { | |
13078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13079 | result = (bool)(arg1)->DisplaySection(arg2); | |
13080 | ||
13081 | wxPyEndAllowThreads(__tstate); | |
13082 | if (PyErr_Occurred()) SWIG_fail; | |
13083 | } | |
13084 | { | |
13085 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13086 | } | |
13087 | return resultobj; | |
13088 | fail: | |
13089 | return NULL; | |
13090 | } | |
13091 | ||
13092 | ||
13093 | static PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *, PyObject *args, PyObject *kwargs) { | |
13094 | PyObject *resultobj; | |
13095 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
13096 | int arg2 ; | |
13097 | bool result; | |
13098 | PyObject * obj0 = 0 ; | |
13099 | PyObject * obj1 = 0 ; | |
13100 | char *kwnames[] = { | |
13101 | (char *) "self",(char *) "contextId", NULL | |
13102 | }; | |
13103 | ||
13104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) goto fail; | |
13105 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); | |
13106 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13107 | { | |
13108 | arg2 = (int)(SWIG_As_int(obj1)); | |
13109 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13110 | } | |
13111 | { | |
13112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13113 | result = (bool)(arg1)->DisplayContextPopup(arg2); | |
13114 | ||
13115 | wxPyEndAllowThreads(__tstate); | |
13116 | if (PyErr_Occurred()) SWIG_fail; | |
13117 | } | |
13118 | { | |
13119 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13120 | } | |
13121 | return resultobj; | |
13122 | fail: | |
13123 | return NULL; | |
13124 | } | |
13125 | ||
13126 | ||
13127 | static PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *, PyObject *args, PyObject *kwargs) { | |
13128 | PyObject *resultobj; | |
13129 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
13130 | wxString *arg2 = 0 ; | |
13131 | wxPoint *arg3 = 0 ; | |
13132 | bool result; | |
13133 | bool temp2 = false ; | |
13134 | wxPoint temp3 ; | |
13135 | PyObject * obj0 = 0 ; | |
13136 | PyObject * obj1 = 0 ; | |
13137 | PyObject * obj2 = 0 ; | |
13138 | char *kwnames[] = { | |
13139 | (char *) "self",(char *) "text",(char *) "pos", NULL | |
13140 | }; | |
13141 | ||
13142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13143 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); | |
13144 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13145 | { | |
13146 | arg2 = wxString_in_helper(obj1); | |
13147 | if (arg2 == NULL) SWIG_fail; | |
13148 | temp2 = true; | |
13149 | } | |
13150 | { | |
13151 | arg3 = &temp3; | |
13152 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
13153 | } | |
13154 | { | |
13155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13156 | result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3); | |
13157 | ||
13158 | wxPyEndAllowThreads(__tstate); | |
13159 | if (PyErr_Occurred()) SWIG_fail; | |
13160 | } | |
13161 | { | |
13162 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13163 | } | |
13164 | { | |
13165 | if (temp2) | |
13166 | delete arg2; | |
13167 | } | |
13168 | return resultobj; | |
13169 | fail: | |
13170 | { | |
13171 | if (temp2) | |
13172 | delete arg2; | |
13173 | } | |
13174 | return NULL; | |
13175 | } | |
13176 | ||
13177 | ||
13178 | static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *, PyObject *args) { | |
13179 | PyObject *resultobj; | |
13180 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
13181 | wxString *arg2 = 0 ; | |
13182 | bool result; | |
13183 | bool temp2 = false ; | |
13184 | PyObject * obj0 = 0 ; | |
13185 | PyObject * obj1 = 0 ; | |
13186 | ||
13187 | if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_DisplaySection",&obj0,&obj1)) goto fail; | |
13188 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); | |
13189 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13190 | { | |
13191 | arg2 = wxString_in_helper(obj1); | |
13192 | if (arg2 == NULL) SWIG_fail; | |
13193 | temp2 = true; | |
13194 | } | |
13195 | { | |
13196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13197 | result = (bool)(arg1)->DisplaySection((wxString const &)*arg2); | |
13198 | ||
13199 | wxPyEndAllowThreads(__tstate); | |
13200 | if (PyErr_Occurred()) SWIG_fail; | |
13201 | } | |
13202 | { | |
13203 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13204 | } | |
13205 | { | |
13206 | if (temp2) | |
13207 | delete arg2; | |
13208 | } | |
13209 | return resultobj; | |
13210 | fail: | |
13211 | { | |
13212 | if (temp2) | |
13213 | delete arg2; | |
13214 | } | |
13215 | return NULL; | |
13216 | } | |
13217 | ||
13218 | ||
13219 | static PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) { | |
13220 | int argc; | |
13221 | PyObject *argv[3]; | |
13222 | int ii; | |
13223 | ||
13224 | argc = PyObject_Length(args); | |
13225 | for (ii = 0; (ii < argc) && (ii < 2); ii++) { | |
13226 | argv[ii] = PyTuple_GetItem(args,ii); | |
13227 | } | |
13228 | if (argc == 2) { | |
13229 | int _v; | |
13230 | { | |
13231 | void *ptr; | |
13232 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) { | |
13233 | _v = 0; | |
13234 | PyErr_Clear(); | |
13235 | } else { | |
13236 | _v = 1; | |
13237 | } | |
13238 | } | |
13239 | if (_v) { | |
13240 | { | |
13241 | _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]); | |
13242 | } | |
13243 | if (_v) { | |
13244 | return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self,args); | |
13245 | } | |
13246 | } | |
13247 | } | |
13248 | if (argc == 2) { | |
13249 | int _v; | |
13250 | { | |
13251 | void *ptr; | |
13252 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) { | |
13253 | _v = 0; | |
13254 | PyErr_Clear(); | |
13255 | } else { | |
13256 | _v = 1; | |
13257 | } | |
13258 | } | |
13259 | if (_v) { | |
13260 | _v = SWIG_Check_int(argv[1]); | |
13261 | if (_v) { | |
13262 | return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self,args); | |
13263 | } | |
13264 | } | |
13265 | } | |
13266 | ||
13267 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'"); | |
13268 | return NULL; | |
13269 | } | |
13270 | ||
13271 | ||
13272 | static PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *, PyObject *args, PyObject *kwargs) { | |
13273 | PyObject *resultobj; | |
13274 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
13275 | long arg2 ; | |
13276 | bool result; | |
13277 | PyObject * obj0 = 0 ; | |
13278 | PyObject * obj1 = 0 ; | |
13279 | char *kwnames[] = { | |
13280 | (char *) "self",(char *) "blockNo", NULL | |
13281 | }; | |
13282 | ||
13283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) goto fail; | |
13284 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); | |
13285 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13286 | { | |
13287 | arg2 = (long)(SWIG_As_long(obj1)); | |
13288 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13289 | } | |
13290 | { | |
13291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13292 | result = (bool)(arg1)->DisplayBlock(arg2); | |
13293 | ||
13294 | wxPyEndAllowThreads(__tstate); | |
13295 | if (PyErr_Occurred()) SWIG_fail; | |
13296 | } | |
13297 | { | |
13298 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13299 | } | |
13300 | return resultobj; | |
13301 | fail: | |
13302 | return NULL; | |
13303 | } | |
13304 | ||
13305 | ||
13306 | static PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) { | |
13307 | PyObject *resultobj; | |
13308 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
13309 | wxString *arg2 = 0 ; | |
13310 | wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ; | |
13311 | bool result; | |
13312 | bool temp2 = false ; | |
13313 | PyObject * obj0 = 0 ; | |
13314 | PyObject * obj1 = 0 ; | |
13315 | PyObject * obj2 = 0 ; | |
13316 | char *kwnames[] = { | |
13317 | (char *) "self",(char *) "k",(char *) "mode", NULL | |
13318 | }; | |
13319 | ||
13320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13321 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); | |
13322 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13323 | { | |
13324 | arg2 = wxString_in_helper(obj1); | |
13325 | if (arg2 == NULL) SWIG_fail; | |
13326 | temp2 = true; | |
13327 | } | |
13328 | if (obj2) { | |
13329 | { | |
13330 | wxHelpSearchMode * argp; | |
13331 | SWIG_Python_ConvertPtr(obj2, (void **)&argp, SWIGTYPE_p_wxHelpSearchMode, SWIG_POINTER_EXCEPTION); | |
13332 | if (SWIG_arg_fail(3)) SWIG_fail; | |
13333 | if (argp == NULL) { | |
13334 | SWIG_null_ref("wxHelpSearchMode"); | |
13335 | } | |
13336 | if (SWIG_arg_fail(3)) SWIG_fail; | |
13337 | arg3 = *argp; | |
13338 | } | |
13339 | } | |
13340 | { | |
13341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13342 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3); | |
13343 | ||
13344 | wxPyEndAllowThreads(__tstate); | |
13345 | if (PyErr_Occurred()) SWIG_fail; | |
13346 | } | |
13347 | { | |
13348 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13349 | } | |
13350 | { | |
13351 | if (temp2) | |
13352 | delete arg2; | |
13353 | } | |
13354 | return resultobj; | |
13355 | fail: | |
13356 | { | |
13357 | if (temp2) | |
13358 | delete arg2; | |
13359 | } | |
13360 | return NULL; | |
13361 | } | |
13362 | ||
13363 | ||
13364 | static PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *, PyObject *args, PyObject *kwargs) { | |
13365 | PyObject *resultobj; | |
13366 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
13367 | wxString *arg2 = 0 ; | |
13368 | wxSize *arg3 = 0 ; | |
13369 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
13370 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
13371 | bool arg5 = (bool) false ; | |
13372 | bool temp2 = false ; | |
13373 | wxSize temp3 ; | |
13374 | wxPoint temp4 ; | |
13375 | PyObject * obj0 = 0 ; | |
13376 | PyObject * obj1 = 0 ; | |
13377 | PyObject * obj2 = 0 ; | |
13378 | PyObject * obj3 = 0 ; | |
13379 | PyObject * obj4 = 0 ; | |
13380 | char *kwnames[] = { | |
13381 | (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL | |
13382 | }; | |
13383 | ||
13384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
13385 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); | |
13386 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13387 | { | |
13388 | arg2 = wxString_in_helper(obj1); | |
13389 | if (arg2 == NULL) SWIG_fail; | |
13390 | temp2 = true; | |
13391 | } | |
13392 | { | |
13393 | arg3 = &temp3; | |
13394 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
13395 | } | |
13396 | if (obj3) { | |
13397 | { | |
13398 | arg4 = &temp4; | |
13399 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
13400 | } | |
13401 | } | |
13402 | if (obj4) { | |
13403 | { | |
13404 | arg5 = (bool)(SWIG_As_bool(obj4)); | |
13405 | if (SWIG_arg_fail(5)) SWIG_fail; | |
13406 | } | |
13407 | } | |
13408 | { | |
13409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13410 | (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5); | |
13411 | ||
13412 | wxPyEndAllowThreads(__tstate); | |
13413 | if (PyErr_Occurred()) SWIG_fail; | |
13414 | } | |
13415 | Py_INCREF(Py_None); resultobj = Py_None; | |
13416 | { | |
13417 | if (temp2) | |
13418 | delete arg2; | |
13419 | } | |
13420 | return resultobj; | |
13421 | fail: | |
13422 | { | |
13423 | if (temp2) | |
13424 | delete arg2; | |
13425 | } | |
13426 | return NULL; | |
13427 | } | |
13428 | ||
13429 | ||
13430 | static PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *, PyObject *args, PyObject *kwargs) { | |
13431 | PyObject *resultobj; | |
13432 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
13433 | wxSize *arg2 = (wxSize *) NULL ; | |
13434 | wxPoint *arg3 = (wxPoint *) NULL ; | |
13435 | bool *arg4 = (bool *) NULL ; | |
13436 | wxFrame *result; | |
13437 | PyObject * obj0 = 0 ; | |
13438 | PyObject * obj1 = 0 ; | |
13439 | PyObject * obj2 = 0 ; | |
13440 | PyObject * obj3 = 0 ; | |
13441 | char *kwnames[] = { | |
13442 | (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL | |
13443 | }; | |
13444 | ||
13445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
13446 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); | |
13447 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13448 | if (obj1) { | |
13449 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); | |
13450 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13451 | } | |
13452 | if (obj2) { | |
13453 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); | |
13454 | if (SWIG_arg_fail(3)) SWIG_fail; | |
13455 | } | |
13456 | if (obj3) { | |
13457 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_bool, SWIG_POINTER_EXCEPTION | 0); | |
13458 | if (SWIG_arg_fail(4)) SWIG_fail; | |
13459 | } | |
13460 | { | |
13461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13462 | result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4); | |
13463 | ||
13464 | wxPyEndAllowThreads(__tstate); | |
13465 | if (PyErr_Occurred()) SWIG_fail; | |
13466 | } | |
13467 | { | |
13468 | resultobj = wxPyMake_wxObject(result, 0); | |
13469 | } | |
13470 | return resultobj; | |
13471 | fail: | |
13472 | return NULL; | |
13473 | } | |
13474 | ||
13475 | ||
13476 | static PyObject *_wrap_HelpControllerBase_Quit(PyObject *, PyObject *args, PyObject *kwargs) { | |
13477 | PyObject *resultobj; | |
13478 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
13479 | bool result; | |
13480 | PyObject * obj0 = 0 ; | |
13481 | char *kwnames[] = { | |
13482 | (char *) "self", NULL | |
13483 | }; | |
13484 | ||
13485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_Quit",kwnames,&obj0)) goto fail; | |
13486 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); | |
13487 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13488 | { | |
13489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13490 | result = (bool)(arg1)->Quit(); | |
13491 | ||
13492 | wxPyEndAllowThreads(__tstate); | |
13493 | if (PyErr_Occurred()) SWIG_fail; | |
13494 | } | |
13495 | { | |
13496 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13497 | } | |
13498 | return resultobj; | |
13499 | fail: | |
13500 | return NULL; | |
13501 | } | |
13502 | ||
13503 | ||
13504 | static PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *, PyObject *args, PyObject *kwargs) { | |
13505 | PyObject *resultobj; | |
13506 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
13507 | PyObject * obj0 = 0 ; | |
13508 | char *kwnames[] = { | |
13509 | (char *) "self", NULL | |
13510 | }; | |
13511 | ||
13512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_OnQuit",kwnames,&obj0)) goto fail; | |
13513 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); | |
13514 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13515 | { | |
13516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13517 | (arg1)->OnQuit(); | |
13518 | ||
13519 | wxPyEndAllowThreads(__tstate); | |
13520 | if (PyErr_Occurred()) SWIG_fail; | |
13521 | } | |
13522 | Py_INCREF(Py_None); resultobj = Py_None; | |
13523 | return resultobj; | |
13524 | fail: | |
13525 | return NULL; | |
13526 | } | |
13527 | ||
13528 | ||
13529 | static PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
13530 | PyObject *resultobj; | |
13531 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
13532 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13533 | PyObject * obj0 = 0 ; | |
13534 | PyObject * obj1 = 0 ; | |
13535 | char *kwnames[] = { | |
13536 | (char *) "self",(char *) "win", NULL | |
13537 | }; | |
13538 | ||
13539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) goto fail; | |
13540 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); | |
13541 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13542 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
13543 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13544 | { | |
13545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13546 | (arg1)->SetParentWindow(arg2); | |
13547 | ||
13548 | wxPyEndAllowThreads(__tstate); | |
13549 | if (PyErr_Occurred()) SWIG_fail; | |
13550 | } | |
13551 | Py_INCREF(Py_None); resultobj = Py_None; | |
13552 | return resultobj; | |
13553 | fail: | |
13554 | return NULL; | |
13555 | } | |
13556 | ||
13557 | ||
13558 | static PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
13559 | PyObject *resultobj; | |
13560 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
13561 | wxWindow *result; | |
13562 | PyObject * obj0 = 0 ; | |
13563 | char *kwnames[] = { | |
13564 | (char *) "self", NULL | |
13565 | }; | |
13566 | ||
13567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_GetParentWindow",kwnames,&obj0)) goto fail; | |
13568 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); | |
13569 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13570 | { | |
13571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13572 | result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow(); | |
13573 | ||
13574 | wxPyEndAllowThreads(__tstate); | |
13575 | if (PyErr_Occurred()) SWIG_fail; | |
13576 | } | |
13577 | { | |
13578 | resultobj = wxPyMake_wxObject(result, 0); | |
13579 | } | |
13580 | return resultobj; | |
13581 | fail: | |
13582 | return NULL; | |
13583 | } | |
13584 | ||
13585 | ||
13586 | static PyObject * HelpControllerBase_swigregister(PyObject *, PyObject *args) { | |
13587 | PyObject *obj; | |
13588 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13589 | SWIG_TypeClientData(SWIGTYPE_p_wxHelpControllerBase, obj); | |
13590 | Py_INCREF(obj); | |
13591 | return Py_BuildValue((char *)""); | |
13592 | } | |
13593 | static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) { | |
13594 | PyObject *resultobj; | |
13595 | int arg1 = (int) wxHF_DEFAULT_STYLE ; | |
13596 | wxWindow *arg2 = (wxWindow *) NULL ; | |
13597 | wxHtmlHelpController *result; | |
13598 | PyObject * obj0 = 0 ; | |
13599 | PyObject * obj1 = 0 ; | |
13600 | char *kwnames[] = { | |
13601 | (char *) "style",(char *) "parentWindow", NULL | |
13602 | }; | |
13603 | ||
13604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) goto fail; | |
13605 | if (obj0) { | |
13606 | { | |
13607 | arg1 = (int)(SWIG_As_int(obj0)); | |
13608 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13609 | } | |
13610 | } | |
13611 | if (obj1) { | |
13612 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
13613 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13614 | } | |
13615 | { | |
13616 | if (!wxPyCheckForApp()) SWIG_fail; | |
13617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13618 | result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2); | |
13619 | ||
13620 | wxPyEndAllowThreads(__tstate); | |
13621 | if (PyErr_Occurred()) SWIG_fail; | |
13622 | } | |
13623 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1); | |
13624 | return resultobj; | |
13625 | fail: | |
13626 | return NULL; | |
13627 | } | |
13628 | ||
13629 | ||
13630 | static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) { | |
13631 | PyObject *resultobj; | |
13632 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
13633 | PyObject * obj0 = 0 ; | |
13634 | char *kwnames[] = { | |
13635 | (char *) "self", NULL | |
13636 | }; | |
13637 | ||
13638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail; | |
13639 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
13640 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13641 | { | |
13642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13643 | delete arg1; | |
13644 | ||
13645 | wxPyEndAllowThreads(__tstate); | |
13646 | if (PyErr_Occurred()) SWIG_fail; | |
13647 | } | |
13648 | Py_INCREF(Py_None); resultobj = Py_None; | |
13649 | return resultobj; | |
13650 | fail: | |
13651 | return NULL; | |
13652 | } | |
13653 | ||
13654 | ||
13655 | static PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
13656 | PyObject *resultobj; | |
13657 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
13658 | wxHtmlHelpWindow *result; | |
13659 | PyObject * obj0 = 0 ; | |
13660 | char *kwnames[] = { | |
13661 | (char *) "self", NULL | |
13662 | }; | |
13663 | ||
13664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetHelpWindow",kwnames,&obj0)) goto fail; | |
13665 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
13666 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13667 | { | |
13668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13669 | result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow(); | |
13670 | ||
13671 | wxPyEndAllowThreads(__tstate); | |
13672 | if (PyErr_Occurred()) SWIG_fail; | |
13673 | } | |
13674 | { | |
13675 | resultobj = wxPyMake_wxObject(result, 0); | |
13676 | } | |
13677 | return resultobj; | |
13678 | fail: | |
13679 | return NULL; | |
13680 | } | |
13681 | ||
13682 | ||
13683 | static PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
13684 | PyObject *resultobj; | |
13685 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
13686 | wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ; | |
13687 | PyObject * obj0 = 0 ; | |
13688 | PyObject * obj1 = 0 ; | |
13689 | char *kwnames[] = { | |
13690 | (char *) "self",(char *) "helpWindow", NULL | |
13691 | }; | |
13692 | ||
13693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) goto fail; | |
13694 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
13695 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13696 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); | |
13697 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13698 | { | |
13699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13700 | (arg1)->SetHelpWindow(arg2); | |
13701 | ||
13702 | wxPyEndAllowThreads(__tstate); | |
13703 | if (PyErr_Occurred()) SWIG_fail; | |
13704 | } | |
13705 | Py_INCREF(Py_None); resultobj = Py_None; | |
13706 | return resultobj; | |
13707 | fail: | |
13708 | return NULL; | |
13709 | } | |
13710 | ||
13711 | ||
13712 | static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { | |
13713 | PyObject *resultobj; | |
13714 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
13715 | wxHtmlHelpFrame *result; | |
13716 | PyObject * obj0 = 0 ; | |
13717 | char *kwnames[] = { | |
13718 | (char *) "self", NULL | |
13719 | }; | |
13720 | ||
13721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail; | |
13722 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
13723 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13724 | { | |
13725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13726 | result = (wxHtmlHelpFrame *)(arg1)->GetFrame(); | |
13727 | ||
13728 | wxPyEndAllowThreads(__tstate); | |
13729 | if (PyErr_Occurred()) SWIG_fail; | |
13730 | } | |
13731 | { | |
13732 | resultobj = wxPyMake_wxObject(result, 0); | |
13733 | } | |
13734 | return resultobj; | |
13735 | fail: | |
13736 | return NULL; | |
13737 | } | |
13738 | ||
13739 | ||
13740 | static PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) { | |
13741 | PyObject *resultobj; | |
13742 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
13743 | wxHtmlHelpDialog *result; | |
13744 | PyObject * obj0 = 0 ; | |
13745 | char *kwnames[] = { | |
13746 | (char *) "self", NULL | |
13747 | }; | |
13748 | ||
13749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetDialog",kwnames,&obj0)) goto fail; | |
13750 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
13751 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13752 | { | |
13753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13754 | result = (wxHtmlHelpDialog *)(arg1)->GetDialog(); | |
13755 | ||
13756 | wxPyEndAllowThreads(__tstate); | |
13757 | if (PyErr_Occurred()) SWIG_fail; | |
13758 | } | |
13759 | { | |
13760 | resultobj = wxPyMake_wxObject(result, 0); | |
13761 | } | |
13762 | return resultobj; | |
13763 | fail: | |
13764 | return NULL; | |
13765 | } | |
13766 | ||
13767 | ||
13768 | static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) { | |
13769 | PyObject *resultobj; | |
13770 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
13771 | wxString *arg2 = 0 ; | |
13772 | bool temp2 = false ; | |
13773 | PyObject * obj0 = 0 ; | |
13774 | PyObject * obj1 = 0 ; | |
13775 | char *kwnames[] = { | |
13776 | (char *) "self",(char *) "format", NULL | |
13777 | }; | |
13778 | ||
13779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
13780 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
13781 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13782 | { | |
13783 | arg2 = wxString_in_helper(obj1); | |
13784 | if (arg2 == NULL) SWIG_fail; | |
13785 | temp2 = true; | |
13786 | } | |
13787 | { | |
13788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13789 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
13790 | ||
13791 | wxPyEndAllowThreads(__tstate); | |
13792 | if (PyErr_Occurred()) SWIG_fail; | |
13793 | } | |
13794 | Py_INCREF(Py_None); resultobj = Py_None; | |
13795 | { | |
13796 | if (temp2) | |
13797 | delete arg2; | |
13798 | } | |
13799 | return resultobj; | |
13800 | fail: | |
13801 | { | |
13802 | if (temp2) | |
13803 | delete arg2; | |
13804 | } | |
13805 | return NULL; | |
13806 | } | |
13807 | ||
13808 | ||
13809 | static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) { | |
13810 | PyObject *resultobj; | |
13811 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
13812 | wxString *arg2 = 0 ; | |
13813 | bool temp2 = false ; | |
13814 | PyObject * obj0 = 0 ; | |
13815 | PyObject * obj1 = 0 ; | |
13816 | char *kwnames[] = { | |
13817 | (char *) "self",(char *) "path", NULL | |
13818 | }; | |
13819 | ||
13820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
13821 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
13822 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13823 | { | |
13824 | arg2 = wxString_in_helper(obj1); | |
13825 | if (arg2 == NULL) SWIG_fail; | |
13826 | temp2 = true; | |
13827 | } | |
13828 | { | |
13829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13830 | (arg1)->SetTempDir((wxString const &)*arg2); | |
13831 | ||
13832 | wxPyEndAllowThreads(__tstate); | |
13833 | if (PyErr_Occurred()) SWIG_fail; | |
13834 | } | |
13835 | Py_INCREF(Py_None); resultobj = Py_None; | |
13836 | { | |
13837 | if (temp2) | |
13838 | delete arg2; | |
13839 | } | |
13840 | return resultobj; | |
13841 | fail: | |
13842 | { | |
13843 | if (temp2) | |
13844 | delete arg2; | |
13845 | } | |
13846 | return NULL; | |
13847 | } | |
13848 | ||
13849 | ||
13850 | static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) { | |
13851 | PyObject *resultobj; | |
13852 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
13853 | wxString *arg2 = 0 ; | |
13854 | int arg3 = (int) false ; | |
13855 | bool result; | |
13856 | bool temp2 = false ; | |
13857 | PyObject * obj0 = 0 ; | |
13858 | PyObject * obj1 = 0 ; | |
13859 | PyObject * obj2 = 0 ; | |
13860 | char *kwnames[] = { | |
13861 | (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL | |
13862 | }; | |
13863 | ||
13864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13865 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
13866 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13867 | { | |
13868 | arg2 = wxString_in_helper(obj1); | |
13869 | if (arg2 == NULL) SWIG_fail; | |
13870 | temp2 = true; | |
13871 | } | |
13872 | if (obj2) { | |
13873 | { | |
13874 | arg3 = (int)(SWIG_As_int(obj2)); | |
13875 | if (SWIG_arg_fail(3)) SWIG_fail; | |
13876 | } | |
13877 | } | |
13878 | { | |
13879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13880 | result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3); | |
13881 | ||
13882 | wxPyEndAllowThreads(__tstate); | |
13883 | if (PyErr_Occurred()) SWIG_fail; | |
13884 | } | |
13885 | { | |
13886 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13887 | } | |
13888 | { | |
13889 | if (temp2) | |
13890 | delete arg2; | |
13891 | } | |
13892 | return resultobj; | |
13893 | fail: | |
13894 | { | |
13895 | if (temp2) | |
13896 | delete arg2; | |
13897 | } | |
13898 | return NULL; | |
13899 | } | |
13900 | ||
13901 | ||
13902 | static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) { | |
13903 | PyObject *resultobj; | |
13904 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
13905 | wxString *arg2 = 0 ; | |
13906 | bool temp2 = false ; | |
13907 | PyObject * obj0 = 0 ; | |
13908 | PyObject * obj1 = 0 ; | |
13909 | char *kwnames[] = { | |
13910 | (char *) "self",(char *) "x", NULL | |
13911 | }; | |
13912 | ||
13913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail; | |
13914 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
13915 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13916 | { | |
13917 | arg2 = wxString_in_helper(obj1); | |
13918 | if (arg2 == NULL) SWIG_fail; | |
13919 | temp2 = true; | |
13920 | } | |
13921 | { | |
13922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13923 | (arg1)->Display((wxString const &)*arg2); | |
13924 | ||
13925 | wxPyEndAllowThreads(__tstate); | |
13926 | if (PyErr_Occurred()) SWIG_fail; | |
13927 | } | |
13928 | Py_INCREF(Py_None); resultobj = Py_None; | |
13929 | { | |
13930 | if (temp2) | |
13931 | delete arg2; | |
13932 | } | |
13933 | return resultobj; | |
13934 | fail: | |
13935 | { | |
13936 | if (temp2) | |
13937 | delete arg2; | |
13938 | } | |
13939 | return NULL; | |
13940 | } | |
13941 | ||
13942 | ||
13943 | static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) { | |
13944 | PyObject *resultobj; | |
13945 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
13946 | int arg2 ; | |
13947 | PyObject * obj0 = 0 ; | |
13948 | PyObject * obj1 = 0 ; | |
13949 | char *kwnames[] = { | |
13950 | (char *) "self",(char *) "id", NULL | |
13951 | }; | |
13952 | ||
13953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail; | |
13954 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
13955 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13956 | { | |
13957 | arg2 = (int)(SWIG_As_int(obj1)); | |
13958 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13959 | } | |
13960 | { | |
13961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13962 | (arg1)->Display(arg2); | |
13963 | ||
13964 | wxPyEndAllowThreads(__tstate); | |
13965 | if (PyErr_Occurred()) SWIG_fail; | |
13966 | } | |
13967 | Py_INCREF(Py_None); resultobj = Py_None; | |
13968 | return resultobj; | |
13969 | fail: | |
13970 | return NULL; | |
13971 | } | |
13972 | ||
13973 | ||
13974 | static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) { | |
13975 | PyObject *resultobj; | |
13976 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
13977 | PyObject * obj0 = 0 ; | |
13978 | char *kwnames[] = { | |
13979 | (char *) "self", NULL | |
13980 | }; | |
13981 | ||
13982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail; | |
13983 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
13984 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13985 | { | |
13986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13987 | (arg1)->DisplayContents(); | |
13988 | ||
13989 | wxPyEndAllowThreads(__tstate); | |
13990 | if (PyErr_Occurred()) SWIG_fail; | |
13991 | } | |
13992 | Py_INCREF(Py_None); resultobj = Py_None; | |
13993 | return resultobj; | |
13994 | fail: | |
13995 | return NULL; | |
13996 | } | |
13997 | ||
13998 | ||
13999 | static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) { | |
14000 | PyObject *resultobj; | |
14001 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
14002 | PyObject * obj0 = 0 ; | |
14003 | char *kwnames[] = { | |
14004 | (char *) "self", NULL | |
14005 | }; | |
14006 | ||
14007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail; | |
14008 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
14009 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14010 | { | |
14011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14012 | (arg1)->DisplayIndex(); | |
14013 | ||
14014 | wxPyEndAllowThreads(__tstate); | |
14015 | if (PyErr_Occurred()) SWIG_fail; | |
14016 | } | |
14017 | Py_INCREF(Py_None); resultobj = Py_None; | |
14018 | return resultobj; | |
14019 | fail: | |
14020 | return NULL; | |
14021 | } | |
14022 | ||
14023 | ||
14024 | static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) { | |
14025 | PyObject *resultobj; | |
14026 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
14027 | wxString *arg2 = 0 ; | |
14028 | bool result; | |
14029 | bool temp2 = false ; | |
14030 | PyObject * obj0 = 0 ; | |
14031 | PyObject * obj1 = 0 ; | |
14032 | char *kwnames[] = { | |
14033 | (char *) "self",(char *) "keyword", NULL | |
14034 | }; | |
14035 | ||
14036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
14037 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
14038 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14039 | { | |
14040 | arg2 = wxString_in_helper(obj1); | |
14041 | if (arg2 == NULL) SWIG_fail; | |
14042 | temp2 = true; | |
14043 | } | |
14044 | { | |
14045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14046 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
14047 | ||
14048 | wxPyEndAllowThreads(__tstate); | |
14049 | if (PyErr_Occurred()) SWIG_fail; | |
14050 | } | |
14051 | { | |
14052 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14053 | } | |
14054 | { | |
14055 | if (temp2) | |
14056 | delete arg2; | |
14057 | } | |
14058 | return resultobj; | |
14059 | fail: | |
14060 | { | |
14061 | if (temp2) | |
14062 | delete arg2; | |
14063 | } | |
14064 | return NULL; | |
14065 | } | |
14066 | ||
14067 | ||
14068 | static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) { | |
14069 | PyObject *resultobj; | |
14070 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
14071 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
14072 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
14073 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14074 | bool temp3 = false ; | |
14075 | PyObject * obj0 = 0 ; | |
14076 | PyObject * obj1 = 0 ; | |
14077 | PyObject * obj2 = 0 ; | |
14078 | char *kwnames[] = { | |
14079 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
14080 | }; | |
14081 | ||
14082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14083 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
14084 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14085 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); | |
14086 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14087 | if (obj2) { | |
14088 | { | |
14089 | arg3 = wxString_in_helper(obj2); | |
14090 | if (arg3 == NULL) SWIG_fail; | |
14091 | temp3 = true; | |
14092 | } | |
14093 | } | |
14094 | { | |
14095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14096 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
14097 | ||
14098 | wxPyEndAllowThreads(__tstate); | |
14099 | if (PyErr_Occurred()) SWIG_fail; | |
14100 | } | |
14101 | Py_INCREF(Py_None); resultobj = Py_None; | |
14102 | { | |
14103 | if (temp3) | |
14104 | delete arg3; | |
14105 | } | |
14106 | return resultobj; | |
14107 | fail: | |
14108 | { | |
14109 | if (temp3) | |
14110 | delete arg3; | |
14111 | } | |
14112 | return NULL; | |
14113 | } | |
14114 | ||
14115 | ||
14116 | static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) { | |
14117 | PyObject *resultobj; | |
14118 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
14119 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
14120 | wxString arg3 = (wxString) wxPyEmptyString ; | |
14121 | PyObject * obj0 = 0 ; | |
14122 | PyObject * obj1 = 0 ; | |
14123 | PyObject * obj2 = 0 ; | |
14124 | char *kwnames[] = { | |
14125 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
14126 | }; | |
14127 | ||
14128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14129 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
14130 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14131 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); | |
14132 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14133 | if (obj2) { | |
14134 | { | |
14135 | wxString* sptr = wxString_in_helper(obj2); | |
14136 | if (sptr == NULL) SWIG_fail; | |
14137 | arg3 = *sptr; | |
14138 | delete sptr; | |
14139 | } | |
14140 | } | |
14141 | { | |
14142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14143 | (arg1)->ReadCustomization(arg2,arg3); | |
14144 | ||
14145 | wxPyEndAllowThreads(__tstate); | |
14146 | if (PyErr_Occurred()) SWIG_fail; | |
14147 | } | |
14148 | Py_INCREF(Py_None); resultobj = Py_None; | |
14149 | return resultobj; | |
14150 | fail: | |
14151 | return NULL; | |
14152 | } | |
14153 | ||
14154 | ||
14155 | static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) { | |
14156 | PyObject *resultobj; | |
14157 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
14158 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
14159 | wxString arg3 = (wxString) wxPyEmptyString ; | |
14160 | PyObject * obj0 = 0 ; | |
14161 | PyObject * obj1 = 0 ; | |
14162 | PyObject * obj2 = 0 ; | |
14163 | char *kwnames[] = { | |
14164 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
14165 | }; | |
14166 | ||
14167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14168 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
14169 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14170 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); | |
14171 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14172 | if (obj2) { | |
14173 | { | |
14174 | wxString* sptr = wxString_in_helper(obj2); | |
14175 | if (sptr == NULL) SWIG_fail; | |
14176 | arg3 = *sptr; | |
14177 | delete sptr; | |
14178 | } | |
14179 | } | |
14180 | { | |
14181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14182 | (arg1)->WriteCustomization(arg2,arg3); | |
14183 | ||
14184 | wxPyEndAllowThreads(__tstate); | |
14185 | if (PyErr_Occurred()) SWIG_fail; | |
14186 | } | |
14187 | Py_INCREF(Py_None); resultobj = Py_None; | |
14188 | return resultobj; | |
14189 | fail: | |
14190 | return NULL; | |
14191 | } | |
14192 | ||
14193 | ||
14194 | static PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) { | |
14195 | PyObject *resultobj; | |
14196 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
14197 | PyObject * obj0 = 0 ; | |
14198 | char *kwnames[] = { | |
14199 | (char *) "self", NULL | |
14200 | }; | |
14201 | ||
14202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_MakeModalIfNeeded",kwnames,&obj0)) goto fail; | |
14203 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
14204 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14205 | { | |
14206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14207 | (arg1)->MakeModalIfNeeded(); | |
14208 | ||
14209 | wxPyEndAllowThreads(__tstate); | |
14210 | if (PyErr_Occurred()) SWIG_fail; | |
14211 | } | |
14212 | Py_INCREF(Py_None); resultobj = Py_None; | |
14213 | return resultobj; | |
14214 | fail: | |
14215 | return NULL; | |
14216 | } | |
14217 | ||
14218 | ||
14219 | static PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
14220 | PyObject *resultobj; | |
14221 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
14222 | wxWindow *result; | |
14223 | PyObject * obj0 = 0 ; | |
14224 | char *kwnames[] = { | |
14225 | (char *) "self", NULL | |
14226 | }; | |
14227 | ||
14228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_FindTopLevelWindow",kwnames,&obj0)) goto fail; | |
14229 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); | |
14230 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14231 | { | |
14232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14233 | result = (wxWindow *)(arg1)->FindTopLevelWindow(); | |
14234 | ||
14235 | wxPyEndAllowThreads(__tstate); | |
14236 | if (PyErr_Occurred()) SWIG_fail; | |
14237 | } | |
14238 | { | |
14239 | resultobj = wxPyMake_wxObject(result, 0); | |
14240 | } | |
14241 | return resultobj; | |
14242 | fail: | |
14243 | return NULL; | |
14244 | } | |
14245 | ||
14246 | ||
14247 | static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) { | |
14248 | PyObject *obj; | |
14249 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14250 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj); | |
14251 | Py_INCREF(obj); | |
14252 | return Py_BuildValue((char *)""); | |
14253 | } | |
14254 | static PyObject *_wrap_new_HtmlModalHelp(PyObject *, PyObject *args, PyObject *kwargs) { | |
14255 | PyObject *resultobj; | |
14256 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14257 | wxString *arg2 = 0 ; | |
14258 | wxString const &arg3_defvalue = wxEmptyString ; | |
14259 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14260 | int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ; | |
14261 | wxHtmlModalHelp *result; | |
14262 | bool temp2 = false ; | |
14263 | bool temp3 = false ; | |
14264 | PyObject * obj0 = 0 ; | |
14265 | PyObject * obj1 = 0 ; | |
14266 | PyObject * obj2 = 0 ; | |
14267 | PyObject * obj3 = 0 ; | |
14268 | char *kwnames[] = { | |
14269 | (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL | |
14270 | }; | |
14271 | ||
14272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
14273 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
14274 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14275 | { | |
14276 | arg2 = wxString_in_helper(obj1); | |
14277 | if (arg2 == NULL) SWIG_fail; | |
14278 | temp2 = true; | |
14279 | } | |
14280 | if (obj2) { | |
14281 | { | |
14282 | arg3 = wxString_in_helper(obj2); | |
14283 | if (arg3 == NULL) SWIG_fail; | |
14284 | temp3 = true; | |
14285 | } | |
14286 | } | |
14287 | if (obj3) { | |
14288 | { | |
14289 | arg4 = (int)(SWIG_As_int(obj3)); | |
14290 | if (SWIG_arg_fail(4)) SWIG_fail; | |
14291 | } | |
14292 | } | |
14293 | { | |
14294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14295 | result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
14296 | ||
14297 | wxPyEndAllowThreads(__tstate); | |
14298 | if (PyErr_Occurred()) SWIG_fail; | |
14299 | } | |
14300 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlModalHelp, 1); | |
14301 | { | |
14302 | if (temp2) | |
14303 | delete arg2; | |
14304 | } | |
14305 | { | |
14306 | if (temp3) | |
14307 | delete arg3; | |
14308 | } | |
14309 | return resultobj; | |
14310 | fail: | |
14311 | { | |
14312 | if (temp2) | |
14313 | delete arg2; | |
14314 | } | |
14315 | { | |
14316 | if (temp3) | |
14317 | delete arg3; | |
14318 | } | |
14319 | return NULL; | |
14320 | } | |
14321 | ||
14322 | ||
14323 | static PyObject * HtmlModalHelp_swigregister(PyObject *, PyObject *args) { | |
14324 | PyObject *obj; | |
14325 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14326 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlModalHelp, obj); | |
14327 | Py_INCREF(obj); | |
14328 | return Py_BuildValue((char *)""); | |
14329 | } | |
14330 | static PyMethodDef SwigMethods[] = { | |
14331 | { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14332 | { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14333 | { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14334 | { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14335 | { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14336 | { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14337 | { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14338 | { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL}, | |
14339 | { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14340 | { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14341 | { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
14342 | { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL}, |
14343 | { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14344 | { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14345 | { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14346 | { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14347 | { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL}, | |
14348 | { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14349 | { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14350 | { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14351 | { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14352 | { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14353 | { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14354 | { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14355 | { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14356 | { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14357 | { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14358 | { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14359 | { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL}, | |
14360 | { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14361 | { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14362 | { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14363 | { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14364 | { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14365 | { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14366 | { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14367 | { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14368 | { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14369 | { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14370 | { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14371 | { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14372 | { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14373 | { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14374 | { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14375 | { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14376 | { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14377 | { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14378 | { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14379 | { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14380 | { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14381 | { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14382 | { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14383 | { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14384 | { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14385 | { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14386 | { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14387 | { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14388 | { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14389 | { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14390 | { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14391 | { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL}, | |
14392 | { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14393 | { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14394 | { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14395 | { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14396 | { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14397 | { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL}, | |
14398 | { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14399 | { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14400 | { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14401 | { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14402 | { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14403 | { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL}, | |
14404 | { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14405 | { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14406 | { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14407 | { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14408 | { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14409 | { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14410 | { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14411 | { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14412 | { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14413 | { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14414 | { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14415 | { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14416 | { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14417 | { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14418 | { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14419 | { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL}, | |
14420 | { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14421 | { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14422 | { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14423 | { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14424 | { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14425 | { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14426 | { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14427 | { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14428 | { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL}, | |
14429 | { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14430 | { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14431 | { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL}, | |
14432 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14433 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14434 | { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL}, | |
14435 | { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14436 | { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14437 | { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14438 | { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14439 | { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14440 | { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14441 | { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14442 | { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL}, | |
14443 | { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14444 | { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14445 | { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14446 | { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14447 | { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14448 | { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14449 | { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14450 | { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14451 | { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14452 | { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14453 | { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14454 | { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14455 | { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14456 | { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14457 | { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14458 | { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14459 | { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14460 | { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14461 | { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14462 | { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14463 | { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14464 | { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14465 | { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14466 | { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14467 | { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14468 | { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14469 | { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14470 | { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14471 | { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14472 | { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14473 | { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14474 | { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14475 | { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14476 | { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14477 | { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL}, | |
14478 | { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14479 | { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL}, | |
14480 | { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14481 | { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14482 | { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14483 | { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14484 | { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14485 | { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14486 | { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14487 | { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14488 | { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14489 | { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14490 | { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14491 | { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14492 | { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14493 | { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14494 | { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14495 | { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14496 | { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14497 | { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL}, | |
14498 | { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14499 | { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL}, | |
14500 | { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14501 | { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL}, | |
14502 | { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14503 | { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL}, | |
14504 | { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14505 | { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14506 | { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL}, | |
14507 | { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14508 | { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14509 | { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14510 | { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14511 | { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14512 | { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14513 | { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14514 | { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14515 | { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14516 | { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14517 | { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14518 | { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14519 | { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14520 | { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14521 | { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14522 | { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
943e8dfd | 14523 | { (char *)"HtmlWindow_SetLabel", (PyCFunction) _wrap_HtmlWindow_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 14524 | { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL}, |
53aa7709 | 14525 | { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
14526 | { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, |
14527 | { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14528 | { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14529 | { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14530 | { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14531 | { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14532 | { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14533 | { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14534 | { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14535 | { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14536 | { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14537 | { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14538 | { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14539 | { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14540 | { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14541 | { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14542 | { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14543 | { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14544 | { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14545 | { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14546 | { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14547 | { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14548 | { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL}, | |
14549 | { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14550 | { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14551 | { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14552 | { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14553 | { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14554 | { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14555 | { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14556 | { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14557 | { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14558 | { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL}, | |
14559 | { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14560 | { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14561 | { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14562 | { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14563 | { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14564 | { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14565 | { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14566 | { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14567 | { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14568 | { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14569 | { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL}, | |
14570 | { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14571 | { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14572 | { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14573 | { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14574 | { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14575 | { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14576 | { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14577 | { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14578 | { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14579 | { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14580 | { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14581 | { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14582 | { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14583 | { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL}, | |
14584 | { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14585 | { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14586 | { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14587 | { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14588 | { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14589 | { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14590 | { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14591 | { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14592 | { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14593 | { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14594 | { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14595 | { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14596 | { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL}, | |
093d3ff1 RD |
14597 | { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL}, |
14598 | { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14599 | { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14600 | { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14601 | { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
14602 | { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL}, |
14603 | { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14604 | { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14605 | { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14606 | { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14607 | { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14608 | { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14609 | { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 | 14610 | { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL}, |
091f5bed RD |
14611 | { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
14612 | { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14613 | { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14614 | { (char *)"HtmlHelpWindow_GetData", (PyCFunction) _wrap_HtmlHelpWindow_GetData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14615 | { (char *)"HtmlHelpWindow_GetController", (PyCFunction) _wrap_HtmlHelpWindow_GetController, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14616 | { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14617 | { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14618 | { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14619 | { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction) _wrap_HtmlHelpWindow_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14620 | { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction) _wrap_HtmlHelpWindow_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14621 | { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14622 | { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14623 | { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14624 | { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14625 | { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction) _wrap_HtmlHelpWindow_NotifyPageChanged, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14626 | { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction) _wrap_HtmlHelpWindow_RefreshLists, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14627 | { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction) _wrap_HtmlHelpWindow_GetHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14628 | { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction) _wrap_HtmlHelpWindow_GetSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14629 | { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction) _wrap_HtmlHelpWindow_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14630 | { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction) _wrap_HtmlHelpWindow_GetCfgData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14631 | { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction) _wrap_HtmlHelpWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14632 | { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL}, | |
14633 | { (char *)"new_HtmlWindowEvent", (PyCFunction) _wrap_new_HtmlWindowEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14634 | { (char *)"HtmlWindowEvent_SetURL", (PyCFunction) _wrap_HtmlWindowEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14635 | { (char *)"HtmlWindowEvent_GetURL", (PyCFunction) _wrap_HtmlWindowEvent_GetURL, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14636 | { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister, METH_VARARGS, NULL}, | |
093d3ff1 | 14637 | { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
091f5bed RD |
14638 | { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
14639 | { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
14640 | { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL}, |
14641 | { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, | |
091f5bed RD |
14642 | { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction) _wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL}, |
14643 | { (char *)"HtmlHelpFrame_GetController", (PyCFunction) _wrap_HtmlHelpFrame_GetController, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14644 | { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14645 | { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpFrame_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 | 14646 | { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL}, |
091f5bed RD |
14647 | { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL}, |
14648 | { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14649 | { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14650 | { (char *)"HtmlHelpDialog_GetData", (PyCFunction) _wrap_HtmlHelpDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14651 | { (char *)"HtmlHelpDialog_GetController", (PyCFunction) _wrap_HtmlHelpDialog_GetController, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14652 | { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14653 | { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpDialog_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14654 | { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14655 | { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL}, | |
14656 | { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL}, | |
14657 | { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14658 | { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14659 | { (char *)"HelpControllerBase_DisplayContents", (PyCFunction) _wrap_HelpControllerBase_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14660 | { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14661 | { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14662 | { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL}, | |
14663 | { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14664 | { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14665 | { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14666 | { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14667 | { (char *)"HelpControllerBase_Quit", (PyCFunction) _wrap_HelpControllerBase_Quit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14668 | { (char *)"HelpControllerBase_OnQuit", (PyCFunction) _wrap_HelpControllerBase_OnQuit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14669 | { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14670 | { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction) _wrap_HelpControllerBase_GetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14671 | { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL}, | |
093d3ff1 RD |
14672 | { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL}, |
14673 | { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL}, | |
091f5bed RD |
14674 | { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
14675 | { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14676 | { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14677 | { (char *)"HtmlHelpController_GetDialog", (PyCFunction) _wrap_HtmlHelpController_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
14678 | { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, |
14679 | { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14680 | { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14681 | { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14682 | { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14683 | { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14684 | { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14685 | { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14686 | { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14687 | { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14688 | { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
091f5bed RD |
14689 | { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction) _wrap_HtmlHelpController_MakeModalIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL}, |
14690 | { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction) _wrap_HtmlHelpController_FindTopLevelWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 | 14691 | { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL}, |
091f5bed RD |
14692 | { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL}, |
14693 | { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL}, | |
c32bde28 | 14694 | { NULL, NULL, 0, NULL } |
d14a1e28 RD |
14695 | }; |
14696 | ||
14697 | ||
14698 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
14699 | ||
14700 | static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) { | |
14701 | return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x)); | |
14702 | } | |
091f5bed RD |
14703 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
14704 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
14705 | } | |
14706 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
14707 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
14708 | } | |
14709 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
14710 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
14711 | } | |
14712 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
14713 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
d14a1e28 | 14714 | } |
091f5bed RD |
14715 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { |
14716 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
d14a1e28 | 14717 | } |
091f5bed RD |
14718 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { |
14719 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
d14a1e28 | 14720 | } |
091f5bed RD |
14721 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { |
14722 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
823f0cfe | 14723 | } |
091f5bed RD |
14724 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { |
14725 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
d14a1e28 | 14726 | } |
091f5bed RD |
14727 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { |
14728 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
d14a1e28 | 14729 | } |
091f5bed RD |
14730 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { |
14731 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
d14a1e28 | 14732 | } |
091f5bed RD |
14733 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
14734 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
d14a1e28 | 14735 | } |
091f5bed RD |
14736 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { |
14737 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
d14a1e28 | 14738 | } |
091f5bed RD |
14739 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { |
14740 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
d14a1e28 | 14741 | } |
091f5bed RD |
14742 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
14743 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
d14a1e28 | 14744 | } |
091f5bed RD |
14745 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { |
14746 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
823f0cfe | 14747 | } |
091f5bed RD |
14748 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { |
14749 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
d14a1e28 | 14750 | } |
091f5bed RD |
14751 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { |
14752 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
d14a1e28 | 14753 | } |
091f5bed RD |
14754 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { |
14755 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
d14a1e28 | 14756 | } |
091f5bed RD |
14757 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { |
14758 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
d14a1e28 | 14759 | } |
091f5bed RD |
14760 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { |
14761 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
d14a1e28 | 14762 | } |
091f5bed RD |
14763 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { |
14764 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
d14a1e28 | 14765 | } |
091f5bed RD |
14766 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { |
14767 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
d14a1e28 | 14768 | } |
091f5bed RD |
14769 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
14770 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
d14a1e28 | 14771 | } |
091f5bed RD |
14772 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { |
14773 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
d14a1e28 | 14774 | } |
091f5bed RD |
14775 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
14776 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
d3b6e4ff | 14777 | } |
091f5bed RD |
14778 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { |
14779 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
d14a1e28 | 14780 | } |
091f5bed RD |
14781 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { |
14782 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
d14a1e28 | 14783 | } |
091f5bed RD |
14784 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { |
14785 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
d14a1e28 | 14786 | } |
091f5bed RD |
14787 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { |
14788 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
14789 | } | |
14790 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
14791 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
14792 | } | |
14793 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
14794 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
14795 | } | |
14796 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
14797 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
14798 | } | |
14799 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
14800 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
14801 | } | |
14802 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
14803 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
14804 | } | |
14805 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
14806 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
14807 | } | |
14808 | static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x) { | |
14809 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x)); | |
14810 | } | |
14811 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
14812 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
14813 | } | |
14814 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
14815 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
14816 | } | |
14817 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
14818 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
14819 | } | |
14820 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
14821 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
14822 | } | |
14823 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
14824 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
14825 | } | |
14826 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
14827 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
14828 | } | |
14829 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
14830 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
14831 | } | |
14832 | static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) { | |
14833 | return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
14834 | } | |
14835 | static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) { | |
14836 | return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
14837 | } | |
14838 | static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) { | |
14839 | return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
14840 | } | |
14841 | static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) { | |
14842 | return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
14843 | } | |
14844 | static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) { | |
14845 | return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
14846 | } | |
14847 | static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x) { | |
14848 | return (void *)((wxNotifyEvent *) ((wxHtmlWindowEvent *) x)); | |
14849 | } | |
14850 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
14851 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
14852 | } | |
14853 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
14854 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
14855 | } | |
14856 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
14857 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
14858 | } | |
14859 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
14860 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
14861 | } | |
14862 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
14863 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
14864 | } | |
14865 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
14866 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
14867 | } | |
14868 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
14869 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
14870 | } | |
14871 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
14872 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
14873 | } | |
14874 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { | |
14875 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
14876 | } | |
14877 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
14878 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
14879 | } | |
14880 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
14881 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
14882 | } | |
14883 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
14884 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
14885 | } | |
14886 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
14887 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
14888 | } | |
14889 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
14890 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
14891 | } | |
14892 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
14893 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
14894 | } | |
14895 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
14896 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
14897 | } | |
14898 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
14899 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
14900 | } | |
14901 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
14902 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
14903 | } | |
14904 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
14905 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
14906 | } | |
14907 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
14908 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
14909 | } | |
14910 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
14911 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
14912 | } | |
14913 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
14914 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
14915 | } | |
14916 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
14917 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
14918 | } | |
14919 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
14920 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
14921 | } | |
14922 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
14923 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
14924 | } | |
14925 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
14926 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
14927 | } | |
14928 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
14929 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
14930 | } | |
14931 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
14932 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
14933 | } | |
14934 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
14935 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
14936 | } | |
14937 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
14938 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
14939 | } | |
14940 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
14941 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
14942 | } | |
14943 | static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) { | |
14944 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
14945 | } | |
14946 | static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) { | |
14947 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x)); | |
14948 | } | |
14949 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
14950 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
14951 | } | |
14952 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
14953 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
14954 | } | |
14955 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
14956 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
14957 | } | |
14958 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
14959 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
14960 | } | |
14961 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
14962 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
14963 | } | |
14964 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
14965 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
14966 | } | |
14967 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
14968 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
14969 | } | |
14970 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
14971 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
14972 | } | |
14973 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
14974 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
14975 | } | |
14976 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
14977 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
14978 | } | |
14979 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
14980 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
14981 | } | |
14982 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
14983 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
14984 | } | |
14985 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
14986 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
14987 | } | |
14988 | static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) { | |
14989 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
14990 | } | |
14991 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
14992 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
14993 | } | |
14994 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
14995 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
14996 | } | |
14997 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
14998 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
14999 | } | |
15000 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
15001 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
15002 | } | |
15003 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
15004 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
15005 | } | |
15006 | static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) { | |
15007 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
15008 | } | |
15009 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
15010 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
15011 | } | |
15012 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) { | |
15013 | return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
15014 | } | |
15015 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
15016 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
15017 | } | |
15018 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
15019 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
15020 | } | |
15021 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
15022 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
15023 | } | |
15024 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
15025 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
15026 | } | |
15027 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
15028 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 15029 | } |
091f5bed RD |
15030 | static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) { |
15031 | return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 15032 | } |
091f5bed RD |
15033 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { |
15034 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 15035 | } |
091f5bed RD |
15036 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { |
15037 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 15038 | } |
091f5bed RD |
15039 | static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) { |
15040 | return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
d14a1e28 | 15041 | } |
091f5bed RD |
15042 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { |
15043 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
d14a1e28 | 15044 | } |
091f5bed RD |
15045 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { |
15046 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 15047 | } |
091f5bed RD |
15048 | static void *_p_wxEventTo_p_wxObject(void *x) { |
15049 | return (void *)((wxObject *) ((wxEvent *) x)); | |
d14a1e28 | 15050 | } |
091f5bed RD |
15051 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { |
15052 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
d14a1e28 | 15053 | } |
091f5bed RD |
15054 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { |
15055 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
d14a1e28 | 15056 | } |
091f5bed RD |
15057 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { |
15058 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
d14a1e28 | 15059 | } |
091f5bed RD |
15060 | static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) { |
15061 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
d14a1e28 | 15062 | } |
091f5bed RD |
15063 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { |
15064 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 15065 | } |
091f5bed RD |
15066 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { |
15067 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
d3b6e4ff | 15068 | } |
091f5bed RD |
15069 | static void *_p_wxHtmlTagTo_p_wxObject(void *x) { |
15070 | return (void *)((wxObject *) ((wxHtmlTag *) x)); | |
823f0cfe | 15071 | } |
091f5bed RD |
15072 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { |
15073 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
d14a1e28 | 15074 | } |
091f5bed RD |
15075 | static void *_p_wxImageTo_p_wxObject(void *x) { |
15076 | return (void *)((wxObject *) ((wxImage *) x)); | |
d14a1e28 | 15077 | } |
091f5bed RD |
15078 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
15079 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
d14a1e28 | 15080 | } |
091f5bed RD |
15081 | static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) { |
15082 | return (void *)((wxObject *) ((wxPyHtmlFilter *) x)); | |
d14a1e28 | 15083 | } |
091f5bed RD |
15084 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
15085 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d14a1e28 | 15086 | } |
091f5bed RD |
15087 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { |
15088 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
d14a1e28 | 15089 | } |
091f5bed RD |
15090 | static void *_p_wxPyAppTo_p_wxObject(void *x) { |
15091 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
d14a1e28 | 15092 | } |
091f5bed RD |
15093 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { |
15094 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
d14a1e28 | 15095 | } |
091f5bed RD |
15096 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { |
15097 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
d14a1e28 | 15098 | } |
091f5bed RD |
15099 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { |
15100 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
d14a1e28 | 15101 | } |
091f5bed RD |
15102 | static void *_p_wxValidatorTo_p_wxObject(void *x) { |
15103 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
d14a1e28 | 15104 | } |
091f5bed RD |
15105 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { |
15106 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
d14a1e28 | 15107 | } |
091f5bed RD |
15108 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { |
15109 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
d14a1e28 | 15110 | } |
091f5bed RD |
15111 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { |
15112 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
d14a1e28 | 15113 | } |
091f5bed RD |
15114 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { |
15115 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
d14a1e28 | 15116 | } |
091f5bed RD |
15117 | static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) { |
15118 | return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x)); | |
d14a1e28 | 15119 | } |
091f5bed RD |
15120 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
15121 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
d14a1e28 | 15122 | } |
091f5bed RD |
15123 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { |
15124 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
d3b6e4ff | 15125 | } |
091f5bed RD |
15126 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { |
15127 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
d14a1e28 | 15128 | } |
091f5bed RD |
15129 | static void *_p_wxPrinterTo_p_wxObject(void *x) { |
15130 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
d14a1e28 | 15131 | } |
091f5bed RD |
15132 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { |
15133 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
d14a1e28 | 15134 | } |
091f5bed RD |
15135 | static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) { |
15136 | return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
d14a1e28 | 15137 | } |
091f5bed RD |
15138 | static void *_p_wxHtmlParserTo_p_wxObject(void *x) { |
15139 | return (void *)((wxObject *) ((wxHtmlParser *) x)); | |
d3b6e4ff | 15140 | } |
091f5bed RD |
15141 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { |
15142 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
d14a1e28 | 15143 | } |
091f5bed RD |
15144 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { |
15145 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
d14a1e28 | 15146 | } |
091f5bed RD |
15147 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
15148 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
943e8dfd | 15149 | } |
091f5bed RD |
15150 | static void *_p_wxControlTo_p_wxObject(void *x) { |
15151 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
943e8dfd | 15152 | } |
091f5bed RD |
15153 | static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) { |
15154 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
943e8dfd | 15155 | } |
091f5bed RD |
15156 | static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) { |
15157 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
943e8dfd | 15158 | } |
091f5bed RD |
15159 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
15160 | return (void *)((wxObject *) ((wxColourData *) x)); | |
943e8dfd | 15161 | } |
091f5bed RD |
15162 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { |
15163 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
943e8dfd | 15164 | } |
091f5bed RD |
15165 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { |
15166 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
943e8dfd | 15167 | } |
091f5bed RD |
15168 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { |
15169 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
943e8dfd | 15170 | } |
091f5bed RD |
15171 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { |
15172 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
943e8dfd | 15173 | } |
091f5bed RD |
15174 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { |
15175 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
943e8dfd | 15176 | } |
091f5bed RD |
15177 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { |
15178 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
943e8dfd | 15179 | } |
091f5bed RD |
15180 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { |
15181 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
943e8dfd | 15182 | } |
091f5bed RD |
15183 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { |
15184 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
943e8dfd | 15185 | } |
091f5bed RD |
15186 | static void *_p_wxDateEventTo_p_wxObject(void *x) { |
15187 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
d14a1e28 | 15188 | } |
091f5bed RD |
15189 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
15190 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
d14a1e28 | 15191 | } |
091f5bed RD |
15192 | static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) { |
15193 | return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
d14a1e28 | 15194 | } |
091f5bed RD |
15195 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { |
15196 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
d14a1e28 | 15197 | } |
091f5bed RD |
15198 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { |
15199 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 15200 | } |
091f5bed RD |
15201 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
15202 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
d14a1e28 | 15203 | } |
091f5bed RD |
15204 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { |
15205 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
d14a1e28 | 15206 | } |
091f5bed RD |
15207 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { |
15208 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
d14a1e28 | 15209 | } |
091f5bed RD |
15210 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
15211 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
d14a1e28 | 15212 | } |
091f5bed RD |
15213 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
15214 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
d14a1e28 | 15215 | } |
091f5bed RD |
15216 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { |
15217 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 15218 | } |
091f5bed RD |
15219 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { |
15220 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 15221 | } |
091f5bed RD |
15222 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { |
15223 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
d14a1e28 | 15224 | } |
091f5bed RD |
15225 | static void *_p_wxFontDataTo_p_wxObject(void *x) { |
15226 | return (void *)((wxObject *) ((wxFontData *) x)); | |
d14a1e28 | 15227 | } |
091f5bed RD |
15228 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
15229 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 15230 | } |
091f5bed RD |
15231 | static void *_p_wxFrameTo_p_wxObject(void *x) { |
15232 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 RD |
15233 | } |
15234 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
15235 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
15236 | } | |
091f5bed RD |
15237 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { |
15238 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
d14a1e28 | 15239 | } |
091f5bed RD |
15240 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { |
15241 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 15242 | } |
091f5bed RD |
15243 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { |
15244 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
d14a1e28 | 15245 | } |
091f5bed RD |
15246 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { |
15247 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
d14a1e28 | 15248 | } |
091f5bed RD |
15249 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { |
15250 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
d14a1e28 | 15251 | } |
091f5bed RD |
15252 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { |
15253 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
d14a1e28 | 15254 | } |
091f5bed RD |
15255 | static void *_p_wxSizerTo_p_wxObject(void *x) { |
15256 | return (void *)((wxObject *) ((wxSizer *) x)); | |
d14a1e28 | 15257 | } |
091f5bed RD |
15258 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { |
15259 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
d14a1e28 | 15260 | } |
091f5bed RD |
15261 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { |
15262 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
d14a1e28 | 15263 | } |
091f5bed RD |
15264 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { |
15265 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
d14a1e28 | 15266 | } |
091f5bed RD |
15267 | static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) { |
15268 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
d14a1e28 RD |
15269 | } |
15270 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
15271 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
15272 | } | |
091f5bed RD |
15273 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { |
15274 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
d14a1e28 | 15275 | } |
091f5bed RD |
15276 | static void *_p_wxFSFileTo_p_wxObject(void *x) { |
15277 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
d14a1e28 | 15278 | } |
091f5bed RD |
15279 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { |
15280 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
d14a1e28 | 15281 | } |
091f5bed RD |
15282 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { |
15283 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
d14a1e28 | 15284 | } |
091f5bed RD |
15285 | static void *_p_wxMenuTo_p_wxObject(void *x) { |
15286 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
d14a1e28 | 15287 | } |
091f5bed RD |
15288 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
15289 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
d14a1e28 | 15290 | } |
091f5bed RD |
15291 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
15292 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
d14a1e28 | 15293 | } |
091f5bed RD |
15294 | static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) { |
15295 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 15296 | } |
091f5bed RD |
15297 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { |
15298 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
d14a1e28 | 15299 | } |
091f5bed RD |
15300 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { |
15301 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
d14a1e28 | 15302 | } |
091f5bed RD |
15303 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { |
15304 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 15305 | } |
091f5bed RD |
15306 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { |
15307 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 15308 | } |
091f5bed RD |
15309 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { |
15310 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 15311 | } |
091f5bed RD |
15312 | static void *_p_wxDialogTo_p_wxObject(void *x) { |
15313 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
d14a1e28 | 15314 | } |
091f5bed RD |
15315 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { |
15316 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
d14a1e28 RD |
15317 | } |
15318 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
15319 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
15320 | } | |
091f5bed RD |
15321 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) { |
15322 | return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
d14a1e28 | 15323 | } |
091f5bed RD |
15324 | static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) { |
15325 | return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x)); | |
d14a1e28 | 15326 | } |
091f5bed RD |
15327 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
15328 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
d14a1e28 | 15329 | } |
091f5bed RD |
15330 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { |
15331 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
d14a1e28 | 15332 | } |
091f5bed RD |
15333 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { |
15334 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
d14a1e28 | 15335 | } |
091f5bed RD |
15336 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { |
15337 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
d14a1e28 | 15338 | } |
091f5bed RD |
15339 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { |
15340 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
d14a1e28 | 15341 | } |
091f5bed RD |
15342 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { |
15343 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
d3b6e4ff | 15344 | } |
091f5bed RD |
15345 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { |
15346 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
d14a1e28 | 15347 | } |
091f5bed RD |
15348 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { |
15349 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
d14a1e28 | 15350 | } |
091f5bed RD |
15351 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { |
15352 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
d14a1e28 | 15353 | } |
091f5bed RD |
15354 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { |
15355 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
d14a1e28 | 15356 | } |
091f5bed RD |
15357 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { |
15358 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
d14a1e28 | 15359 | } |
091f5bed RD |
15360 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { |
15361 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
d14a1e28 | 15362 | } |
091f5bed RD |
15363 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { |
15364 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
53aa7709 | 15365 | } |
091f5bed RD |
15366 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { |
15367 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
d14a1e28 | 15368 | } |
091f5bed RD |
15369 | static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x) { |
15370 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x)); | |
d14a1e28 | 15371 | } |
091f5bed RD |
15372 | static void *_p_wxShowEventTo_p_wxObject(void *x) { |
15373 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
d14a1e28 | 15374 | } |
091f5bed RD |
15375 | static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) { |
15376 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x)); | |
d14a1e28 | 15377 | } |
091f5bed RD |
15378 | static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) { |
15379 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 15380 | } |
091f5bed RD |
15381 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
15382 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 15383 | } |
091f5bed RD |
15384 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { |
15385 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
d14a1e28 | 15386 | } |
091f5bed RD |
15387 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { |
15388 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
d14a1e28 | 15389 | } |
091f5bed RD |
15390 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { |
15391 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
d14a1e28 | 15392 | } |
091f5bed RD |
15393 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { |
15394 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
d14a1e28 | 15395 | } |
091f5bed RD |
15396 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { |
15397 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
d14a1e28 | 15398 | } |
091f5bed RD |
15399 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { |
15400 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
d14a1e28 | 15401 | } |
091f5bed RD |
15402 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { |
15403 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
d14a1e28 | 15404 | } |
091f5bed RD |
15405 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { |
15406 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
d14a1e28 | 15407 | } |
091f5bed RD |
15408 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { |
15409 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
d14a1e28 | 15410 | } |
091f5bed RD |
15411 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
15412 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
d14a1e28 | 15413 | } |
091f5bed RD |
15414 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
15415 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 15416 | } |
091f5bed RD |
15417 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
15418 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
d14a1e28 | 15419 | } |
091f5bed RD |
15420 | static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) { |
15421 | return (void *)((wxObject *) ((wxHelpControllerBase *) x)); | |
943e8dfd | 15422 | } |
091f5bed RD |
15423 | static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) { |
15424 | return (void *)((wxObject *) ((wxHtmlDCRenderer *) x)); | |
d14a1e28 | 15425 | } |
091f5bed RD |
15426 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { |
15427 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
943e8dfd | 15428 | } |
091f5bed RD |
15429 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { |
15430 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
d14a1e28 | 15431 | } |
091f5bed RD |
15432 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
15433 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 15434 | } |
091f5bed RD |
15435 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
15436 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 15437 | } |
091f5bed RD |
15438 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { |
15439 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 15440 | } |
091f5bed RD |
15441 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { |
15442 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 15443 | } |
091f5bed RD |
15444 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { |
15445 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 15446 | } |
091f5bed RD |
15447 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { |
15448 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 15449 | } |
091f5bed RD |
15450 | static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) { |
15451 | return (void *)((wxObject *) ((wxHtmlLinkInfo *) x)); | |
51b83b37 | 15452 | } |
091f5bed RD |
15453 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { |
15454 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
d14a1e28 | 15455 | } |
091f5bed RD |
15456 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { |
15457 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
d14a1e28 | 15458 | } |
091f5bed RD |
15459 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { |
15460 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
d14a1e28 | 15461 | } |
091f5bed RD |
15462 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { |
15463 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
d14a1e28 | 15464 | } |
091f5bed RD |
15465 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { |
15466 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
d14a1e28 | 15467 | } |
091f5bed RD |
15468 | static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) { |
15469 | return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x)); | |
d14a1e28 | 15470 | } |
091f5bed RD |
15471 | static void *_p_wxPanelTo_p_wxObject(void *x) { |
15472 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
d14a1e28 RD |
15473 | } |
15474 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
15475 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
15476 | } | |
091f5bed RD |
15477 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { |
15478 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
d14a1e28 | 15479 | } |
091f5bed RD |
15480 | static void *_p_wxHtmlCellTo_p_wxObject(void *x) { |
15481 | return (void *)((wxObject *) ((wxHtmlCell *) x)); | |
d14a1e28 | 15482 | } |
091f5bed RD |
15483 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { |
15484 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
d14a1e28 | 15485 | } |
091f5bed RD |
15486 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { |
15487 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
d14a1e28 | 15488 | } |
091f5bed RD |
15489 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { |
15490 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
d14a1e28 | 15491 | } |
091f5bed RD |
15492 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { |
15493 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
d14a1e28 | 15494 | } |
091f5bed RD |
15495 | static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) { |
15496 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
d14a1e28 | 15497 | } |
091f5bed RD |
15498 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
15499 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
d14a1e28 | 15500 | } |
091f5bed RD |
15501 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { |
15502 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
0df68c9f | 15503 | } |
091f5bed RD |
15504 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { |
15505 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
d14a1e28 | 15506 | } |
091f5bed RD |
15507 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { |
15508 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
d14a1e28 | 15509 | } |
091f5bed RD |
15510 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { |
15511 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 15512 | } |
091f5bed RD |
15513 | static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) { |
15514 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
d14a1e28 | 15515 | } |
091f5bed RD |
15516 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { |
15517 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
d14a1e28 | 15518 | } |
091f5bed RD |
15519 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { |
15520 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 15521 | } |
091f5bed RD |
15522 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { |
15523 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 15524 | } |
091f5bed RD |
15525 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { |
15526 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
d14a1e28 | 15527 | } |
091f5bed RD |
15528 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { |
15529 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
d14a1e28 | 15530 | } |
091f5bed RD |
15531 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { |
15532 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
d14a1e28 | 15533 | } |
091f5bed RD |
15534 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { |
15535 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
823f0cfe | 15536 | } |
091f5bed RD |
15537 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { |
15538 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 15539 | } |
091f5bed RD |
15540 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
15541 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 15542 | } |
091f5bed RD |
15543 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
15544 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 15545 | } |
091f5bed RD |
15546 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { |
15547 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 15548 | } |
091f5bed RD |
15549 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { |
15550 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 15551 | } |
091f5bed RD |
15552 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { |
15553 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 15554 | } |
091f5bed RD |
15555 | static void *_p_wxPanelTo_p_wxWindow(void *x) { |
15556 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
d14a1e28 | 15557 | } |
091f5bed RD |
15558 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { |
15559 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
d14a1e28 | 15560 | } |
091f5bed RD |
15561 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
15562 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
d14a1e28 | 15563 | } |
091f5bed RD |
15564 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { |
15565 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
d14a1e28 | 15566 | } |
091f5bed RD |
15567 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { |
15568 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
d14a1e28 | 15569 | } |
091f5bed RD |
15570 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { |
15571 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
d14a1e28 | 15572 | } |
091f5bed RD |
15573 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { |
15574 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
d14a1e28 | 15575 | } |
091f5bed RD |
15576 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { |
15577 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 15578 | } |
091f5bed RD |
15579 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { |
15580 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
d14a1e28 | 15581 | } |
091f5bed RD |
15582 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { |
15583 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
d14a1e28 | 15584 | } |
091f5bed RD |
15585 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { |
15586 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
d14a1e28 | 15587 | } |
091f5bed RD |
15588 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { |
15589 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
d14a1e28 | 15590 | } |
091f5bed RD |
15591 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
15592 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
d14a1e28 | 15593 | } |
091f5bed RD |
15594 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
15595 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 15596 | } |
091f5bed RD |
15597 | static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) { |
15598 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 15599 | } |
091f5bed RD |
15600 | static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) { |
15601 | return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x)); | |
d14a1e28 | 15602 | } |
091f5bed RD |
15603 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
15604 | return (void *)((wxWindow *) ((wxControl *) x)); | |
d14a1e28 | 15605 | } |
091f5bed RD |
15606 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { |
15607 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 15608 | } |
091f5bed RD |
15609 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { |
15610 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 15611 | } |
091f5bed RD |
15612 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { |
15613 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 15614 | } |
091f5bed RD |
15615 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { |
15616 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
d14a1e28 | 15617 | } |
091f5bed RD |
15618 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { |
15619 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
d14a1e28 | 15620 | } |
091f5bed RD |
15621 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { |
15622 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 15623 | } |
091f5bed RD |
15624 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
15625 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 15626 | } |
091f5bed RD |
15627 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { |
15628 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 15629 | } |
091f5bed RD |
15630 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
15631 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
d14a1e28 | 15632 | } |
091f5bed RD |
15633 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { |
15634 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
d14a1e28 | 15635 | } |
091f5bed RD |
15636 | static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) { |
15637 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 15638 | } |
091f5bed RD |
15639 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
15640 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 | 15641 | } |
091f5bed RD |
15642 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { |
15643 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 15644 | } |
091f5bed RD |
15645 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { |
15646 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 15647 | } |
091f5bed RD |
15648 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { |
15649 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 15650 | } |
091f5bed RD |
15651 | static void *_p_wxDialogTo_p_wxWindow(void *x) { |
15652 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
d14a1e28 | 15653 | } |
091f5bed RD |
15654 | static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) { |
15655 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 15656 | } |
091f5bed RD |
15657 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
15658 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 15659 | } |
091f5bed RD |
15660 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
15661 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 15662 | } |
091f5bed RD |
15663 | static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) { |
15664 | return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 15665 | } |
091f5bed RD |
15666 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { |
15667 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 15668 | } |
091f5bed RD |
15669 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
15670 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 | 15671 | } |
091f5bed RD |
15672 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { |
15673 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 15674 | } |
091f5bed RD |
15675 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { |
15676 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 15677 | } |
091f5bed RD |
15678 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { |
15679 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 15680 | } |
091f5bed RD |
15681 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { |
15682 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 15683 | } |
091f5bed RD |
15684 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { |
15685 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
d14a1e28 | 15686 | } |
091f5bed RD |
15687 | static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) { |
15688 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 15689 | } |
091f5bed RD |
15690 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { |
15691 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 15692 | } |
091f5bed RD |
15693 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { |
15694 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
823f0cfe | 15695 | } |
091f5bed RD |
15696 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { |
15697 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 15698 | } |
091f5bed RD |
15699 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { |
15700 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
d14a1e28 | 15701 | } |
091f5bed RD |
15702 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { |
15703 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 15704 | } |
091f5bed RD |
15705 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { |
15706 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 15707 | } |
091f5bed RD |
15708 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { |
15709 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 15710 | } |
091f5bed RD |
15711 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { |
15712 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 15713 | } |
091f5bed RD |
15714 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { |
15715 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 15716 | } |
091f5bed RD |
15717 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { |
15718 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 15719 | } |
091f5bed RD |
15720 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { |
15721 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
d14a1e28 | 15722 | } |
091f5bed RD |
15723 | static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) { |
15724 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 15725 | } |
091f5bed RD |
15726 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
15727 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 15728 | } |
091f5bed RD |
15729 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
15730 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 15731 | } |
091f5bed RD |
15732 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { |
15733 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 15734 | } |
091f5bed RD |
15735 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { |
15736 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 15737 | } |
091f5bed RD |
15738 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { |
15739 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 15740 | } |
091f5bed RD |
15741 | static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) { |
15742 | return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 15743 | } |
091f5bed RD |
15744 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { |
15745 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 15746 | } |
091f5bed RD |
15747 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { |
15748 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 15749 | } |
091f5bed RD |
15750 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { |
15751 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 15752 | } |
091f5bed RD |
15753 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { |
15754 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
d3b6e4ff | 15755 | } |
091f5bed RD |
15756 | static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) { |
15757 | return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 15758 | } |
091f5bed RD |
15759 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { |
15760 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 15761 | } |
091f5bed RD |
15762 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { |
15763 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
d14a1e28 | 15764 | } |
091f5bed RD |
15765 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { |
15766 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 15767 | } |
091f5bed RD |
15768 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { |
15769 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
d14a1e28 | 15770 | } |
091f5bed RD |
15771 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
15772 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 15773 | } |
091f5bed RD |
15774 | static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) { |
15775 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 15776 | } |
091f5bed RD |
15777 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
15778 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 15779 | } |
091f5bed RD |
15780 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { |
15781 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 15782 | } |
091f5bed RD |
15783 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { |
15784 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
d14a1e28 | 15785 | } |
091f5bed RD |
15786 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { |
15787 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 15788 | } |
091f5bed RD |
15789 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { |
15790 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
d14a1e28 | 15791 | } |
091f5bed RD |
15792 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { |
15793 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
d14a1e28 | 15794 | } |
091f5bed RD |
15795 | static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) { |
15796 | return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
d14a1e28 | 15797 | } |
091f5bed RD |
15798 | static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) { |
15799 | return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x)); | |
53aa7709 | 15800 | } |
091f5bed RD |
15801 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { |
15802 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
53aa7709 | 15803 | } |
091f5bed RD |
15804 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { |
15805 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
53aa7709 | 15806 | } |
091f5bed RD |
15807 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { |
15808 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
53aa7709 | 15809 | } |
091f5bed RD |
15810 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { |
15811 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
53aa7709 | 15812 | } |
091f5bed RD |
15813 | static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x) { |
15814 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxHtmlWindowEvent *) x)); | |
53aa7709 | 15815 | } |
091f5bed RD |
15816 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { |
15817 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
53aa7709 | 15818 | } |
091f5bed RD |
15819 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { |
15820 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
53aa7709 | 15821 | } |
091f5bed RD |
15822 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { |
15823 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
53aa7709 | 15824 | } |
091f5bed RD |
15825 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { |
15826 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
53aa7709 | 15827 | } |
091f5bed RD |
15828 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { |
15829 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
53aa7709 | 15830 | } |
091f5bed RD |
15831 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { |
15832 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
53aa7709 | 15833 | } |
091f5bed RD |
15834 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { |
15835 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
53aa7709 | 15836 | } |
091f5bed RD |
15837 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
15838 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
d14a1e28 | 15839 | } |
091f5bed RD |
15840 | static swig_type_info _swigt__p_wxHtmlSearchStatus[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0, 0, 0, 0},{"_p_wxHtmlSearchStatus", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15841 | static swig_type_info _swigt__p_wxHtmlLinkInfo[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15842 | static swig_type_info _swigt__p_wxHtmlHelpFrameCfg[] = {{"_p_wxHtmlHelpFrameCfg", 0, "wxHtmlHelpFrameCfg *", 0, 0, 0, 0},{"_p_wxHtmlHelpFrameCfg", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15843 | static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15844 | static swig_type_info _swigt__p_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15845 | static swig_type_info _swigt__p_wxTreeCtrl[] = {{"_p_wxTreeCtrl", 0, "wxTreeCtrl *", 0, 0, 0, 0},{"_p_wxTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15846 | static swig_type_info _swigt__p_wxHtmlFontCell[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0, 0, 0, 0},{"_p_wxHtmlFontCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15847 | static swig_type_info _swigt__p_wxHtmlTag[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0, 0, 0, 0},{"_p_wxHtmlTag", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15848 | static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15849 | static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHtmlWindowEvent", _p_wxHtmlWindowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15850 | static swig_type_info _swigt__p_wxHtmlHelpFrame[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15851 | static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15852 | static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15853 | static swig_type_info _swigt__p_wxHtmlCell[] = {{"_p_wxHtmlCell", 0, "wxHtmlCell *", 0, 0, 0, 0},{"_p_wxHtmlCell", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15854 | static swig_type_info _swigt__p_wxHtmlRenderingState[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0, 0, 0, 0},{"_p_wxHtmlRenderingState", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15855 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15856 | static swig_type_info _swigt__p_wxHtmlBookRecArray[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0, 0, 0, 0},{"_p_wxHtmlBookRecArray", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15857 | static swig_type_info _swigt__p_wxHtmlWidgetCell[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15858 | static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15859 | static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15860 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15861 | static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15afbcd0 | 15862 | static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
091f5bed RD |
15863 | static swig_type_info _swigt__p_wxHtmlColourCell[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0, 0, 0, 0},{"_p_wxHtmlColourCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15864 | static swig_type_info _swigt__p_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0, 0, 0, 0},{"_p_wxHtmlHelpData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15865 | static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15866 | static swig_type_info _swigt__p_wxHelpSearchMode[] = {{"_p_wxHelpSearchMode", 0, "wxHelpSearchMode *", 0, 0, 0, 0},{"_p_wxHelpSearchMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15867 | static swig_type_info _swigt__p_wxHtmlModalHelp[] = {{"_p_wxHtmlModalHelp", 0, "wxHtmlModalHelp *", 0, 0, 0, 0},{"_p_wxHtmlModalHelp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15868 | static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxHtmlWindowEvent", _p_wxHtmlWindowEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
093d3ff1 | 15869 | static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
091f5bed RD |
15870 | static swig_type_info _swigt__p_wxHtmlWindowEvent[] = {{"_p_wxHtmlWindowEvent", 0, "wxHtmlWindowEvent *", 0, 0, 0, 0},{"_p_wxHtmlWindowEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15871 | static swig_type_info _swigt__p_wxHtmlFilter[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0, 0, 0, 0},{"_p_wxHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15872 | static swig_type_info _swigt__p_wxPyHtmlFilter[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0, 0, 0, 0},{"_p_wxPyHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
093d3ff1 | 15873 | static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
091f5bed RD |
15874 | static swig_type_info _swigt__p_wxPyHtmlWinTagHandler[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15875 | static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpWindow", _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpDialog", _p_wxHtmlHelpDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15876 | static swig_type_info _swigt__p_wxPyHtmlTagHandler[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15877 | static swig_type_info _swigt__p_wxHtmlTagHandler[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxHtmlTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15afbcd0 RD |
15878 | static swig_type_info _swigt__p_wxHtmlSelection[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0, 0, 0, 0},{"_p_wxHtmlSelection", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15879 | static swig_type_info _swigt__p_wxHtmlRenderingInfo[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0, 0, 0, 0},{"_p_wxHtmlRenderingInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
091f5bed RD |
15880 | static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15881 | static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15882 | static swig_type_info _swigt__p_wxHtmlPrintout[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0, 0, 0, 0},{"_p_wxHtmlPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15883 | static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15884 | static swig_type_info _swigt__p_wxHtmlBookRecord[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0, 0, 0, 0},{"_p_wxHtmlBookRecord", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
093d3ff1 | 15885 | static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
091f5bed RD |
15886 | static swig_type_info _swigt__p_wxHtmlDCRenderer[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15887 | static swig_type_info _swigt__p_wxHtmlContainerCell[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0, 0, 0, 0},{"_p_wxHtmlContainerCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15afbcd0 | 15888 | static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 | 15889 | static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
091f5bed RD |
15890 | static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlTag", _p_wxHtmlTagTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlFilter", _p_wxPyHtmlFilterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpDialog", _p_wxHtmlHelpDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWindowEvent", _p_wxHtmlWindowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpWindow", _p_wxHtmlHelpWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpControllerBase", _p_wxHelpControllerBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", _p_wxHtmlDCRendererTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlCell", _p_wxHtmlCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15891 | static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15892 | static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15893 | static swig_type_info _swigt__p_wxHtmlWindow[] = {{"_p_wxHtmlWindow", 0, "wxHtmlWindow *", 0, 0, 0, 0},{"_p_wxHtmlWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15894 | static swig_type_info _swigt__p_wxHtmlHelpWindow[] = {{"_p_wxHtmlHelpWindow", 0, "wxHtmlHelpWindow *", 0, 0, 0, 0},{"_p_wxHtmlHelpWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15895 | static swig_type_info _swigt__p_wxPyHtmlWindow[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0, 0, 0, 0},{"_p_wxPyHtmlWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15896 | static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpWindow", _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpDialog", _p_wxHtmlHelpDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15897 | static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15898 | static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpDialog", _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15899 | static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15900 | static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpDialog", _p_wxHtmlHelpDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15901 | static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15902 | static swig_type_info _swigt__p_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0, 0, 0, 0},{"_p_wxHtmlWinParser", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15903 | static swig_type_info _swigt__p_wxHtmlParser[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0, 0, 0, 0},{"_p_wxHtmlParser", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15904 | static swig_type_info _swigt__p_wxHtmlHelpDialog[] = {{"_p_wxHtmlHelpDialog", 0, "wxHtmlHelpDialog *", 0, 0, 0, 0},{"_p_wxHtmlHelpDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15afbcd0 | 15905 | static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
091f5bed RD |
15906 | static swig_type_info _swigt__p_wxHelpControllerBase[] = {{"_p_wxHelpControllerBase", 0, "wxHelpControllerBase *", 0, 0, 0, 0},{"_p_wxHelpControllerBase", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxHelpControllerBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15907 | static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15908 | static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15909 | static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15910 | static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0, 0, 0, 0},{"_p_wxHtmlWordCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
093d3ff1 | 15911 | static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
091f5bed RD |
15912 | static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15913 | static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHtmlWindowEvent", _p_wxHtmlWindowEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15914 | static swig_type_info _swigt__p_wxHtmlEasyPrinting[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15915 | static swig_type_info _swigt__p_wxHtmlHelpController[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0, 0, 0, 0},{"_p_wxHtmlHelpController", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15916 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15917 | static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
d14a1e28 RD |
15918 | |
15919 | static swig_type_info *swig_types_initial[] = { | |
091f5bed RD |
15920 | _swigt__p_wxHtmlSearchStatus, |
15921 | _swigt__p_wxHtmlLinkInfo, | |
15922 | _swigt__p_wxHtmlHelpFrameCfg, | |
093d3ff1 | 15923 | _swigt__p_wxDefaultHtmlRenderingStyle, |
091f5bed RD |
15924 | _swigt__p_wxHtmlRenderingStyle, |
15925 | _swigt__p_wxTreeCtrl, | |
15926 | _swigt__p_wxHtmlFontCell, | |
15927 | _swigt__p_wxHtmlTag, | |
15928 | _swigt__p_wxPrintData, | |
15929 | _swigt__p_wxEvent, | |
15930 | _swigt__p_wxHtmlHelpFrame, | |
15931 | _swigt__p_wxConfigBase, | |
15932 | _swigt__p_bool, | |
15933 | _swigt__p_wxHtmlCell, | |
15934 | _swigt__p_wxHtmlRenderingState, | |
093d3ff1 | 15935 | _swigt__p_wxFont, |
091f5bed RD |
15936 | _swigt__p_wxHtmlBookRecArray, |
15937 | _swigt__p_wxHtmlWidgetCell, | |
15938 | _swigt__ptrdiff_t, | |
15939 | _swigt__std__ptrdiff_t, | |
15940 | _swigt__p_int, | |
15941 | _swigt__p_wxSize, | |
15942 | _swigt__p_wxDC, | |
c32bde28 | 15943 | _swigt__p_wxHtmlColourCell, |
091f5bed RD |
15944 | _swigt__p_wxHtmlHelpData, |
15945 | _swigt__p_wxVisualAttributes, | |
15946 | _swigt__p_wxHelpSearchMode, | |
15947 | _swigt__p_wxHtmlModalHelp, | |
15948 | _swigt__p_wxNotifyEvent, | |
15949 | _swigt__p_form_ops_t, | |
15950 | _swigt__p_wxHtmlWindowEvent, | |
15951 | _swigt__p_wxHtmlFilter, | |
15952 | _swigt__p_wxPyHtmlFilter, | |
15953 | _swigt__p_wxDuplexMode, | |
15954 | _swigt__p_wxPyHtmlWinTagHandler, | |
15955 | _swigt__p_wxEvtHandler, | |
15956 | _swigt__p_wxPyHtmlTagHandler, | |
15957 | _swigt__p_wxHtmlTagHandler, | |
d14a1e28 RD |
15958 | _swigt__p_wxHtmlSelection, |
15959 | _swigt__p_wxHtmlRenderingInfo, | |
091f5bed RD |
15960 | _swigt__p_char, |
15961 | _swigt__p_wxFrame, | |
15962 | _swigt__p_wxHtmlPrintout, | |
15963 | _swigt__p_wxPyPrintout, | |
15964 | _swigt__p_wxHtmlBookRecord, | |
093d3ff1 | 15965 | _swigt__p_wxPaperSize, |
091f5bed RD |
15966 | _swigt__p_wxHtmlDCRenderer, |
15967 | _swigt__p_wxHtmlContainerCell, | |
d14a1e28 | 15968 | _swigt__p_wxPoint, |
d14a1e28 | 15969 | _swigt__p_wxCursor, |
091f5bed RD |
15970 | _swigt__p_wxObject, |
15971 | _swigt__p_unsigned_long, | |
15972 | _swigt__p_wxSplitterWindow, | |
15973 | _swigt__p_wxHtmlWindow, | |
15974 | _swigt__p_wxHtmlHelpWindow, | |
15975 | _swigt__p_wxPyHtmlWindow, | |
15976 | _swigt__p_wxWindow, | |
15977 | _swigt__p_wxScrolledWindow, | |
15978 | _swigt__p_wxTopLevelWindow, | |
15979 | _swigt__p_wxString, | |
15980 | _swigt__p_wxDialog, | |
15981 | _swigt__p_wxPanel, | |
15982 | _swigt__p_wxHtmlWinParser, | |
15983 | _swigt__p_wxHtmlParser, | |
15984 | _swigt__p_wxHtmlHelpDialog, | |
d14a1e28 | 15985 | _swigt__p_wxFileSystem, |
091f5bed RD |
15986 | _swigt__p_wxHelpControllerBase, |
15987 | _swigt__p_wxBitmap, | |
15988 | _swigt__unsigned_int, | |
15989 | _swigt__p_unsigned_int, | |
15990 | _swigt__p_wxHtmlWordCell, | |
093d3ff1 | 15991 | _swigt__p_unsigned_char, |
091f5bed RD |
15992 | _swigt__p_wxMouseEvent, |
15993 | _swigt__p_wxCommandEvent, | |
15994 | _swigt__p_wxHtmlEasyPrinting, | |
15995 | _swigt__p_wxHtmlHelpController, | |
15996 | _swigt__p_wxColour, | |
15997 | _swigt__p_wxPageSetupDialogData, | |
d14a1e28 RD |
15998 | 0 |
15999 | }; | |
16000 | ||
16001 | ||
16002 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
16003 | ||
16004 | static swig_const_info swig_const_table[] = { | |
c32bde28 | 16005 | {0, 0, 0, 0.0, 0, 0}}; |
d14a1e28 RD |
16006 | |
16007 | #ifdef __cplusplus | |
16008 | } | |
16009 | #endif | |
16010 | ||
093d3ff1 RD |
16011 | |
16012 | #ifdef __cplusplus | |
16013 | extern "C" { | |
16014 | #endif | |
16015 | ||
16016 | /* Python-specific SWIG API */ | |
16017 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
16018 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
16019 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
16020 | ||
16021 | /* ----------------------------------------------------------------------------- | |
16022 | * global variable support code. | |
16023 | * ----------------------------------------------------------------------------- */ | |
16024 | ||
16025 | typedef struct swig_globalvar { | |
16026 | char *name; /* Name of global variable */ | |
16027 | PyObject *(*get_attr)(); /* Return the current value */ | |
16028 | int (*set_attr)(PyObject *); /* Set the value */ | |
16029 | struct swig_globalvar *next; | |
16030 | } swig_globalvar; | |
16031 | ||
16032 | typedef struct swig_varlinkobject { | |
16033 | PyObject_HEAD | |
16034 | swig_globalvar *vars; | |
16035 | } swig_varlinkobject; | |
16036 | ||
16037 | static PyObject * | |
16038 | swig_varlink_repr(swig_varlinkobject *v) { | |
16039 | v = v; | |
16040 | return PyString_FromString("<Swig global variables>"); | |
16041 | } | |
16042 | ||
16043 | static int | |
16044 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) { | |
16045 | swig_globalvar *var; | |
16046 | flags = flags; | |
16047 | fprintf(fp,"Swig global variables { "); | |
16048 | for (var = v->vars; var; var=var->next) { | |
16049 | fprintf(fp,"%s", var->name); | |
16050 | if (var->next) fprintf(fp,", "); | |
16051 | } | |
16052 | fprintf(fp," }\n"); | |
16053 | return 0; | |
16054 | } | |
16055 | ||
16056 | static PyObject * | |
16057 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
16058 | swig_globalvar *var = v->vars; | |
16059 | while (var) { | |
16060 | if (strcmp(var->name,n) == 0) { | |
16061 | return (*var->get_attr)(); | |
16062 | } | |
16063 | var = var->next; | |
16064 | } | |
16065 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
16066 | return NULL; | |
16067 | } | |
16068 | ||
16069 | static int | |
16070 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
16071 | swig_globalvar *var = v->vars; | |
16072 | while (var) { | |
16073 | if (strcmp(var->name,n) == 0) { | |
16074 | return (*var->set_attr)(p); | |
16075 | } | |
16076 | var = var->next; | |
16077 | } | |
16078 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
16079 | return 1; | |
16080 | } | |
16081 | ||
16082 | static PyTypeObject varlinktype = { | |
16083 | PyObject_HEAD_INIT(0) | |
16084 | 0, /* Number of items in variable part (ob_size) */ | |
16085 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
16086 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
16087 | 0, /* Itemsize (tp_itemsize) */ | |
16088 | 0, /* Deallocator (tp_dealloc) */ | |
16089 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
16090 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
16091 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
16092 | 0, /* tp_compare */ | |
16093 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
16094 | 0, /* tp_as_number */ | |
16095 | 0, /* tp_as_sequence */ | |
16096 | 0, /* tp_as_mapping */ | |
16097 | 0, /* tp_hash */ | |
16098 | 0, /* tp_call */ | |
16099 | 0, /* tp_str */ | |
16100 | 0, /* tp_getattro */ | |
16101 | 0, /* tp_setattro */ | |
16102 | 0, /* tp_as_buffer */ | |
16103 | 0, /* tp_flags */ | |
16104 | 0, /* tp_doc */ | |
16105 | #if PY_VERSION_HEX >= 0x02000000 | |
16106 | 0, /* tp_traverse */ | |
16107 | 0, /* tp_clear */ | |
16108 | #endif | |
16109 | #if PY_VERSION_HEX >= 0x02010000 | |
16110 | 0, /* tp_richcompare */ | |
16111 | 0, /* tp_weaklistoffset */ | |
16112 | #endif | |
16113 | #if PY_VERSION_HEX >= 0x02020000 | |
16114 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
16115 | #endif | |
16116 | #if PY_VERSION_HEX >= 0x02030000 | |
16117 | 0, /* tp_del */ | |
16118 | #endif | |
16119 | #ifdef COUNT_ALLOCS | |
16120 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
16121 | #endif | |
16122 | }; | |
16123 | ||
16124 | /* Create a variable linking object for use later */ | |
16125 | static PyObject * | |
16126 | SWIG_Python_newvarlink(void) { | |
16127 | swig_varlinkobject *result = 0; | |
16128 | result = PyMem_NEW(swig_varlinkobject,1); | |
16129 | varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */ | |
16130 | result->ob_type = &varlinktype; | |
16131 | result->vars = 0; | |
16132 | result->ob_refcnt = 0; | |
16133 | Py_XINCREF((PyObject *) result); | |
16134 | return ((PyObject*) result); | |
16135 | } | |
16136 | ||
16137 | static void | |
16138 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
16139 | swig_varlinkobject *v; | |
16140 | swig_globalvar *gv; | |
16141 | v= (swig_varlinkobject *) p; | |
16142 | gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
16143 | gv->name = (char *) malloc(strlen(name)+1); | |
16144 | strcpy(gv->name,name); | |
16145 | gv->get_attr = get_attr; | |
16146 | gv->set_attr = set_attr; | |
16147 | gv->next = v->vars; | |
16148 | v->vars = gv; | |
16149 | } | |
16150 | ||
16151 | /* ----------------------------------------------------------------------------- | |
16152 | * constants/methods manipulation | |
16153 | * ----------------------------------------------------------------------------- */ | |
16154 | ||
16155 | /* Install Constants */ | |
16156 | static void | |
16157 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
16158 | PyObject *obj = 0; | |
16159 | size_t i; | |
16160 | for (i = 0; constants[i].type; i++) { | |
16161 | switch(constants[i].type) { | |
16162 | case SWIG_PY_INT: | |
16163 | obj = PyInt_FromLong(constants[i].lvalue); | |
16164 | break; | |
16165 | case SWIG_PY_FLOAT: | |
16166 | obj = PyFloat_FromDouble(constants[i].dvalue); | |
16167 | break; | |
16168 | case SWIG_PY_STRING: | |
16169 | if (constants[i].pvalue) { | |
16170 | obj = PyString_FromString((char *) constants[i].pvalue); | |
16171 | } else { | |
16172 | Py_INCREF(Py_None); | |
16173 | obj = Py_None; | |
16174 | } | |
16175 | break; | |
16176 | case SWIG_PY_POINTER: | |
16177 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
16178 | break; | |
16179 | case SWIG_PY_BINARY: | |
16180 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
16181 | break; | |
16182 | default: | |
16183 | obj = 0; | |
16184 | break; | |
16185 | } | |
16186 | if (obj) { | |
16187 | PyDict_SetItemString(d,constants[i].name,obj); | |
16188 | Py_DECREF(obj); | |
16189 | } | |
16190 | } | |
16191 | } | |
16192 | ||
16193 | /* -----------------------------------------------------------------------------*/ | |
16194 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
16195 | /* -----------------------------------------------------------------------------*/ | |
16196 | ||
16197 | static void | |
16198 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
16199 | swig_const_info *const_table, | |
16200 | swig_type_info **types, | |
16201 | swig_type_info **types_initial) { | |
16202 | size_t i; | |
16203 | for (i = 0; methods[i].ml_name; ++i) { | |
16204 | char *c = methods[i].ml_doc; | |
16205 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
16206 | int j; | |
16207 | swig_const_info *ci = 0; | |
16208 | char *name = c + 10; | |
16209 | for (j = 0; const_table[j].type; j++) { | |
16210 | if (strncmp(const_table[j].name, name, | |
16211 | strlen(const_table[j].name)) == 0) { | |
16212 | ci = &(const_table[j]); | |
16213 | break; | |
16214 | } | |
16215 | } | |
16216 | if (ci) { | |
16217 | size_t shift = (ci->ptype) - types; | |
16218 | swig_type_info *ty = types_initial[shift]; | |
16219 | size_t ldoc = (c - methods[i].ml_doc); | |
16220 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
16221 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
16222 | char *buff = ndoc; | |
16223 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue); | |
16224 | strncpy(buff, methods[i].ml_doc, ldoc); | |
16225 | buff += ldoc; | |
16226 | strncpy(buff, "swig_ptr: ", 10); | |
16227 | buff += 10; | |
16228 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
16229 | methods[i].ml_doc = ndoc; | |
16230 | } | |
16231 | } | |
16232 | } | |
16233 | } | |
16234 | ||
16235 | /* -----------------------------------------------------------------------------* | |
16236 | * Initialize type list | |
16237 | * -----------------------------------------------------------------------------*/ | |
16238 | ||
16239 | #if PY_MAJOR_VERSION < 2 | |
16240 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
16241 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
16242 | static int | |
16243 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
16244 | { | |
16245 | PyObject *dict; | |
16246 | if (!PyModule_Check(m)) { | |
16247 | PyErr_SetString(PyExc_TypeError, | |
16248 | "PyModule_AddObject() needs module as first arg"); | |
16249 | return -1; | |
16250 | } | |
16251 | if (!o) { | |
16252 | PyErr_SetString(PyExc_TypeError, | |
16253 | "PyModule_AddObject() needs non-NULL value"); | |
16254 | return -1; | |
16255 | } | |
16256 | ||
16257 | dict = PyModule_GetDict(m); | |
16258 | if (dict == NULL) { | |
16259 | /* Internal error -- modules must have a dict! */ | |
16260 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
16261 | PyModule_GetName(m)); | |
16262 | return -1; | |
16263 | } | |
16264 | if (PyDict_SetItemString(dict, name, o)) | |
16265 | return -1; | |
16266 | Py_DECREF(o); | |
16267 | return 0; | |
16268 | } | |
16269 | #endif | |
16270 | ||
16271 | static swig_type_info ** | |
16272 | SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) { | |
16273 | static PyMethodDef swig_empty_runtime_method_table[] = { | |
16274 | { | |
16275 | NULL, NULL, 0, NULL | |
16276 | } | |
16277 | };/* Sentinel */ | |
16278 | ||
16279 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
16280 | swig_empty_runtime_method_table); | |
16281 | PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL); | |
16282 | if (pointer && module) { | |
16283 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
16284 | } | |
16285 | return type_list_handle; | |
16286 | } | |
16287 | ||
16288 | static swig_type_info ** | |
16289 | SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) { | |
16290 | swig_type_info **type_pointer; | |
16291 | ||
16292 | /* first check if module already created */ | |
16293 | type_pointer = SWIG_Python_GetTypeListHandle(); | |
16294 | if (type_pointer) { | |
16295 | return type_pointer; | |
16296 | } else { | |
16297 | /* create a new module and variable */ | |
16298 | return SWIG_Python_SetTypeListHandle(type_list_handle); | |
16299 | } | |
16300 | } | |
16301 | ||
16302 | #ifdef __cplusplus | |
16303 | } | |
16304 | #endif | |
16305 | ||
16306 | /* -----------------------------------------------------------------------------* | |
16307 | * Partial Init method | |
16308 | * -----------------------------------------------------------------------------*/ | |
16309 | ||
16310 | #ifdef SWIG_LINK_RUNTIME | |
16311 | #ifdef __cplusplus | |
16312 | extern "C" | |
16313 | #endif | |
16314 | SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); | |
16315 | #endif | |
16316 | ||
d14a1e28 RD |
16317 | #ifdef __cplusplus |
16318 | extern "C" | |
16319 | #endif | |
16320 | SWIGEXPORT(void) SWIG_init(void) { | |
16321 | static PyObject *SWIG_globals = 0; | |
16322 | static int typeinit = 0; | |
16323 | PyObject *m, *d; | |
16324 | int i; | |
16325 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
093d3ff1 RD |
16326 | |
16327 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
16328 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial); | |
16329 | ||
d14a1e28 RD |
16330 | m = Py_InitModule((char *) SWIG_name, SwigMethods); |
16331 | d = PyModule_GetDict(m); | |
16332 | ||
16333 | if (!typeinit) { | |
093d3ff1 RD |
16334 | #ifdef SWIG_LINK_RUNTIME |
16335 | swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle); | |
16336 | #else | |
16337 | # ifndef SWIG_STATIC_RUNTIME | |
16338 | swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle); | |
16339 | # endif | |
16340 | #endif | |
d14a1e28 RD |
16341 | for (i = 0; swig_types_initial[i]; i++) { |
16342 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
16343 | } | |
16344 | typeinit = 1; | |
16345 | } | |
16346 | SWIG_InstallConstants(d,swig_const_table); | |
16347 | ||
b2dc1044 RD |
16348 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
16349 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set); | |
16350 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set); | |
16351 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set); | |
093d3ff1 RD |
16352 | { |
16353 | PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int((int)(wxHTML_ALIGN_LEFT))); | |
16354 | } | |
16355 | { | |
16356 | PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int((int)(wxHTML_ALIGN_CENTER))); | |
16357 | } | |
16358 | { | |
16359 | PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int((int)(wxHTML_ALIGN_RIGHT))); | |
16360 | } | |
16361 | { | |
16362 | PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)(wxHTML_ALIGN_BOTTOM))); | |
16363 | } | |
16364 | { | |
16365 | PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int((int)(wxHTML_ALIGN_TOP))); | |
16366 | } | |
16367 | { | |
16368 | PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int((int)(wxHTML_CLR_FOREGROUND))); | |
16369 | } | |
16370 | { | |
16371 | PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int((int)(wxHTML_CLR_BACKGROUND))); | |
16372 | } | |
16373 | { | |
16374 | PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int((int)(wxHTML_UNITS_PIXELS))); | |
16375 | } | |
16376 | { | |
16377 | PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int((int)(wxHTML_UNITS_PERCENT))); | |
16378 | } | |
16379 | { | |
16380 | PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int((int)(wxHTML_INDENT_LEFT))); | |
16381 | } | |
16382 | { | |
16383 | PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int((int)(wxHTML_INDENT_RIGHT))); | |
16384 | } | |
16385 | { | |
16386 | PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int((int)(wxHTML_INDENT_TOP))); | |
16387 | } | |
16388 | { | |
16389 | PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int((int)(wxHTML_INDENT_BOTTOM))); | |
16390 | } | |
16391 | { | |
16392 | PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)(wxHTML_INDENT_HORIZONTAL))); | |
16393 | } | |
16394 | { | |
16395 | PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int((int)(wxHTML_INDENT_VERTICAL))); | |
16396 | } | |
16397 | { | |
16398 | PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int((int)(wxHTML_INDENT_ALL))); | |
16399 | } | |
16400 | { | |
16401 | PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int((int)(wxHTML_COND_ISANCHOR))); | |
16402 | } | |
16403 | { | |
16404 | PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)(wxHTML_COND_ISIMAGEMAP))); | |
16405 | } | |
16406 | { | |
16407 | PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int((int)(wxHTML_COND_USER))); | |
16408 | } | |
16409 | { | |
16410 | PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int((int)(wxHTML_FONT_SIZE_1))); | |
16411 | } | |
16412 | { | |
16413 | PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int((int)(wxHTML_FONT_SIZE_2))); | |
16414 | } | |
16415 | { | |
16416 | PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int((int)(wxHTML_FONT_SIZE_3))); | |
16417 | } | |
16418 | { | |
16419 | PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int((int)(wxHTML_FONT_SIZE_4))); | |
16420 | } | |
16421 | { | |
16422 | PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int((int)(wxHTML_FONT_SIZE_5))); | |
16423 | } | |
16424 | { | |
16425 | PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int((int)(wxHTML_FONT_SIZE_6))); | |
16426 | } | |
16427 | { | |
16428 | PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int((int)(wxHTML_FONT_SIZE_7))); | |
16429 | } | |
16430 | { | |
16431 | PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)(wxHW_SCROLLBAR_NEVER))); | |
16432 | } | |
16433 | { | |
16434 | PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)(wxHW_SCROLLBAR_AUTO))); | |
16435 | } | |
16436 | { | |
16437 | PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int((int)(wxHW_NO_SELECTION))); | |
16438 | } | |
16439 | { | |
16440 | PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int((int)(wxHW_DEFAULT_STYLE))); | |
16441 | } | |
16442 | { | |
16443 | PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int((int)(wxHTML_OPEN))); | |
16444 | } | |
16445 | { | |
16446 | PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int((int)(wxHTML_BLOCK))); | |
16447 | } | |
16448 | { | |
16449 | PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int((int)(wxHTML_REDIRECT))); | |
16450 | } | |
16451 | { | |
16452 | PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int((int)(wxHTML_URL_PAGE))); | |
16453 | } | |
16454 | { | |
16455 | PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int((int)(wxHTML_URL_IMAGE))); | |
16456 | } | |
16457 | { | |
16458 | PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int((int)(wxHTML_URL_OTHER))); | |
16459 | } | |
16460 | { | |
16461 | PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int((int)(wxHTML_SEL_OUT))); | |
16462 | } | |
16463 | { | |
16464 | PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int((int)(wxHTML_SEL_IN))); | |
16465 | } | |
16466 | { | |
16467 | PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int((int)(wxHTML_SEL_CHANGING))); | |
16468 | } | |
16469 | { | |
16470 | PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int((int)(wxHTML_FIND_EXACT))); | |
16471 | } | |
16472 | { | |
16473 | PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)(wxHTML_FIND_NEAREST_BEFORE))); | |
16474 | } | |
16475 | { | |
16476 | PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)(wxHTML_FIND_NEAREST_AFTER))); | |
16477 | } | |
16478 | { | |
16479 | PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int((int)(wxPAGE_ODD))); | |
16480 | } | |
16481 | { | |
16482 | PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int((int)(wxPAGE_EVEN))); | |
16483 | } | |
16484 | { | |
16485 | PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int((int)(wxPAGE_ALL))); | |
16486 | } | |
16487 | { | |
16488 | PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int((int)(wxHF_TOOLBAR))); | |
16489 | } | |
093d3ff1 RD |
16490 | { |
16491 | PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int((int)(wxHF_CONTENTS))); | |
16492 | } | |
16493 | { | |
16494 | PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int((int)(wxHF_INDEX))); | |
16495 | } | |
16496 | { | |
16497 | PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int((int)(wxHF_SEARCH))); | |
16498 | } | |
16499 | { | |
16500 | PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int((int)(wxHF_BOOKMARKS))); | |
16501 | } | |
16502 | { | |
091f5bed | 16503 | PyDict_SetItemString(d,"HF_OPEN_FILES", SWIG_From_int((int)(wxHF_OPEN_FILES))); |
093d3ff1 RD |
16504 | } |
16505 | { | |
16506 | PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int((int)(wxHF_PRINT))); | |
16507 | } | |
16508 | { | |
091f5bed RD |
16509 | PyDict_SetItemString(d,"HF_FLAT_TOOLBAR", SWIG_From_int((int)(wxHF_FLAT_TOOLBAR))); |
16510 | } | |
16511 | { | |
16512 | PyDict_SetItemString(d,"HF_MERGE_BOOKS", SWIG_From_int((int)(wxHF_MERGE_BOOKS))); | |
16513 | } | |
16514 | { | |
16515 | PyDict_SetItemString(d,"HF_ICONS_BOOK", SWIG_From_int((int)(wxHF_ICONS_BOOK))); | |
16516 | } | |
16517 | { | |
16518 | PyDict_SetItemString(d,"HF_ICONS_BOOK_CHAPTER", SWIG_From_int((int)(wxHF_ICONS_BOOK_CHAPTER))); | |
16519 | } | |
16520 | { | |
16521 | PyDict_SetItemString(d,"HF_ICONS_FOLDER", SWIG_From_int((int)(wxHF_ICONS_FOLDER))); | |
16522 | } | |
16523 | { | |
16524 | PyDict_SetItemString(d,"HF_DEFAULT_STYLE", SWIG_From_int((int)(wxHF_DEFAULT_STYLE))); | |
16525 | } | |
16526 | { | |
16527 | PyDict_SetItemString(d,"HF_EMBEDDED", SWIG_From_int((int)(wxHF_EMBEDDED))); | |
16528 | } | |
16529 | { | |
16530 | PyDict_SetItemString(d,"HF_DIALOG", SWIG_From_int((int)(wxHF_DIALOG))); | |
16531 | } | |
16532 | { | |
16533 | PyDict_SetItemString(d,"HF_FRAME", SWIG_From_int((int)(wxHF_FRAME))); | |
16534 | } | |
16535 | { | |
16536 | PyDict_SetItemString(d,"HF_MODAL", SWIG_From_int((int)(wxHF_MODAL))); | |
16537 | } | |
16538 | { | |
16539 | PyDict_SetItemString(d,"ID_HTML_PANEL", SWIG_From_int((int)(wxID_HTML_PANEL))); | |
16540 | } | |
16541 | { | |
16542 | PyDict_SetItemString(d,"ID_HTML_BACK", SWIG_From_int((int)(wxID_HTML_BACK))); | |
16543 | } | |
16544 | { | |
16545 | PyDict_SetItemString(d,"ID_HTML_FORWARD", SWIG_From_int((int)(wxID_HTML_FORWARD))); | |
16546 | } | |
16547 | { | |
16548 | PyDict_SetItemString(d,"ID_HTML_UPNODE", SWIG_From_int((int)(wxID_HTML_UPNODE))); | |
16549 | } | |
16550 | { | |
16551 | PyDict_SetItemString(d,"ID_HTML_UP", SWIG_From_int((int)(wxID_HTML_UP))); | |
16552 | } | |
16553 | { | |
16554 | PyDict_SetItemString(d,"ID_HTML_DOWN", SWIG_From_int((int)(wxID_HTML_DOWN))); | |
16555 | } | |
16556 | { | |
16557 | PyDict_SetItemString(d,"ID_HTML_PRINT", SWIG_From_int((int)(wxID_HTML_PRINT))); | |
16558 | } | |
16559 | { | |
16560 | PyDict_SetItemString(d,"ID_HTML_OPENFILE", SWIG_From_int((int)(wxID_HTML_OPENFILE))); | |
16561 | } | |
16562 | { | |
16563 | PyDict_SetItemString(d,"ID_HTML_OPTIONS", SWIG_From_int((int)(wxID_HTML_OPTIONS))); | |
16564 | } | |
16565 | { | |
16566 | PyDict_SetItemString(d,"ID_HTML_BOOKMARKSLIST", SWIG_From_int((int)(wxID_HTML_BOOKMARKSLIST))); | |
16567 | } | |
16568 | { | |
16569 | PyDict_SetItemString(d,"ID_HTML_BOOKMARKSADD", SWIG_From_int((int)(wxID_HTML_BOOKMARKSADD))); | |
16570 | } | |
16571 | { | |
16572 | PyDict_SetItemString(d,"ID_HTML_BOOKMARKSREMOVE", SWIG_From_int((int)(wxID_HTML_BOOKMARKSREMOVE))); | |
16573 | } | |
16574 | { | |
16575 | PyDict_SetItemString(d,"ID_HTML_TREECTRL", SWIG_From_int((int)(wxID_HTML_TREECTRL))); | |
16576 | } | |
16577 | { | |
16578 | PyDict_SetItemString(d,"ID_HTML_INDEXPAGE", SWIG_From_int((int)(wxID_HTML_INDEXPAGE))); | |
16579 | } | |
16580 | { | |
16581 | PyDict_SetItemString(d,"ID_HTML_INDEXLIST", SWIG_From_int((int)(wxID_HTML_INDEXLIST))); | |
16582 | } | |
16583 | { | |
16584 | PyDict_SetItemString(d,"ID_HTML_INDEXTEXT", SWIG_From_int((int)(wxID_HTML_INDEXTEXT))); | |
16585 | } | |
16586 | { | |
16587 | PyDict_SetItemString(d,"ID_HTML_INDEXBUTTON", SWIG_From_int((int)(wxID_HTML_INDEXBUTTON))); | |
16588 | } | |
16589 | { | |
16590 | PyDict_SetItemString(d,"ID_HTML_INDEXBUTTONALL", SWIG_From_int((int)(wxID_HTML_INDEXBUTTONALL))); | |
16591 | } | |
16592 | { | |
16593 | PyDict_SetItemString(d,"ID_HTML_NOTEBOOK", SWIG_From_int((int)(wxID_HTML_NOTEBOOK))); | |
16594 | } | |
16595 | { | |
16596 | PyDict_SetItemString(d,"ID_HTML_SEARCHPAGE", SWIG_From_int((int)(wxID_HTML_SEARCHPAGE))); | |
16597 | } | |
16598 | { | |
16599 | PyDict_SetItemString(d,"ID_HTML_SEARCHTEXT", SWIG_From_int((int)(wxID_HTML_SEARCHTEXT))); | |
16600 | } | |
16601 | { | |
16602 | PyDict_SetItemString(d,"ID_HTML_SEARCHLIST", SWIG_From_int((int)(wxID_HTML_SEARCHLIST))); | |
16603 | } | |
16604 | { | |
16605 | PyDict_SetItemString(d,"ID_HTML_SEARCHBUTTON", SWIG_From_int((int)(wxID_HTML_SEARCHBUTTON))); | |
16606 | } | |
16607 | { | |
16608 | PyDict_SetItemString(d,"ID_HTML_SEARCHCHOICE", SWIG_From_int((int)(wxID_HTML_SEARCHCHOICE))); | |
16609 | } | |
16610 | { | |
16611 | PyDict_SetItemString(d,"ID_HTML_COUNTINFO", SWIG_From_int((int)(wxID_HTML_COUNTINFO))); | |
093d3ff1 | 16612 | } |
d14a1e28 RD |
16613 | |
16614 | wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); | |
16615 | wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler"); | |
16616 | wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow"); | |
16617 | wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter"); | |
16618 | ||
16619 | } | |
16620 |