]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
554f62e9 | 3 | * Version 1.3.29 |
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 | |
554f62e9 | 12 | #define SWIG_PYTHON_DIRECTOR_NO_VTABLE |
d14a1e28 RD |
13 | |
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
093d3ff1 | 27 | }; |
d14a1e28 RD |
28 | #endif |
29 | ||
554f62e9 | 30 | /* ----------------------------------------------------------------------------- |
7449af73 RD |
31 | * This section contains generic SWIG labels for method/variable |
32 | * declarations/attributes, and other compiler dependent labels. | |
554f62e9 | 33 | * ----------------------------------------------------------------------------- */ |
d14a1e28 | 34 | |
7449af73 RD |
35 | /* template workaround for compilers that cannot correctly implement the C++ standard */ |
36 | #ifndef SWIGTEMPLATEDISAMBIGUATOR | |
554f62e9 RD |
37 | # if defined(__SUNPRO_CC) |
38 | # if (__SUNPRO_CC <= 0x560) | |
39 | # define SWIGTEMPLATEDISAMBIGUATOR template | |
40 | # else | |
41 | # define SWIGTEMPLATEDISAMBIGUATOR | |
42 | # endif | |
43 | # else | |
44 | # define SWIGTEMPLATEDISAMBIGUATOR | |
45 | # endif | |
093d3ff1 | 46 | #endif |
d14a1e28 | 47 | |
7449af73 RD |
48 | /* inline attribute */ |
49 | #ifndef SWIGINLINE | |
50 | # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) | |
51 | # define SWIGINLINE inline | |
52 | # else | |
53 | # define SWIGINLINE | |
54 | # endif | |
55 | #endif | |
56 | ||
57 | /* attribute recognised by some compilers to avoid 'unused' warnings */ | |
58 | #ifndef SWIGUNUSED | |
554f62e9 RD |
59 | # if defined(__GNUC__) |
60 | # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) | |
61 | # define SWIGUNUSED __attribute__ ((__unused__)) | |
62 | # else | |
63 | # define SWIGUNUSED | |
64 | # endif | |
65 | # elif defined(__ICC) | |
66 | # define SWIGUNUSED __attribute__ ((__unused__)) | |
7449af73 RD |
67 | # else |
68 | # define SWIGUNUSED | |
69 | # endif | |
70 | #endif | |
71 | ||
554f62e9 RD |
72 | #ifndef SWIGUNUSEDPARM |
73 | # ifdef __cplusplus | |
74 | # define SWIGUNUSEDPARM(p) | |
75 | # else | |
76 | # define SWIGUNUSEDPARM(p) p SWIGUNUSED | |
77 | # endif | |
78 | #endif | |
79 | ||
7449af73 RD |
80 | /* internal SWIG method */ |
81 | #ifndef SWIGINTERN | |
82 | # define SWIGINTERN static SWIGUNUSED | |
83 | #endif | |
84 | ||
85 | /* internal inline SWIG method */ | |
86 | #ifndef SWIGINTERNINLINE | |
87 | # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE | |
88 | #endif | |
89 | ||
554f62e9 RD |
90 | /* exporting methods */ |
91 | #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) | |
92 | # ifndef GCC_HASCLASSVISIBILITY | |
93 | # define GCC_HASCLASSVISIBILITY | |
94 | # endif | |
95 | #endif | |
96 | ||
7449af73 RD |
97 | #ifndef SWIGEXPORT |
98 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
99 | # if defined(STATIC_LINKED) | |
100 | # define SWIGEXPORT | |
101 | # else | |
102 | # define SWIGEXPORT __declspec(dllexport) | |
103 | # endif | |
104 | # else | |
554f62e9 RD |
105 | # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) |
106 | # define SWIGEXPORT __attribute__ ((visibility("default"))) | |
107 | # else | |
108 | # define SWIGEXPORT | |
109 | # endif | |
7449af73 RD |
110 | # endif |
111 | #endif | |
112 | ||
113 | /* calling conventions for Windows */ | |
114 | #ifndef SWIGSTDCALL | |
115 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
116 | # define SWIGSTDCALL __stdcall | |
117 | # else | |
118 | # define SWIGSTDCALL | |
119 | # endif | |
120 | #endif | |
121 | ||
554f62e9 RD |
122 | /* Deal with Microsoft's attempt at deprecating C standard runtime functions */ |
123 | #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) | |
124 | # define _CRT_SECURE_NO_DEPRECATE | |
125 | #endif | |
7449af73 | 126 | |
9fd4be55 | 127 | |
554f62e9 | 128 | /* Python.h has to appear first */ |
093d3ff1 | 129 | #include <Python.h> |
d14a1e28 | 130 | |
554f62e9 | 131 | /* ----------------------------------------------------------------------------- |
093d3ff1 | 132 | * swigrun.swg |
d14a1e28 | 133 | * |
554f62e9 RD |
134 | * This file contains generic CAPI SWIG runtime support for pointer |
135 | * type checking. | |
136 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 137 | |
093d3ff1 RD |
138 | /* This should only be incremented when either the layout of swig_type_info changes, |
139 | or for whatever reason, the runtime changes incompatibly */ | |
7449af73 | 140 | #define SWIG_RUNTIME_VERSION "2" |
d14a1e28 | 141 | |
093d3ff1 RD |
142 | /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ |
143 | #ifdef SWIG_TYPE_TABLE | |
7449af73 RD |
144 | # define SWIG_QUOTE_STRING(x) #x |
145 | # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) | |
146 | # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) | |
d14a1e28 | 147 | #else |
7449af73 | 148 | # define SWIG_TYPE_TABLE_NAME |
093d3ff1 RD |
149 | #endif |
150 | ||
151 | /* | |
152 | You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for | |
153 | creating a static or dynamic library from the swig runtime code. | |
154 | In 99.9% of the cases, swig just needs to declare them as 'static'. | |
155 | ||
156 | But only do this if is strictly necessary, ie, if you have problems | |
157 | with your compiler or so. | |
158 | */ | |
7449af73 | 159 | |
093d3ff1 | 160 | #ifndef SWIGRUNTIME |
7449af73 | 161 | # define SWIGRUNTIME SWIGINTERN |
093d3ff1 | 162 | #endif |
7449af73 | 163 | |
093d3ff1 | 164 | #ifndef SWIGRUNTIMEINLINE |
7449af73 | 165 | # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE |
d14a1e28 RD |
166 | #endif |
167 | ||
554f62e9 RD |
168 | /* Generic buffer size */ |
169 | #ifndef SWIG_BUFFER_SIZE | |
170 | # define SWIG_BUFFER_SIZE 1024 | |
171 | #endif | |
172 | ||
173 | /* Flags for pointer conversions */ | |
174 | #define SWIG_POINTER_DISOWN 0x1 | |
175 | ||
176 | /* Flags for new pointer objects */ | |
177 | #define SWIG_POINTER_OWN 0x1 | |
178 | ||
179 | ||
180 | /* | |
181 | Flags/methods for returning states. | |
182 | ||
183 | The swig conversion methods, as ConvertPtr, return and integer | |
184 | that tells if the conversion was successful or not. And if not, | |
185 | an error code can be returned (see swigerrors.swg for the codes). | |
186 | ||
187 | Use the following macros/flags to set or process the returning | |
188 | states. | |
189 | ||
190 | In old swig versions, you usually write code as: | |
191 | ||
192 | if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { | |
193 | // success code | |
194 | } else { | |
195 | //fail code | |
196 | } | |
197 | ||
198 | Now you can be more explicit as: | |
199 | ||
200 | int res = SWIG_ConvertPtr(obj,vptr,ty.flags); | |
201 | if (SWIG_IsOK(res)) { | |
202 | // success code | |
203 | } else { | |
204 | // fail code | |
205 | } | |
206 | ||
207 | that seems to be the same, but now you can also do | |
208 | ||
209 | Type *ptr; | |
210 | int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); | |
211 | if (SWIG_IsOK(res)) { | |
212 | // success code | |
213 | if (SWIG_IsNewObj(res) { | |
214 | ... | |
215 | delete *ptr; | |
216 | } else { | |
217 | ... | |
218 | } | |
219 | } else { | |
220 | // fail code | |
221 | } | |
222 | ||
223 | I.e., now SWIG_ConvertPtr can return new objects and you can | |
224 | identify the case and take care of the deallocation. Of course that | |
225 | requires also to SWIG_ConvertPtr to return new result values, as | |
226 | ||
227 | int SWIG_ConvertPtr(obj, ptr,...) { | |
228 | if (<obj is ok>) { | |
229 | if (<need new object>) { | |
230 | *ptr = <ptr to new allocated object>; | |
231 | return SWIG_NEWOBJ; | |
232 | } else { | |
233 | *ptr = <ptr to old object>; | |
234 | return SWIG_OLDOBJ; | |
235 | } | |
236 | } else { | |
237 | return SWIG_BADOBJ; | |
238 | } | |
239 | } | |
240 | ||
241 | Of course, returning the plain '0(success)/-1(fail)' still works, but you can be | |
242 | more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the | |
243 | swig errors code. | |
244 | ||
245 | Finally, if the SWIG_CASTRANK_MODE is enabled, the result code | |
246 | allows to return the 'cast rank', for example, if you have this | |
247 | ||
248 | int food(double) | |
249 | int fooi(int); | |
250 | ||
251 | and you call | |
252 | ||
253 | food(1) // cast rank '1' (1 -> 1.0) | |
254 | fooi(1) // cast rank '0' | |
255 | ||
256 | just use the SWIG_AddCast()/SWIG_CheckState() | |
257 | ||
258 | ||
259 | */ | |
260 | #define SWIG_OK (0) | |
261 | #define SWIG_ERROR (-1) | |
262 | #define SWIG_IsOK(r) (r >= 0) | |
263 | #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) | |
264 | ||
265 | /* The CastRankLimit says how many bits are used for the cast rank */ | |
266 | #define SWIG_CASTRANKLIMIT (1 << 8) | |
267 | /* The NewMask denotes the object was created (using new/malloc) */ | |
268 | #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1) | |
269 | /* The TmpMask is for in/out typemaps that use temporal objects */ | |
270 | #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1) | |
271 | /* Simple returning values */ | |
272 | #define SWIG_BADOBJ (SWIG_ERROR) | |
273 | #define SWIG_OLDOBJ (SWIG_OK) | |
274 | #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) | |
275 | #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) | |
276 | /* Check, add and del mask methods */ | |
277 | #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) | |
278 | #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) | |
279 | #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) | |
280 | #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) | |
281 | #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) | |
282 | #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) | |
283 | ||
284 | ||
285 | /* Cast-Rank Mode */ | |
286 | #if defined(SWIG_CASTRANK_MODE) | |
287 | # ifndef SWIG_TypeRank | |
288 | # define SWIG_TypeRank unsigned long | |
289 | # endif | |
290 | # ifndef SWIG_MAXCASTRANK /* Default cast allowed */ | |
291 | # define SWIG_MAXCASTRANK (2) | |
292 | # endif | |
293 | # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1) | |
294 | # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK) | |
295 | SWIGINTERNINLINE int SWIG_AddCast(int r) { | |
296 | return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; | |
297 | } | |
298 | SWIGINTERNINLINE int SWIG_CheckState(int r) { | |
299 | return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; | |
300 | } | |
301 | #else /* no cast-rank mode */ | |
302 | # define SWIG_AddCast | |
303 | # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) | |
304 | #endif | |
305 | ||
306 | ||
307 | ||
308 | ||
7449af73 RD |
309 | #include <string.h> |
310 | ||
d14a1e28 RD |
311 | #ifdef __cplusplus |
312 | extern "C" { | |
313 | #endif | |
314 | ||
315 | typedef void *(*swig_converter_func)(void *); | |
316 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
317 | ||
7449af73 | 318 | /* Structure to store inforomation on one type */ |
d14a1e28 | 319 | typedef struct swig_type_info { |
7449af73 RD |
320 | const char *name; /* mangled name of this type */ |
321 | const char *str; /* human readable name of this type */ | |
322 | swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ | |
323 | struct swig_cast_info *cast; /* linked list of types that can cast into this type */ | |
324 | void *clientdata; /* language specific type data */ | |
554f62e9 | 325 | int owndata; /* flag if the structure owns the clientdata */ |
d14a1e28 RD |
326 | } swig_type_info; |
327 | ||
7449af73 RD |
328 | /* Structure to store a type and conversion function used for casting */ |
329 | typedef struct swig_cast_info { | |
330 | swig_type_info *type; /* pointer to type that is equivalent to this type */ | |
331 | swig_converter_func converter; /* function to cast the void pointers */ | |
332 | struct swig_cast_info *next; /* pointer to next cast in linked list */ | |
333 | struct swig_cast_info *prev; /* pointer to the previous cast */ | |
334 | } swig_cast_info; | |
335 | ||
336 | /* Structure used to store module information | |
337 | * Each module generates one structure like this, and the runtime collects | |
338 | * all of these structures and stores them in a circularly linked list.*/ | |
339 | typedef struct swig_module_info { | |
340 | swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ | |
341 | size_t size; /* Number of types in this module */ | |
342 | struct swig_module_info *next; /* Pointer to next element in circularly linked list */ | |
343 | swig_type_info **type_initial; /* Array of initially generated type structures */ | |
344 | swig_cast_info **cast_initial; /* Array of initially generated casting structures */ | |
345 | void *clientdata; /* Language specific module data */ | |
346 | } swig_module_info; | |
347 | ||
093d3ff1 RD |
348 | /* |
349 | Compare two type names skipping the space characters, therefore | |
350 | "char*" == "char *" and "Class<int>" == "Class<int >", etc. | |
351 | ||
352 | Return 0 when the two name types are equivalent, as in | |
353 | strncmp, but skipping ' '. | |
354 | */ | |
355 | SWIGRUNTIME int | |
356 | SWIG_TypeNameComp(const char *f1, const char *l1, | |
357 | const char *f2, const char *l2) { | |
358 | for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { | |
359 | while ((*f1 == ' ') && (f1 != l1)) ++f1; | |
360 | while ((*f2 == ' ') && (f2 != l2)) ++f2; | |
554f62e9 | 361 | if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; |
093d3ff1 RD |
362 | } |
363 | return (l1 - f1) - (l2 - f2); | |
364 | } | |
365 | ||
366 | /* | |
367 | Check type equivalence in a name list like <name1>|<name2>|... | |
7449af73 | 368 | Return 0 if not equal, 1 if equal |
093d3ff1 RD |
369 | */ |
370 | SWIGRUNTIME int | |
371 | SWIG_TypeEquiv(const char *nb, const char *tb) { | |
372 | int equiv = 0; | |
373 | const char* te = tb + strlen(tb); | |
374 | const char* ne = nb; | |
375 | while (!equiv && *ne) { | |
376 | for (nb = ne; *ne; ++ne) { | |
377 | if (*ne == '|') break; | |
378 | } | |
7449af73 | 379 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
093d3ff1 RD |
380 | if (*ne) ++ne; |
381 | } | |
382 | return equiv; | |
383 | } | |
384 | ||
385 | /* | |
7449af73 RD |
386 | Check type equivalence in a name list like <name1>|<name2>|... |
387 | Return 0 if equal, -1 if nb < tb, 1 if nb > tb | |
093d3ff1 | 388 | */ |
7449af73 RD |
389 | SWIGRUNTIME int |
390 | SWIG_TypeCompare(const char *nb, const char *tb) { | |
391 | int equiv = 0; | |
392 | const char* te = tb + strlen(tb); | |
393 | const char* ne = nb; | |
394 | while (!equiv && *ne) { | |
395 | for (nb = ne; *ne; ++ne) { | |
396 | if (*ne == '|') break; | |
093d3ff1 | 397 | } |
7449af73 RD |
398 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
399 | if (*ne) ++ne; | |
093d3ff1 | 400 | } |
7449af73 | 401 | return equiv; |
093d3ff1 RD |
402 | } |
403 | ||
7449af73 RD |
404 | |
405 | /* think of this as a c++ template<> or a scheme macro */ | |
406 | #define SWIG_TypeCheck_Template(comparison, ty) \ | |
407 | if (ty) { \ | |
408 | swig_cast_info *iter = ty->cast; \ | |
409 | while (iter) { \ | |
410 | if (comparison) { \ | |
411 | if (iter == ty->cast) return iter; \ | |
412 | /* Move iter to the top of the linked list */ \ | |
413 | iter->prev->next = iter->next; \ | |
414 | if (iter->next) \ | |
415 | iter->next->prev = iter->prev; \ | |
416 | iter->next = ty->cast; \ | |
417 | iter->prev = 0; \ | |
418 | if (ty->cast) ty->cast->prev = iter; \ | |
419 | ty->cast = iter; \ | |
420 | return iter; \ | |
421 | } \ | |
422 | iter = iter->next; \ | |
423 | } \ | |
424 | } \ | |
425 | return 0 | |
426 | ||
093d3ff1 RD |
427 | /* |
428 | Check the typename | |
429 | */ | |
7449af73 | 430 | SWIGRUNTIME swig_cast_info * |
093d3ff1 | 431 | SWIG_TypeCheck(const char *c, swig_type_info *ty) { |
7449af73 RD |
432 | SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); |
433 | } | |
434 | ||
435 | /* Same as previous function, except strcmp is replaced with a pointer comparison */ | |
436 | SWIGRUNTIME swig_cast_info * | |
437 | SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { | |
438 | SWIG_TypeCheck_Template(iter->type == from, into); | |
093d3ff1 RD |
439 | } |
440 | ||
441 | /* | |
442 | Cast a pointer up an inheritance hierarchy | |
443 | */ | |
444 | SWIGRUNTIMEINLINE void * | |
7449af73 | 445 | SWIG_TypeCast(swig_cast_info *ty, void *ptr) { |
093d3ff1 RD |
446 | return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); |
447 | } | |
448 | ||
449 | /* | |
450 | Dynamic pointer casting. Down an inheritance hierarchy | |
451 | */ | |
452 | SWIGRUNTIME swig_type_info * | |
453 | SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { | |
454 | swig_type_info *lastty = ty; | |
455 | if (!ty || !ty->dcast) return ty; | |
456 | while (ty && (ty->dcast)) { | |
457 | ty = (*ty->dcast)(ptr); | |
458 | if (ty) lastty = ty; | |
459 | } | |
460 | return lastty; | |
461 | } | |
462 | ||
463 | /* | |
464 | Return the name associated with this type | |
465 | */ | |
466 | SWIGRUNTIMEINLINE const char * | |
467 | SWIG_TypeName(const swig_type_info *ty) { | |
468 | return ty->name; | |
469 | } | |
470 | ||
471 | /* | |
472 | Return the pretty name associated with this type, | |
473 | that is an unmangled type name in a form presentable to the user. | |
474 | */ | |
475 | SWIGRUNTIME const char * | |
476 | SWIG_TypePrettyName(const swig_type_info *type) { | |
477 | /* The "str" field contains the equivalent pretty names of the | |
478 | type, separated by vertical-bar characters. We choose | |
479 | to print the last name, as it is often (?) the most | |
480 | specific. */ | |
554f62e9 | 481 | if (!type) return NULL; |
093d3ff1 RD |
482 | if (type->str != NULL) { |
483 | const char *last_name = type->str; | |
484 | const char *s; | |
485 | for (s = type->str; *s; s++) | |
486 | if (*s == '|') last_name = s+1; | |
487 | return last_name; | |
488 | } | |
489 | else | |
490 | return type->name; | |
491 | } | |
492 | ||
093d3ff1 RD |
493 | /* |
494 | Set the clientdata field for a type | |
495 | */ | |
496 | SWIGRUNTIME void | |
7449af73 RD |
497 | SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { |
498 | swig_cast_info *cast = ti->cast; | |
093d3ff1 RD |
499 | /* if (ti->clientdata == clientdata) return; */ |
500 | ti->clientdata = clientdata; | |
7449af73 RD |
501 | |
502 | while (cast) { | |
503 | if (!cast->converter) { | |
504 | swig_type_info *tc = cast->type; | |
505 | if (!tc->clientdata) { | |
506 | SWIG_TypeClientData(tc, clientdata); | |
093d3ff1 | 507 | } |
7449af73 RD |
508 | } |
509 | cast = cast->next; | |
510 | } | |
511 | } | |
554f62e9 RD |
512 | SWIGRUNTIME void |
513 | SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) { | |
514 | SWIG_TypeClientData(ti, clientdata); | |
515 | ti->owndata = 1; | |
516 | } | |
517 | ||
7449af73 RD |
518 | /* |
519 | Search for a swig_type_info structure only by mangled name | |
520 | Search is a O(log #types) | |
521 | ||
522 | We start searching at module start, and finish searching when start == end. | |
523 | Note: if start == end at the beginning of the function, we go all the way around | |
524 | the circular list. | |
525 | */ | |
526 | SWIGRUNTIME swig_type_info * | |
527 | SWIG_MangledTypeQueryModule(swig_module_info *start, | |
528 | swig_module_info *end, | |
529 | const char *name) { | |
530 | swig_module_info *iter = start; | |
531 | do { | |
532 | if (iter->size) { | |
533 | register size_t l = 0; | |
534 | register size_t r = iter->size - 1; | |
535 | do { | |
536 | /* since l+r >= 0, we can (>> 1) instead (/ 2) */ | |
537 | register size_t i = (l + r) >> 1; | |
538 | const char *iname = iter->types[i]->name; | |
539 | if (iname) { | |
540 | register int compare = strcmp(name, iname); | |
541 | if (compare == 0) { | |
542 | return iter->types[i]; | |
543 | } else if (compare < 0) { | |
544 | if (i) { | |
545 | r = i - 1; | |
546 | } else { | |
547 | break; | |
548 | } | |
549 | } else if (compare > 0) { | |
550 | l = i + 1; | |
551 | } | |
552 | } else { | |
553 | break; /* should never happen */ | |
554 | } | |
555 | } while (l <= r); | |
093d3ff1 | 556 | } |
7449af73 RD |
557 | iter = iter->next; |
558 | } while (iter != end); | |
559 | return 0; | |
560 | } | |
561 | ||
562 | /* | |
563 | Search for a swig_type_info structure for either a mangled name or a human readable name. | |
564 | It first searches the mangled names of the types, which is a O(log #types) | |
565 | If a type is not found it then searches the human readable names, which is O(#types). | |
566 | ||
567 | We start searching at module start, and finish searching when start == end. | |
568 | Note: if start == end at the beginning of the function, we go all the way around | |
569 | the circular list. | |
570 | */ | |
571 | SWIGRUNTIME swig_type_info * | |
572 | SWIG_TypeQueryModule(swig_module_info *start, | |
573 | swig_module_info *end, | |
574 | const char *name) { | |
575 | /* STEP 1: Search the name field using binary search */ | |
576 | swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); | |
577 | if (ret) { | |
578 | return ret; | |
579 | } else { | |
580 | /* STEP 2: If the type hasn't been found, do a complete search | |
581 | of the str field (the human readable name) */ | |
582 | swig_module_info *iter = start; | |
583 | do { | |
584 | register size_t i = 0; | |
585 | for (; i < iter->size; ++i) { | |
586 | if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) | |
587 | return iter->types[i]; | |
588 | } | |
589 | iter = iter->next; | |
590 | } while (iter != end); | |
093d3ff1 | 591 | } |
7449af73 RD |
592 | |
593 | /* neither found a match */ | |
594 | return 0; | |
093d3ff1 | 595 | } |
d14a1e28 | 596 | |
093d3ff1 RD |
597 | /* |
598 | Pack binary data into a string | |
599 | */ | |
600 | SWIGRUNTIME char * | |
601 | SWIG_PackData(char *c, void *ptr, size_t sz) { | |
7449af73 RD |
602 | static const char hex[17] = "0123456789abcdef"; |
603 | register const unsigned char *u = (unsigned char *) ptr; | |
604 | register const unsigned char *eu = u + sz; | |
093d3ff1 | 605 | for (; u != eu; ++u) { |
7449af73 | 606 | register unsigned char uu = *u; |
093d3ff1 RD |
607 | *(c++) = hex[(uu & 0xf0) >> 4]; |
608 | *(c++) = hex[uu & 0xf]; | |
609 | } | |
610 | return c; | |
611 | } | |
612 | ||
613 | /* | |
614 | Unpack binary data from a string | |
615 | */ | |
616 | SWIGRUNTIME const char * | |
617 | SWIG_UnpackData(const char *c, void *ptr, size_t sz) { | |
618 | register unsigned char *u = (unsigned char *) ptr; | |
7449af73 | 619 | register const unsigned char *eu = u + sz; |
093d3ff1 | 620 | for (; u != eu; ++u) { |
7449af73 | 621 | register char d = *(c++); |
554f62e9 | 622 | register unsigned char uu; |
093d3ff1 RD |
623 | if ((d >= '0') && (d <= '9')) |
624 | uu = ((d - '0') << 4); | |
625 | else if ((d >= 'a') && (d <= 'f')) | |
626 | uu = ((d - ('a'-10)) << 4); | |
627 | else | |
628 | return (char *) 0; | |
629 | d = *(c++); | |
630 | if ((d >= '0') && (d <= '9')) | |
631 | uu |= (d - '0'); | |
632 | else if ((d >= 'a') && (d <= 'f')) | |
633 | uu |= (d - ('a'-10)); | |
634 | else | |
635 | return (char *) 0; | |
636 | *u = uu; | |
637 | } | |
638 | return c; | |
639 | } | |
640 | ||
093d3ff1 RD |
641 | /* |
642 | Pack 'void *' into a string buffer. | |
643 | */ | |
644 | SWIGRUNTIME char * | |
645 | SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { | |
646 | char *r = buff; | |
647 | if ((2*sizeof(void *) + 2) > bsz) return 0; | |
648 | *(r++) = '_'; | |
649 | r = SWIG_PackData(r,&ptr,sizeof(void *)); | |
650 | if (strlen(name) + 1 > (bsz - (r - buff))) return 0; | |
651 | strcpy(r,name); | |
652 | return buff; | |
653 | } | |
654 | ||
655 | SWIGRUNTIME const char * | |
656 | SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { | |
657 | if (*c != '_') { | |
658 | if (strcmp(c,"NULL") == 0) { | |
659 | *ptr = (void *) 0; | |
660 | return name; | |
661 | } else { | |
662 | return 0; | |
663 | } | |
664 | } | |
665 | return SWIG_UnpackData(++c,ptr,sizeof(void *)); | |
666 | } | |
667 | ||
668 | SWIGRUNTIME char * | |
669 | SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { | |
670 | char *r = buff; | |
671 | size_t lname = (name ? strlen(name) : 0); | |
672 | if ((2*sz + 2 + lname) > bsz) return 0; | |
673 | *(r++) = '_'; | |
674 | r = SWIG_PackData(r,ptr,sz); | |
675 | if (lname) { | |
676 | strncpy(r,name,lname+1); | |
677 | } else { | |
678 | *r = 0; | |
679 | } | |
680 | return buff; | |
681 | } | |
682 | ||
683 | SWIGRUNTIME const char * | |
684 | SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { | |
685 | if (*c != '_') { | |
686 | if (strcmp(c,"NULL") == 0) { | |
687 | memset(ptr,0,sz); | |
688 | return name; | |
689 | } else { | |
690 | return 0; | |
691 | } | |
692 | } | |
693 | return SWIG_UnpackData(++c,ptr,sz); | |
694 | } | |
d14a1e28 RD |
695 | |
696 | #ifdef __cplusplus | |
697 | } | |
698 | #endif | |
699 | ||
554f62e9 RD |
700 | /* Errors in SWIG */ |
701 | #define SWIG_UnknownError -1 | |
702 | #define SWIG_IOError -2 | |
703 | #define SWIG_RuntimeError -3 | |
704 | #define SWIG_IndexError -4 | |
705 | #define SWIG_TypeError -5 | |
706 | #define SWIG_DivisionByZero -6 | |
707 | #define SWIG_OverflowError -7 | |
708 | #define SWIG_SyntaxError -8 | |
709 | #define SWIG_ValueError -9 | |
710 | #define SWIG_SystemError -10 | |
711 | #define SWIG_AttributeError -11 | |
712 | #define SWIG_MemoryError -12 | |
713 | #define SWIG_NullReferenceError -13 | |
093d3ff1 | 714 | |
554f62e9 RD |
715 | |
716 | ||
717 | /* Python.h has to appear first */ | |
718 | #include <Python.h> | |
719 | ||
720 | /* Add PyOS_snprintf for old Pythons */ | |
721 | #if PY_VERSION_HEX < 0x02020000 | |
722 | # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM) | |
723 | # define PyOS_snprintf _snprintf | |
724 | # else | |
725 | # define PyOS_snprintf snprintf | |
726 | # endif | |
727 | #endif | |
728 | ||
729 | /* A crude PyString_FromFormat implementation for old Pythons */ | |
730 | #if PY_VERSION_HEX < 0x02020000 | |
731 | ||
732 | #ifndef SWIG_PYBUFFER_SIZE | |
733 | # define SWIG_PYBUFFER_SIZE 1024 | |
734 | #endif | |
735 | ||
736 | static PyObject * | |
737 | PyString_FromFormat(const char *fmt, ...) { | |
738 | va_list ap; | |
739 | char buf[SWIG_PYBUFFER_SIZE * 2]; | |
740 | int res; | |
741 | va_start(ap, fmt); | |
742 | res = vsnprintf(buf, sizeof(buf), fmt, ap); | |
743 | va_end(ap); | |
744 | return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf); | |
745 | } | |
746 | #endif | |
747 | ||
748 | /* Add PyObject_Del for old Pythons */ | |
749 | #if PY_VERSION_HEX < 0x01060000 | |
750 | # define PyObject_Del(op) PyMem_DEL((op)) | |
751 | #endif | |
752 | #ifndef PyObject_DEL | |
753 | # define PyObject_DEL PyObject_Del | |
754 | #endif | |
755 | ||
756 | /* A crude PyExc_StopIteration exception for old Pythons */ | |
757 | #if PY_VERSION_HEX < 0x02020000 | |
758 | # ifndef PyExc_StopIteration | |
759 | # define PyExc_StopIteration PyExc_RuntimeError | |
760 | # endif | |
761 | # ifndef PyObject_GenericGetAttr | |
762 | # define PyObject_GenericGetAttr 0 | |
763 | # endif | |
093d3ff1 | 764 | #endif |
554f62e9 RD |
765 | /* Py_NotImplemented is defined in 2.1 and up. */ |
766 | #if PY_VERSION_HEX < 0x02010000 | |
767 | # ifndef Py_NotImplemented | |
768 | # define Py_NotImplemented PyExc_RuntimeError | |
769 | # endif | |
770 | #endif | |
771 | ||
772 | ||
773 | /* A crude PyString_AsStringAndSize implementation for old Pythons */ | |
774 | #if PY_VERSION_HEX < 0x02010000 | |
775 | # ifndef PyString_AsStringAndSize | |
776 | # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} | |
777 | # endif | |
778 | #endif | |
779 | ||
780 | /* PySequence_Size for old Pythons */ | |
781 | #if PY_VERSION_HEX < 0x02000000 | |
782 | # ifndef PySequence_Size | |
783 | # define PySequence_Size PySequence_Length | |
784 | # endif | |
785 | #endif | |
786 | ||
787 | ||
788 | /* PyBool_FromLong for old Pythons */ | |
789 | #if PY_VERSION_HEX < 0x02030000 | |
790 | static | |
791 | PyObject *PyBool_FromLong(long ok) | |
792 | { | |
793 | PyObject *result = ok ? Py_True : Py_False; | |
794 | Py_INCREF(result); | |
795 | return result; | |
796 | } | |
797 | #endif | |
798 | ||
093d3ff1 RD |
799 | |
800 | /* ----------------------------------------------------------------------------- | |
554f62e9 | 801 | * error manipulation |
093d3ff1 RD |
802 | * ----------------------------------------------------------------------------- */ |
803 | ||
554f62e9 RD |
804 | SWIGRUNTIME PyObject* |
805 | SWIG_Python_ErrorType(int code) { | |
806 | PyObject* type = 0; | |
807 | switch(code) { | |
808 | case SWIG_MemoryError: | |
809 | type = PyExc_MemoryError; | |
810 | break; | |
811 | case SWIG_IOError: | |
812 | type = PyExc_IOError; | |
813 | break; | |
814 | case SWIG_RuntimeError: | |
815 | type = PyExc_RuntimeError; | |
816 | break; | |
817 | case SWIG_IndexError: | |
818 | type = PyExc_IndexError; | |
819 | break; | |
820 | case SWIG_TypeError: | |
821 | type = PyExc_TypeError; | |
822 | break; | |
823 | case SWIG_DivisionByZero: | |
824 | type = PyExc_ZeroDivisionError; | |
825 | break; | |
826 | case SWIG_OverflowError: | |
827 | type = PyExc_OverflowError; | |
828 | break; | |
829 | case SWIG_SyntaxError: | |
830 | type = PyExc_SyntaxError; | |
831 | break; | |
832 | case SWIG_ValueError: | |
833 | type = PyExc_ValueError; | |
834 | break; | |
835 | case SWIG_SystemError: | |
836 | type = PyExc_SystemError; | |
837 | break; | |
838 | case SWIG_AttributeError: | |
839 | type = PyExc_AttributeError; | |
840 | break; | |
841 | default: | |
842 | type = PyExc_RuntimeError; | |
843 | } | |
844 | return type; | |
845 | } | |
093d3ff1 | 846 | |
554f62e9 RD |
847 | |
848 | SWIGRUNTIME void | |
849 | SWIG_Python_AddErrorMsg(const char* mesg) | |
850 | { | |
851 | PyObject *type = 0; | |
852 | PyObject *value = 0; | |
853 | PyObject *traceback = 0; | |
854 | ||
855 | if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback); | |
856 | if (value) { | |
857 | PyObject *old_str = PyObject_Str(value); | |
858 | PyErr_Clear(); | |
859 | Py_XINCREF(type); | |
860 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
861 | Py_DECREF(old_str); | |
862 | Py_DECREF(value); | |
863 | } else { | |
864 | PyErr_Format(PyExc_RuntimeError, mesg); | |
865 | } | |
866 | } | |
867 | ||
868 | ||
869 | ||
870 | #if defined(SWIG_PYTHON_NO_THREADS) | |
871 | # if defined(SWIG_PYTHON_THREADS) | |
872 | # undef SWIG_PYTHON_THREADS | |
873 | # endif | |
874 | #endif | |
875 | #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */ | |
876 | # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) | |
877 | # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */ | |
878 | # define SWIG_PYTHON_USE_GIL | |
879 | # endif | |
880 | # endif | |
881 | # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ | |
882 | # ifndef SWIG_PYTHON_INITIALIZE_THREADS | |
883 | # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() | |
884 | # endif | |
885 | # ifdef __cplusplus /* C++ code */ | |
886 | class SWIG_Python_Thread_Block { | |
887 | bool status; | |
888 | PyGILState_STATE state; | |
889 | public: | |
890 | void end() { if (status) { PyGILState_Release(state); status = false;} } | |
891 | SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} | |
892 | ~SWIG_Python_Thread_Block() { end(); } | |
893 | }; | |
894 | class SWIG_Python_Thread_Allow { | |
895 | bool status; | |
896 | PyThreadState *save; | |
897 | public: | |
898 | void end() { if (status) { PyEval_RestoreThread(save); status = false; }} | |
899 | SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {} | |
900 | ~SWIG_Python_Thread_Allow() { end(); } | |
901 | }; | |
902 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block | |
903 | # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end() | |
904 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow | |
905 | # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end() | |
906 | # else /* C code */ | |
907 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure() | |
908 | # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block) | |
909 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread() | |
910 | # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow) | |
911 | # endif | |
912 | # else /* Old thread way, not implemented, user must provide it */ | |
913 | # if !defined(SWIG_PYTHON_INITIALIZE_THREADS) | |
914 | # define SWIG_PYTHON_INITIALIZE_THREADS | |
915 | # endif | |
916 | # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) | |
917 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK | |
918 | # endif | |
919 | # if !defined(SWIG_PYTHON_THREAD_END_BLOCK) | |
920 | # define SWIG_PYTHON_THREAD_END_BLOCK | |
921 | # endif | |
922 | # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) | |
923 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW | |
924 | # endif | |
925 | # if !defined(SWIG_PYTHON_THREAD_END_ALLOW) | |
926 | # define SWIG_PYTHON_THREAD_END_ALLOW | |
927 | # endif | |
928 | # endif | |
929 | #else /* No thread support */ | |
930 | # define SWIG_PYTHON_INITIALIZE_THREADS | |
931 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK | |
932 | # define SWIG_PYTHON_THREAD_END_BLOCK | |
933 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW | |
934 | # define SWIG_PYTHON_THREAD_END_ALLOW | |
093d3ff1 RD |
935 | #endif |
936 | ||
554f62e9 RD |
937 | /* ----------------------------------------------------------------------------- |
938 | * Python API portion that goes into the runtime | |
939 | * ----------------------------------------------------------------------------- */ | |
093d3ff1 | 940 | |
554f62e9 RD |
941 | #ifdef __cplusplus |
942 | extern "C" { | |
943 | #if 0 | |
944 | } /* cc-mode */ | |
945 | #endif | |
946 | #endif | |
093d3ff1 RD |
947 | |
948 | /* ----------------------------------------------------------------------------- | |
949 | * Constant declarations | |
950 | * ----------------------------------------------------------------------------- */ | |
951 | ||
952 | /* Constant Types */ | |
d14a1e28 RD |
953 | #define SWIG_PY_POINTER 4 |
954 | #define SWIG_PY_BINARY 5 | |
955 | ||
d14a1e28 RD |
956 | /* Constant information structure */ |
957 | typedef struct swig_const_info { | |
554f62e9 RD |
958 | int type; |
959 | char *name; | |
960 | long lvalue; | |
961 | double dvalue; | |
962 | void *pvalue; | |
963 | swig_type_info **ptype; | |
d14a1e28 RD |
964 | } swig_const_info; |
965 | ||
093d3ff1 | 966 | #ifdef __cplusplus |
554f62e9 RD |
967 | #if 0 |
968 | { /* cc-mode */ | |
969 | #endif | |
093d3ff1 RD |
970 | } |
971 | #endif | |
972 | ||
973 | ||
554f62e9 RD |
974 | /* ----------------------------------------------------------------------------- |
975 | * See the LICENSE file for information on copyright, usage and redistribution | |
976 | * of SWIG, and the README file for authors - http://www.swig.org/release.html. | |
977 | * | |
093d3ff1 RD |
978 | * pyrun.swg |
979 | * | |
554f62e9 RD |
980 | * This file contains the runtime support for Python modules |
981 | * and includes code for managing global variables and pointer | |
982 | * type checking. | |
093d3ff1 | 983 | * |
554f62e9 | 984 | * ----------------------------------------------------------------------------- */ |
093d3ff1 | 985 | |
d14a1e28 | 986 | /* Common SWIG API */ |
d14a1e28 | 987 | |
554f62e9 RD |
988 | /* for raw pointers */ |
989 | #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) | |
990 | #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags) | |
991 | #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) | |
992 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags) | |
993 | #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty) | |
994 | #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src) | |
995 | #define swig_owntype int | |
d14a1e28 | 996 | |
554f62e9 RD |
997 | /* for raw packed data */ |
998 | #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) | |
999 | #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
d14a1e28 | 1000 | |
554f62e9 RD |
1001 | /* for class or struct pointers */ |
1002 | #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags) | |
1003 | #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags) | |
d14a1e28 | 1004 | |
554f62e9 RD |
1005 | /* for C or C++ function pointers */ |
1006 | #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type) | |
1007 | #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0) | |
d14a1e28 | 1008 | |
554f62e9 RD |
1009 | /* for C++ member pointers, ie, member methods */ |
1010 | #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) | |
1011 | #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
7449af73 | 1012 | |
093d3ff1 | 1013 | |
554f62e9 | 1014 | /* Runtime API */ |
093d3ff1 | 1015 | |
554f62e9 RD |
1016 | #define SWIG_GetModule(clientdata) SWIG_Python_GetModule() |
1017 | #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) | |
1018 | #define SWIG_NewClientData(obj) PySwigClientData_New(obj) | |
7449af73 | 1019 | |
554f62e9 RD |
1020 | #define SWIG_SetErrorObj SWIG_Python_SetErrorObj |
1021 | #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg | |
1022 | #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code) | |
1023 | #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) | |
1024 | #define SWIG_fail goto fail | |
7449af73 | 1025 | |
093d3ff1 | 1026 | |
554f62e9 | 1027 | /* Runtime API implementation */ |
093d3ff1 | 1028 | |
554f62e9 | 1029 | /* Error manipulation */ |
093d3ff1 | 1030 | |
554f62e9 RD |
1031 | SWIGINTERN void |
1032 | SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) { | |
1033 | SWIG_PYTHON_THREAD_BEGIN_BLOCK; | |
1034 | PyErr_SetObject(errtype, obj); | |
1035 | Py_DECREF(obj); | |
1036 | SWIG_PYTHON_THREAD_END_BLOCK; | |
093d3ff1 RD |
1037 | } |
1038 | ||
554f62e9 RD |
1039 | SWIGINTERN void |
1040 | SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) { | |
1041 | SWIG_PYTHON_THREAD_BEGIN_BLOCK; | |
1042 | PyErr_SetString(errtype, (char *) msg); | |
1043 | SWIG_PYTHON_THREAD_END_BLOCK; | |
d14a1e28 | 1044 | } |
093d3ff1 | 1045 | |
554f62e9 | 1046 | #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) |
7449af73 | 1047 | |
554f62e9 | 1048 | /* Set a constant value */ |
093d3ff1 | 1049 | |
554f62e9 RD |
1050 | SWIGINTERN void |
1051 | SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) { | |
1052 | PyDict_SetItemString(d, (char*) name, obj); | |
1053 | Py_DECREF(obj); | |
093d3ff1 RD |
1054 | } |
1055 | ||
554f62e9 | 1056 | /* Append a value to the result obj */ |
093d3ff1 | 1057 | |
554f62e9 RD |
1058 | SWIGINTERN PyObject* |
1059 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { | |
1060 | #if !defined(SWIG_PYTHON_OUTPUT_TUPLE) | |
1061 | if (!result) { | |
1062 | result = obj; | |
1063 | } else if (result == Py_None) { | |
1064 | Py_DECREF(result); | |
1065 | result = obj; | |
1066 | } else { | |
1067 | if (!PyList_Check(result)) { | |
1068 | PyObject *o2 = result; | |
1069 | result = PyList_New(1); | |
1070 | PyList_SetItem(result, 0, o2); | |
1071 | } | |
1072 | PyList_Append(result,obj); | |
1073 | Py_DECREF(obj); | |
1074 | } | |
1075 | return result; | |
1076 | #else | |
1077 | PyObject* o2; | |
1078 | PyObject* o3; | |
1079 | if (!result) { | |
1080 | result = obj; | |
1081 | } else if (result == Py_None) { | |
1082 | Py_DECREF(result); | |
1083 | result = obj; | |
093d3ff1 | 1084 | } else { |
554f62e9 RD |
1085 | if (!PyTuple_Check(result)) { |
1086 | o2 = result; | |
1087 | result = PyTuple_New(1); | |
1088 | PyTuple_SET_ITEM(result, 0, o2); | |
1089 | } | |
1090 | o3 = PyTuple_New(1); | |
1091 | PyTuple_SET_ITEM(o3, 0, obj); | |
1092 | o2 = result; | |
1093 | result = PySequence_Concat(o2, o3); | |
1094 | Py_DECREF(o2); | |
1095 | Py_DECREF(o3); | |
093d3ff1 | 1096 | } |
554f62e9 RD |
1097 | return result; |
1098 | #endif | |
093d3ff1 RD |
1099 | } |
1100 | ||
554f62e9 | 1101 | /* Unpack the argument tuple */ |
093d3ff1 | 1102 | |
554f62e9 RD |
1103 | SWIGINTERN int |
1104 | SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs) | |
1105 | { | |
1106 | if (!args) { | |
1107 | if (!min && !max) { | |
1108 | return 1; | |
1109 | } else { | |
1110 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", | |
1111 | name, (min == max ? "" : "at least "), min); | |
1112 | return 0; | |
1113 | } | |
1114 | } | |
1115 | if (!PyTuple_Check(args)) { | |
1116 | PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple"); | |
1117 | return 0; | |
1118 | } else { | |
1119 | register int l = PyTuple_GET_SIZE(args); | |
1120 | if (l < min) { | |
1121 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", | |
1122 | name, (min == max ? "" : "at least "), min, l); | |
1123 | return 0; | |
1124 | } else if (l > max) { | |
1125 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", | |
1126 | name, (min == max ? "" : "at most "), max, l); | |
1127 | return 0; | |
1128 | } else { | |
1129 | register int i; | |
1130 | for (i = 0; i < l; ++i) { | |
1131 | objs[i] = PyTuple_GET_ITEM(args, i); | |
1132 | } | |
1133 | for (; l < max; ++l) { | |
1134 | objs[l] = 0; | |
1135 | } | |
1136 | return i + 1; | |
1137 | } | |
1138 | } | |
1139 | } | |
1140 | ||
1141 | /* A functor is a function object with one single object argument */ | |
1142 | #if PY_VERSION_HEX >= 0x02020000 | |
1143 | #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL); | |
1144 | #else | |
1145 | #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj); | |
1146 | #endif | |
1147 | ||
1148 | /* | |
1149 | Helper for static pointer initialization for both C and C++ code, for example | |
1150 | static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); | |
1151 | */ | |
1152 | #ifdef __cplusplus | |
1153 | #define SWIG_STATIC_POINTER(var) var | |
1154 | #else | |
1155 | #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var | |
1156 | #endif | |
1157 | ||
1158 | /* ----------------------------------------------------------------------------- | |
1159 | * Pointer declarations | |
1160 | * ----------------------------------------------------------------------------- */ | |
1161 | ||
1162 | /* Flags for new pointer objects */ | |
1163 | #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1) | |
1164 | #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) | |
1165 | ||
1166 | #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1) | |
1167 | ||
1168 | #ifdef __cplusplus | |
1169 | extern "C" { | |
1170 | #if 0 | |
1171 | } /* cc-mode */ | |
1172 | #endif | |
1173 | #endif | |
1174 | ||
1175 | /* How to access Py_None */ | |
1176 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
1177 | # ifndef SWIG_PYTHON_NO_BUILD_NONE | |
1178 | # ifndef SWIG_PYTHON_BUILD_NONE | |
1179 | # define SWIG_PYTHON_BUILD_NONE | |
1180 | # endif | |
1181 | # endif | |
1182 | #endif | |
1183 | ||
1184 | #ifdef SWIG_PYTHON_BUILD_NONE | |
1185 | # ifdef Py_None | |
1186 | # undef Py_None | |
1187 | # define Py_None SWIG_Py_None() | |
1188 | # endif | |
1189 | SWIGRUNTIMEINLINE PyObject * | |
1190 | _SWIG_Py_None(void) | |
1191 | { | |
1192 | PyObject *none = Py_BuildValue(""); | |
1193 | Py_DECREF(none); | |
1194 | return none; | |
1195 | } | |
1196 | SWIGRUNTIME PyObject * | |
1197 | SWIG_Py_None(void) | |
1198 | { | |
1199 | static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None(); | |
1200 | return none; | |
1201 | } | |
1202 | #endif | |
1203 | ||
1204 | /* The python void return value */ | |
1205 | ||
1206 | SWIGRUNTIMEINLINE PyObject * | |
1207 | SWIG_Py_Void(void) | |
1208 | { | |
1209 | PyObject *none = Py_None; | |
1210 | Py_INCREF(none); | |
1211 | return none; | |
1212 | } | |
1213 | ||
1214 | /* PySwigClientData */ | |
1215 | ||
1216 | typedef struct { | |
1217 | PyObject *klass; | |
1218 | PyObject *newraw; | |
1219 | PyObject *newargs; | |
1220 | PyObject *destroy; | |
1221 | int delargs; | |
1222 | int implicitconv; | |
1223 | } PySwigClientData; | |
1224 | ||
1225 | SWIGRUNTIMEINLINE int | |
1226 | SWIG_Python_CheckImplicit(swig_type_info *ty) | |
1227 | { | |
1228 | PySwigClientData *data = (PySwigClientData *)ty->clientdata; | |
1229 | return data ? data->implicitconv : 0; | |
1230 | } | |
1231 | ||
1232 | SWIGRUNTIMEINLINE PyObject * | |
1233 | SWIG_Python_ExceptionType(swig_type_info *desc) { | |
1234 | PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0; | |
1235 | PyObject *klass = data ? data->klass : 0; | |
1236 | return (klass ? klass : PyExc_RuntimeError); | |
1237 | } | |
1238 | ||
1239 | ||
1240 | SWIGRUNTIME PySwigClientData * | |
1241 | PySwigClientData_New(PyObject* obj) | |
1242 | { | |
1243 | if (!obj) { | |
1244 | return 0; | |
1245 | } else { | |
1246 | PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData)); | |
1247 | /* the klass element */ | |
1248 | data->klass = obj; | |
1249 | Py_INCREF(data->klass); | |
1250 | /* the newraw method and newargs arguments used to create a new raw instance */ | |
1251 | if (PyClass_Check(obj)) { | |
1252 | data->newraw = 0; | |
1253 | data->newargs = obj; | |
1254 | Py_INCREF(obj); | |
1255 | } else { | |
1256 | #if (PY_VERSION_HEX < 0x02020000) | |
1257 | data->newraw = 0; | |
1258 | #else | |
1259 | data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__"); | |
1260 | #endif | |
1261 | if (data->newraw) { | |
1262 | Py_INCREF(data->newraw); | |
1263 | data->newargs = PyTuple_New(1); | |
1264 | PyTuple_SetItem(data->newargs, 0, obj); | |
1265 | } else { | |
1266 | data->newargs = obj; | |
1267 | } | |
1268 | Py_INCREF(data->newargs); | |
1269 | } | |
1270 | /* the destroy method, aka as the C++ delete method */ | |
1271 | data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__"); | |
1272 | if (PyErr_Occurred()) { | |
1273 | PyErr_Clear(); | |
1274 | data->destroy = 0; | |
1275 | } | |
1276 | if (data->destroy) { | |
1277 | int flags; | |
1278 | Py_INCREF(data->destroy); | |
1279 | flags = PyCFunction_GET_FLAGS(data->destroy); | |
1280 | #ifdef METH_O | |
1281 | data->delargs = !(flags & (METH_O)); | |
1282 | #else | |
1283 | data->delargs = 0; | |
1284 | #endif | |
1285 | } else { | |
1286 | data->delargs = 0; | |
1287 | } | |
1288 | data->implicitconv = 0; | |
1289 | return data; | |
1290 | } | |
1291 | } | |
1292 | ||
1293 | SWIGRUNTIME void | |
1294 | PySwigClientData_Del(PySwigClientData* data) | |
1295 | { | |
1296 | Py_XDECREF(data->newraw); | |
1297 | Py_XDECREF(data->newargs); | |
1298 | Py_XDECREF(data->destroy); | |
1299 | } | |
1300 | ||
1301 | /* =============== PySwigObject =====================*/ | |
1302 | ||
1303 | typedef struct { | |
1304 | PyObject_HEAD | |
1305 | void *ptr; | |
1306 | swig_type_info *ty; | |
1307 | int own; | |
1308 | PyObject *next; | |
1309 | } PySwigObject; | |
1310 | ||
1311 | SWIGRUNTIME PyObject * | |
1312 | PySwigObject_long(PySwigObject *v) | |
1313 | { | |
1314 | return PyLong_FromVoidPtr(v->ptr); | |
1315 | } | |
1316 | ||
1317 | SWIGRUNTIME PyObject * | |
1318 | PySwigObject_format(const char* fmt, PySwigObject *v) | |
1319 | { | |
1320 | PyObject *res = NULL; | |
1321 | PyObject *args = PyTuple_New(1); | |
1322 | if (args) { | |
1323 | if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) { | |
1324 | PyObject *ofmt = PyString_FromString(fmt); | |
1325 | if (ofmt) { | |
1326 | res = PyString_Format(ofmt,args); | |
1327 | Py_DECREF(ofmt); | |
1328 | } | |
1329 | Py_DECREF(args); | |
1330 | } | |
1331 | } | |
1332 | return res; | |
1333 | } | |
1334 | ||
1335 | SWIGRUNTIME PyObject * | |
1336 | PySwigObject_oct(PySwigObject *v) | |
1337 | { | |
1338 | return PySwigObject_format("%o",v); | |
1339 | } | |
1340 | ||
1341 | SWIGRUNTIME PyObject * | |
1342 | PySwigObject_hex(PySwigObject *v) | |
1343 | { | |
1344 | return PySwigObject_format("%x",v); | |
1345 | } | |
1346 | ||
1347 | SWIGRUNTIME PyObject * | |
1348 | #ifdef METH_NOARGS | |
1349 | PySwigObject_repr(PySwigObject *v) | |
1350 | #else | |
1351 | PySwigObject_repr(PySwigObject *v, PyObject *args) | |
1352 | #endif | |
1353 | { | |
1354 | const char *name = SWIG_TypePrettyName(v->ty); | |
1355 | PyObject *hex = PySwigObject_hex(v); | |
1356 | PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex)); | |
1357 | Py_DECREF(hex); | |
1358 | if (v->next) { | |
1359 | #ifdef METH_NOARGS | |
1360 | PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next); | |
1361 | #else | |
1362 | PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args); | |
1363 | #endif | |
1364 | PyString_ConcatAndDel(&repr,nrep); | |
1365 | } | |
1366 | return repr; | |
1367 | } | |
1368 | ||
1369 | SWIGRUNTIME int | |
1370 | PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) | |
1371 | { | |
1372 | #ifdef METH_NOARGS | |
1373 | PyObject *repr = PySwigObject_repr(v); | |
1374 | #else | |
1375 | PyObject *repr = PySwigObject_repr(v, NULL); | |
1376 | #endif | |
1377 | if (repr) { | |
1378 | fputs(PyString_AsString(repr), fp); | |
1379 | Py_DECREF(repr); | |
1380 | return 0; | |
1381 | } else { | |
1382 | return 1; | |
1383 | } | |
1384 | } | |
1385 | ||
1386 | SWIGRUNTIME PyObject * | |
1387 | PySwigObject_str(PySwigObject *v) | |
1388 | { | |
1389 | char result[SWIG_BUFFER_SIZE]; | |
1390 | return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ? | |
1391 | PyString_FromString(result) : 0; | |
1392 | } | |
1393 | ||
1394 | SWIGRUNTIME int | |
1395 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
1396 | { | |
1397 | void *i = v->ptr; | |
1398 | void *j = w->ptr; | |
1399 | return (i < j) ? -1 : ((i > j) ? 1 : 0); | |
1400 | } | |
1401 | ||
1402 | SWIGRUNTIME PyTypeObject* _PySwigObject_type(void); | |
1403 | ||
1404 | SWIGRUNTIME PyTypeObject* | |
1405 | PySwigObject_type(void) { | |
1406 | static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type(); | |
1407 | return type; | |
1408 | } | |
1409 | ||
1410 | SWIGRUNTIMEINLINE int | |
1411 | PySwigObject_Check(PyObject *op) { | |
1412 | return ((op)->ob_type == PySwigObject_type()) | |
1413 | || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); | |
1414 | } | |
1415 | ||
1416 | SWIGRUNTIME PyObject * | |
1417 | PySwigObject_New(void *ptr, swig_type_info *ty, int own); | |
1418 | ||
1419 | SWIGRUNTIME void | |
1420 | PySwigObject_dealloc(PyObject *v) | |
1421 | { | |
1422 | PySwigObject *sobj = (PySwigObject *) v; | |
1423 | PyObject *next = sobj->next; | |
1424 | if (sobj->own) { | |
1425 | swig_type_info *ty = sobj->ty; | |
1426 | PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; | |
1427 | PyObject *destroy = data ? data->destroy : 0; | |
1428 | if (destroy) { | |
1429 | /* destroy is always a VARARGS method */ | |
1430 | PyObject *res; | |
1431 | if (data->delargs) { | |
1432 | /* we need to create a temporal object to carry the destroy operation */ | |
1433 | PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0); | |
1434 | res = SWIG_Python_CallFunctor(destroy, tmp); | |
1435 | Py_DECREF(tmp); | |
1436 | } else { | |
1437 | PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); | |
1438 | PyObject *mself = PyCFunction_GET_SELF(destroy); | |
1439 | res = ((*meth)(mself, v)); | |
1440 | } | |
1441 | Py_XDECREF(res); | |
1442 | } else { | |
1443 | const char *name = SWIG_TypePrettyName(ty); | |
1444 | #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) | |
1445 | printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name); | |
1446 | #endif | |
1447 | } | |
1448 | } | |
1449 | Py_XDECREF(next); | |
1450 | PyObject_DEL(v); | |
1451 | } | |
1452 | ||
1453 | SWIGRUNTIME PyObject* | |
1454 | PySwigObject_append(PyObject* v, PyObject* next) | |
1455 | { | |
1456 | PySwigObject *sobj = (PySwigObject *) v; | |
1457 | #ifndef METH_O | |
1458 | PyObject *tmp = 0; | |
1459 | if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL; | |
1460 | next = tmp; | |
1461 | #endif | |
1462 | if (!PySwigObject_Check(next)) { | |
1463 | return NULL; | |
1464 | } | |
1465 | sobj->next = next; | |
1466 | Py_INCREF(next); | |
1467 | return SWIG_Py_Void(); | |
1468 | } | |
1469 | ||
1470 | SWIGRUNTIME PyObject* | |
1471 | #ifdef METH_NOARGS | |
1472 | PySwigObject_next(PyObject* v) | |
1473 | #else | |
1474 | PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1475 | #endif | |
1476 | { | |
1477 | PySwigObject *sobj = (PySwigObject *) v; | |
1478 | if (sobj->next) { | |
1479 | Py_INCREF(sobj->next); | |
1480 | return sobj->next; | |
1481 | } else { | |
1482 | return SWIG_Py_Void(); | |
1483 | } | |
1484 | } | |
1485 | ||
1486 | SWIGINTERN PyObject* | |
1487 | #ifdef METH_NOARGS | |
1488 | PySwigObject_disown(PyObject *v) | |
1489 | #else | |
1490 | PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1491 | #endif | |
1492 | { | |
1493 | PySwigObject *sobj = (PySwigObject *)v; | |
1494 | sobj->own = 0; | |
1495 | return SWIG_Py_Void(); | |
1496 | } | |
1497 | ||
1498 | SWIGINTERN PyObject* | |
1499 | #ifdef METH_NOARGS | |
1500 | PySwigObject_acquire(PyObject *v) | |
1501 | #else | |
1502 | PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1503 | #endif | |
1504 | { | |
1505 | PySwigObject *sobj = (PySwigObject *)v; | |
1506 | sobj->own = SWIG_POINTER_OWN; | |
1507 | return SWIG_Py_Void(); | |
1508 | } | |
1509 | ||
1510 | SWIGINTERN PyObject* | |
1511 | PySwigObject_own(PyObject *v, PyObject *args) | |
1512 | { | |
1513 | PyObject *val = 0; | |
1514 | #if (PY_VERSION_HEX < 0x02020000) | |
1515 | if (!PyArg_ParseTuple(args,(char *)"|O:own",&val)) | |
1516 | #else | |
1517 | if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) | |
1518 | #endif | |
1519 | { | |
1520 | return NULL; | |
1521 | } | |
1522 | else | |
1523 | { | |
1524 | PySwigObject *sobj = (PySwigObject *)v; | |
1525 | PyObject *obj = PyBool_FromLong(sobj->own); | |
1526 | if (val) { | |
1527 | #ifdef METH_NOARGS | |
1528 | if (PyObject_IsTrue(val)) { | |
1529 | PySwigObject_acquire(v); | |
1530 | } else { | |
1531 | PySwigObject_disown(v); | |
1532 | } | |
1533 | #else | |
1534 | if (PyObject_IsTrue(val)) { | |
1535 | PySwigObject_acquire(v,args); | |
1536 | } else { | |
1537 | PySwigObject_disown(v,args); | |
1538 | } | |
1539 | #endif | |
1540 | } | |
1541 | return obj; | |
1542 | } | |
1543 | } | |
1544 | ||
1545 | #ifdef METH_O | |
1546 | static PyMethodDef | |
1547 | swigobject_methods[] = { | |
1548 | {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"}, | |
1549 | {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"}, | |
1550 | {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, | |
1551 | {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"}, | |
1552 | {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"}, | |
1553 | {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"}, | |
1554 | {0, 0, 0, 0} | |
1555 | }; | |
1556 | #else | |
1557 | static PyMethodDef | |
1558 | swigobject_methods[] = { | |
1559 | {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"}, | |
1560 | {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"}, | |
1561 | {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, | |
1562 | {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"}, | |
1563 | {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"}, | |
1564 | {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"}, | |
1565 | {0, 0, 0, 0} | |
1566 | }; | |
1567 | #endif | |
1568 | ||
1569 | #if PY_VERSION_HEX < 0x02020000 | |
1570 | SWIGINTERN PyObject * | |
1571 | PySwigObject_getattr(PySwigObject *sobj,char *name) | |
1572 | { | |
1573 | return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name); | |
1574 | } | |
1575 | #endif | |
1576 | ||
1577 | SWIGRUNTIME PyTypeObject* | |
1578 | _PySwigObject_type(void) { | |
1579 | static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer"; | |
1580 | ||
1581 | static PyNumberMethods PySwigObject_as_number = { | |
1582 | (binaryfunc)0, /*nb_add*/ | |
1583 | (binaryfunc)0, /*nb_subtract*/ | |
1584 | (binaryfunc)0, /*nb_multiply*/ | |
1585 | (binaryfunc)0, /*nb_divide*/ | |
1586 | (binaryfunc)0, /*nb_remainder*/ | |
093d3ff1 RD |
1587 | (binaryfunc)0, /*nb_divmod*/ |
1588 | (ternaryfunc)0,/*nb_power*/ | |
1589 | (unaryfunc)0, /*nb_negative*/ | |
1590 | (unaryfunc)0, /*nb_positive*/ | |
1591 | (unaryfunc)0, /*nb_absolute*/ | |
1592 | (inquiry)0, /*nb_nonzero*/ | |
1593 | 0, /*nb_invert*/ | |
1594 | 0, /*nb_lshift*/ | |
1595 | 0, /*nb_rshift*/ | |
1596 | 0, /*nb_and*/ | |
1597 | 0, /*nb_xor*/ | |
1598 | 0, /*nb_or*/ | |
1599 | (coercion)0, /*nb_coerce*/ | |
1600 | (unaryfunc)PySwigObject_long, /*nb_int*/ | |
1601 | (unaryfunc)PySwigObject_long, /*nb_long*/ | |
1602 | (unaryfunc)0, /*nb_float*/ | |
1603 | (unaryfunc)PySwigObject_oct, /*nb_oct*/ | |
1604 | (unaryfunc)PySwigObject_hex, /*nb_hex*/ | |
7449af73 | 1605 | #if PY_VERSION_HEX >= 0x02020000 |
093d3ff1 | 1606 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ |
7449af73 RD |
1607 | #elif PY_VERSION_HEX >= 0x02000000 |
1608 | 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ | |
093d3ff1 RD |
1609 | #endif |
1610 | }; | |
1611 | ||
554f62e9 | 1612 | static PyTypeObject pyswigobject_type; |
7449af73 | 1613 | static int type_init = 0; |
093d3ff1 | 1614 | if (!type_init) { |
554f62e9 RD |
1615 | const PyTypeObject tmp |
1616 | = { | |
1617 | PyObject_HEAD_INIT(NULL) | |
1618 | 0, /* ob_size */ | |
1619 | (char *)"PySwigObject", /* tp_name */ | |
1620 | sizeof(PySwigObject), /* tp_basicsize */ | |
1621 | 0, /* tp_itemsize */ | |
1622 | (destructor)PySwigObject_dealloc, /* tp_dealloc */ | |
1623 | (printfunc)PySwigObject_print, /* tp_print */ | |
1624 | #if PY_VERSION_HEX < 0x02020000 | |
1625 | (getattrfunc)PySwigObject_getattr, /* tp_getattr */ | |
1626 | #else | |
1627 | (getattrfunc)0, /* tp_getattr */ | |
093d3ff1 | 1628 | #endif |
554f62e9 RD |
1629 | (setattrfunc)0, /* tp_setattr */ |
1630 | (cmpfunc)PySwigObject_compare, /* tp_compare */ | |
1631 | (reprfunc)PySwigObject_repr, /* tp_repr */ | |
1632 | &PySwigObject_as_number, /* tp_as_number */ | |
1633 | 0, /* tp_as_sequence */ | |
1634 | 0, /* tp_as_mapping */ | |
1635 | (hashfunc)0, /* tp_hash */ | |
1636 | (ternaryfunc)0, /* tp_call */ | |
1637 | (reprfunc)PySwigObject_str, /* tp_str */ | |
1638 | PyObject_GenericGetAttr, /* tp_getattro */ | |
1639 | 0, /* tp_setattro */ | |
1640 | 0, /* tp_as_buffer */ | |
1641 | Py_TPFLAGS_DEFAULT, /* tp_flags */ | |
1642 | swigobject_doc, /* tp_doc */ | |
1643 | 0, /* tp_traverse */ | |
1644 | 0, /* tp_clear */ | |
1645 | 0, /* tp_richcompare */ | |
1646 | 0, /* tp_weaklistoffset */ | |
093d3ff1 | 1647 | #if PY_VERSION_HEX >= 0x02020000 |
554f62e9 RD |
1648 | 0, /* tp_iter */ |
1649 | 0, /* tp_iternext */ | |
1650 | swigobject_methods, /* tp_methods */ | |
1651 | 0, /* tp_members */ | |
1652 | 0, /* tp_getset */ | |
1653 | 0, /* tp_base */ | |
1654 | 0, /* tp_dict */ | |
1655 | 0, /* tp_descr_get */ | |
1656 | 0, /* tp_descr_set */ | |
1657 | 0, /* tp_dictoffset */ | |
1658 | 0, /* tp_init */ | |
1659 | 0, /* tp_alloc */ | |
1660 | 0, /* tp_new */ | |
1661 | 0, /* tp_free */ | |
1662 | 0, /* tp_is_gc */ | |
1663 | 0, /* tp_bases */ | |
1664 | 0, /* tp_mro */ | |
1665 | 0, /* tp_cache */ | |
1666 | 0, /* tp_subclasses */ | |
1667 | 0, /* tp_weaklist */ | |
093d3ff1 RD |
1668 | #endif |
1669 | #if PY_VERSION_HEX >= 0x02030000 | |
554f62e9 | 1670 | 0, /* tp_del */ |
d14a1e28 | 1671 | #endif |
093d3ff1 | 1672 | #ifdef COUNT_ALLOCS |
554f62e9 | 1673 | 0,0,0,0 /* tp_alloc -> tp_next */ |
093d3ff1 | 1674 | #endif |
554f62e9 | 1675 | }; |
7449af73 | 1676 | pyswigobject_type = tmp; |
554f62e9 | 1677 | pyswigobject_type.ob_type = &PyType_Type; |
093d3ff1 RD |
1678 | type_init = 1; |
1679 | } | |
7449af73 | 1680 | return &pyswigobject_type; |
093d3ff1 | 1681 | } |
c32bde28 | 1682 | |
093d3ff1 | 1683 | SWIGRUNTIME PyObject * |
554f62e9 | 1684 | PySwigObject_New(void *ptr, swig_type_info *ty, int own) |
093d3ff1 | 1685 | { |
554f62e9 RD |
1686 | PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type()); |
1687 | if (sobj) { | |
1688 | sobj->ptr = ptr; | |
1689 | sobj->ty = ty; | |
1690 | sobj->own = own; | |
1691 | sobj->next = 0; | |
7449af73 | 1692 | } |
554f62e9 | 1693 | return (PyObject *)sobj; |
093d3ff1 | 1694 | } |
d14a1e28 | 1695 | |
093d3ff1 RD |
1696 | /* ----------------------------------------------------------------------------- |
1697 | * Implements a simple Swig Packed type, and use it instead of string | |
1698 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 1699 | |
093d3ff1 RD |
1700 | typedef struct { |
1701 | PyObject_HEAD | |
1702 | void *pack; | |
554f62e9 | 1703 | swig_type_info *ty; |
093d3ff1 RD |
1704 | size_t size; |
1705 | } PySwigPacked; | |
d14a1e28 | 1706 | |
093d3ff1 | 1707 | SWIGRUNTIME int |
554f62e9 | 1708 | PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags)) |
093d3ff1 RD |
1709 | { |
1710 | char result[SWIG_BUFFER_SIZE]; | |
1711 | fputs("<Swig Packed ", fp); | |
1712 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
1713 | fputs("at ", fp); | |
1714 | fputs(result, fp); | |
1715 | } | |
554f62e9 | 1716 | fputs(v->ty->name,fp); |
093d3ff1 RD |
1717 | fputs(">", fp); |
1718 | return 0; | |
1719 | } | |
9d7dfdff | 1720 | |
093d3ff1 RD |
1721 | SWIGRUNTIME PyObject * |
1722 | PySwigPacked_repr(PySwigPacked *v) | |
1723 | { | |
1724 | char result[SWIG_BUFFER_SIZE]; | |
1725 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
554f62e9 | 1726 | return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name); |
093d3ff1 | 1727 | } else { |
554f62e9 | 1728 | return PyString_FromFormat("<Swig Packed %s>", v->ty->name); |
093d3ff1 RD |
1729 | } |
1730 | } | |
c32bde28 | 1731 | |
093d3ff1 RD |
1732 | SWIGRUNTIME PyObject * |
1733 | PySwigPacked_str(PySwigPacked *v) | |
1734 | { | |
1735 | char result[SWIG_BUFFER_SIZE]; | |
1736 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ | |
554f62e9 | 1737 | return PyString_FromFormat("%s%s", result, v->ty->name); |
093d3ff1 | 1738 | } else { |
554f62e9 | 1739 | return PyString_FromString(v->ty->name); |
093d3ff1 RD |
1740 | } |
1741 | } | |
1742 | ||
1743 | SWIGRUNTIME int | |
1744 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
1745 | { | |
554f62e9 RD |
1746 | size_t i = v->size; |
1747 | size_t j = w->size; | |
1748 | int s = (i < j) ? -1 : ((i > j) ? 1 : 0); | |
1749 | return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); | |
093d3ff1 RD |
1750 | } |
1751 | ||
554f62e9 | 1752 | SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void); |
093d3ff1 RD |
1753 | |
1754 | SWIGRUNTIME PyTypeObject* | |
7449af73 | 1755 | PySwigPacked_type(void) { |
554f62e9 RD |
1756 | static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type(); |
1757 | return type; | |
1758 | } | |
1759 | ||
1760 | SWIGRUNTIMEINLINE int | |
1761 | PySwigPacked_Check(PyObject *op) { | |
1762 | return ((op)->ob_type == _PySwigPacked_type()) | |
1763 | || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); | |
1764 | } | |
1765 | ||
1766 | SWIGRUNTIME void | |
1767 | PySwigPacked_dealloc(PyObject *v) | |
1768 | { | |
1769 | if (PySwigPacked_Check(v)) { | |
1770 | PySwigPacked *sobj = (PySwigPacked *) v; | |
1771 | free(sobj->pack); | |
1772 | } | |
1773 | PyObject_DEL(v); | |
1774 | } | |
1775 | ||
1776 | SWIGRUNTIME PyTypeObject* | |
1777 | _PySwigPacked_type(void) { | |
1778 | static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer"; | |
1779 | static PyTypeObject pyswigpacked_type; | |
1780 | static int type_init = 0; | |
1781 | if (!type_init) { | |
1782 | const PyTypeObject tmp | |
1783 | = { | |
1784 | PyObject_HEAD_INIT(NULL) | |
1785 | 0, /* ob_size */ | |
1786 | (char *)"PySwigPacked", /* tp_name */ | |
1787 | sizeof(PySwigPacked), /* tp_basicsize */ | |
1788 | 0, /* tp_itemsize */ | |
1789 | (destructor)PySwigPacked_dealloc, /* tp_dealloc */ | |
1790 | (printfunc)PySwigPacked_print, /* tp_print */ | |
1791 | (getattrfunc)0, /* tp_getattr */ | |
1792 | (setattrfunc)0, /* tp_setattr */ | |
1793 | (cmpfunc)PySwigPacked_compare, /* tp_compare */ | |
1794 | (reprfunc)PySwigPacked_repr, /* tp_repr */ | |
1795 | 0, /* tp_as_number */ | |
1796 | 0, /* tp_as_sequence */ | |
1797 | 0, /* tp_as_mapping */ | |
1798 | (hashfunc)0, /* tp_hash */ | |
1799 | (ternaryfunc)0, /* tp_call */ | |
1800 | (reprfunc)PySwigPacked_str, /* tp_str */ | |
1801 | PyObject_GenericGetAttr, /* tp_getattro */ | |
1802 | 0, /* tp_setattro */ | |
1803 | 0, /* tp_as_buffer */ | |
1804 | Py_TPFLAGS_DEFAULT, /* tp_flags */ | |
1805 | swigpacked_doc, /* tp_doc */ | |
1806 | 0, /* tp_traverse */ | |
1807 | 0, /* tp_clear */ | |
1808 | 0, /* tp_richcompare */ | |
1809 | 0, /* tp_weaklistoffset */ | |
1810 | #if PY_VERSION_HEX >= 0x02020000 | |
1811 | 0, /* tp_iter */ | |
1812 | 0, /* tp_iternext */ | |
1813 | 0, /* tp_methods */ | |
1814 | 0, /* tp_members */ | |
1815 | 0, /* tp_getset */ | |
1816 | 0, /* tp_base */ | |
1817 | 0, /* tp_dict */ | |
1818 | 0, /* tp_descr_get */ | |
1819 | 0, /* tp_descr_set */ | |
1820 | 0, /* tp_dictoffset */ | |
1821 | 0, /* tp_init */ | |
1822 | 0, /* tp_alloc */ | |
1823 | 0, /* tp_new */ | |
1824 | 0, /* tp_free */ | |
1825 | 0, /* tp_is_gc */ | |
1826 | 0, /* tp_bases */ | |
1827 | 0, /* tp_mro */ | |
1828 | 0, /* tp_cache */ | |
1829 | 0, /* tp_subclasses */ | |
1830 | 0, /* tp_weaklist */ | |
093d3ff1 RD |
1831 | #endif |
1832 | #if PY_VERSION_HEX >= 0x02030000 | |
554f62e9 | 1833 | 0, /* tp_del */ |
093d3ff1 RD |
1834 | #endif |
1835 | #ifdef COUNT_ALLOCS | |
554f62e9 | 1836 | 0,0,0,0 /* tp_alloc -> tp_next */ |
093d3ff1 | 1837 | #endif |
554f62e9 | 1838 | }; |
7449af73 | 1839 | pyswigpacked_type = tmp; |
554f62e9 | 1840 | pyswigpacked_type.ob_type = &PyType_Type; |
093d3ff1 RD |
1841 | type_init = 1; |
1842 | } | |
7449af73 | 1843 | return &pyswigpacked_type; |
093d3ff1 RD |
1844 | } |
1845 | ||
1846 | SWIGRUNTIME PyObject * | |
554f62e9 | 1847 | PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty) |
093d3ff1 | 1848 | { |
554f62e9 RD |
1849 | PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type()); |
1850 | if (sobj) { | |
093d3ff1 | 1851 | void *pack = malloc(size); |
7449af73 RD |
1852 | if (pack) { |
1853 | memcpy(pack, ptr, size); | |
554f62e9 RD |
1854 | sobj->pack = pack; |
1855 | sobj->ty = ty; | |
1856 | sobj->size = size; | |
1857 | } else { | |
1858 | PyObject_DEL((PyObject *) sobj); | |
1859 | sobj = 0; | |
7449af73 | 1860 | } |
093d3ff1 | 1861 | } |
554f62e9 | 1862 | return (PyObject *) sobj; |
093d3ff1 RD |
1863 | } |
1864 | ||
554f62e9 | 1865 | SWIGRUNTIME swig_type_info * |
093d3ff1 RD |
1866 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) |
1867 | { | |
554f62e9 RD |
1868 | if (PySwigPacked_Check(obj)) { |
1869 | PySwigPacked *sobj = (PySwigPacked *)obj; | |
1870 | if (sobj->size != size) return 0; | |
1871 | memcpy(ptr, sobj->pack, size); | |
1872 | return sobj->ty; | |
1873 | } else { | |
1874 | return 0; | |
1875 | } | |
093d3ff1 RD |
1876 | } |
1877 | ||
093d3ff1 | 1878 | /* ----------------------------------------------------------------------------- |
554f62e9 | 1879 | * pointers/data manipulation |
093d3ff1 RD |
1880 | * ----------------------------------------------------------------------------- */ |
1881 | ||
554f62e9 RD |
1882 | SWIGRUNTIMEINLINE PyObject * |
1883 | _SWIG_This(void) | |
1884 | { | |
1885 | return PyString_FromString("this"); | |
1886 | } | |
093d3ff1 | 1887 | |
554f62e9 RD |
1888 | SWIGRUNTIME PyObject * |
1889 | SWIG_This(void) | |
1890 | { | |
1891 | static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This(); | |
1892 | return swig_this; | |
1893 | } | |
093d3ff1 | 1894 | |
554f62e9 | 1895 | /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ |
093d3ff1 | 1896 | |
554f62e9 RD |
1897 | SWIGRUNTIME PySwigObject * |
1898 | SWIG_Python_GetSwigThis(PyObject *pyobj) | |
093d3ff1 | 1899 | { |
554f62e9 RD |
1900 | if (PySwigObject_Check(pyobj)) { |
1901 | return (PySwigObject *) pyobj; | |
1902 | } else { | |
1903 | PyObject *obj = 0; | |
1904 | #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) | |
1905 | if (PyInstance_Check(pyobj)) { | |
1906 | obj = _PyInstance_Lookup(pyobj, SWIG_This()); | |
1907 | } else { | |
1908 | PyObject **dictptr = _PyObject_GetDictPtr(pyobj); | |
1909 | if (dictptr != NULL) { | |
1910 | PyObject *dict = *dictptr; | |
1911 | obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0; | |
1912 | } else { | |
1913 | #ifdef PyWeakref_CheckProxy | |
1914 | if (PyWeakref_CheckProxy(pyobj)) { | |
1915 | PyObject *wobj = PyWeakref_GET_OBJECT(pyobj); | |
1916 | return wobj ? SWIG_Python_GetSwigThis(wobj) : 0; | |
1917 | } | |
1918 | #endif | |
1919 | obj = PyObject_GetAttr(pyobj,SWIG_This()); | |
1920 | if (obj) { | |
1921 | Py_DECREF(obj); | |
093d3ff1 | 1922 | } else { |
554f62e9 RD |
1923 | if (PyErr_Occurred()) PyErr_Clear(); |
1924 | return 0; | |
093d3ff1 | 1925 | } |
093d3ff1 | 1926 | } |
554f62e9 RD |
1927 | } |
1928 | #else | |
1929 | obj = PyObject_GetAttr(pyobj,SWIG_This()); | |
1930 | if (obj) { | |
1931 | Py_DECREF(obj); | |
1932 | } else { | |
1933 | if (PyErr_Occurred()) PyErr_Clear(); | |
1934 | return 0; | |
1935 | } | |
1936 | #endif | |
1937 | if (obj && !PySwigObject_Check(obj)) { | |
1938 | /* a PyObject is called 'this', try to get the 'real this' | |
1939 | PySwigObject from it */ | |
1940 | return SWIG_Python_GetSwigThis(obj); | |
1941 | } | |
1942 | return (PySwigObject *)obj; | |
093d3ff1 RD |
1943 | } |
1944 | } | |
1945 | ||
554f62e9 RD |
1946 | /* Acquire a pointer value */ |
1947 | ||
1948 | SWIGRUNTIME int | |
1949 | SWIG_Python_AcquirePtr(PyObject *obj, int own) { | |
1950 | if (own) { | |
1951 | PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); | |
1952 | if (sobj) { | |
1953 | int oldown = sobj->own; | |
1954 | sobj->own = own; | |
1955 | return oldown; | |
1956 | } | |
093d3ff1 | 1957 | } |
554f62e9 | 1958 | return 0; |
093d3ff1 RD |
1959 | } |
1960 | ||
554f62e9 RD |
1961 | /* Convert a pointer value */ |
1962 | ||
093d3ff1 | 1963 | SWIGRUNTIME int |
554f62e9 RD |
1964 | SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) { |
1965 | if (!obj) return SWIG_ERROR; | |
1966 | if (obj == Py_None) { | |
1967 | if (ptr) *ptr = 0; | |
1968 | return SWIG_OK; | |
1969 | } else { | |
1970 | PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); | |
1971 | while (sobj) { | |
1972 | void *vptr = sobj->ptr; | |
1973 | if (ty) { | |
1974 | swig_type_info *to = sobj->ty; | |
1975 | if (to == ty) { | |
1976 | /* no type cast needed */ | |
1977 | if (ptr) *ptr = vptr; | |
1978 | break; | |
1979 | } else { | |
1980 | swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); | |
1981 | if (!tc) { | |
1982 | sobj = (PySwigObject *)sobj->next; | |
1983 | } else { | |
1984 | if (ptr) *ptr = SWIG_TypeCast(tc,vptr); | |
1985 | break; | |
1986 | } | |
1987 | } | |
093d3ff1 | 1988 | } else { |
554f62e9 RD |
1989 | if (ptr) *ptr = vptr; |
1990 | break; | |
093d3ff1 | 1991 | } |
093d3ff1 | 1992 | } |
554f62e9 RD |
1993 | if (sobj) { |
1994 | if (own) *own = sobj->own; | |
1995 | if (flags & SWIG_POINTER_DISOWN) { | |
1996 | sobj->own = 0; | |
1997 | } | |
1998 | return SWIG_OK; | |
1999 | } else { | |
2000 | int res = SWIG_ERROR; | |
2001 | if (flags & SWIG_POINTER_IMPLICIT_CONV) { | |
2002 | PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; | |
2003 | if (data && !data->implicitconv) { | |
2004 | PyObject *klass = data->klass; | |
2005 | if (klass) { | |
2006 | PyObject *impconv; | |
2007 | data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/ | |
2008 | impconv = SWIG_Python_CallFunctor(klass, obj); | |
2009 | data->implicitconv = 0; | |
2010 | if (PyErr_Occurred()) { | |
2011 | PyErr_Clear(); | |
2012 | impconv = 0; | |
2013 | } | |
2014 | if (impconv) { | |
2015 | PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv); | |
2016 | if (iobj) { | |
2017 | void *vptr; | |
2018 | res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0); | |
2019 | if (SWIG_IsOK(res)) { | |
2020 | if (ptr) { | |
2021 | *ptr = vptr; | |
2022 | /* transfer the ownership to 'ptr' */ | |
2023 | iobj->own = 0; | |
2024 | res = SWIG_AddCast(res); | |
2025 | res = SWIG_AddNewMask(res); | |
2026 | } else { | |
2027 | res = SWIG_AddCast(res); | |
2028 | } | |
2029 | } | |
2030 | } | |
2031 | Py_DECREF(impconv); | |
2032 | } | |
2033 | } | |
2034 | } | |
2035 | } | |
2036 | return res; | |
2037 | } | |
093d3ff1 RD |
2038 | } |
2039 | } | |
2040 | ||
554f62e9 RD |
2041 | /* Convert a function ptr value */ |
2042 | ||
093d3ff1 | 2043 | SWIGRUNTIME int |
554f62e9 RD |
2044 | SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) { |
2045 | if (!PyCFunction_Check(obj)) { | |
2046 | return SWIG_ConvertPtr(obj, ptr, ty, 0); | |
093d3ff1 | 2047 | } else { |
554f62e9 RD |
2048 | void *vptr = 0; |
2049 | ||
2050 | /* here we get the method pointer for callbacks */ | |
2051 | char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); | |
2052 | const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; | |
2053 | if (desc) { | |
2054 | desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0; | |
2055 | if (!desc) return SWIG_ERROR; | |
2056 | } | |
2057 | if (ty) { | |
2058 | swig_cast_info *tc = SWIG_TypeCheck(desc,ty); | |
2059 | if (!tc) return SWIG_ERROR; | |
2060 | *ptr = SWIG_TypeCast(tc,vptr); | |
2061 | } else { | |
2062 | *ptr = vptr; | |
2063 | } | |
2064 | return SWIG_OK; | |
093d3ff1 RD |
2065 | } |
2066 | } | |
2067 | ||
554f62e9 | 2068 | /* Convert a packed value value */ |
093d3ff1 | 2069 | |
093d3ff1 | 2070 | SWIGRUNTIME int |
554f62e9 RD |
2071 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) { |
2072 | swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz); | |
2073 | if (!to) return SWIG_ERROR; | |
2074 | if (ty) { | |
2075 | if (to != ty) { | |
2076 | /* check type cast? */ | |
2077 | swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); | |
2078 | if (!tc) return SWIG_ERROR; | |
2079 | } | |
093d3ff1 | 2080 | } |
554f62e9 RD |
2081 | return SWIG_OK; |
2082 | } | |
093d3ff1 | 2083 | |
554f62e9 RD |
2084 | /* ----------------------------------------------------------------------------- |
2085 | * Create a new pointer object | |
2086 | * ----------------------------------------------------------------------------- */ | |
093d3ff1 | 2087 | |
554f62e9 RD |
2088 | /* |
2089 | Create a new instance object, whitout calling __init__, and set the | |
2090 | 'this' attribute. | |
2091 | */ | |
093d3ff1 | 2092 | |
554f62e9 RD |
2093 | SWIGRUNTIME PyObject* |
2094 | SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this) | |
2095 | { | |
2096 | #if (PY_VERSION_HEX >= 0x02020000) | |
2097 | PyObject *inst = 0; | |
2098 | PyObject *newraw = data->newraw; | |
2099 | if (newraw) { | |
2100 | inst = PyObject_Call(newraw, data->newargs, NULL); | |
2101 | if (inst) { | |
2102 | #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) | |
2103 | PyObject **dictptr = _PyObject_GetDictPtr(inst); | |
2104 | if (dictptr != NULL) { | |
2105 | PyObject *dict = *dictptr; | |
2106 | if (dict == NULL) { | |
2107 | dict = PyDict_New(); | |
2108 | *dictptr = dict; | |
2109 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2110 | } | |
093d3ff1 | 2111 | } |
554f62e9 RD |
2112 | #else |
2113 | PyObject *key = SWIG_This(); | |
2114 | PyObject_SetAttr(inst, key, swig_this); | |
2115 | #endif | |
093d3ff1 | 2116 | } |
554f62e9 RD |
2117 | } else { |
2118 | PyObject *dict = PyDict_New(); | |
2119 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2120 | inst = PyInstance_NewRaw(data->newargs, dict); | |
2121 | Py_DECREF(dict); | |
093d3ff1 | 2122 | } |
554f62e9 RD |
2123 | return inst; |
2124 | #else | |
2125 | #if (PY_VERSION_HEX >= 0x02010000) | |
2126 | PyObject *inst; | |
2127 | PyObject *dict = PyDict_New(); | |
2128 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2129 | inst = PyInstance_NewRaw(data->newargs, dict); | |
2130 | Py_DECREF(dict); | |
2131 | return (PyObject *) inst; | |
2132 | #else | |
2133 | PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type); | |
2134 | if (inst == NULL) { | |
2135 | return NULL; | |
093d3ff1 | 2136 | } |
554f62e9 RD |
2137 | inst->in_class = (PyClassObject *)data->newargs; |
2138 | Py_INCREF(inst->in_class); | |
2139 | inst->in_dict = PyDict_New(); | |
2140 | if (inst->in_dict == NULL) { | |
2141 | Py_DECREF(inst); | |
2142 | return NULL; | |
093d3ff1 | 2143 | } |
554f62e9 RD |
2144 | #ifdef Py_TPFLAGS_HAVE_WEAKREFS |
2145 | inst->in_weakreflist = NULL; | |
2146 | #endif | |
2147 | #ifdef Py_TPFLAGS_GC | |
2148 | PyObject_GC_Init(inst); | |
2149 | #endif | |
2150 | PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this); | |
2151 | return (PyObject *) inst; | |
2152 | #endif | |
2153 | #endif | |
093d3ff1 RD |
2154 | } |
2155 | ||
554f62e9 RD |
2156 | SWIGRUNTIME void |
2157 | SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) | |
2158 | { | |
2159 | PyObject *dict; | |
2160 | #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) | |
2161 | PyObject **dictptr = _PyObject_GetDictPtr(inst); | |
2162 | if (dictptr != NULL) { | |
2163 | dict = *dictptr; | |
2164 | if (dict == NULL) { | |
2165 | dict = PyDict_New(); | |
2166 | *dictptr = dict; | |
2167 | } | |
2168 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2169 | return; | |
2170 | } | |
093d3ff1 | 2171 | #endif |
554f62e9 RD |
2172 | dict = PyObject_GetAttrString(inst, "__dict__"); |
2173 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2174 | Py_DECREF(dict); | |
2175 | } | |
093d3ff1 | 2176 | |
554f62e9 RD |
2177 | |
2178 | SWIGINTERN PyObject * | |
2179 | SWIG_Python_InitShadowInstance(PyObject *args) { | |
2180 | PyObject *obj[2]; | |
2181 | if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) { | |
2182 | return NULL; | |
2183 | } else { | |
2184 | PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]); | |
2185 | if (sthis) { | |
2186 | PySwigObject_append((PyObject*) sthis, obj[1]); | |
093d3ff1 | 2187 | } else { |
554f62e9 | 2188 | SWIG_Python_SetSwigThis(obj[0], obj[1]); |
093d3ff1 | 2189 | } |
554f62e9 | 2190 | return SWIG_Py_Void(); |
093d3ff1 | 2191 | } |
554f62e9 RD |
2192 | } |
2193 | ||
2194 | /* Create a new pointer object */ | |
093d3ff1 | 2195 | |
093d3ff1 | 2196 | SWIGRUNTIME PyObject * |
554f62e9 | 2197 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) { |
093d3ff1 | 2198 | if (!ptr) { |
554f62e9 RD |
2199 | return SWIG_Py_Void(); |
2200 | } else { | |
2201 | int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0; | |
2202 | PyObject *robj = PySwigObject_New(ptr, type, own); | |
2203 | PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0; | |
2204 | if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) { | |
2205 | PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj); | |
2206 | if (inst) { | |
2207 | Py_DECREF(robj); | |
2208 | robj = inst; | |
093d3ff1 | 2209 | } |
093d3ff1 | 2210 | } |
554f62e9 | 2211 | return robj; |
093d3ff1 | 2212 | } |
093d3ff1 RD |
2213 | } |
2214 | ||
554f62e9 RD |
2215 | /* Create a new packed object */ |
2216 | ||
2217 | SWIGRUNTIMEINLINE PyObject * | |
093d3ff1 | 2218 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { |
554f62e9 | 2219 | return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void(); |
093d3ff1 RD |
2220 | } |
2221 | ||
2222 | /* -----------------------------------------------------------------------------* | |
2223 | * Get type list | |
2224 | * -----------------------------------------------------------------------------*/ | |
2225 | ||
2226 | #ifdef SWIG_LINK_RUNTIME | |
2227 | void *SWIG_ReturnGlobalTypeList(void *); | |
2228 | #endif | |
2229 | ||
7449af73 RD |
2230 | SWIGRUNTIME swig_module_info * |
2231 | SWIG_Python_GetModule(void) { | |
093d3ff1 RD |
2232 | static void *type_pointer = (void *)0; |
2233 | /* first check if module already created */ | |
2234 | if (!type_pointer) { | |
2235 | #ifdef SWIG_LINK_RUNTIME | |
2236 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
2237 | #else | |
2238 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
2239 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
2240 | if (PyErr_Occurred()) { | |
2241 | PyErr_Clear(); | |
2242 | type_pointer = (void *)0; | |
2243 | } | |
093d3ff1 | 2244 | #endif |
7449af73 RD |
2245 | } |
2246 | return (swig_module_info *) type_pointer; | |
093d3ff1 RD |
2247 | } |
2248 | ||
7449af73 RD |
2249 | #if PY_MAJOR_VERSION < 2 |
2250 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
554f62e9 | 2251 | is copied out of Python/modsupport.c in python version 2.3.4 */ |
7449af73 RD |
2252 | SWIGINTERN int |
2253 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
2254 | { | |
2255 | PyObject *dict; | |
2256 | if (!PyModule_Check(m)) { | |
2257 | PyErr_SetString(PyExc_TypeError, | |
2258 | "PyModule_AddObject() needs module as first arg"); | |
554f62e9 | 2259 | return SWIG_ERROR; |
7449af73 RD |
2260 | } |
2261 | if (!o) { | |
2262 | PyErr_SetString(PyExc_TypeError, | |
2263 | "PyModule_AddObject() needs non-NULL value"); | |
554f62e9 | 2264 | return SWIG_ERROR; |
7449af73 RD |
2265 | } |
2266 | ||
2267 | dict = PyModule_GetDict(m); | |
2268 | if (dict == NULL) { | |
2269 | /* Internal error -- modules must have a dict! */ | |
2270 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
2271 | PyModule_GetName(m)); | |
554f62e9 | 2272 | return SWIG_ERROR; |
7449af73 RD |
2273 | } |
2274 | if (PyDict_SetItemString(dict, name, o)) | |
554f62e9 | 2275 | return SWIG_ERROR; |
7449af73 | 2276 | Py_DECREF(o); |
554f62e9 | 2277 | return SWIG_OK; |
093d3ff1 | 2278 | } |
7449af73 | 2279 | #endif |
093d3ff1 | 2280 | |
554f62e9 RD |
2281 | SWIGRUNTIME void |
2282 | SWIG_Python_DestroyModule(void *vptr) | |
2283 | { | |
2284 | swig_module_info *swig_module = (swig_module_info *) vptr; | |
2285 | swig_type_info **types = swig_module->types; | |
2286 | size_t i; | |
2287 | for (i =0; i < swig_module->size; ++i) { | |
2288 | swig_type_info *ty = types[i]; | |
2289 | if (ty->owndata) { | |
2290 | PySwigClientData *data = (PySwigClientData *) ty->clientdata; | |
2291 | if (data) PySwigClientData_Del(data); | |
2292 | } | |
2293 | } | |
2294 | Py_DECREF(SWIG_This()); | |
2295 | } | |
2296 | ||
7449af73 RD |
2297 | SWIGRUNTIME void |
2298 | SWIG_Python_SetModule(swig_module_info *swig_module) { | |
2299 | static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ | |
2300 | ||
2301 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
2302 | swig_empty_runtime_method_table); | |
554f62e9 | 2303 | PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule); |
7449af73 RD |
2304 | if (pointer && module) { |
2305 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
554f62e9 RD |
2306 | } else { |
2307 | Py_XDECREF(pointer); | |
7449af73 RD |
2308 | } |
2309 | } | |
8edf1c75 | 2310 | |
554f62e9 RD |
2311 | /* The python cached type query */ |
2312 | SWIGRUNTIME PyObject * | |
2313 | SWIG_Python_TypeCache() { | |
2314 | static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New(); | |
2315 | return cache; | |
093d3ff1 | 2316 | } |
554f62e9 RD |
2317 | |
2318 | SWIGRUNTIME swig_type_info * | |
2319 | SWIG_Python_TypeQuery(const char *type) | |
2320 | { | |
2321 | PyObject *cache = SWIG_Python_TypeCache(); | |
2322 | PyObject *key = PyString_FromString(type); | |
2323 | PyObject *obj = PyDict_GetItem(cache, key); | |
2324 | swig_type_info *descriptor; | |
2325 | if (obj) { | |
2326 | descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj); | |
2327 | } else { | |
2328 | swig_module_info *swig_module = SWIG_Python_GetModule(); | |
2329 | descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type); | |
2330 | if (descriptor) { | |
2331 | obj = PyCObject_FromVoidPtr(descriptor, NULL); | |
2332 | PyDict_SetItem(cache, key, obj); | |
2333 | Py_DECREF(obj); | |
2334 | } | |
2335 | } | |
2336 | Py_DECREF(key); | |
2337 | return descriptor; | |
2338 | } | |
2339 | ||
2340 | /* | |
2341 | For backward compatibility only | |
2342 | */ | |
2343 | #define SWIG_POINTER_EXCEPTION 0 | |
2344 | #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) | |
2345 | #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
2346 | ||
2347 | SWIGRUNTIME int | |
2348 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
2349 | { | |
2350 | if (PyErr_Occurred()) { | |
2351 | PyObject *type = 0; | |
2352 | PyObject *value = 0; | |
2353 | PyObject *traceback = 0; | |
2354 | PyErr_Fetch(&type, &value, &traceback); | |
2355 | if (value) { | |
2356 | PyObject *old_str = PyObject_Str(value); | |
2357 | Py_XINCREF(type); | |
2358 | PyErr_Clear(); | |
2359 | if (infront) { | |
2360 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
2361 | } else { | |
2362 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
2363 | } | |
2364 | Py_DECREF(old_str); | |
2365 | } | |
2366 | return 1; | |
2367 | } else { | |
2368 | return 0; | |
2369 | } | |
2370 | } | |
2371 | ||
2372 | SWIGRUNTIME int | |
2373 | SWIG_Python_ArgFail(int argnum) | |
2374 | { | |
2375 | if (PyErr_Occurred()) { | |
2376 | /* add information about failing argument */ | |
2377 | char mesg[256]; | |
2378 | PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); | |
2379 | return SWIG_Python_AddErrMesg(mesg, 1); | |
2380 | } else { | |
2381 | return 0; | |
2382 | } | |
2383 | } | |
2384 | ||
2385 | SWIGRUNTIMEINLINE const char * | |
2386 | PySwigObject_GetDesc(PyObject *self) | |
2387 | { | |
2388 | PySwigObject *v = (PySwigObject *)self; | |
2389 | swig_type_info *ty = v ? v->ty : 0; | |
2390 | return ty ? ty->str : (char*)""; | |
2391 | } | |
2392 | ||
2393 | SWIGRUNTIME void | |
2394 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
2395 | { | |
2396 | if (type) { | |
2397 | #if defined(SWIG_COBJECT_TYPES) | |
2398 | if (obj && PySwigObject_Check(obj)) { | |
2399 | const char *otype = (const char *) PySwigObject_GetDesc(obj); | |
2400 | if (otype) { | |
2401 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", | |
2402 | type, otype); | |
2403 | return; | |
2404 | } | |
2405 | } else | |
2406 | #endif | |
2407 | { | |
2408 | const char *otype = (obj ? obj->ob_type->tp_name : 0); | |
2409 | if (otype) { | |
2410 | PyObject *str = PyObject_Str(obj); | |
2411 | const char *cstr = str ? PyString_AsString(str) : 0; | |
2412 | if (cstr) { | |
2413 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", | |
2414 | type, otype, cstr); | |
2415 | } else { | |
2416 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", | |
2417 | type, otype); | |
2418 | } | |
2419 | Py_XDECREF(str); | |
2420 | return; | |
2421 | } | |
2422 | } | |
2423 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
2424 | } else { | |
2425 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
2426 | } | |
2427 | } | |
2428 | ||
2429 | ||
2430 | /* Convert a pointer value, signal an exception on a type mismatch */ | |
2431 | SWIGRUNTIME void * | |
2432 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
2433 | void *result; | |
2434 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
2435 | PyErr_Clear(); | |
2436 | if (flags & SWIG_POINTER_EXCEPTION) { | |
2437 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
2438 | SWIG_Python_ArgFail(argnum); | |
2439 | } | |
2440 | } | |
2441 | return result; | |
2442 | } | |
2443 | ||
2444 | ||
2445 | #ifdef __cplusplus | |
2446 | #if 0 | |
2447 | { /* cc-mode */ | |
2448 | #endif | |
2449 | } | |
2450 | #endif | |
2451 | ||
2452 | ||
2453 | ||
2454 | #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) | |
2455 | ||
2456 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else | |
2457 | ||
2458 | ||
2459 | ||
2460 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
2f4c0a16 | 2461 | |
7449af73 RD |
2462 | #define SWIGTYPE_p_bool swig_types[0] |
2463 | #define SWIGTYPE_p_char swig_types[1] | |
2464 | #define SWIGTYPE_p_form_ops_t swig_types[2] | |
2465 | #define SWIGTYPE_p_int swig_types[3] | |
2466 | #define SWIGTYPE_p_unsigned_char swig_types[4] | |
2467 | #define SWIGTYPE_p_unsigned_int swig_types[5] | |
2468 | #define SWIGTYPE_p_unsigned_long swig_types[6] | |
2469 | #define SWIGTYPE_p_wxANIHandler swig_types[7] | |
2470 | #define SWIGTYPE_p_wxAcceleratorTable swig_types[8] | |
2471 | #define SWIGTYPE_p_wxActivateEvent swig_types[9] | |
2472 | #define SWIGTYPE_p_wxBMPHandler swig_types[10] | |
2473 | #define SWIGTYPE_p_wxBitmap swig_types[11] | |
2474 | #define SWIGTYPE_p_wxBoxSizer swig_types[12] | |
2475 | #define SWIGTYPE_p_wxCURHandler swig_types[13] | |
2476 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14] | |
2477 | #define SWIGTYPE_p_wxChildFocusEvent swig_types[15] | |
2478 | #define SWIGTYPE_p_wxCloseEvent swig_types[16] | |
2479 | #define SWIGTYPE_p_wxColour swig_types[17] | |
2480 | #define SWIGTYPE_p_wxColourData swig_types[18] | |
2481 | #define SWIGTYPE_p_wxColourDialog swig_types[19] | |
2482 | #define SWIGTYPE_p_wxCommandEvent swig_types[20] | |
2483 | #define SWIGTYPE_p_wxConfigBase swig_types[21] | |
2484 | #define SWIGTYPE_p_wxContextMenuEvent swig_types[22] | |
2485 | #define SWIGTYPE_p_wxControl swig_types[23] | |
2486 | #define SWIGTYPE_p_wxControlWithItems swig_types[24] | |
2487 | #define SWIGTYPE_p_wxCursor swig_types[25] | |
2488 | #define SWIGTYPE_p_wxDC swig_types[26] | |
2489 | #define SWIGTYPE_p_wxDateEvent swig_types[27] | |
2490 | #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[28] | |
2491 | #define SWIGTYPE_p_wxDialog swig_types[29] | |
2492 | #define SWIGTYPE_p_wxDirDialog swig_types[30] | |
2493 | #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31] | |
2494 | #define SWIGTYPE_p_wxDropFilesEvent swig_types[32] | |
2495 | #define SWIGTYPE_p_wxDuplexMode swig_types[33] | |
2496 | #define SWIGTYPE_p_wxEraseEvent swig_types[34] | |
2497 | #define SWIGTYPE_p_wxEvent swig_types[35] | |
2498 | #define SWIGTYPE_p_wxEvtHandler swig_types[36] | |
2499 | #define SWIGTYPE_p_wxFSFile swig_types[37] | |
2500 | #define SWIGTYPE_p_wxFileDialog swig_types[38] | |
2501 | #define SWIGTYPE_p_wxFileSystem swig_types[39] | |
2502 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[40] | |
2503 | #define SWIGTYPE_p_wxFindReplaceData swig_types[41] | |
2504 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[42] | |
2505 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[43] | |
2506 | #define SWIGTYPE_p_wxFocusEvent swig_types[44] | |
2507 | #define SWIGTYPE_p_wxFont swig_types[45] | |
2508 | #define SWIGTYPE_p_wxFontData swig_types[46] | |
2509 | #define SWIGTYPE_p_wxFontDialog swig_types[47] | |
2510 | #define SWIGTYPE_p_wxFrame swig_types[48] | |
2511 | #define SWIGTYPE_p_wxGBSizerItem swig_types[49] | |
2512 | #define SWIGTYPE_p_wxGIFHandler swig_types[50] | |
2513 | #define SWIGTYPE_p_wxGridBagSizer swig_types[51] | |
2514 | #define SWIGTYPE_p_wxGridSizer swig_types[52] | |
2515 | #define SWIGTYPE_p_wxHelpControllerBase swig_types[53] | |
2516 | #define SWIGTYPE_p_wxHelpSearchMode swig_types[54] | |
2517 | #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[55] | |
2518 | #define SWIGTYPE_p_wxHtmlBookRecord swig_types[56] | |
2519 | #define SWIGTYPE_p_wxHtmlCell swig_types[57] | |
2520 | #define SWIGTYPE_p_wxHtmlColourCell swig_types[58] | |
2521 | #define SWIGTYPE_p_wxHtmlContainerCell swig_types[59] | |
2522 | #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[60] | |
2523 | #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[61] | |
2524 | #define SWIGTYPE_p_wxHtmlFilter swig_types[62] | |
2525 | #define SWIGTYPE_p_wxHtmlFontCell swig_types[63] | |
2526 | #define SWIGTYPE_p_wxHtmlHelpController swig_types[64] | |
2527 | #define SWIGTYPE_p_wxHtmlHelpData swig_types[65] | |
2528 | #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[66] | |
2529 | #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[67] | |
2530 | #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[68] | |
2531 | #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[69] | |
2532 | #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[70] | |
2533 | #define SWIGTYPE_p_wxHtmlModalHelp swig_types[71] | |
2534 | #define SWIGTYPE_p_wxHtmlParser swig_types[72] | |
2535 | #define SWIGTYPE_p_wxHtmlPrintout swig_types[73] | |
2536 | #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[74] | |
2537 | #define SWIGTYPE_p_wxHtmlRenderingState swig_types[75] | |
2538 | #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[76] | |
2539 | #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[77] | |
2540 | #define SWIGTYPE_p_wxHtmlSelection swig_types[78] | |
2541 | #define SWIGTYPE_p_wxHtmlTag swig_types[79] | |
2542 | #define SWIGTYPE_p_wxHtmlTagHandler swig_types[80] | |
2543 | #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[81] | |
2544 | #define SWIGTYPE_p_wxHtmlWinParser swig_types[82] | |
2545 | #define SWIGTYPE_p_wxHtmlWindow swig_types[83] | |
2546 | #define SWIGTYPE_p_wxHtmlWindowEvent swig_types[84] | |
2547 | #define SWIGTYPE_p_wxHtmlWordCell swig_types[85] | |
2548 | #define SWIGTYPE_p_wxICOHandler swig_types[86] | |
2549 | #define SWIGTYPE_p_wxIconizeEvent swig_types[87] | |
2550 | #define SWIGTYPE_p_wxIdleEvent swig_types[88] | |
2551 | #define SWIGTYPE_p_wxImage swig_types[89] | |
2552 | #define SWIGTYPE_p_wxImageHandler swig_types[90] | |
2553 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[91] | |
2554 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[92] | |
2555 | #define SWIGTYPE_p_wxJPEGHandler swig_types[93] | |
2556 | #define SWIGTYPE_p_wxKeyEvent swig_types[94] | |
2557 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[95] | |
2558 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[96] | |
2559 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[97] | |
2560 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[98] | |
2561 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[99] | |
2562 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[100] | |
2563 | #define SWIGTYPE_p_wxMenu swig_types[101] | |
2564 | #define SWIGTYPE_p_wxMenuBar swig_types[102] | |
2565 | #define SWIGTYPE_p_wxMenuEvent swig_types[103] | |
2566 | #define SWIGTYPE_p_wxMenuItem swig_types[104] | |
2567 | #define SWIGTYPE_p_wxMessageDialog swig_types[105] | |
2568 | #define SWIGTYPE_p_wxMiniFrame swig_types[106] | |
2569 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[107] | |
2570 | #define SWIGTYPE_p_wxMouseEvent swig_types[108] | |
2571 | #define SWIGTYPE_p_wxMoveEvent swig_types[109] | |
2572 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[110] | |
2573 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[111] | |
2574 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[112] | |
2575 | #define SWIGTYPE_p_wxNotifyEvent swig_types[113] | |
2576 | #define SWIGTYPE_p_wxObject swig_types[114] | |
2577 | #define SWIGTYPE_p_wxPCXHandler swig_types[115] | |
2578 | #define SWIGTYPE_p_wxPNGHandler swig_types[116] | |
2579 | #define SWIGTYPE_p_wxPNMHandler swig_types[117] | |
2580 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[118] | |
2581 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[119] | |
2582 | #define SWIGTYPE_p_wxPaintEvent swig_types[120] | |
2583 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[121] | |
2584 | #define SWIGTYPE_p_wxPanel swig_types[122] | |
2585 | #define SWIGTYPE_p_wxPaperSize swig_types[123] | |
2586 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[124] | |
2587 | #define SWIGTYPE_p_wxPoint swig_types[125] | |
2588 | #define SWIGTYPE_p_wxPopupWindow swig_types[126] | |
2589 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[127] | |
2590 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[128] | |
2591 | #define SWIGTYPE_p_wxPreviewFrame swig_types[129] | |
2592 | #define SWIGTYPE_p_wxPrintData swig_types[130] | |
2593 | #define SWIGTYPE_p_wxPrintDialog swig_types[131] | |
2594 | #define SWIGTYPE_p_wxPrintDialogData swig_types[132] | |
2595 | #define SWIGTYPE_p_wxPrintPreview swig_types[133] | |
2596 | #define SWIGTYPE_p_wxPrinter swig_types[134] | |
2597 | #define SWIGTYPE_p_wxProgressDialog swig_types[135] | |
2598 | #define SWIGTYPE_p_wxPyApp swig_types[136] | |
2599 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[137] | |
2600 | #define SWIGTYPE_p_wxPyEvent swig_types[138] | |
2601 | #define SWIGTYPE_p_wxPyHtmlFilter swig_types[139] | |
2602 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[140] | |
2603 | #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[141] | |
2604 | #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[142] | |
2605 | #define SWIGTYPE_p_wxPyHtmlWindow swig_types[143] | |
2606 | #define SWIGTYPE_p_wxPyImageHandler swig_types[144] | |
2607 | #define SWIGTYPE_p_wxPyPanel swig_types[145] | |
2608 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[146] | |
2609 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[147] | |
2610 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[148] | |
2611 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[149] | |
2612 | #define SWIGTYPE_p_wxPyPrintout swig_types[150] | |
2613 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[151] | |
2614 | #define SWIGTYPE_p_wxPySizer swig_types[152] | |
2615 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[153] | |
2616 | #define SWIGTYPE_p_wxPyVListBox swig_types[154] | |
2617 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[155] | |
2618 | #define SWIGTYPE_p_wxPyValidator swig_types[156] | |
2619 | #define SWIGTYPE_p_wxPyWindow swig_types[157] | |
2620 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[158] | |
2621 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[159] | |
2622 | #define SWIGTYPE_p_wxSashEvent swig_types[160] | |
2623 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[161] | |
2624 | #define SWIGTYPE_p_wxSashWindow swig_types[162] | |
2625 | #define SWIGTYPE_p_wxScrollEvent swig_types[163] | |
2626 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[164] | |
2627 | #define SWIGTYPE_p_wxScrolledWindow swig_types[165] | |
2628 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[166] | |
2629 | #define SWIGTYPE_p_wxShowEvent swig_types[167] | |
2630 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[168] | |
2631 | #define SWIGTYPE_p_wxSize swig_types[169] | |
2632 | #define SWIGTYPE_p_wxSizeEvent swig_types[170] | |
2633 | #define SWIGTYPE_p_wxSizer swig_types[171] | |
2634 | #define SWIGTYPE_p_wxSizerItem swig_types[172] | |
2635 | #define SWIGTYPE_p_wxSplashScreen swig_types[173] | |
2636 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[174] | |
2637 | #define SWIGTYPE_p_wxSplitterEvent swig_types[175] | |
2638 | #define SWIGTYPE_p_wxSplitterWindow swig_types[176] | |
2639 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[177] | |
2640 | #define SWIGTYPE_p_wxStatusBar swig_types[178] | |
2641 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[179] | |
2642 | #define SWIGTYPE_p_wxString swig_types[180] | |
2643 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[181] | |
2644 | #define SWIGTYPE_p_wxTIFFHandler swig_types[182] | |
2645 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[183] | |
2646 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[184] | |
2647 | #define SWIGTYPE_p_wxTipWindow swig_types[185] | |
2648 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[186] | |
2649 | #define SWIGTYPE_p_wxTreeCtrl swig_types[187] | |
2650 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[188] | |
2651 | #define SWIGTYPE_p_wxValidator swig_types[189] | |
2652 | #define SWIGTYPE_p_wxVisualAttributes swig_types[190] | |
2653 | #define SWIGTYPE_p_wxWindow swig_types[191] | |
2654 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[192] | |
2655 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[193] | |
2656 | #define SWIGTYPE_p_wxXPMHandler swig_types[194] | |
554f62e9 RD |
2657 | static swig_type_info *swig_types[196]; |
2658 | static swig_module_info swig_module = {swig_types, 195, 0, 0, 0, 0}; | |
7449af73 RD |
2659 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
2660 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
8edf1c75 | 2661 | |
093d3ff1 | 2662 | /* -------- TYPES TABLE (END) -------- */ |
8edf1c75 | 2663 | |
554f62e9 RD |
2664 | #if (PY_VERSION_HEX <= 0x02000000) |
2665 | # if !defined(SWIG_PYTHON_CLASSIC) | |
2666 | # error "This python version requires to use swig with the '-classic' option" | |
2667 | # endif | |
2668 | #endif | |
2669 | #if (PY_VERSION_HEX <= 0x02020000) | |
2670 | # error "This python version requires to use swig with the '-nomodern' option" | |
2671 | #endif | |
2672 | #if (PY_VERSION_HEX <= 0x02020000) | |
2673 | # error "This python version requires to use swig with the '-nomodernargs' option" | |
2674 | #endif | |
2675 | #ifndef METH_O | |
2676 | # error "This python version requires to use swig with the '-nofastunpack' option" | |
2677 | #endif | |
8edf1c75 | 2678 | |
093d3ff1 RD |
2679 | /*----------------------------------------------- |
2680 | @(target):= _html.so | |
2681 | ------------------------------------------------*/ | |
2682 | #define SWIG_init init_html | |
2683 | ||
2684 | #define SWIG_name "_html" | |
8edf1c75 | 2685 | |
554f62e9 RD |
2686 | #define SWIGVERSION 0x010329 |
2687 | ||
2688 | ||
2689 | #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) | |
2690 | #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) | |
2691 | ||
2692 | ||
2693 | #include <stdexcept> | |
2694 | ||
2695 | ||
2696 | namespace swig { | |
2697 | class PyObject_ptr { | |
2698 | protected: | |
2699 | PyObject *_obj; | |
2700 | ||
2701 | public: | |
2702 | PyObject_ptr() :_obj(0) | |
2703 | { | |
2704 | } | |
2705 | ||
2706 | PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) | |
2707 | { | |
2708 | Py_XINCREF(_obj); | |
2709 | } | |
2710 | ||
2711 | PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) | |
2712 | { | |
2713 | if (initial_ref) Py_XINCREF(_obj); | |
2714 | } | |
2715 | ||
2716 | PyObject_ptr & operator=(const PyObject_ptr& item) | |
2717 | { | |
2718 | Py_XINCREF(item._obj); | |
2719 | Py_XDECREF(_obj); | |
2720 | _obj = item._obj; | |
2721 | return *this; | |
2722 | } | |
2723 | ||
2724 | ~PyObject_ptr() | |
2725 | { | |
2726 | Py_XDECREF(_obj); | |
2727 | } | |
2728 | ||
2729 | operator PyObject *() const | |
2730 | { | |
2731 | return _obj; | |
2732 | } | |
2733 | ||
2734 | PyObject *operator->() const | |
2735 | { | |
2736 | return _obj; | |
2737 | } | |
2738 | }; | |
2739 | } | |
2740 | ||
2741 | ||
2742 | namespace swig { | |
2743 | struct PyObject_var : PyObject_ptr { | |
2744 | PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } | |
2745 | ||
2746 | PyObject_var & operator = (PyObject* obj) | |
2747 | { | |
2748 | Py_XDECREF(_obj); | |
2749 | _obj = obj; | |
2750 | return *this; | |
2751 | } | |
2752 | }; | |
2753 | } | |
2754 | ||
2755 | ||
d14a1e28 RD |
2756 | #include "wx/wxPython/wxPython.h" |
2757 | #include "wx/wxPython/pyclasses.h" | |
2758 | #include "wx/wxPython/pyistream.h" | |
2759 | #include "wx/wxPython/printfw.h" | |
2760 | ||
2761 | #include <wx/html/htmlwin.h> | |
2762 | #include <wx/html/htmprint.h> | |
2763 | #include <wx/html/helpctrl.h> | |
7449af73 RD |
2764 | #include <wx/html/helpwnd.h> |
2765 | #include <wx/html/helpfrm.h> | |
2766 | #include <wx/html/helpdlg.h> | |
d14a1e28 RD |
2767 | |
2768 | ||
d03fd34d RD |
2769 | static const wxString wxPyEmptyString(wxEmptyString); |
2770 | static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow")); | |
2771 | static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout")); | |
2772 | static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing")); | |
8edf1c75 | 2773 | |
554f62e9 | 2774 | #define SWIG_From_long PyInt_FromLong |
093d3ff1 RD |
2775 | |
2776 | ||
554f62e9 RD |
2777 | SWIGINTERNINLINE PyObject * |
2778 | SWIG_From_int (int value) | |
2779 | { | |
2780 | return SWIG_From_long (value); | |
2781 | } | |
2f4c0a16 RD |
2782 | |
2783 | ||
554f62e9 RD |
2784 | #include <limits.h> |
2785 | #ifndef LLONG_MIN | |
2786 | # define LLONG_MIN LONG_LONG_MIN | |
2787 | #endif | |
2788 | #ifndef LLONG_MAX | |
2789 | # define LLONG_MAX LONG_LONG_MAX | |
2790 | #endif | |
2791 | #ifndef ULLONG_MAX | |
2792 | # define ULLONG_MAX ULONG_LONG_MAX | |
2793 | #endif | |
2f4c0a16 RD |
2794 | |
2795 | ||
093d3ff1 | 2796 | SWIGINTERN int |
554f62e9 | 2797 | SWIG_AsVal_long (PyObject* obj, long* val) |
2f4c0a16 | 2798 | { |
c32bde28 RD |
2799 | if (PyNumber_Check(obj)) { |
2800 | if (val) *val = PyInt_AsLong(obj); | |
554f62e9 | 2801 | return SWIG_OK; |
c32bde28 | 2802 | } |
554f62e9 | 2803 | return SWIG_TypeError; |
2f4c0a16 RD |
2804 | } |
2805 | ||
2806 | ||
093d3ff1 | 2807 | SWIGINTERN int |
554f62e9 RD |
2808 | SWIG_AsVal_int (PyObject * obj, int *val) |
2809 | { | |
c32bde28 | 2810 | long v; |
554f62e9 RD |
2811 | int res = SWIG_AsVal_long (obj, &v); |
2812 | if (SWIG_IsOK(res)) { | |
2813 | if ((v < INT_MIN || v > INT_MAX)) { | |
2814 | return SWIG_OverflowError; | |
c32bde28 | 2815 | } else { |
554f62e9 | 2816 | if (val) *val = static_cast< int >(v); |
c32bde28 | 2817 | } |
554f62e9 RD |
2818 | } |
2819 | return res; | |
8edf1c75 RD |
2820 | } |
2821 | ||
554f62e9 | 2822 | SWIGINTERN void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
2823 | int* temp = NULL; |
2824 | if (sizes) temp = int_LIST_helper(sizes); | |
2825 | self->SetFonts(normal_face, fixed_face, temp); | |
2826 | if (temp) | |
2827 | delete [] temp; | |
2828 | } | |
2829 | ||
2830 | class wxPyHtmlTagHandler : public wxHtmlTagHandler { | |
7449af73 | 2831 | DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler) |
d14a1e28 RD |
2832 | public: |
2833 | wxPyHtmlTagHandler() : wxHtmlTagHandler() {}; | |
2834 | ||
2835 | wxHtmlParser* GetParser() { return m_Parser; } | |
2836 | void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); } | |
2837 | ||
2838 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
2839 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
2840 | ||
2841 | PYPRIVATE; | |
2842 | }; | |
2843 | ||
2844 | IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler); | |
2845 | ||
2846 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags); | |
2847 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag); | |
2848 | ||
2849 | ||
2850 | class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler { | |
7449af73 | 2851 | DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler) |
d14a1e28 RD |
2852 | public: |
2853 | wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {}; | |
2854 | ||
2855 | wxHtmlWinParser* GetParser() { return m_WParser; } | |
2856 | void ParseInner(const wxHtmlTag& tag) | |
2857 | { wxHtmlWinTagHandler::ParseInner(tag); } | |
2858 | ||
2859 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
2860 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
2861 | ||
2862 | PYPRIVATE; | |
2863 | }; | |
2864 | ||
2865 | IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler); | |
2866 | ||
2867 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags); | |
2868 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag); | |
2869 | ||
2870 | ||
2871 | ||
2872 | class wxPyHtmlTagsModule : public wxHtmlTagsModule { | |
2873 | public: | |
2874 | wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() { | |
2875 | m_tagHandlerClass = thc; | |
2876 | Py_INCREF(m_tagHandlerClass); | |
2877 | RegisterModule(this); | |
2878 | wxHtmlWinParser::AddModule(this); | |
2879 | } | |
2880 | ||
2881 | void OnExit() { | |
5a446332 | 2882 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
2883 | Py_DECREF(m_tagHandlerClass); |
2884 | m_tagHandlerClass = NULL; | |
2885 | for (size_t x=0; x < m_objArray.GetCount(); x++) { | |
2886 | PyObject* obj = (PyObject*)m_objArray.Item(x); | |
2887 | Py_DECREF(obj); | |
2888 | } | |
4f89f6a3 | 2889 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
2890 | }; |
2891 | ||
2892 | void FillHandlersTable(wxHtmlWinParser *parser) { | |
2893 | // Wave our magic wand... (if it works it's a miracle! ;-) | |
2894 | ||
2895 | // First, make a new instance of the tag handler | |
5a446332 | 2896 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
fb757066 RD |
2897 | PyObject* arg = PyTuple_New(0); |
2898 | PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg); | |
d14a1e28 | 2899 | Py_DECREF(arg); |
7449af73 | 2900 | |
d14a1e28 RD |
2901 | // now figure out where it's C++ object is... |
2902 | wxPyHtmlWinTagHandler* thPtr; | |
fb757066 | 2903 | if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) { |
4f89f6a3 | 2904 | wxPyEndBlockThreads(blocked); |
d14a1e28 | 2905 | return; |
fb757066 | 2906 | } |
4f89f6a3 | 2907 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
2908 | |
2909 | // add it, | |
2910 | parser->AddTagHandler(thPtr); | |
2911 | ||
2912 | // and track it. | |
2913 | m_objArray.Add(obj); | |
2914 | } | |
2915 | ||
2916 | private: | |
2917 | PyObject* m_tagHandlerClass; | |
2918 | wxArrayPtrVoid m_objArray; | |
2919 | ||
2920 | }; | |
2921 | ||
2922 | ||
2923 | void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) { | |
2924 | // Dynamically create a new wxModule. Refcounts tagHandlerClass | |
2925 | // and adds itself to the wxModules list and to the wxHtmlWinParser. | |
2926 | new wxPyHtmlTagsModule(tagHandlerClass); | |
2927 | } | |
2928 | ||
2929 | ||
7449af73 | 2930 | SWIGINTERNINLINE PyObject* |
554f62e9 | 2931 | SWIG_From_bool (bool value) |
093d3ff1 | 2932 | { |
554f62e9 | 2933 | return PyBool_FromLong(value ? 1 : 0); |
093d3ff1 RD |
2934 | } |
2935 | ||
2936 | ||
093d3ff1 | 2937 | SWIGINTERN int |
554f62e9 | 2938 | SWIG_AsVal_bool (PyObject *obj, bool *val) |
2f4c0a16 | 2939 | { |
c32bde28 RD |
2940 | if (obj == Py_True) { |
2941 | if (val) *val = true; | |
554f62e9 RD |
2942 | return SWIG_OK; |
2943 | } else if (obj == Py_False) { | |
c32bde28 | 2944 | if (val) *val = false; |
554f62e9 | 2945 | return SWIG_OK; |
093d3ff1 | 2946 | } else { |
554f62e9 RD |
2947 | long v = 0; |
2948 | int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0)); | |
2949 | if (SWIG_IsOK(res) && val) *val = v ? true : false; | |
2950 | return res; | |
2f4c0a16 | 2951 | } |
c32bde28 RD |
2952 | } |
2953 | ||
c32bde28 | 2954 | |
093d3ff1 | 2955 | SWIGINTERN int |
554f62e9 | 2956 | SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) |
c32bde28 RD |
2957 | { |
2958 | long v = 0; | |
2959 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
554f62e9 | 2960 | return SWIG_TypeError; |
c32bde28 RD |
2961 | } |
2962 | else if (val) | |
2963 | *val = (unsigned long)v; | |
554f62e9 | 2964 | return SWIG_OK; |
2f4c0a16 RD |
2965 | } |
2966 | ||
2967 | ||
093d3ff1 | 2968 | SWIGINTERN int |
554f62e9 RD |
2969 | SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val) |
2970 | { | |
c32bde28 | 2971 | unsigned long v; |
554f62e9 RD |
2972 | int res = SWIG_AsVal_unsigned_SS_long (obj, &v); |
2973 | if (SWIG_IsOK(res)) { | |
2974 | if ((v > UINT_MAX)) { | |
2975 | return SWIG_OverflowError; | |
2976 | } else { | |
2977 | if (val) *val = static_cast< unsigned int >(v); | |
c32bde28 | 2978 | } |
554f62e9 RD |
2979 | } |
2980 | return res; | |
c32bde28 | 2981 | } |
8edf1c75 RD |
2982 | |
2983 | ||
554f62e9 RD |
2984 | SWIGINTERNINLINE PyObject* |
2985 | SWIG_From_unsigned_SS_long (unsigned long value) | |
8edf1c75 | 2986 | { |
554f62e9 RD |
2987 | return (value > LONG_MAX) ? |
2988 | PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); | |
c32bde28 RD |
2989 | } |
2990 | ||
554f62e9 RD |
2991 | |
2992 | SWIGINTERNINLINE PyObject * | |
2993 | SWIG_From_unsigned_SS_int (unsigned int value) | |
2994 | { | |
2995 | return SWIG_From_unsigned_SS_long (value); | |
2f4c0a16 RD |
2996 | } |
2997 | ||
d14a1e28 RD |
2998 | // here's the C++ version |
2999 | class wxPyHtmlFilter : public wxHtmlFilter { | |
7449af73 | 3000 | DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter) |
d14a1e28 RD |
3001 | public: |
3002 | wxPyHtmlFilter() : wxHtmlFilter() {} | |
3003 | ||
423f194a | 3004 | // returns True if this filter is able to open&read given file |
d14a1e28 | 3005 | virtual bool CanRead(const wxFSFile& file) const { |
ae8162c8 | 3006 | bool rval = false; |
d14a1e28 | 3007 | bool found; |
5a446332 | 3008 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 | 3009 | if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) { |
412d302d | 3010 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const |
d14a1e28 RD |
3011 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); |
3012 | Py_DECREF(obj); | |
3013 | } | |
4f89f6a3 | 3014 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3015 | return rval; |
3016 | } | |
3017 | ||
3018 | ||
3019 | // Reads given file and returns HTML document. | |
3020 | // Returns empty string if opening failed | |
3021 | virtual wxString ReadFile(const wxFSFile& file) const { | |
3022 | wxString rval; | |
3023 | bool found; | |
5a446332 | 3024 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 | 3025 | if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) { |
412d302d | 3026 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const |
d14a1e28 RD |
3027 | PyObject* ro; |
3028 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj)); | |
3029 | Py_DECREF(obj); | |
3030 | if (ro) { | |
3031 | rval = Py2wxString(ro); | |
3032 | Py_DECREF(ro); | |
3033 | } | |
3034 | } | |
4f89f6a3 | 3035 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3036 | return rval; |
3037 | } | |
3038 | ||
3039 | PYPRIVATE; | |
3040 | }; | |
3041 | ||
3042 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter); | |
3043 | ||
3044 | ||
3045 | class wxPyHtmlWindow : public wxHtmlWindow { | |
7449af73 | 3046 | DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow) |
d14a1e28 RD |
3047 | public: |
3048 | wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1, | |
3049 | const wxPoint& pos = wxDefaultPosition, | |
3050 | const wxSize& size = wxDefaultSize, | |
3051 | long style = wxHW_DEFAULT_STYLE, | |
3052 | const wxString& name = wxPyHtmlWindowNameStr) | |
3053 | : wxHtmlWindow(parent, id, pos, size, style, name) {}; | |
3054 | wxPyHtmlWindow() : wxHtmlWindow() {}; | |
3055 | ||
3056 | bool ScrollToAnchor(const wxString& anchor) { | |
3057 | return wxHtmlWindow::ScrollToAnchor(anchor); | |
3058 | } | |
3059 | ||
3060 | bool HasAnchor(const wxString& anchor) { | |
3061 | const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor); | |
3062 | return c!=NULL; | |
3063 | } | |
3064 | ||
3065 | void OnLinkClicked(const wxHtmlLinkInfo& link); | |
d14a1e28 RD |
3066 | |
3067 | wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type, | |
3068 | const wxString& url, | |
3069 | wxString *redirect) const; | |
3070 | ||
3071 | DEC_PYCALLBACK__STRING(OnSetTitle); | |
3072 | DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover); | |
3073 | DEC_PYCALLBACK__CELLINTINTME(OnCellClicked); | |
3074 | PYPRIVATE; | |
3075 | }; | |
3076 | ||
3077 | IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow ); | |
3078 | IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle); | |
3079 | IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover); | |
3080 | IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked); | |
3081 | ||
3082 | ||
3083 | void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) { | |
3084 | bool found; | |
5a446332 | 3085 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
3086 | if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) { |
3087 | PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0); | |
3088 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
3089 | Py_DECREF(obj); | |
3090 | } | |
4f89f6a3 | 3091 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3092 | if (! found) |
3093 | wxHtmlWindow::OnLinkClicked(link); | |
3094 | } | |
d14a1e28 RD |
3095 | |
3096 | ||
3097 | wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type, | |
3098 | const wxString& url, | |
3099 | wxString *redirect) const { | |
3100 | bool found; | |
3101 | wxHtmlOpeningStatus rval; | |
5a446332 | 3102 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
3103 | if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) { |
3104 | PyObject* ro; | |
3105 | PyObject* s = wx2PyString(url); | |
3106 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s)); | |
3107 | Py_DECREF(s); | |
3108 | if (PyString_Check(ro) | |
3109 | #if PYTHON_API_VERSION >= 1009 | |
3110 | || PyUnicode_Check(ro) | |
3111 | #endif | |
3112 | ) { | |
3113 | *redirect = Py2wxString(ro); | |
3114 | rval = wxHTML_REDIRECT; | |
3115 | } | |
3116 | else { | |
3117 | PyObject* num = PyNumber_Int(ro); | |
3118 | rval = (wxHtmlOpeningStatus)PyInt_AsLong(num); | |
3119 | Py_DECREF(num); | |
3120 | } | |
3121 | Py_DECREF(ro); | |
3122 | } | |
4f89f6a3 | 3123 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3124 | if (! found) |
3125 | rval = wxHtmlWindow::OnOpeningURL(type, url, redirect); | |
3126 | return rval; | |
3127 | } | |
3128 | ||
3129 | ||
3130 | ||
554f62e9 | 3131 | SWIGINTERN void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3132 | int* temp = NULL; |
3133 | if (sizes) temp = int_LIST_helper(sizes); | |
3134 | self->SetFonts(normal_face, fixed_face, temp); | |
3135 | if (temp) | |
3136 | delete [] temp; | |
3137 | } | |
554f62e9 | 3138 | SWIGINTERN void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3139 | int* temp = NULL; |
3140 | if (sizes) temp = int_LIST_helper(sizes); | |
3141 | self->SetFonts(normal_face, fixed_face, temp); | |
3142 | if (temp) | |
3143 | delete [] temp; | |
3144 | } | |
554f62e9 | 3145 | SWIGINTERN void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3146 | int* temp = NULL; |
3147 | if (sizes) temp = int_LIST_helper(sizes); | |
3148 | self->SetFonts(normal_face, fixed_face, temp); | |
3149 | if (temp) | |
3150 | delete [] temp; | |
3151 | } | |
8edf1c75 | 3152 | |
2f4c0a16 | 3153 | #include <float.h> |
2f4c0a16 RD |
3154 | |
3155 | ||
093d3ff1 | 3156 | SWIGINTERN int |
554f62e9 | 3157 | SWIG_AsVal_double (PyObject *obj, double* val) |
8edf1c75 | 3158 | { |
c32bde28 RD |
3159 | if (PyNumber_Check(obj)) { |
3160 | if (val) *val = PyFloat_AsDouble(obj); | |
554f62e9 | 3161 | return SWIG_OK; |
69223c70 | 3162 | } |
554f62e9 | 3163 | return SWIG_TypeError; |
c32bde28 RD |
3164 | } |
3165 | ||
3166 | ||
093d3ff1 | 3167 | SWIGINTERN int |
554f62e9 | 3168 | SWIG_AsVal_float (PyObject * obj, float *val) |
c32bde28 | 3169 | { |
c32bde28 | 3170 | double v; |
554f62e9 RD |
3171 | int res = SWIG_AsVal_double (obj, &v); |
3172 | if (SWIG_IsOK(res)) { | |
3173 | if ((v < -FLT_MAX || v > FLT_MAX)) { | |
3174 | return SWIG_OverflowError; | |
c32bde28 | 3175 | } else { |
554f62e9 | 3176 | if (val) *val = static_cast< float >(v); |
c32bde28 | 3177 | } |
554f62e9 RD |
3178 | } |
3179 | return res; | |
8edf1c75 RD |
3180 | } |
3181 | ||
554f62e9 | 3182 | SWIGINTERN void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3183 | int* temp = NULL; |
3184 | if (sizes) temp = int_LIST_helper(sizes); | |
3185 | self->SetFonts(normal_face, fixed_face, temp); | |
3186 | if (temp) | |
3187 | delete [] temp; | |
3188 | } | |
d14a1e28 RD |
3189 | #ifdef __cplusplus |
3190 | extern "C" { | |
3191 | #endif | |
554f62e9 RD |
3192 | SWIGINTERN int HtmlWindowNameStr_set(PyObject *) { |
3193 | SWIG_Error(SWIG_AttributeError,"Variable HtmlWindowNameStr is read-only."); | |
3194 | return 1; | |
d03fd34d RD |
3195 | } |
3196 | ||
3197 | ||
554f62e9 RD |
3198 | SWIGINTERN PyObject *HtmlWindowNameStr_get(void) { |
3199 | PyObject *pyobj = 0; | |
3200 | ||
3201 | { | |
d03fd34d | 3202 | #if wxUSE_UNICODE |
554f62e9 | 3203 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); |
d03fd34d | 3204 | #else |
554f62e9 | 3205 | pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); |
d03fd34d | 3206 | #endif |
554f62e9 RD |
3207 | } |
3208 | return pyobj; | |
d03fd34d RD |
3209 | } |
3210 | ||
3211 | ||
554f62e9 RD |
3212 | SWIGINTERN int HtmlPrintoutTitleStr_set(PyObject *) { |
3213 | SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintoutTitleStr is read-only."); | |
3214 | return 1; | |
d03fd34d RD |
3215 | } |
3216 | ||
3217 | ||
554f62e9 RD |
3218 | SWIGINTERN PyObject *HtmlPrintoutTitleStr_get(void) { |
3219 | PyObject *pyobj = 0; | |
3220 | ||
3221 | { | |
d03fd34d | 3222 | #if wxUSE_UNICODE |
554f62e9 | 3223 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); |
d03fd34d | 3224 | #else |
554f62e9 | 3225 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); |
d03fd34d | 3226 | #endif |
554f62e9 RD |
3227 | } |
3228 | return pyobj; | |
d03fd34d RD |
3229 | } |
3230 | ||
3231 | ||
554f62e9 RD |
3232 | SWIGINTERN int HtmlPrintingTitleStr_set(PyObject *) { |
3233 | SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintingTitleStr is read-only."); | |
3234 | return 1; | |
d03fd34d RD |
3235 | } |
3236 | ||
3237 | ||
554f62e9 RD |
3238 | SWIGINTERN PyObject *HtmlPrintingTitleStr_get(void) { |
3239 | PyObject *pyobj = 0; | |
3240 | ||
3241 | { | |
d03fd34d | 3242 | #if wxUSE_UNICODE |
554f62e9 | 3243 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); |
d03fd34d | 3244 | #else |
554f62e9 | 3245 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); |
d03fd34d | 3246 | #endif |
554f62e9 RD |
3247 | } |
3248 | return pyobj; | |
3249 | } | |
3250 | ||
3251 | ||
3252 | SWIGINTERN PyObject *_wrap_new_HtmlLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3253 | PyObject *resultobj = 0; | |
3254 | wxString *arg1 = 0 ; | |
3255 | wxString const &arg2_defvalue = wxPyEmptyString ; | |
3256 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
3257 | wxHtmlLinkInfo *result = 0 ; | |
3258 | bool temp1 = false ; | |
3259 | bool temp2 = false ; | |
3260 | PyObject * obj0 = 0 ; | |
3261 | PyObject * obj1 = 0 ; | |
3262 | char * kwnames[] = { | |
3263 | (char *) "href",(char *) "target", NULL | |
3264 | }; | |
3265 | ||
3266 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) SWIG_fail; | |
3267 | { | |
3268 | arg1 = wxString_in_helper(obj0); | |
3269 | if (arg1 == NULL) SWIG_fail; | |
3270 | temp1 = true; | |
3271 | } | |
3272 | if (obj1) { | |
d14a1e28 | 3273 | { |
554f62e9 RD |
3274 | arg2 = wxString_in_helper(obj1); |
3275 | if (arg2 == NULL) SWIG_fail; | |
3276 | temp2 = true; | |
d14a1e28 | 3277 | } |
554f62e9 RD |
3278 | } |
3279 | { | |
3280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3281 | result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2); | |
3282 | wxPyEndAllowThreads(__tstate); | |
3283 | if (PyErr_Occurred()) SWIG_fail; | |
3284 | } | |
3285 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_NEW | 0 ); | |
3286 | { | |
3287 | if (temp1) | |
3288 | delete arg1; | |
3289 | } | |
3290 | { | |
3291 | if (temp2) | |
3292 | delete arg2; | |
3293 | } | |
3294 | return resultobj; | |
3295 | fail: | |
3296 | { | |
3297 | if (temp1) | |
3298 | delete arg1; | |
3299 | } | |
3300 | { | |
3301 | if (temp2) | |
3302 | delete arg2; | |
3303 | } | |
3304 | return NULL; | |
d14a1e28 RD |
3305 | } |
3306 | ||
3307 | ||
554f62e9 RD |
3308 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3309 | PyObject *resultobj = 0; | |
3310 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3311 | wxString result; | |
3312 | void *argp1 = 0 ; | |
3313 | int res1 = 0 ; | |
3314 | PyObject *swig_obj[1] ; | |
3315 | ||
3316 | if (!args) SWIG_fail; | |
3317 | swig_obj[0] = args; | |
3318 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3319 | if (!SWIG_IsOK(res1)) { | |
3320 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3321 | } | |
3322 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3323 | { | |
3324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3325 | result = (arg1)->GetHref(); | |
3326 | wxPyEndAllowThreads(__tstate); | |
3327 | if (PyErr_Occurred()) SWIG_fail; | |
3328 | } | |
3329 | { | |
d14a1e28 | 3330 | #if wxUSE_UNICODE |
554f62e9 | 3331 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3332 | #else |
554f62e9 | 3333 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3334 | #endif |
554f62e9 RD |
3335 | } |
3336 | return resultobj; | |
3337 | fail: | |
3338 | return NULL; | |
d14a1e28 RD |
3339 | } |
3340 | ||
3341 | ||
554f62e9 RD |
3342 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3343 | PyObject *resultobj = 0; | |
3344 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3345 | wxString result; | |
3346 | void *argp1 = 0 ; | |
3347 | int res1 = 0 ; | |
3348 | PyObject *swig_obj[1] ; | |
3349 | ||
3350 | if (!args) SWIG_fail; | |
3351 | swig_obj[0] = args; | |
3352 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3353 | if (!SWIG_IsOK(res1)) { | |
3354 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3355 | } | |
3356 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3357 | { | |
3358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3359 | result = (arg1)->GetTarget(); | |
3360 | wxPyEndAllowThreads(__tstate); | |
3361 | if (PyErr_Occurred()) SWIG_fail; | |
3362 | } | |
3363 | { | |
d14a1e28 | 3364 | #if wxUSE_UNICODE |
554f62e9 | 3365 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3366 | #else |
554f62e9 | 3367 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3368 | #endif |
554f62e9 RD |
3369 | } |
3370 | return resultobj; | |
3371 | fail: | |
3372 | return NULL; | |
d14a1e28 RD |
3373 | } |
3374 | ||
3375 | ||
554f62e9 RD |
3376 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3377 | PyObject *resultobj = 0; | |
3378 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3379 | wxMouseEvent *result = 0 ; | |
3380 | void *argp1 = 0 ; | |
3381 | int res1 = 0 ; | |
3382 | PyObject *swig_obj[1] ; | |
3383 | ||
3384 | if (!args) SWIG_fail; | |
3385 | swig_obj[0] = args; | |
3386 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3387 | if (!SWIG_IsOK(res1)) { | |
3388 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3389 | } | |
3390 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3391 | { | |
3392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3393 | result = (wxMouseEvent *)(arg1)->GetEvent(); | |
3394 | wxPyEndAllowThreads(__tstate); | |
3395 | if (PyErr_Occurred()) SWIG_fail; | |
3396 | } | |
3397 | { | |
3398 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
3399 | } | |
3400 | return resultobj; | |
3401 | fail: | |
3402 | return NULL; | |
d14a1e28 RD |
3403 | } |
3404 | ||
3405 | ||
554f62e9 RD |
3406 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3407 | PyObject *resultobj = 0; | |
3408 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3409 | wxHtmlCell *result = 0 ; | |
3410 | void *argp1 = 0 ; | |
3411 | int res1 = 0 ; | |
3412 | PyObject *swig_obj[1] ; | |
3413 | ||
3414 | if (!args) SWIG_fail; | |
3415 | swig_obj[0] = args; | |
3416 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3417 | if (!SWIG_IsOK(res1)) { | |
3418 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3419 | } | |
3420 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3421 | { | |
3422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3423 | result = (wxHtmlCell *)(arg1)->GetHtmlCell(); | |
3424 | wxPyEndAllowThreads(__tstate); | |
3425 | if (PyErr_Occurred()) SWIG_fail; | |
3426 | } | |
3427 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
3428 | return resultobj; | |
3429 | fail: | |
3430 | return NULL; | |
3431 | } | |
3432 | ||
3433 | ||
3434 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3435 | PyObject *resultobj = 0; | |
3436 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3437 | wxMouseEvent *arg2 = (wxMouseEvent *) 0 ; | |
3438 | void *argp1 = 0 ; | |
3439 | int res1 = 0 ; | |
3440 | void *argp2 = 0 ; | |
3441 | int res2 = 0 ; | |
3442 | PyObject * obj0 = 0 ; | |
3443 | PyObject * obj1 = 0 ; | |
3444 | char * kwnames[] = { | |
3445 | (char *) "self",(char *) "e", NULL | |
3446 | }; | |
3447 | ||
3448 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
3449 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3450 | if (!SWIG_IsOK(res1)) { | |
3451 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3452 | } | |
3453 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3454 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMouseEvent, 0 | 0 ); | |
3455 | if (!SWIG_IsOK(res2)) { | |
3456 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'"); | |
3457 | } | |
3458 | arg2 = reinterpret_cast< wxMouseEvent * >(argp2); | |
3459 | { | |
3460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3461 | (arg1)->SetEvent((wxMouseEvent const *)arg2); | |
3462 | wxPyEndAllowThreads(__tstate); | |
3463 | if (PyErr_Occurred()) SWIG_fail; | |
3464 | } | |
3465 | resultobj = SWIG_Py_Void(); | |
3466 | return resultobj; | |
3467 | fail: | |
3468 | return NULL; | |
3469 | } | |
3470 | ||
3471 | ||
3472 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3473 | PyObject *resultobj = 0; | |
3474 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3475 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
3476 | void *argp1 = 0 ; | |
3477 | int res1 = 0 ; | |
3478 | void *argp2 = 0 ; | |
3479 | int res2 = 0 ; | |
3480 | PyObject * obj0 = 0 ; | |
3481 | PyObject * obj1 = 0 ; | |
3482 | char * kwnames[] = { | |
3483 | (char *) "self",(char *) "e", NULL | |
3484 | }; | |
3485 | ||
3486 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
3487 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3488 | if (!SWIG_IsOK(res1)) { | |
3489 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3490 | } | |
3491 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3492 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
3493 | if (!SWIG_IsOK(res2)) { | |
3494 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'"); | |
3495 | } | |
3496 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
3497 | { | |
3498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3499 | (arg1)->SetHtmlCell((wxHtmlCell const *)arg2); | |
3500 | wxPyEndAllowThreads(__tstate); | |
3501 | if (PyErr_Occurred()) SWIG_fail; | |
3502 | } | |
3503 | resultobj = SWIG_Py_Void(); | |
3504 | return resultobj; | |
3505 | fail: | |
3506 | return NULL; | |
d14a1e28 RD |
3507 | } |
3508 | ||
3509 | ||
554f62e9 RD |
3510 | SWIGINTERN PyObject *HtmlLinkInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3511 | PyObject *obj; | |
3512 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
3513 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo, SWIG_NewClientData(obj)); | |
3514 | return SWIG_Py_Void(); | |
d14a1e28 RD |
3515 | } |
3516 | ||
554f62e9 RD |
3517 | SWIGINTERN PyObject *HtmlLinkInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3518 | return SWIG_Python_InitShadowInstance(args); | |
3519 | } | |
d14a1e28 | 3520 | |
554f62e9 RD |
3521 | SWIGINTERN PyObject *_wrap_HtmlTag_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3522 | PyObject *resultobj = 0; | |
3523 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3524 | wxString result; | |
3525 | void *argp1 = 0 ; | |
3526 | int res1 = 0 ; | |
3527 | PyObject *swig_obj[1] ; | |
3528 | ||
3529 | if (!args) SWIG_fail; | |
3530 | swig_obj[0] = args; | |
3531 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3532 | if (!SWIG_IsOK(res1)) { | |
3533 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3534 | } | |
3535 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3536 | { | |
3537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3538 | result = (arg1)->GetName(); | |
3539 | wxPyEndAllowThreads(__tstate); | |
3540 | if (PyErr_Occurred()) SWIG_fail; | |
3541 | } | |
3542 | { | |
3543 | #if wxUSE_UNICODE | |
3544 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3545 | #else | |
3546 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3547 | #endif | |
3548 | } | |
3549 | return resultobj; | |
3550 | fail: | |
3551 | return NULL; | |
3552 | } | |
3553 | ||
3554 | ||
3555 | SWIGINTERN PyObject *_wrap_HtmlTag_HasParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3556 | PyObject *resultobj = 0; | |
3557 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3558 | wxString *arg2 = 0 ; | |
3559 | bool result; | |
3560 | void *argp1 = 0 ; | |
3561 | int res1 = 0 ; | |
3562 | bool temp2 = false ; | |
3563 | PyObject * obj0 = 0 ; | |
3564 | PyObject * obj1 = 0 ; | |
3565 | char * kwnames[] = { | |
3566 | (char *) "self",(char *) "par", NULL | |
3567 | }; | |
3568 | ||
3569 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) SWIG_fail; | |
3570 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3571 | if (!SWIG_IsOK(res1)) { | |
3572 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3573 | } | |
3574 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3575 | { | |
3576 | arg2 = wxString_in_helper(obj1); | |
3577 | if (arg2 == NULL) SWIG_fail; | |
3578 | temp2 = true; | |
3579 | } | |
3580 | { | |
3581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3582 | result = (bool)(arg1)->HasParam((wxString const &)*arg2); | |
3583 | wxPyEndAllowThreads(__tstate); | |
3584 | if (PyErr_Occurred()) SWIG_fail; | |
3585 | } | |
3586 | { | |
3587 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3588 | } | |
3589 | { | |
3590 | if (temp2) | |
3591 | delete arg2; | |
3592 | } | |
3593 | return resultobj; | |
3594 | fail: | |
3595 | { | |
3596 | if (temp2) | |
3597 | delete arg2; | |
3598 | } | |
3599 | return NULL; | |
3600 | } | |
3601 | ||
3602 | ||
3603 | SWIGINTERN PyObject *_wrap_HtmlTag_GetParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3604 | PyObject *resultobj = 0; | |
3605 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3606 | wxString *arg2 = 0 ; | |
3607 | int arg3 = (int) false ; | |
3608 | wxString result; | |
3609 | void *argp1 = 0 ; | |
3610 | int res1 = 0 ; | |
3611 | bool temp2 = false ; | |
3612 | int val3 ; | |
3613 | int ecode3 = 0 ; | |
3614 | PyObject * obj0 = 0 ; | |
3615 | PyObject * obj1 = 0 ; | |
3616 | PyObject * obj2 = 0 ; | |
3617 | char * kwnames[] = { | |
3618 | (char *) "self",(char *) "par",(char *) "with_commas", NULL | |
3619 | }; | |
3620 | ||
3621 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
3622 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3623 | if (!SWIG_IsOK(res1)) { | |
3624 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3625 | } | |
3626 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3627 | { | |
3628 | arg2 = wxString_in_helper(obj1); | |
3629 | if (arg2 == NULL) SWIG_fail; | |
3630 | temp2 = true; | |
3631 | } | |
3632 | if (obj2) { | |
3633 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
3634 | if (!SWIG_IsOK(ecode3)) { | |
3635 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'"); | |
3636 | } | |
3637 | arg3 = static_cast< int >(val3); | |
3638 | } | |
3639 | { | |
3640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3641 | result = (arg1)->GetParam((wxString const &)*arg2,arg3); | |
3642 | wxPyEndAllowThreads(__tstate); | |
3643 | if (PyErr_Occurred()) SWIG_fail; | |
3644 | } | |
3645 | { | |
3646 | #if wxUSE_UNICODE | |
3647 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3648 | #else | |
3649 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3650 | #endif | |
3651 | } | |
3652 | { | |
3653 | if (temp2) | |
3654 | delete arg2; | |
3655 | } | |
3656 | return resultobj; | |
3657 | fail: | |
3658 | { | |
3659 | if (temp2) | |
3660 | delete arg2; | |
3661 | } | |
3662 | return NULL; | |
d14a1e28 RD |
3663 | } |
3664 | ||
3665 | ||
554f62e9 RD |
3666 | SWIGINTERN PyObject *_wrap_HtmlTag_GetAllParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3667 | PyObject *resultobj = 0; | |
3668 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3669 | wxString result; | |
3670 | void *argp1 = 0 ; | |
3671 | int res1 = 0 ; | |
3672 | PyObject *swig_obj[1] ; | |
3673 | ||
3674 | if (!args) SWIG_fail; | |
3675 | swig_obj[0] = args; | |
3676 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3677 | if (!SWIG_IsOK(res1)) { | |
3678 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3679 | } | |
3680 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3681 | { | |
3682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3683 | result = (arg1)->GetAllParams(); | |
3684 | wxPyEndAllowThreads(__tstate); | |
3685 | if (PyErr_Occurred()) SWIG_fail; | |
3686 | } | |
3687 | { | |
d14a1e28 | 3688 | #if wxUSE_UNICODE |
554f62e9 | 3689 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3690 | #else |
554f62e9 | 3691 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3692 | #endif |
554f62e9 RD |
3693 | } |
3694 | return resultobj; | |
3695 | fail: | |
3696 | return NULL; | |
d14a1e28 RD |
3697 | } |
3698 | ||
3699 | ||
554f62e9 RD |
3700 | SWIGINTERN PyObject *_wrap_HtmlTag_HasEnding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3701 | PyObject *resultobj = 0; | |
3702 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3703 | bool result; | |
3704 | void *argp1 = 0 ; | |
3705 | int res1 = 0 ; | |
3706 | PyObject *swig_obj[1] ; | |
3707 | ||
3708 | if (!args) SWIG_fail; | |
3709 | swig_obj[0] = args; | |
3710 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3711 | if (!SWIG_IsOK(res1)) { | |
3712 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3713 | } | |
3714 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3715 | { | |
3716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3717 | result = (bool)(arg1)->HasEnding(); | |
3718 | wxPyEndAllowThreads(__tstate); | |
3719 | if (PyErr_Occurred()) SWIG_fail; | |
3720 | } | |
3721 | { | |
3722 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3723 | } | |
3724 | return resultobj; | |
3725 | fail: | |
3726 | return NULL; | |
d14a1e28 RD |
3727 | } |
3728 | ||
3729 | ||
554f62e9 RD |
3730 | SWIGINTERN PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3731 | PyObject *resultobj = 0; | |
3732 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3733 | int result; | |
3734 | void *argp1 = 0 ; | |
3735 | int res1 = 0 ; | |
3736 | PyObject *swig_obj[1] ; | |
3737 | ||
3738 | if (!args) SWIG_fail; | |
3739 | swig_obj[0] = args; | |
3740 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3741 | if (!SWIG_IsOK(res1)) { | |
3742 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3743 | } | |
3744 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3745 | { | |
3746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3747 | result = (int)(arg1)->GetBeginPos(); | |
3748 | wxPyEndAllowThreads(__tstate); | |
3749 | if (PyErr_Occurred()) SWIG_fail; | |
3750 | } | |
3751 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
3752 | return resultobj; | |
3753 | fail: | |
3754 | return NULL; | |
d14a1e28 RD |
3755 | } |
3756 | ||
3757 | ||
554f62e9 RD |
3758 | SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3759 | PyObject *resultobj = 0; | |
3760 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3761 | int result; | |
3762 | void *argp1 = 0 ; | |
3763 | int res1 = 0 ; | |
3764 | PyObject *swig_obj[1] ; | |
3765 | ||
3766 | if (!args) SWIG_fail; | |
3767 | swig_obj[0] = args; | |
3768 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3769 | if (!SWIG_IsOK(res1)) { | |
3770 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3771 | } | |
3772 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3773 | { | |
3774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3775 | result = (int)(arg1)->GetEndPos1(); | |
3776 | wxPyEndAllowThreads(__tstate); | |
3777 | if (PyErr_Occurred()) SWIG_fail; | |
3778 | } | |
3779 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
3780 | return resultobj; | |
3781 | fail: | |
3782 | return NULL; | |
d14a1e28 RD |
3783 | } |
3784 | ||
3785 | ||
554f62e9 RD |
3786 | SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3787 | PyObject *resultobj = 0; | |
3788 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3789 | int result; | |
3790 | void *argp1 = 0 ; | |
3791 | int res1 = 0 ; | |
3792 | PyObject *swig_obj[1] ; | |
3793 | ||
3794 | if (!args) SWIG_fail; | |
3795 | swig_obj[0] = args; | |
3796 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3797 | if (!SWIG_IsOK(res1)) { | |
3798 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3799 | } | |
3800 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3801 | { | |
3802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3803 | result = (int)(arg1)->GetEndPos2(); | |
3804 | wxPyEndAllowThreads(__tstate); | |
3805 | if (PyErr_Occurred()) SWIG_fail; | |
3806 | } | |
3807 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
3808 | return resultobj; | |
3809 | fail: | |
3810 | return NULL; | |
3811 | } | |
3812 | ||
3813 | ||
3814 | SWIGINTERN PyObject *HtmlTag_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3815 | PyObject *obj; | |
3816 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
3817 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag, SWIG_NewClientData(obj)); | |
3818 | return SWIG_Py_Void(); | |
3819 | } | |
3820 | ||
3821 | SWIGINTERN PyObject *_wrap_HtmlParser_SetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3822 | PyObject *resultobj = 0; | |
3823 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3824 | wxFileSystem *arg2 = (wxFileSystem *) 0 ; | |
3825 | void *argp1 = 0 ; | |
3826 | int res1 = 0 ; | |
3827 | void *argp2 = 0 ; | |
3828 | int res2 = 0 ; | |
3829 | PyObject * obj0 = 0 ; | |
3830 | PyObject * obj1 = 0 ; | |
3831 | char * kwnames[] = { | |
3832 | (char *) "self",(char *) "fs", NULL | |
3833 | }; | |
3834 | ||
3835 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) SWIG_fail; | |
3836 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3837 | if (!SWIG_IsOK(res1)) { | |
3838 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3839 | } | |
3840 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3841 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFileSystem, 0 | 0 ); | |
3842 | if (!SWIG_IsOK(res2)) { | |
3843 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'"); | |
3844 | } | |
3845 | arg2 = reinterpret_cast< wxFileSystem * >(argp2); | |
3846 | { | |
3847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3848 | (arg1)->SetFS(arg2); | |
3849 | wxPyEndAllowThreads(__tstate); | |
3850 | if (PyErr_Occurred()) SWIG_fail; | |
3851 | } | |
3852 | resultobj = SWIG_Py_Void(); | |
3853 | return resultobj; | |
3854 | fail: | |
3855 | return NULL; | |
d14a1e28 RD |
3856 | } |
3857 | ||
3858 | ||
554f62e9 RD |
3859 | SWIGINTERN PyObject *_wrap_HtmlParser_GetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3860 | PyObject *resultobj = 0; | |
3861 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3862 | wxFileSystem *result = 0 ; | |
3863 | void *argp1 = 0 ; | |
3864 | int res1 = 0 ; | |
3865 | PyObject *swig_obj[1] ; | |
3866 | ||
3867 | if (!args) SWIG_fail; | |
3868 | swig_obj[0] = args; | |
3869 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3870 | if (!SWIG_IsOK(res1)) { | |
3871 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3872 | } | |
3873 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3874 | { | |
3875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3876 | result = (wxFileSystem *)(arg1)->GetFS(); | |
3877 | wxPyEndAllowThreads(__tstate); | |
3878 | if (PyErr_Occurred()) SWIG_fail; | |
3879 | } | |
3880 | { | |
3881 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
3882 | } | |
3883 | return resultobj; | |
3884 | fail: | |
3885 | return NULL; | |
3886 | } | |
3887 | ||
3888 | ||
3889 | SWIGINTERN PyObject *_wrap_HtmlParser_Parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3890 | PyObject *resultobj = 0; | |
3891 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3892 | wxString *arg2 = 0 ; | |
3893 | wxObject *result = 0 ; | |
3894 | void *argp1 = 0 ; | |
3895 | int res1 = 0 ; | |
3896 | bool temp2 = false ; | |
3897 | PyObject * obj0 = 0 ; | |
3898 | PyObject * obj1 = 0 ; | |
3899 | char * kwnames[] = { | |
3900 | (char *) "self",(char *) "source", NULL | |
3901 | }; | |
3902 | ||
3903 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) SWIG_fail; | |
3904 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3905 | if (!SWIG_IsOK(res1)) { | |
3906 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3907 | } | |
3908 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3909 | { | |
3910 | arg2 = wxString_in_helper(obj1); | |
3911 | if (arg2 == NULL) SWIG_fail; | |
3912 | temp2 = true; | |
3913 | } | |
3914 | { | |
3915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3916 | result = (wxObject *)(arg1)->Parse((wxString const &)*arg2); | |
3917 | wxPyEndAllowThreads(__tstate); | |
3918 | if (PyErr_Occurred()) SWIG_fail; | |
3919 | } | |
3920 | { | |
3921 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
3922 | } | |
3923 | { | |
3924 | if (temp2) | |
3925 | delete arg2; | |
3926 | } | |
3927 | return resultobj; | |
3928 | fail: | |
3929 | { | |
3930 | if (temp2) | |
3931 | delete arg2; | |
3932 | } | |
3933 | return NULL; | |
d14a1e28 RD |
3934 | } |
3935 | ||
3936 | ||
554f62e9 RD |
3937 | SWIGINTERN PyObject *_wrap_HtmlParser_InitParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
3938 | PyObject *resultobj = 0; | |
3939 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3940 | wxString *arg2 = 0 ; | |
3941 | void *argp1 = 0 ; | |
3942 | int res1 = 0 ; | |
3943 | bool temp2 = false ; | |
3944 | PyObject * obj0 = 0 ; | |
3945 | PyObject * obj1 = 0 ; | |
3946 | char * kwnames[] = { | |
3947 | (char *) "self",(char *) "source", NULL | |
3948 | }; | |
3949 | ||
3950 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) SWIG_fail; | |
3951 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3952 | if (!SWIG_IsOK(res1)) { | |
3953 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3954 | } | |
3955 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3956 | { | |
3957 | arg2 = wxString_in_helper(obj1); | |
3958 | if (arg2 == NULL) SWIG_fail; | |
3959 | temp2 = true; | |
3960 | } | |
3961 | { | |
3962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3963 | (arg1)->InitParser((wxString const &)*arg2); | |
3964 | wxPyEndAllowThreads(__tstate); | |
3965 | if (PyErr_Occurred()) SWIG_fail; | |
3966 | } | |
3967 | resultobj = SWIG_Py_Void(); | |
3968 | { | |
3969 | if (temp2) | |
3970 | delete arg2; | |
3971 | } | |
3972 | return resultobj; | |
3973 | fail: | |
3974 | { | |
3975 | if (temp2) | |
3976 | delete arg2; | |
3977 | } | |
3978 | return NULL; | |
d14a1e28 RD |
3979 | } |
3980 | ||
3981 | ||
554f62e9 RD |
3982 | SWIGINTERN PyObject *_wrap_HtmlParser_DoneParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3983 | PyObject *resultobj = 0; | |
3984 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3985 | void *argp1 = 0 ; | |
3986 | int res1 = 0 ; | |
3987 | PyObject *swig_obj[1] ; | |
3988 | ||
3989 | if (!args) SWIG_fail; | |
3990 | swig_obj[0] = args; | |
3991 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3992 | if (!SWIG_IsOK(res1)) { | |
3993 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3994 | } | |
3995 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3996 | { | |
3997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3998 | (arg1)->DoneParser(); | |
3999 | wxPyEndAllowThreads(__tstate); | |
4000 | if (PyErr_Occurred()) SWIG_fail; | |
4001 | } | |
4002 | resultobj = SWIG_Py_Void(); | |
4003 | return resultobj; | |
4004 | fail: | |
4005 | return NULL; | |
4006 | } | |
4007 | ||
4008 | ||
4009 | SWIGINTERN PyObject *_wrap_HtmlParser_DoParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4010 | PyObject *resultobj = 0; | |
4011 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4012 | int arg2 ; | |
4013 | int arg3 ; | |
4014 | void *argp1 = 0 ; | |
4015 | int res1 = 0 ; | |
4016 | int val2 ; | |
4017 | int ecode2 = 0 ; | |
4018 | int val3 ; | |
4019 | int ecode3 = 0 ; | |
4020 | PyObject * obj0 = 0 ; | |
4021 | PyObject * obj1 = 0 ; | |
4022 | PyObject * obj2 = 0 ; | |
4023 | char * kwnames[] = { | |
4024 | (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL | |
4025 | }; | |
4026 | ||
4027 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
4028 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4029 | if (!SWIG_IsOK(res1)) { | |
4030 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4031 | } | |
4032 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4033 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4034 | if (!SWIG_IsOK(ecode2)) { | |
4035 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'"); | |
4036 | } | |
4037 | arg2 = static_cast< int >(val2); | |
4038 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
4039 | if (!SWIG_IsOK(ecode3)) { | |
4040 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'"); | |
4041 | } | |
4042 | arg3 = static_cast< int >(val3); | |
4043 | { | |
4044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4045 | (arg1)->DoParsing(arg2,arg3); | |
4046 | wxPyEndAllowThreads(__tstate); | |
4047 | if (PyErr_Occurred()) SWIG_fail; | |
4048 | } | |
4049 | resultobj = SWIG_Py_Void(); | |
4050 | return resultobj; | |
4051 | fail: | |
4052 | return NULL; | |
d14a1e28 RD |
4053 | } |
4054 | ||
4055 | ||
554f62e9 RD |
4056 | SWIGINTERN PyObject *_wrap_HtmlParser_StopParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4057 | PyObject *resultobj = 0; | |
4058 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4059 | void *argp1 = 0 ; | |
4060 | int res1 = 0 ; | |
4061 | PyObject *swig_obj[1] ; | |
4062 | ||
4063 | if (!args) SWIG_fail; | |
4064 | swig_obj[0] = args; | |
4065 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4066 | if (!SWIG_IsOK(res1)) { | |
4067 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4068 | } | |
4069 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4070 | { | |
4071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4072 | (arg1)->StopParsing(); | |
4073 | wxPyEndAllowThreads(__tstate); | |
4074 | if (PyErr_Occurred()) SWIG_fail; | |
4075 | } | |
4076 | resultobj = SWIG_Py_Void(); | |
4077 | return resultobj; | |
4078 | fail: | |
4079 | return NULL; | |
4080 | } | |
4081 | ||
4082 | ||
4083 | SWIGINTERN PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4084 | PyObject *resultobj = 0; | |
4085 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4086 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
4087 | void *argp1 = 0 ; | |
4088 | int res1 = 0 ; | |
4089 | void *argp2 = 0 ; | |
4090 | int res2 = 0 ; | |
4091 | PyObject * obj0 = 0 ; | |
4092 | PyObject * obj1 = 0 ; | |
4093 | char * kwnames[] = { | |
4094 | (char *) "self",(char *) "handler", NULL | |
4095 | }; | |
4096 | ||
4097 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) SWIG_fail; | |
4098 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4099 | if (!SWIG_IsOK(res1)) { | |
4100 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4101 | } | |
4102 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4103 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 ); | |
4104 | if (!SWIG_IsOK(res2)) { | |
4105 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'"); | |
4106 | } | |
4107 | arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2); | |
4108 | { | |
4109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4110 | (arg1)->AddTagHandler(arg2); | |
4111 | wxPyEndAllowThreads(__tstate); | |
4112 | if (PyErr_Occurred()) SWIG_fail; | |
4113 | } | |
4114 | resultobj = SWIG_Py_Void(); | |
4115 | return resultobj; | |
4116 | fail: | |
4117 | return NULL; | |
d14a1e28 RD |
4118 | } |
4119 | ||
4120 | ||
554f62e9 RD |
4121 | SWIGINTERN PyObject *_wrap_HtmlParser_GetSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4122 | PyObject *resultobj = 0; | |
4123 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4124 | wxString *result = 0 ; | |
4125 | void *argp1 = 0 ; | |
4126 | int res1 = 0 ; | |
4127 | PyObject *swig_obj[1] ; | |
4128 | ||
4129 | if (!args) SWIG_fail; | |
4130 | swig_obj[0] = args; | |
4131 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4132 | if (!SWIG_IsOK(res1)) { | |
4133 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4134 | } | |
4135 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4136 | { | |
4137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4138 | result = (wxString *)(arg1)->GetSource(); | |
4139 | wxPyEndAllowThreads(__tstate); | |
4140 | if (PyErr_Occurred()) SWIG_fail; | |
4141 | } | |
4142 | { | |
4143 | #if wxUSE_UNICODE | |
4144 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
4145 | #else | |
4146 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
4147 | #endif | |
4148 | } | |
4149 | return resultobj; | |
4150 | fail: | |
4151 | return NULL; | |
4152 | } | |
4153 | ||
4154 | ||
4155 | SWIGINTERN PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4156 | PyObject *resultobj = 0; | |
4157 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4158 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
4159 | wxString arg3 ; | |
4160 | void *argp1 = 0 ; | |
4161 | int res1 = 0 ; | |
4162 | void *argp2 = 0 ; | |
4163 | int res2 = 0 ; | |
4164 | PyObject * obj0 = 0 ; | |
4165 | PyObject * obj1 = 0 ; | |
4166 | PyObject * obj2 = 0 ; | |
4167 | char * kwnames[] = { | |
4168 | (char *) "self",(char *) "handler",(char *) "tags", NULL | |
4169 | }; | |
4170 | ||
4171 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
4172 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4173 | if (!SWIG_IsOK(res1)) { | |
4174 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4175 | } | |
4176 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4177 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 ); | |
4178 | if (!SWIG_IsOK(res2)) { | |
4179 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'"); | |
4180 | } | |
4181 | arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2); | |
4182 | { | |
4183 | wxString* sptr = wxString_in_helper(obj2); | |
4184 | if (sptr == NULL) SWIG_fail; | |
4185 | arg3 = *sptr; | |
4186 | delete sptr; | |
4187 | } | |
4188 | { | |
4189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4190 | (arg1)->PushTagHandler(arg2,arg3); | |
4191 | wxPyEndAllowThreads(__tstate); | |
4192 | if (PyErr_Occurred()) SWIG_fail; | |
4193 | } | |
4194 | resultobj = SWIG_Py_Void(); | |
4195 | return resultobj; | |
4196 | fail: | |
4197 | return NULL; | |
d14a1e28 RD |
4198 | } |
4199 | ||
4200 | ||
554f62e9 RD |
4201 | SWIGINTERN PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4202 | PyObject *resultobj = 0; | |
4203 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4204 | void *argp1 = 0 ; | |
4205 | int res1 = 0 ; | |
4206 | PyObject *swig_obj[1] ; | |
4207 | ||
4208 | if (!args) SWIG_fail; | |
4209 | swig_obj[0] = args; | |
4210 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4211 | if (!SWIG_IsOK(res1)) { | |
4212 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4213 | } | |
4214 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4215 | { | |
4216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4217 | (arg1)->PopTagHandler(); | |
4218 | wxPyEndAllowThreads(__tstate); | |
4219 | if (PyErr_Occurred()) SWIG_fail; | |
4220 | } | |
4221 | resultobj = SWIG_Py_Void(); | |
4222 | return resultobj; | |
4223 | fail: | |
4224 | return NULL; | |
d14a1e28 RD |
4225 | } |
4226 | ||
4227 | ||
554f62e9 RD |
4228 | SWIGINTERN PyObject *HtmlParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4229 | PyObject *obj; | |
4230 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
4231 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser, SWIG_NewClientData(obj)); | |
4232 | return SWIG_Py_Void(); | |
d14a1e28 RD |
4233 | } |
4234 | ||
554f62e9 RD |
4235 | SWIGINTERN PyObject *_wrap_new_HtmlWinParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
4236 | PyObject *resultobj = 0; | |
4237 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ; | |
4238 | wxHtmlWinParser *result = 0 ; | |
4239 | void *argp1 = 0 ; | |
4240 | int res1 = 0 ; | |
4241 | PyObject * obj0 = 0 ; | |
4242 | char * kwnames[] = { | |
4243 | (char *) "wnd", NULL | |
4244 | }; | |
4245 | ||
4246 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) SWIG_fail; | |
4247 | if (obj0) { | |
4248 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
4249 | if (!SWIG_IsOK(res1)) { | |
4250 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
d14a1e28 | 4251 | } |
554f62e9 RD |
4252 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); |
4253 | } | |
4254 | { | |
4255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4256 | result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1); | |
4257 | wxPyEndAllowThreads(__tstate); | |
4258 | if (PyErr_Occurred()) SWIG_fail; | |
4259 | } | |
4260 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_NEW | 0 ); | |
4261 | return resultobj; | |
4262 | fail: | |
4263 | return NULL; | |
4264 | } | |
4265 | ||
4266 | ||
4267 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4268 | PyObject *resultobj = 0; | |
4269 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4270 | wxDC *arg2 = (wxDC *) 0 ; | |
4271 | void *argp1 = 0 ; | |
4272 | int res1 = 0 ; | |
4273 | void *argp2 = 0 ; | |
4274 | int res2 = 0 ; | |
4275 | PyObject * obj0 = 0 ; | |
4276 | PyObject * obj1 = 0 ; | |
4277 | char * kwnames[] = { | |
4278 | (char *) "self",(char *) "dc", NULL | |
4279 | }; | |
4280 | ||
4281 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) SWIG_fail; | |
4282 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4283 | if (!SWIG_IsOK(res1)) { | |
4284 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4285 | } | |
4286 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4287 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); | |
4288 | if (!SWIG_IsOK(res2)) { | |
4289 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); | |
4290 | } | |
4291 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
4292 | { | |
4293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4294 | (arg1)->SetDC(arg2); | |
4295 | wxPyEndAllowThreads(__tstate); | |
4296 | if (PyErr_Occurred()) SWIG_fail; | |
4297 | } | |
4298 | resultobj = SWIG_Py_Void(); | |
4299 | return resultobj; | |
4300 | fail: | |
4301 | return NULL; | |
d14a1e28 RD |
4302 | } |
4303 | ||
4304 | ||
554f62e9 RD |
4305 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4306 | PyObject *resultobj = 0; | |
4307 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4308 | wxDC *result = 0 ; | |
4309 | void *argp1 = 0 ; | |
4310 | int res1 = 0 ; | |
4311 | PyObject *swig_obj[1] ; | |
4312 | ||
4313 | if (!args) SWIG_fail; | |
4314 | swig_obj[0] = args; | |
4315 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4316 | if (!SWIG_IsOK(res1)) { | |
4317 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4318 | } | |
4319 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4320 | { | |
4321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4322 | result = (wxDC *)(arg1)->GetDC(); | |
4323 | wxPyEndAllowThreads(__tstate); | |
4324 | if (PyErr_Occurred()) SWIG_fail; | |
4325 | } | |
4326 | { | |
4327 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
4328 | } | |
4329 | return resultobj; | |
4330 | fail: | |
4331 | return NULL; | |
d14a1e28 RD |
4332 | } |
4333 | ||
4334 | ||
554f62e9 RD |
4335 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4336 | PyObject *resultobj = 0; | |
4337 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4338 | int result; | |
4339 | void *argp1 = 0 ; | |
4340 | int res1 = 0 ; | |
4341 | PyObject *swig_obj[1] ; | |
4342 | ||
4343 | if (!args) SWIG_fail; | |
4344 | swig_obj[0] = args; | |
4345 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4346 | if (!SWIG_IsOK(res1)) { | |
4347 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4348 | } | |
4349 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4350 | { | |
4351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4352 | result = (int)(arg1)->GetCharHeight(); | |
4353 | wxPyEndAllowThreads(__tstate); | |
4354 | if (PyErr_Occurred()) SWIG_fail; | |
4355 | } | |
4356 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4357 | return resultobj; | |
4358 | fail: | |
4359 | return NULL; | |
d14a1e28 RD |
4360 | } |
4361 | ||
4362 | ||
554f62e9 RD |
4363 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4364 | PyObject *resultobj = 0; | |
4365 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4366 | int result; | |
4367 | void *argp1 = 0 ; | |
4368 | int res1 = 0 ; | |
4369 | PyObject *swig_obj[1] ; | |
4370 | ||
4371 | if (!args) SWIG_fail; | |
4372 | swig_obj[0] = args; | |
4373 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4374 | if (!SWIG_IsOK(res1)) { | |
4375 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4376 | } | |
4377 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4378 | { | |
4379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4380 | result = (int)(arg1)->GetCharWidth(); | |
4381 | wxPyEndAllowThreads(__tstate); | |
4382 | if (PyErr_Occurred()) SWIG_fail; | |
4383 | } | |
4384 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4385 | return resultobj; | |
4386 | fail: | |
4387 | return NULL; | |
d14a1e28 RD |
4388 | } |
4389 | ||
4390 | ||
554f62e9 RD |
4391 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4392 | PyObject *resultobj = 0; | |
4393 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4394 | wxPyHtmlWindow *result = 0 ; | |
4395 | void *argp1 = 0 ; | |
4396 | int res1 = 0 ; | |
4397 | PyObject *swig_obj[1] ; | |
4398 | ||
4399 | if (!args) SWIG_fail; | |
4400 | swig_obj[0] = args; | |
4401 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4402 | if (!SWIG_IsOK(res1)) { | |
4403 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4404 | } | |
4405 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4406 | { | |
4407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4408 | result = (wxPyHtmlWindow *)(arg1)->GetWindow(); | |
4409 | wxPyEndAllowThreads(__tstate); | |
4410 | if (PyErr_Occurred()) SWIG_fail; | |
4411 | } | |
4412 | { | |
4413 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
4414 | } | |
4415 | return resultobj; | |
4416 | fail: | |
4417 | return NULL; | |
4418 | } | |
4419 | ||
4420 | ||
4421 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4422 | PyObject *resultobj = 0; | |
4423 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4424 | wxString arg2 ; | |
4425 | wxString arg3 ; | |
4426 | PyObject *arg4 = (PyObject *) NULL ; | |
4427 | void *argp1 = 0 ; | |
4428 | int res1 = 0 ; | |
4429 | PyObject * obj0 = 0 ; | |
4430 | PyObject * obj1 = 0 ; | |
4431 | PyObject * obj2 = 0 ; | |
4432 | PyObject * obj3 = 0 ; | |
4433 | char * kwnames[] = { | |
4434 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
4435 | }; | |
4436 | ||
4437 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
4438 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4439 | if (!SWIG_IsOK(res1)) { | |
4440 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4441 | } | |
4442 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4443 | { | |
4444 | wxString* sptr = wxString_in_helper(obj1); | |
4445 | if (sptr == NULL) SWIG_fail; | |
4446 | arg2 = *sptr; | |
4447 | delete sptr; | |
4448 | } | |
4449 | { | |
4450 | wxString* sptr = wxString_in_helper(obj2); | |
4451 | if (sptr == NULL) SWIG_fail; | |
4452 | arg3 = *sptr; | |
4453 | delete sptr; | |
4454 | } | |
4455 | if (obj3) { | |
4456 | arg4 = obj3; | |
4457 | } | |
4458 | { | |
4459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4460 | wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4); | |
4461 | wxPyEndAllowThreads(__tstate); | |
4462 | if (PyErr_Occurred()) SWIG_fail; | |
4463 | } | |
4464 | resultobj = SWIG_Py_Void(); | |
4465 | return resultobj; | |
4466 | fail: | |
4467 | return NULL; | |
4468 | } | |
4469 | ||
4470 | ||
4471 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4472 | PyObject *resultobj = 0; | |
4473 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4474 | int arg2 = (int) -1 ; | |
4475 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4476 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
4477 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4478 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
4479 | void *argp1 = 0 ; | |
4480 | int res1 = 0 ; | |
4481 | int val2 ; | |
4482 | int ecode2 = 0 ; | |
4483 | bool temp3 = false ; | |
4484 | bool temp4 = false ; | |
4485 | PyObject * obj0 = 0 ; | |
4486 | PyObject * obj1 = 0 ; | |
4487 | PyObject * obj2 = 0 ; | |
4488 | PyObject * obj3 = 0 ; | |
4489 | char * kwnames[] = { | |
4490 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
4491 | }; | |
4492 | ||
4493 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
4494 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4495 | if (!SWIG_IsOK(res1)) { | |
4496 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4497 | } | |
4498 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4499 | if (obj1) { | |
4500 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4501 | if (!SWIG_IsOK(ecode2)) { | |
4502 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
4503 | } | |
4504 | arg2 = static_cast< int >(val2); | |
4505 | } | |
4506 | if (obj2) { | |
d14a1e28 | 4507 | { |
554f62e9 RD |
4508 | arg3 = wxString_in_helper(obj2); |
4509 | if (arg3 == NULL) SWIG_fail; | |
4510 | temp3 = true; | |
d14a1e28 | 4511 | } |
554f62e9 RD |
4512 | } |
4513 | if (obj3) { | |
d14a1e28 | 4514 | { |
554f62e9 RD |
4515 | arg4 = wxString_in_helper(obj3); |
4516 | if (arg4 == NULL) SWIG_fail; | |
4517 | temp4 = true; | |
d14a1e28 | 4518 | } |
554f62e9 RD |
4519 | } |
4520 | { | |
4521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4522 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
4523 | wxPyEndAllowThreads(__tstate); | |
4524 | if (PyErr_Occurred()) SWIG_fail; | |
4525 | } | |
4526 | resultobj = SWIG_Py_Void(); | |
4527 | { | |
4528 | if (temp3) | |
4529 | delete arg3; | |
4530 | } | |
4531 | { | |
4532 | if (temp4) | |
4533 | delete arg4; | |
4534 | } | |
4535 | return resultobj; | |
4536 | fail: | |
4537 | { | |
4538 | if (temp3) | |
4539 | delete arg3; | |
4540 | } | |
4541 | { | |
4542 | if (temp4) | |
4543 | delete arg4; | |
4544 | } | |
4545 | return NULL; | |
d14a1e28 RD |
4546 | } |
4547 | ||
4548 | ||
554f62e9 RD |
4549 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4550 | PyObject *resultobj = 0; | |
4551 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4552 | wxHtmlContainerCell *result = 0 ; | |
4553 | void *argp1 = 0 ; | |
4554 | int res1 = 0 ; | |
4555 | PyObject *swig_obj[1] ; | |
4556 | ||
4557 | if (!args) SWIG_fail; | |
4558 | swig_obj[0] = args; | |
4559 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4560 | if (!SWIG_IsOK(res1)) { | |
4561 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4562 | } | |
4563 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4564 | { | |
4565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4566 | result = (wxHtmlContainerCell *)(arg1)->GetContainer(); | |
4567 | wxPyEndAllowThreads(__tstate); | |
4568 | if (PyErr_Occurred()) SWIG_fail; | |
4569 | } | |
4570 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4571 | return resultobj; | |
4572 | fail: | |
4573 | return NULL; | |
d14a1e28 RD |
4574 | } |
4575 | ||
4576 | ||
554f62e9 RD |
4577 | SWIGINTERN PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4578 | PyObject *resultobj = 0; | |
4579 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4580 | wxHtmlContainerCell *result = 0 ; | |
4581 | void *argp1 = 0 ; | |
4582 | int res1 = 0 ; | |
4583 | PyObject *swig_obj[1] ; | |
4584 | ||
4585 | if (!args) SWIG_fail; | |
4586 | swig_obj[0] = args; | |
4587 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4588 | if (!SWIG_IsOK(res1)) { | |
4589 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4590 | } | |
4591 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4592 | { | |
4593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4594 | result = (wxHtmlContainerCell *)(arg1)->OpenContainer(); | |
4595 | wxPyEndAllowThreads(__tstate); | |
4596 | if (PyErr_Occurred()) SWIG_fail; | |
4597 | } | |
4598 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4599 | return resultobj; | |
4600 | fail: | |
4601 | return NULL; | |
4602 | } | |
4603 | ||
4604 | ||
4605 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4606 | PyObject *resultobj = 0; | |
4607 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4608 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
4609 | wxHtmlContainerCell *result = 0 ; | |
4610 | void *argp1 = 0 ; | |
4611 | int res1 = 0 ; | |
4612 | void *argp2 = 0 ; | |
4613 | int res2 = 0 ; | |
4614 | PyObject * obj0 = 0 ; | |
4615 | PyObject * obj1 = 0 ; | |
4616 | char * kwnames[] = { | |
4617 | (char *) "self",(char *) "c", NULL | |
4618 | }; | |
4619 | ||
4620 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) SWIG_fail; | |
4621 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4622 | if (!SWIG_IsOK(res1)) { | |
4623 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4624 | } | |
4625 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4626 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4627 | if (!SWIG_IsOK(res2)) { | |
4628 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'"); | |
4629 | } | |
4630 | arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2); | |
4631 | { | |
4632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4633 | result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2); | |
4634 | wxPyEndAllowThreads(__tstate); | |
4635 | if (PyErr_Occurred()) SWIG_fail; | |
4636 | } | |
4637 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4638 | return resultobj; | |
4639 | fail: | |
4640 | return NULL; | |
d14a1e28 RD |
4641 | } |
4642 | ||
4643 | ||
554f62e9 RD |
4644 | SWIGINTERN PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4645 | PyObject *resultobj = 0; | |
4646 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4647 | wxHtmlContainerCell *result = 0 ; | |
4648 | void *argp1 = 0 ; | |
4649 | int res1 = 0 ; | |
4650 | PyObject *swig_obj[1] ; | |
4651 | ||
4652 | if (!args) SWIG_fail; | |
4653 | swig_obj[0] = args; | |
4654 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4655 | if (!SWIG_IsOK(res1)) { | |
4656 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4657 | } | |
4658 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4659 | { | |
4660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4661 | result = (wxHtmlContainerCell *)(arg1)->CloseContainer(); | |
4662 | wxPyEndAllowThreads(__tstate); | |
4663 | if (PyErr_Occurred()) SWIG_fail; | |
4664 | } | |
4665 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4666 | return resultobj; | |
4667 | fail: | |
4668 | return NULL; | |
d14a1e28 RD |
4669 | } |
4670 | ||
4671 | ||
554f62e9 RD |
4672 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4673 | PyObject *resultobj = 0; | |
4674 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4675 | int result; | |
4676 | void *argp1 = 0 ; | |
4677 | int res1 = 0 ; | |
4678 | PyObject *swig_obj[1] ; | |
4679 | ||
4680 | if (!args) SWIG_fail; | |
4681 | swig_obj[0] = args; | |
4682 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4683 | if (!SWIG_IsOK(res1)) { | |
4684 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4685 | } | |
4686 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4687 | { | |
4688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4689 | result = (int)(arg1)->GetFontSize(); | |
4690 | wxPyEndAllowThreads(__tstate); | |
4691 | if (PyErr_Occurred()) SWIG_fail; | |
4692 | } | |
4693 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4694 | return resultobj; | |
4695 | fail: | |
4696 | return NULL; | |
4697 | } | |
4698 | ||
4699 | ||
4700 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4701 | PyObject *resultobj = 0; | |
4702 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4703 | int arg2 ; | |
4704 | void *argp1 = 0 ; | |
4705 | int res1 = 0 ; | |
4706 | int val2 ; | |
4707 | int ecode2 = 0 ; | |
4708 | PyObject * obj0 = 0 ; | |
4709 | PyObject * obj1 = 0 ; | |
4710 | char * kwnames[] = { | |
4711 | (char *) "self",(char *) "s", NULL | |
4712 | }; | |
4713 | ||
4714 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
4715 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4716 | if (!SWIG_IsOK(res1)) { | |
4717 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4718 | } | |
4719 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4720 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4721 | if (!SWIG_IsOK(ecode2)) { | |
4722 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'"); | |
4723 | } | |
4724 | arg2 = static_cast< int >(val2); | |
4725 | { | |
4726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4727 | (arg1)->SetFontSize(arg2); | |
4728 | wxPyEndAllowThreads(__tstate); | |
4729 | if (PyErr_Occurred()) SWIG_fail; | |
4730 | } | |
4731 | resultobj = SWIG_Py_Void(); | |
4732 | return resultobj; | |
4733 | fail: | |
4734 | return NULL; | |
d14a1e28 RD |
4735 | } |
4736 | ||
4737 | ||
554f62e9 RD |
4738 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4739 | PyObject *resultobj = 0; | |
4740 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4741 | int result; | |
4742 | void *argp1 = 0 ; | |
4743 | int res1 = 0 ; | |
4744 | PyObject *swig_obj[1] ; | |
4745 | ||
4746 | if (!args) SWIG_fail; | |
4747 | swig_obj[0] = args; | |
4748 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4749 | if (!SWIG_IsOK(res1)) { | |
4750 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4751 | } | |
4752 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4753 | { | |
4754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4755 | result = (int)(arg1)->GetFontBold(); | |
4756 | wxPyEndAllowThreads(__tstate); | |
4757 | if (PyErr_Occurred()) SWIG_fail; | |
4758 | } | |
4759 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4760 | return resultobj; | |
4761 | fail: | |
4762 | return NULL; | |
4763 | } | |
4764 | ||
4765 | ||
4766 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4767 | PyObject *resultobj = 0; | |
4768 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4769 | int arg2 ; | |
4770 | void *argp1 = 0 ; | |
4771 | int res1 = 0 ; | |
4772 | int val2 ; | |
4773 | int ecode2 = 0 ; | |
4774 | PyObject * obj0 = 0 ; | |
4775 | PyObject * obj1 = 0 ; | |
4776 | char * kwnames[] = { | |
4777 | (char *) "self",(char *) "x", NULL | |
4778 | }; | |
4779 | ||
4780 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) SWIG_fail; | |
4781 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4782 | if (!SWIG_IsOK(res1)) { | |
4783 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4784 | } | |
4785 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4786 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4787 | if (!SWIG_IsOK(ecode2)) { | |
4788 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'"); | |
4789 | } | |
4790 | arg2 = static_cast< int >(val2); | |
4791 | { | |
4792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4793 | (arg1)->SetFontBold(arg2); | |
4794 | wxPyEndAllowThreads(__tstate); | |
4795 | if (PyErr_Occurred()) SWIG_fail; | |
4796 | } | |
4797 | resultobj = SWIG_Py_Void(); | |
4798 | return resultobj; | |
4799 | fail: | |
4800 | return NULL; | |
d14a1e28 RD |
4801 | } |
4802 | ||
4803 | ||
554f62e9 RD |
4804 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4805 | PyObject *resultobj = 0; | |
4806 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4807 | int result; | |
4808 | void *argp1 = 0 ; | |
4809 | int res1 = 0 ; | |
4810 | PyObject *swig_obj[1] ; | |
4811 | ||
4812 | if (!args) SWIG_fail; | |
4813 | swig_obj[0] = args; | |
4814 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4815 | if (!SWIG_IsOK(res1)) { | |
4816 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4817 | } | |
4818 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4819 | { | |
4820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4821 | result = (int)(arg1)->GetFontItalic(); | |
4822 | wxPyEndAllowThreads(__tstate); | |
4823 | if (PyErr_Occurred()) SWIG_fail; | |
4824 | } | |
4825 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4826 | return resultobj; | |
4827 | fail: | |
4828 | return NULL; | |
4829 | } | |
4830 | ||
4831 | ||
4832 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4833 | PyObject *resultobj = 0; | |
4834 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4835 | int arg2 ; | |
4836 | void *argp1 = 0 ; | |
4837 | int res1 = 0 ; | |
4838 | int val2 ; | |
4839 | int ecode2 = 0 ; | |
4840 | PyObject * obj0 = 0 ; | |
4841 | PyObject * obj1 = 0 ; | |
4842 | char * kwnames[] = { | |
4843 | (char *) "self",(char *) "x", NULL | |
4844 | }; | |
4845 | ||
4846 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) SWIG_fail; | |
4847 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4848 | if (!SWIG_IsOK(res1)) { | |
4849 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4850 | } | |
4851 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4852 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4853 | if (!SWIG_IsOK(ecode2)) { | |
4854 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'"); | |
4855 | } | |
4856 | arg2 = static_cast< int >(val2); | |
4857 | { | |
4858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4859 | (arg1)->SetFontItalic(arg2); | |
4860 | wxPyEndAllowThreads(__tstate); | |
4861 | if (PyErr_Occurred()) SWIG_fail; | |
4862 | } | |
4863 | resultobj = SWIG_Py_Void(); | |
4864 | return resultobj; | |
4865 | fail: | |
4866 | return NULL; | |
d14a1e28 RD |
4867 | } |
4868 | ||
4869 | ||
554f62e9 RD |
4870 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4871 | PyObject *resultobj = 0; | |
4872 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4873 | int result; | |
4874 | void *argp1 = 0 ; | |
4875 | int res1 = 0 ; | |
4876 | PyObject *swig_obj[1] ; | |
4877 | ||
4878 | if (!args) SWIG_fail; | |
4879 | swig_obj[0] = args; | |
4880 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4881 | if (!SWIG_IsOK(res1)) { | |
4882 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4883 | } | |
4884 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4885 | { | |
4886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4887 | result = (int)(arg1)->GetFontUnderlined(); | |
4888 | wxPyEndAllowThreads(__tstate); | |
4889 | if (PyErr_Occurred()) SWIG_fail; | |
4890 | } | |
4891 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4892 | return resultobj; | |
4893 | fail: | |
4894 | return NULL; | |
4895 | } | |
4896 | ||
4897 | ||
4898 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4899 | PyObject *resultobj = 0; | |
4900 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4901 | int arg2 ; | |
4902 | void *argp1 = 0 ; | |
4903 | int res1 = 0 ; | |
4904 | int val2 ; | |
4905 | int ecode2 = 0 ; | |
4906 | PyObject * obj0 = 0 ; | |
4907 | PyObject * obj1 = 0 ; | |
4908 | char * kwnames[] = { | |
4909 | (char *) "self",(char *) "x", NULL | |
4910 | }; | |
4911 | ||
4912 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail; | |
4913 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4914 | if (!SWIG_IsOK(res1)) { | |
4915 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4916 | } | |
4917 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4918 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4919 | if (!SWIG_IsOK(ecode2)) { | |
4920 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'"); | |
4921 | } | |
4922 | arg2 = static_cast< int >(val2); | |
4923 | { | |
4924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4925 | (arg1)->SetFontUnderlined(arg2); | |
4926 | wxPyEndAllowThreads(__tstate); | |
4927 | if (PyErr_Occurred()) SWIG_fail; | |
4928 | } | |
4929 | resultobj = SWIG_Py_Void(); | |
4930 | return resultobj; | |
4931 | fail: | |
4932 | return NULL; | |
d14a1e28 RD |
4933 | } |
4934 | ||
4935 | ||
554f62e9 RD |
4936 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4937 | PyObject *resultobj = 0; | |
4938 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4939 | int result; | |
4940 | void *argp1 = 0 ; | |
4941 | int res1 = 0 ; | |
4942 | PyObject *swig_obj[1] ; | |
4943 | ||
4944 | if (!args) SWIG_fail; | |
4945 | swig_obj[0] = args; | |
4946 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4947 | if (!SWIG_IsOK(res1)) { | |
4948 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4949 | } | |
4950 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4951 | { | |
4952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4953 | result = (int)(arg1)->GetFontFixed(); | |
4954 | wxPyEndAllowThreads(__tstate); | |
4955 | if (PyErr_Occurred()) SWIG_fail; | |
4956 | } | |
4957 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4958 | return resultobj; | |
4959 | fail: | |
4960 | return NULL; | |
4961 | } | |
4962 | ||
4963 | ||
4964 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4965 | PyObject *resultobj = 0; | |
4966 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4967 | int arg2 ; | |
4968 | void *argp1 = 0 ; | |
4969 | int res1 = 0 ; | |
4970 | int val2 ; | |
4971 | int ecode2 = 0 ; | |
4972 | PyObject * obj0 = 0 ; | |
4973 | PyObject * obj1 = 0 ; | |
4974 | char * kwnames[] = { | |
4975 | (char *) "self",(char *) "x", NULL | |
4976 | }; | |
4977 | ||
4978 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) SWIG_fail; | |
4979 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4980 | if (!SWIG_IsOK(res1)) { | |
4981 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4982 | } | |
4983 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4984 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4985 | if (!SWIG_IsOK(ecode2)) { | |
4986 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'"); | |
4987 | } | |
4988 | arg2 = static_cast< int >(val2); | |
4989 | { | |
4990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4991 | (arg1)->SetFontFixed(arg2); | |
4992 | wxPyEndAllowThreads(__tstate); | |
4993 | if (PyErr_Occurred()) SWIG_fail; | |
4994 | } | |
4995 | resultobj = SWIG_Py_Void(); | |
4996 | return resultobj; | |
4997 | fail: | |
4998 | return NULL; | |
30ee79f7 RD |
4999 | } |
5000 | ||
5001 | ||
554f62e9 RD |
5002 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5003 | PyObject *resultobj = 0; | |
5004 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5005 | int result; | |
5006 | void *argp1 = 0 ; | |
5007 | int res1 = 0 ; | |
5008 | PyObject *swig_obj[1] ; | |
5009 | ||
5010 | if (!args) SWIG_fail; | |
5011 | swig_obj[0] = args; | |
5012 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5013 | if (!SWIG_IsOK(res1)) { | |
5014 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5015 | } | |
5016 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5017 | { | |
5018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5019 | result = (int)(arg1)->GetAlign(); | |
5020 | wxPyEndAllowThreads(__tstate); | |
5021 | if (PyErr_Occurred()) SWIG_fail; | |
5022 | } | |
5023 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5024 | return resultobj; | |
5025 | fail: | |
5026 | return NULL; | |
5027 | } | |
5028 | ||
5029 | ||
5030 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5031 | PyObject *resultobj = 0; | |
5032 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5033 | int arg2 ; | |
5034 | void *argp1 = 0 ; | |
5035 | int res1 = 0 ; | |
5036 | int val2 ; | |
5037 | int ecode2 = 0 ; | |
5038 | PyObject * obj0 = 0 ; | |
5039 | PyObject * obj1 = 0 ; | |
5040 | char * kwnames[] = { | |
5041 | (char *) "self",(char *) "a", NULL | |
5042 | }; | |
5043 | ||
5044 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail; | |
5045 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5046 | if (!SWIG_IsOK(res1)) { | |
5047 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5048 | } | |
5049 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5050 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5051 | if (!SWIG_IsOK(ecode2)) { | |
5052 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'"); | |
5053 | } | |
5054 | arg2 = static_cast< int >(val2); | |
5055 | { | |
5056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5057 | (arg1)->SetAlign(arg2); | |
5058 | wxPyEndAllowThreads(__tstate); | |
5059 | if (PyErr_Occurred()) SWIG_fail; | |
5060 | } | |
5061 | resultobj = SWIG_Py_Void(); | |
5062 | return resultobj; | |
5063 | fail: | |
5064 | return NULL; | |
d14a1e28 RD |
5065 | } |
5066 | ||
5067 | ||
554f62e9 RD |
5068 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5069 | PyObject *resultobj = 0; | |
5070 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5071 | wxColour result; | |
5072 | void *argp1 = 0 ; | |
5073 | int res1 = 0 ; | |
5074 | PyObject *swig_obj[1] ; | |
5075 | ||
5076 | if (!args) SWIG_fail; | |
5077 | swig_obj[0] = args; | |
5078 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5079 | if (!SWIG_IsOK(res1)) { | |
5080 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5081 | } | |
5082 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5083 | { | |
5084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5085 | result = (arg1)->GetLinkColor(); | |
5086 | wxPyEndAllowThreads(__tstate); | |
5087 | if (PyErr_Occurred()) SWIG_fail; | |
5088 | } | |
5089 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
5090 | return resultobj; | |
5091 | fail: | |
5092 | return NULL; | |
5093 | } | |
5094 | ||
5095 | ||
5096 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5097 | PyObject *resultobj = 0; | |
5098 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5099 | wxColour *arg2 = 0 ; | |
5100 | void *argp1 = 0 ; | |
5101 | int res1 = 0 ; | |
5102 | wxColour temp2 ; | |
5103 | PyObject * obj0 = 0 ; | |
5104 | PyObject * obj1 = 0 ; | |
5105 | char * kwnames[] = { | |
5106 | (char *) "self",(char *) "clr", NULL | |
5107 | }; | |
5108 | ||
5109 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) SWIG_fail; | |
5110 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5111 | if (!SWIG_IsOK(res1)) { | |
5112 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5113 | } | |
5114 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5115 | { | |
5116 | arg2 = &temp2; | |
5117 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5118 | } | |
5119 | { | |
5120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5121 | (arg1)->SetLinkColor((wxColour const &)*arg2); | |
5122 | wxPyEndAllowThreads(__tstate); | |
5123 | if (PyErr_Occurred()) SWIG_fail; | |
5124 | } | |
5125 | resultobj = SWIG_Py_Void(); | |
5126 | return resultobj; | |
5127 | fail: | |
5128 | return NULL; | |
d14a1e28 RD |
5129 | } |
5130 | ||
5131 | ||
554f62e9 RD |
5132 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5133 | PyObject *resultobj = 0; | |
5134 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5135 | wxColour result; | |
5136 | void *argp1 = 0 ; | |
5137 | int res1 = 0 ; | |
5138 | PyObject *swig_obj[1] ; | |
5139 | ||
5140 | if (!args) SWIG_fail; | |
5141 | swig_obj[0] = args; | |
5142 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5143 | if (!SWIG_IsOK(res1)) { | |
5144 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5145 | } | |
5146 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5147 | { | |
5148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5149 | result = (arg1)->GetActualColor(); | |
5150 | wxPyEndAllowThreads(__tstate); | |
5151 | if (PyErr_Occurred()) SWIG_fail; | |
5152 | } | |
5153 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
5154 | return resultobj; | |
5155 | fail: | |
5156 | return NULL; | |
5157 | } | |
5158 | ||
5159 | ||
5160 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5161 | PyObject *resultobj = 0; | |
5162 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5163 | wxColour *arg2 = 0 ; | |
5164 | void *argp1 = 0 ; | |
5165 | int res1 = 0 ; | |
5166 | wxColour temp2 ; | |
5167 | PyObject * obj0 = 0 ; | |
5168 | PyObject * obj1 = 0 ; | |
5169 | char * kwnames[] = { | |
5170 | (char *) "self",(char *) "clr", NULL | |
5171 | }; | |
5172 | ||
5173 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) SWIG_fail; | |
5174 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5175 | if (!SWIG_IsOK(res1)) { | |
5176 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5177 | } | |
5178 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5179 | { | |
5180 | arg2 = &temp2; | |
5181 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5182 | } | |
5183 | { | |
5184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5185 | (arg1)->SetActualColor((wxColour const &)*arg2); | |
5186 | wxPyEndAllowThreads(__tstate); | |
5187 | if (PyErr_Occurred()) SWIG_fail; | |
5188 | } | |
5189 | resultobj = SWIG_Py_Void(); | |
5190 | return resultobj; | |
5191 | fail: | |
5192 | return NULL; | |
5193 | } | |
5194 | ||
5195 | ||
5196 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5197 | PyObject *resultobj = 0; | |
5198 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5199 | wxString *arg2 = 0 ; | |
5200 | void *argp1 = 0 ; | |
5201 | int res1 = 0 ; | |
5202 | bool temp2 = false ; | |
5203 | PyObject * obj0 = 0 ; | |
5204 | PyObject * obj1 = 0 ; | |
5205 | char * kwnames[] = { | |
5206 | (char *) "self",(char *) "link", NULL | |
5207 | }; | |
5208 | ||
5209 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) SWIG_fail; | |
5210 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5211 | if (!SWIG_IsOK(res1)) { | |
5212 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5213 | } | |
5214 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5215 | { | |
5216 | arg2 = wxString_in_helper(obj1); | |
5217 | if (arg2 == NULL) SWIG_fail; | |
5218 | temp2 = true; | |
5219 | } | |
5220 | { | |
5221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5222 | (arg1)->SetLink((wxString const &)*arg2); | |
5223 | wxPyEndAllowThreads(__tstate); | |
5224 | if (PyErr_Occurred()) SWIG_fail; | |
5225 | } | |
5226 | resultobj = SWIG_Py_Void(); | |
5227 | { | |
5228 | if (temp2) | |
5229 | delete arg2; | |
5230 | } | |
5231 | return resultobj; | |
5232 | fail: | |
5233 | { | |
5234 | if (temp2) | |
5235 | delete arg2; | |
5236 | } | |
5237 | return NULL; | |
d14a1e28 RD |
5238 | } |
5239 | ||
5240 | ||
554f62e9 RD |
5241 | SWIGINTERN PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5242 | PyObject *resultobj = 0; | |
5243 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5244 | wxFont *result = 0 ; | |
5245 | void *argp1 = 0 ; | |
5246 | int res1 = 0 ; | |
5247 | PyObject *swig_obj[1] ; | |
5248 | ||
5249 | if (!args) SWIG_fail; | |
5250 | swig_obj[0] = args; | |
5251 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5252 | if (!SWIG_IsOK(res1)) { | |
5253 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5254 | } | |
5255 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5256 | { | |
5257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5258 | result = (wxFont *)(arg1)->CreateCurrentFont(); | |
5259 | wxPyEndAllowThreads(__tstate); | |
5260 | if (PyErr_Occurred()) SWIG_fail; | |
5261 | } | |
5262 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 ); | |
5263 | return resultobj; | |
5264 | fail: | |
5265 | return NULL; | |
d14a1e28 RD |
5266 | } |
5267 | ||
5268 | ||
554f62e9 RD |
5269 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5270 | PyObject *resultobj = 0; | |
5271 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5272 | SwigValueWrapper<wxHtmlLinkInfo > result; | |
5273 | void *argp1 = 0 ; | |
5274 | int res1 = 0 ; | |
5275 | PyObject *swig_obj[1] ; | |
5276 | ||
5277 | if (!args) SWIG_fail; | |
5278 | swig_obj[0] = args; | |
5279 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5280 | if (!SWIG_IsOK(res1)) { | |
5281 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5282 | } | |
5283 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5284 | { | |
5285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5286 | result = (arg1)->GetLink(); | |
5287 | wxPyEndAllowThreads(__tstate); | |
5288 | if (PyErr_Occurred()) SWIG_fail; | |
5289 | } | |
5290 | resultobj = SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo& >(result))), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_OWN | 0 ); | |
5291 | return resultobj; | |
5292 | fail: | |
5293 | return NULL; | |
d14a1e28 RD |
5294 | } |
5295 | ||
5296 | ||
554f62e9 RD |
5297 | SWIGINTERN PyObject *HtmlWinParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5298 | PyObject *obj; | |
5299 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5300 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser, SWIG_NewClientData(obj)); | |
5301 | return SWIG_Py_Void(); | |
d14a1e28 RD |
5302 | } |
5303 | ||
554f62e9 RD |
5304 | SWIGINTERN PyObject *HtmlWinParser_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5305 | return SWIG_Python_InitShadowInstance(args); | |
d14a1e28 RD |
5306 | } |
5307 | ||
554f62e9 RD |
5308 | SWIGINTERN PyObject *_wrap_new_HtmlTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5309 | PyObject *resultobj = 0; | |
5310 | wxPyHtmlTagHandler *result = 0 ; | |
5311 | ||
5312 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlTagHandler",0,0,0)) SWIG_fail; | |
5313 | { | |
5314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5315 | result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler(); | |
5316 | wxPyEndAllowThreads(__tstate); | |
5317 | if (PyErr_Occurred()) SWIG_fail; | |
5318 | } | |
5319 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_NEW | 0 ); | |
5320 | return resultobj; | |
5321 | fail: | |
5322 | return NULL; | |
5323 | } | |
5324 | ||
5325 | ||
5326 | SWIGINTERN PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5327 | PyObject *resultobj = 0; | |
5328 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5329 | PyObject *arg2 = (PyObject *) 0 ; | |
5330 | PyObject *arg3 = (PyObject *) 0 ; | |
5331 | void *argp1 = 0 ; | |
5332 | int res1 = 0 ; | |
5333 | PyObject * obj0 = 0 ; | |
5334 | PyObject * obj1 = 0 ; | |
5335 | PyObject * obj2 = 0 ; | |
5336 | char * kwnames[] = { | |
5337 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5338 | }; | |
5339 | ||
5340 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5341 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5342 | if (!SWIG_IsOK(res1)) { | |
5343 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5344 | } | |
5345 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5346 | arg2 = obj1; | |
5347 | arg3 = obj2; | |
5348 | { | |
5349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5350 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5351 | wxPyEndAllowThreads(__tstate); | |
5352 | if (PyErr_Occurred()) SWIG_fail; | |
5353 | } | |
5354 | resultobj = SWIG_Py_Void(); | |
5355 | return resultobj; | |
5356 | fail: | |
5357 | return NULL; | |
5358 | } | |
5359 | ||
5360 | ||
5361 | SWIGINTERN PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5362 | PyObject *resultobj = 0; | |
5363 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5364 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
5365 | void *argp1 = 0 ; | |
5366 | int res1 = 0 ; | |
5367 | void *argp2 = 0 ; | |
5368 | int res2 = 0 ; | |
5369 | PyObject * obj0 = 0 ; | |
5370 | PyObject * obj1 = 0 ; | |
5371 | char * kwnames[] = { | |
5372 | (char *) "self",(char *) "parser", NULL | |
5373 | }; | |
5374 | ||
5375 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail; | |
5376 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5377 | if (!SWIG_IsOK(res1)) { | |
5378 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5379 | } | |
5380 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5381 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
5382 | if (!SWIG_IsOK(res2)) { | |
5383 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'"); | |
5384 | } | |
5385 | arg2 = reinterpret_cast< wxHtmlParser * >(argp2); | |
5386 | { | |
5387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5388 | (arg1)->SetParser(arg2); | |
5389 | wxPyEndAllowThreads(__tstate); | |
5390 | if (PyErr_Occurred()) SWIG_fail; | |
5391 | } | |
5392 | resultobj = SWIG_Py_Void(); | |
5393 | return resultobj; | |
5394 | fail: | |
5395 | return NULL; | |
d14a1e28 RD |
5396 | } |
5397 | ||
5398 | ||
554f62e9 RD |
5399 | SWIGINTERN PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5400 | PyObject *resultobj = 0; | |
5401 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5402 | wxHtmlParser *result = 0 ; | |
5403 | void *argp1 = 0 ; | |
5404 | int res1 = 0 ; | |
5405 | PyObject *swig_obj[1] ; | |
5406 | ||
5407 | if (!args) SWIG_fail; | |
5408 | swig_obj[0] = args; | |
5409 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5410 | if (!SWIG_IsOK(res1)) { | |
5411 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5412 | } | |
5413 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5414 | { | |
5415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5416 | result = (wxHtmlParser *)(arg1)->GetParser(); | |
5417 | wxPyEndAllowThreads(__tstate); | |
5418 | if (PyErr_Occurred()) SWIG_fail; | |
5419 | } | |
5420 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
5421 | return resultobj; | |
5422 | fail: | |
5423 | return NULL; | |
5424 | } | |
5425 | ||
5426 | ||
5427 | SWIGINTERN PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5428 | PyObject *resultobj = 0; | |
5429 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5430 | wxHtmlTag *arg2 = 0 ; | |
5431 | void *argp1 = 0 ; | |
5432 | int res1 = 0 ; | |
5433 | void *argp2 = 0 ; | |
5434 | int res2 = 0 ; | |
5435 | PyObject * obj0 = 0 ; | |
5436 | PyObject * obj1 = 0 ; | |
5437 | char * kwnames[] = { | |
5438 | (char *) "self",(char *) "tag", NULL | |
5439 | }; | |
5440 | ||
5441 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail; | |
5442 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5443 | if (!SWIG_IsOK(res1)) { | |
5444 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5445 | } | |
5446 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5447 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
5448 | if (!SWIG_IsOK(res2)) { | |
5449 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5450 | } | |
5451 | if (!argp2) { | |
5452 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5453 | } | |
5454 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
5455 | { | |
5456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5457 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
5458 | wxPyEndAllowThreads(__tstate); | |
5459 | if (PyErr_Occurred()) SWIG_fail; | |
5460 | } | |
5461 | resultobj = SWIG_Py_Void(); | |
5462 | return resultobj; | |
5463 | fail: | |
5464 | return NULL; | |
d14a1e28 RD |
5465 | } |
5466 | ||
5467 | ||
554f62e9 RD |
5468 | SWIGINTERN PyObject *HtmlTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5469 | PyObject *obj; | |
5470 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5471 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_NewClientData(obj)); | |
5472 | return SWIG_Py_Void(); | |
d14a1e28 RD |
5473 | } |
5474 | ||
554f62e9 RD |
5475 | SWIGINTERN PyObject *HtmlTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5476 | return SWIG_Python_InitShadowInstance(args); | |
5477 | } | |
d14a1e28 | 5478 | |
554f62e9 RD |
5479 | SWIGINTERN PyObject *_wrap_new_HtmlWinTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5480 | PyObject *resultobj = 0; | |
5481 | wxPyHtmlWinTagHandler *result = 0 ; | |
5482 | ||
5483 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail; | |
5484 | { | |
5485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5486 | result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler(); | |
5487 | wxPyEndAllowThreads(__tstate); | |
5488 | if (PyErr_Occurred()) SWIG_fail; | |
5489 | } | |
5490 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_NEW | 0 ); | |
5491 | return resultobj; | |
5492 | fail: | |
5493 | return NULL; | |
5494 | } | |
5495 | ||
5496 | ||
5497 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5498 | PyObject *resultobj = 0; | |
5499 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5500 | PyObject *arg2 = (PyObject *) 0 ; | |
5501 | PyObject *arg3 = (PyObject *) 0 ; | |
5502 | void *argp1 = 0 ; | |
5503 | int res1 = 0 ; | |
5504 | PyObject * obj0 = 0 ; | |
5505 | PyObject * obj1 = 0 ; | |
5506 | PyObject * obj2 = 0 ; | |
5507 | char * kwnames[] = { | |
5508 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5509 | }; | |
5510 | ||
5511 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5512 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5513 | if (!SWIG_IsOK(res1)) { | |
5514 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5515 | } | |
5516 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5517 | arg2 = obj1; | |
5518 | arg3 = obj2; | |
5519 | { | |
5520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5521 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5522 | wxPyEndAllowThreads(__tstate); | |
5523 | if (PyErr_Occurred()) SWIG_fail; | |
5524 | } | |
5525 | resultobj = SWIG_Py_Void(); | |
5526 | return resultobj; | |
5527 | fail: | |
5528 | return NULL; | |
5529 | } | |
5530 | ||
5531 | ||
5532 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5533 | PyObject *resultobj = 0; | |
5534 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5535 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
5536 | void *argp1 = 0 ; | |
5537 | int res1 = 0 ; | |
5538 | void *argp2 = 0 ; | |
5539 | int res2 = 0 ; | |
5540 | PyObject * obj0 = 0 ; | |
5541 | PyObject * obj1 = 0 ; | |
5542 | char * kwnames[] = { | |
5543 | (char *) "self",(char *) "parser", NULL | |
5544 | }; | |
5545 | ||
5546 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail; | |
5547 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5548 | if (!SWIG_IsOK(res1)) { | |
5549 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5550 | } | |
5551 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5552 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
5553 | if (!SWIG_IsOK(res2)) { | |
5554 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'"); | |
5555 | } | |
5556 | arg2 = reinterpret_cast< wxHtmlParser * >(argp2); | |
5557 | { | |
5558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5559 | (arg1)->SetParser(arg2); | |
5560 | wxPyEndAllowThreads(__tstate); | |
5561 | if (PyErr_Occurred()) SWIG_fail; | |
5562 | } | |
5563 | resultobj = SWIG_Py_Void(); | |
5564 | return resultobj; | |
5565 | fail: | |
5566 | return NULL; | |
d14a1e28 RD |
5567 | } |
5568 | ||
5569 | ||
554f62e9 RD |
5570 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5571 | PyObject *resultobj = 0; | |
5572 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5573 | wxHtmlWinParser *result = 0 ; | |
5574 | void *argp1 = 0 ; | |
5575 | int res1 = 0 ; | |
5576 | PyObject *swig_obj[1] ; | |
5577 | ||
5578 | if (!args) SWIG_fail; | |
5579 | swig_obj[0] = args; | |
5580 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5581 | if (!SWIG_IsOK(res1)) { | |
5582 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5583 | } | |
5584 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5585 | { | |
5586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5587 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
5588 | wxPyEndAllowThreads(__tstate); | |
5589 | if (PyErr_Occurred()) SWIG_fail; | |
5590 | } | |
5591 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5592 | return resultobj; | |
5593 | fail: | |
5594 | return NULL; | |
5595 | } | |
5596 | ||
5597 | ||
5598 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5599 | PyObject *resultobj = 0; | |
5600 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5601 | wxHtmlTag *arg2 = 0 ; | |
5602 | void *argp1 = 0 ; | |
5603 | int res1 = 0 ; | |
5604 | void *argp2 = 0 ; | |
5605 | int res2 = 0 ; | |
5606 | PyObject * obj0 = 0 ; | |
5607 | PyObject * obj1 = 0 ; | |
5608 | char * kwnames[] = { | |
5609 | (char *) "self",(char *) "tag", NULL | |
5610 | }; | |
5611 | ||
5612 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail; | |
5613 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5614 | if (!SWIG_IsOK(res1)) { | |
5615 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5616 | } | |
5617 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5618 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
5619 | if (!SWIG_IsOK(res2)) { | |
5620 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5621 | } | |
5622 | if (!argp2) { | |
5623 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5624 | } | |
5625 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
5626 | { | |
5627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5628 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
5629 | wxPyEndAllowThreads(__tstate); | |
5630 | if (PyErr_Occurred()) SWIG_fail; | |
5631 | } | |
5632 | resultobj = SWIG_Py_Void(); | |
5633 | return resultobj; | |
5634 | fail: | |
5635 | return NULL; | |
d14a1e28 RD |
5636 | } |
5637 | ||
5638 | ||
554f62e9 RD |
5639 | SWIGINTERN PyObject *HtmlWinTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5640 | PyObject *obj; | |
5641 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5642 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_NewClientData(obj)); | |
5643 | return SWIG_Py_Void(); | |
d14a1e28 RD |
5644 | } |
5645 | ||
554f62e9 RD |
5646 | SWIGINTERN PyObject *HtmlWinTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5647 | return SWIG_Python_InitShadowInstance(args); | |
5648 | } | |
d14a1e28 | 5649 | |
554f62e9 RD |
5650 | SWIGINTERN PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5651 | PyObject *resultobj = 0; | |
5652 | PyObject *arg1 = (PyObject *) 0 ; | |
5653 | PyObject * obj0 = 0 ; | |
5654 | char * kwnames[] = { | |
5655 | (char *) "tagHandlerClass", NULL | |
5656 | }; | |
5657 | ||
5658 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) SWIG_fail; | |
5659 | arg1 = obj0; | |
5660 | { | |
5661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5662 | wxHtmlWinParser_AddTagHandler(arg1); | |
5663 | wxPyEndAllowThreads(__tstate); | |
5664 | if (PyErr_Occurred()) SWIG_fail; | |
5665 | } | |
5666 | resultobj = SWIG_Py_Void(); | |
5667 | return resultobj; | |
5668 | fail: | |
5669 | return NULL; | |
d14a1e28 RD |
5670 | } |
5671 | ||
5672 | ||
554f62e9 RD |
5673 | SWIGINTERN PyObject *_wrap_new_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5674 | PyObject *resultobj = 0; | |
5675 | wxHtmlSelection *result = 0 ; | |
5676 | ||
5677 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlSelection",0,0,0)) SWIG_fail; | |
5678 | { | |
5679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5680 | result = (wxHtmlSelection *)new wxHtmlSelection(); | |
5681 | wxPyEndAllowThreads(__tstate); | |
5682 | if (PyErr_Occurred()) SWIG_fail; | |
5683 | } | |
5684 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_NEW | 0 ); | |
5685 | return resultobj; | |
5686 | fail: | |
5687 | return NULL; | |
d14a1e28 RD |
5688 | } |
5689 | ||
5690 | ||
554f62e9 RD |
5691 | SWIGINTERN PyObject *_wrap_delete_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5692 | PyObject *resultobj = 0; | |
5693 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5694 | void *argp1 = 0 ; | |
5695 | int res1 = 0 ; | |
5696 | PyObject *swig_obj[1] ; | |
5697 | ||
5698 | if (!args) SWIG_fail; | |
5699 | swig_obj[0] = args; | |
5700 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_DISOWN | 0 ); | |
5701 | if (!SWIG_IsOK(res1)) { | |
5702 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
5703 | } | |
5704 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5705 | { | |
5706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5707 | delete arg1; | |
d14a1e28 | 5708 | |
554f62e9 RD |
5709 | wxPyEndAllowThreads(__tstate); |
5710 | if (PyErr_Occurred()) SWIG_fail; | |
5711 | } | |
5712 | resultobj = SWIG_Py_Void(); | |
5713 | return resultobj; | |
5714 | fail: | |
5715 | return NULL; | |
5716 | } | |
5717 | ||
5718 | ||
5719 | SWIGINTERN PyObject *_wrap_HtmlSelection_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5720 | PyObject *resultobj = 0; | |
5721 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5722 | wxPoint *arg2 = 0 ; | |
5723 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
5724 | wxPoint *arg4 = 0 ; | |
5725 | wxHtmlCell *arg5 = (wxHtmlCell *) 0 ; | |
5726 | void *argp1 = 0 ; | |
5727 | int res1 = 0 ; | |
5728 | wxPoint temp2 ; | |
5729 | void *argp3 = 0 ; | |
5730 | int res3 = 0 ; | |
5731 | wxPoint temp4 ; | |
5732 | void *argp5 = 0 ; | |
5733 | int res5 = 0 ; | |
5734 | PyObject * obj0 = 0 ; | |
5735 | PyObject * obj1 = 0 ; | |
5736 | PyObject * obj2 = 0 ; | |
5737 | PyObject * obj3 = 0 ; | |
5738 | PyObject * obj4 = 0 ; | |
5739 | char * kwnames[] = { | |
5740 | (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL | |
5741 | }; | |
5742 | ||
5743 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
5744 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5745 | if (!SWIG_IsOK(res1)) { | |
5746 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
5747 | } | |
5748 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5749 | { | |
5750 | arg2 = &temp2; | |
5751 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
5752 | } | |
5753 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5754 | if (!SWIG_IsOK(res3)) { | |
5755 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'"); | |
5756 | } | |
5757 | arg3 = reinterpret_cast< wxHtmlCell * >(argp3); | |
5758 | { | |
5759 | arg4 = &temp4; | |
5760 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5761 | } | |
5762 | res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5763 | if (!SWIG_IsOK(res5)) { | |
5764 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'"); | |
5765 | } | |
5766 | arg5 = reinterpret_cast< wxHtmlCell * >(argp5); | |
5767 | { | |
5768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5769 | (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5); | |
5770 | wxPyEndAllowThreads(__tstate); | |
5771 | if (PyErr_Occurred()) SWIG_fail; | |
5772 | } | |
5773 | resultobj = SWIG_Py_Void(); | |
5774 | return resultobj; | |
5775 | fail: | |
5776 | return NULL; | |
5777 | } | |
5778 | ||
5779 | ||
5780 | SWIGINTERN PyObject *_wrap_HtmlSelection_SetCells(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5781 | PyObject *resultobj = 0; | |
5782 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5783 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
5784 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
5785 | void *argp1 = 0 ; | |
5786 | int res1 = 0 ; | |
5787 | void *argp2 = 0 ; | |
5788 | int res2 = 0 ; | |
5789 | void *argp3 = 0 ; | |
5790 | int res3 = 0 ; | |
5791 | PyObject * obj0 = 0 ; | |
5792 | PyObject * obj1 = 0 ; | |
5793 | PyObject * obj2 = 0 ; | |
5794 | char * kwnames[] = { | |
5795 | (char *) "self",(char *) "fromCell",(char *) "toCell", NULL | |
5796 | }; | |
5797 | ||
5798 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5799 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5800 | if (!SWIG_IsOK(res1)) { | |
5801 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
5802 | } | |
5803 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5804 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5805 | if (!SWIG_IsOK(res2)) { | |
5806 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'"); | |
5807 | } | |
5808 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
5809 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5810 | if (!SWIG_IsOK(res3)) { | |
5811 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'"); | |
5812 | } | |
5813 | arg3 = reinterpret_cast< wxHtmlCell * >(argp3); | |
5814 | { | |
5815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5816 | (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3); | |
5817 | wxPyEndAllowThreads(__tstate); | |
5818 | if (PyErr_Occurred()) SWIG_fail; | |
5819 | } | |
5820 | resultobj = SWIG_Py_Void(); | |
5821 | return resultobj; | |
5822 | fail: | |
5823 | return NULL; | |
d14a1e28 RD |
5824 | } |
5825 | ||
5826 | ||
554f62e9 RD |
5827 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5828 | PyObject *resultobj = 0; | |
5829 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5830 | wxHtmlCell *result = 0 ; | |
5831 | void *argp1 = 0 ; | |
5832 | int res1 = 0 ; | |
5833 | PyObject *swig_obj[1] ; | |
5834 | ||
5835 | if (!args) SWIG_fail; | |
5836 | swig_obj[0] = args; | |
5837 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5838 | if (!SWIG_IsOK(res1)) { | |
5839 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5840 | } | |
5841 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5842 | { | |
5843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5844 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell(); | |
5845 | wxPyEndAllowThreads(__tstate); | |
5846 | if (PyErr_Occurred()) SWIG_fail; | |
5847 | } | |
5848 | { | |
5849 | resultobj = wxPyMake_wxObject(result, 0); | |
5850 | } | |
5851 | return resultobj; | |
5852 | fail: | |
5853 | return NULL; | |
d14a1e28 RD |
5854 | } |
5855 | ||
5856 | ||
554f62e9 RD |
5857 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetToCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5858 | PyObject *resultobj = 0; | |
5859 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5860 | wxHtmlCell *result = 0 ; | |
5861 | void *argp1 = 0 ; | |
5862 | int res1 = 0 ; | |
5863 | PyObject *swig_obj[1] ; | |
5864 | ||
5865 | if (!args) SWIG_fail; | |
5866 | swig_obj[0] = args; | |
5867 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5868 | if (!SWIG_IsOK(res1)) { | |
5869 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5870 | } | |
5871 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5872 | { | |
5873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5874 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell(); | |
5875 | wxPyEndAllowThreads(__tstate); | |
5876 | if (PyErr_Occurred()) SWIG_fail; | |
5877 | } | |
5878 | { | |
5879 | resultobj = wxPyMake_wxObject(result, 0); | |
5880 | } | |
5881 | return resultobj; | |
5882 | fail: | |
5883 | return NULL; | |
d14a1e28 RD |
5884 | } |
5885 | ||
5886 | ||
554f62e9 RD |
5887 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5888 | PyObject *resultobj = 0; | |
5889 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5890 | wxPoint *result = 0 ; | |
5891 | void *argp1 = 0 ; | |
5892 | int res1 = 0 ; | |
5893 | PyObject *swig_obj[1] ; | |
5894 | ||
5895 | if (!args) SWIG_fail; | |
5896 | swig_obj[0] = args; | |
5897 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5898 | if (!SWIG_IsOK(res1)) { | |
5899 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5900 | } | |
5901 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5902 | { | |
5903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 5904 | { |
554f62e9 RD |
5905 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos(); |
5906 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 5907 | } |
554f62e9 RD |
5908 | wxPyEndAllowThreads(__tstate); |
5909 | if (PyErr_Occurred()) SWIG_fail; | |
5910 | } | |
5911 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
5912 | return resultobj; | |
5913 | fail: | |
5914 | return NULL; | |
d14a1e28 RD |
5915 | } |
5916 | ||
5917 | ||
554f62e9 RD |
5918 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5919 | PyObject *resultobj = 0; | |
5920 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5921 | wxPoint *result = 0 ; | |
5922 | void *argp1 = 0 ; | |
5923 | int res1 = 0 ; | |
5924 | PyObject *swig_obj[1] ; | |
5925 | ||
5926 | if (!args) SWIG_fail; | |
5927 | swig_obj[0] = args; | |
5928 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5929 | if (!SWIG_IsOK(res1)) { | |
5930 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5931 | } | |
5932 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5933 | { | |
5934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 5935 | { |
554f62e9 RD |
5936 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos(); |
5937 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 5938 | } |
554f62e9 RD |
5939 | wxPyEndAllowThreads(__tstate); |
5940 | if (PyErr_Occurred()) SWIG_fail; | |
5941 | } | |
5942 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
5943 | return resultobj; | |
5944 | fail: | |
5945 | return NULL; | |
d14a1e28 RD |
5946 | } |
5947 | ||
5948 | ||
554f62e9 RD |
5949 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5950 | PyObject *resultobj = 0; | |
5951 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5952 | wxPoint *result = 0 ; | |
5953 | void *argp1 = 0 ; | |
5954 | int res1 = 0 ; | |
5955 | PyObject *swig_obj[1] ; | |
5956 | ||
5957 | if (!args) SWIG_fail; | |
5958 | swig_obj[0] = args; | |
5959 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5960 | if (!SWIG_IsOK(res1)) { | |
5961 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5962 | } | |
5963 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5964 | { | |
5965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 5966 | { |
554f62e9 RD |
5967 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos(); |
5968 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 5969 | } |
554f62e9 RD |
5970 | wxPyEndAllowThreads(__tstate); |
5971 | if (PyErr_Occurred()) SWIG_fail; | |
5972 | } | |
5973 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
5974 | return resultobj; | |
5975 | fail: | |
5976 | return NULL; | |
d14a1e28 RD |
5977 | } |
5978 | ||
5979 | ||
554f62e9 RD |
5980 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5981 | PyObject *resultobj = 0; | |
5982 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5983 | wxPoint *result = 0 ; | |
5984 | void *argp1 = 0 ; | |
5985 | int res1 = 0 ; | |
5986 | PyObject *swig_obj[1] ; | |
5987 | ||
5988 | if (!args) SWIG_fail; | |
5989 | swig_obj[0] = args; | |
5990 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5991 | if (!SWIG_IsOK(res1)) { | |
5992 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5993 | } | |
5994 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5995 | { | |
5996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 5997 | { |
554f62e9 RD |
5998 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos(); |
5999 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 6000 | } |
554f62e9 RD |
6001 | wxPyEndAllowThreads(__tstate); |
6002 | if (PyErr_Occurred()) SWIG_fail; | |
6003 | } | |
6004 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6005 | return resultobj; | |
6006 | fail: | |
6007 | return NULL; | |
6008 | } | |
6009 | ||
6010 | ||
6011 | SWIGINTERN PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6012 | PyObject *resultobj = 0; | |
6013 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6014 | wxPoint *arg2 = 0 ; | |
6015 | void *argp1 = 0 ; | |
6016 | int res1 = 0 ; | |
6017 | wxPoint temp2 ; | |
6018 | PyObject * obj0 = 0 ; | |
6019 | PyObject * obj1 = 0 ; | |
6020 | char * kwnames[] = { | |
6021 | (char *) "self",(char *) "pos", NULL | |
6022 | }; | |
6023 | ||
6024 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) SWIG_fail; | |
6025 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6026 | if (!SWIG_IsOK(res1)) { | |
6027 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
6028 | } | |
6029 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6030 | { | |
6031 | arg2 = &temp2; | |
6032 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
6033 | } | |
6034 | { | |
6035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6036 | (arg1)->SetFromPrivPos((wxPoint const &)*arg2); | |
6037 | wxPyEndAllowThreads(__tstate); | |
6038 | if (PyErr_Occurred()) SWIG_fail; | |
6039 | } | |
6040 | resultobj = SWIG_Py_Void(); | |
6041 | return resultobj; | |
6042 | fail: | |
6043 | return NULL; | |
6044 | } | |
6045 | ||
6046 | ||
6047 | SWIGINTERN PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6048 | PyObject *resultobj = 0; | |
6049 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6050 | wxPoint *arg2 = 0 ; | |
6051 | void *argp1 = 0 ; | |
6052 | int res1 = 0 ; | |
6053 | wxPoint temp2 ; | |
6054 | PyObject * obj0 = 0 ; | |
6055 | PyObject * obj1 = 0 ; | |
6056 | char * kwnames[] = { | |
6057 | (char *) "self",(char *) "pos", NULL | |
6058 | }; | |
6059 | ||
6060 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) SWIG_fail; | |
6061 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6062 | if (!SWIG_IsOK(res1)) { | |
6063 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
6064 | } | |
6065 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6066 | { | |
6067 | arg2 = &temp2; | |
6068 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
6069 | } | |
6070 | { | |
6071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6072 | (arg1)->SetToPrivPos((wxPoint const &)*arg2); | |
6073 | wxPyEndAllowThreads(__tstate); | |
6074 | if (PyErr_Occurred()) SWIG_fail; | |
6075 | } | |
6076 | resultobj = SWIG_Py_Void(); | |
6077 | return resultobj; | |
6078 | fail: | |
6079 | return NULL; | |
d14a1e28 RD |
6080 | } |
6081 | ||
6082 | ||
554f62e9 RD |
6083 | SWIGINTERN PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6084 | PyObject *resultobj = 0; | |
6085 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6086 | void *argp1 = 0 ; | |
6087 | int res1 = 0 ; | |
6088 | PyObject *swig_obj[1] ; | |
6089 | ||
6090 | if (!args) SWIG_fail; | |
6091 | swig_obj[0] = args; | |
6092 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6093 | if (!SWIG_IsOK(res1)) { | |
6094 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
6095 | } | |
6096 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6097 | { | |
6098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6099 | (arg1)->ClearPrivPos(); | |
6100 | wxPyEndAllowThreads(__tstate); | |
6101 | if (PyErr_Occurred()) SWIG_fail; | |
6102 | } | |
6103 | resultobj = SWIG_Py_Void(); | |
6104 | return resultobj; | |
6105 | fail: | |
6106 | return NULL; | |
d14a1e28 RD |
6107 | } |
6108 | ||
6109 | ||
554f62e9 RD |
6110 | SWIGINTERN PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6111 | PyObject *resultobj = 0; | |
6112 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6113 | bool result; | |
6114 | void *argp1 = 0 ; | |
6115 | int res1 = 0 ; | |
6116 | PyObject *swig_obj[1] ; | |
6117 | ||
6118 | if (!args) SWIG_fail; | |
6119 | swig_obj[0] = args; | |
6120 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6121 | if (!SWIG_IsOK(res1)) { | |
6122 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
6123 | } | |
6124 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6125 | { | |
6126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6127 | result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty(); | |
6128 | wxPyEndAllowThreads(__tstate); | |
6129 | if (PyErr_Occurred()) SWIG_fail; | |
6130 | } | |
6131 | resultobj = SWIG_From_bool(static_cast< bool >(result)); | |
6132 | return resultobj; | |
6133 | fail: | |
6134 | return NULL; | |
d14a1e28 RD |
6135 | } |
6136 | ||
6137 | ||
554f62e9 RD |
6138 | SWIGINTERN PyObject *HtmlSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6139 | PyObject *obj; | |
6140 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6141 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection, SWIG_NewClientData(obj)); | |
6142 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6143 | } |
6144 | ||
554f62e9 RD |
6145 | SWIGINTERN PyObject *HtmlSelection_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6146 | return SWIG_Python_InitShadowInstance(args); | |
6147 | } | |
d14a1e28 | 6148 | |
554f62e9 RD |
6149 | SWIGINTERN PyObject *_wrap_new_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6150 | PyObject *resultobj = 0; | |
6151 | wxHtmlRenderingState *result = 0 ; | |
6152 | ||
6153 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingState",0,0,0)) SWIG_fail; | |
6154 | { | |
6155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6156 | result = (wxHtmlRenderingState *)new wxHtmlRenderingState(); | |
6157 | wxPyEndAllowThreads(__tstate); | |
6158 | if (PyErr_Occurred()) SWIG_fail; | |
6159 | } | |
6160 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_NEW | 0 ); | |
6161 | return resultobj; | |
6162 | fail: | |
6163 | return NULL; | |
d14a1e28 RD |
6164 | } |
6165 | ||
6166 | ||
554f62e9 RD |
6167 | SWIGINTERN PyObject *_wrap_delete_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6168 | PyObject *resultobj = 0; | |
6169 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6170 | void *argp1 = 0 ; | |
6171 | int res1 = 0 ; | |
6172 | PyObject *swig_obj[1] ; | |
6173 | ||
6174 | if (!args) SWIG_fail; | |
6175 | swig_obj[0] = args; | |
6176 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_DISOWN | 0 ); | |
6177 | if (!SWIG_IsOK(res1)) { | |
6178 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6179 | } | |
6180 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6181 | { | |
6182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6183 | delete arg1; | |
d14a1e28 | 6184 | |
554f62e9 RD |
6185 | wxPyEndAllowThreads(__tstate); |
6186 | if (PyErr_Occurred()) SWIG_fail; | |
6187 | } | |
6188 | resultobj = SWIG_Py_Void(); | |
6189 | return resultobj; | |
6190 | fail: | |
6191 | return NULL; | |
6192 | } | |
6193 | ||
6194 | ||
6195 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6196 | PyObject *resultobj = 0; | |
6197 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6198 | wxHtmlSelectionState arg2 ; | |
6199 | void *argp1 = 0 ; | |
6200 | int res1 = 0 ; | |
6201 | int val2 ; | |
6202 | int ecode2 = 0 ; | |
6203 | PyObject * obj0 = 0 ; | |
6204 | PyObject * obj1 = 0 ; | |
6205 | char * kwnames[] = { | |
6206 | (char *) "self",(char *) "s", NULL | |
6207 | }; | |
6208 | ||
6209 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) SWIG_fail; | |
6210 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6211 | if (!SWIG_IsOK(res1)) { | |
6212 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6213 | } | |
6214 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6215 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
6216 | if (!SWIG_IsOK(ecode2)) { | |
6217 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'"); | |
6218 | } | |
6219 | arg2 = static_cast< wxHtmlSelectionState >(val2); | |
6220 | { | |
6221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6222 | (arg1)->SetSelectionState(arg2); | |
6223 | wxPyEndAllowThreads(__tstate); | |
6224 | if (PyErr_Occurred()) SWIG_fail; | |
6225 | } | |
6226 | resultobj = SWIG_Py_Void(); | |
6227 | return resultobj; | |
6228 | fail: | |
6229 | return NULL; | |
d14a1e28 RD |
6230 | } |
6231 | ||
6232 | ||
554f62e9 RD |
6233 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6234 | PyObject *resultobj = 0; | |
6235 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6236 | wxHtmlSelectionState result; | |
6237 | void *argp1 = 0 ; | |
6238 | int res1 = 0 ; | |
6239 | PyObject *swig_obj[1] ; | |
6240 | ||
6241 | if (!args) SWIG_fail; | |
6242 | swig_obj[0] = args; | |
6243 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6244 | if (!SWIG_IsOK(res1)) { | |
6245 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); | |
6246 | } | |
6247 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6248 | { | |
6249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6250 | result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState(); | |
6251 | wxPyEndAllowThreads(__tstate); | |
6252 | if (PyErr_Occurred()) SWIG_fail; | |
6253 | } | |
6254 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6255 | return resultobj; | |
6256 | fail: | |
6257 | return NULL; | |
6258 | } | |
6259 | ||
6260 | ||
6261 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6262 | PyObject *resultobj = 0; | |
6263 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6264 | wxColour *arg2 = 0 ; | |
6265 | void *argp1 = 0 ; | |
6266 | int res1 = 0 ; | |
6267 | wxColour temp2 ; | |
6268 | PyObject * obj0 = 0 ; | |
6269 | PyObject * obj1 = 0 ; | |
6270 | char * kwnames[] = { | |
6271 | (char *) "self",(char *) "c", NULL | |
6272 | }; | |
6273 | ||
6274 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6275 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6276 | if (!SWIG_IsOK(res1)) { | |
6277 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6278 | } | |
6279 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6280 | { | |
6281 | arg2 = &temp2; | |
6282 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6283 | } | |
6284 | { | |
6285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6286 | (arg1)->SetFgColour((wxColour const &)*arg2); | |
6287 | wxPyEndAllowThreads(__tstate); | |
6288 | if (PyErr_Occurred()) SWIG_fail; | |
6289 | } | |
6290 | resultobj = SWIG_Py_Void(); | |
6291 | return resultobj; | |
6292 | fail: | |
6293 | return NULL; | |
d14a1e28 RD |
6294 | } |
6295 | ||
6296 | ||
554f62e9 RD |
6297 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6298 | PyObject *resultobj = 0; | |
6299 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6300 | wxColour *result = 0 ; | |
6301 | void *argp1 = 0 ; | |
6302 | int res1 = 0 ; | |
6303 | PyObject *swig_obj[1] ; | |
6304 | ||
6305 | if (!args) SWIG_fail; | |
6306 | swig_obj[0] = args; | |
6307 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6308 | if (!SWIG_IsOK(res1)) { | |
6309 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); | |
6310 | } | |
6311 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6312 | { | |
6313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6314 | { |
554f62e9 RD |
6315 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour(); |
6316 | result = (wxColour *) &_result_ref; | |
d14a1e28 | 6317 | } |
554f62e9 RD |
6318 | wxPyEndAllowThreads(__tstate); |
6319 | if (PyErr_Occurred()) SWIG_fail; | |
6320 | } | |
6321 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); | |
6322 | return resultobj; | |
6323 | fail: | |
6324 | return NULL; | |
6325 | } | |
6326 | ||
6327 | ||
6328 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6329 | PyObject *resultobj = 0; | |
6330 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6331 | wxColour *arg2 = 0 ; | |
6332 | void *argp1 = 0 ; | |
6333 | int res1 = 0 ; | |
6334 | wxColour temp2 ; | |
6335 | PyObject * obj0 = 0 ; | |
6336 | PyObject * obj1 = 0 ; | |
6337 | char * kwnames[] = { | |
6338 | (char *) "self",(char *) "c", NULL | |
6339 | }; | |
6340 | ||
6341 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6342 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6343 | if (!SWIG_IsOK(res1)) { | |
6344 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6345 | } | |
6346 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6347 | { | |
6348 | arg2 = &temp2; | |
6349 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6350 | } | |
6351 | { | |
6352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6353 | (arg1)->SetBgColour((wxColour const &)*arg2); | |
6354 | wxPyEndAllowThreads(__tstate); | |
6355 | if (PyErr_Occurred()) SWIG_fail; | |
6356 | } | |
6357 | resultobj = SWIG_Py_Void(); | |
6358 | return resultobj; | |
6359 | fail: | |
6360 | return NULL; | |
d14a1e28 RD |
6361 | } |
6362 | ||
6363 | ||
554f62e9 RD |
6364 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6365 | PyObject *resultobj = 0; | |
6366 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6367 | wxColour *result = 0 ; | |
6368 | void *argp1 = 0 ; | |
6369 | int res1 = 0 ; | |
6370 | PyObject *swig_obj[1] ; | |
6371 | ||
6372 | if (!args) SWIG_fail; | |
6373 | swig_obj[0] = args; | |
6374 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6375 | if (!SWIG_IsOK(res1)) { | |
6376 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); | |
6377 | } | |
6378 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6379 | { | |
6380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6381 | { |
554f62e9 RD |
6382 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour(); |
6383 | result = (wxColour *) &_result_ref; | |
d14a1e28 | 6384 | } |
554f62e9 RD |
6385 | wxPyEndAllowThreads(__tstate); |
6386 | if (PyErr_Occurred()) SWIG_fail; | |
6387 | } | |
6388 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); | |
6389 | return resultobj; | |
6390 | fail: | |
6391 | return NULL; | |
d14a1e28 RD |
6392 | } |
6393 | ||
6394 | ||
554f62e9 RD |
6395 | SWIGINTERN PyObject *HtmlRenderingState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6396 | PyObject *obj; | |
6397 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6398 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState, SWIG_NewClientData(obj)); | |
6399 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6400 | } |
6401 | ||
554f62e9 RD |
6402 | SWIGINTERN PyObject *HtmlRenderingState_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6403 | return SWIG_Python_InitShadowInstance(args); | |
d14a1e28 RD |
6404 | } |
6405 | ||
554f62e9 RD |
6406 | SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
6407 | PyObject *resultobj = 0; | |
6408 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
6409 | wxColour *arg2 = 0 ; | |
6410 | wxColour result; | |
6411 | void *argp1 = 0 ; | |
6412 | int res1 = 0 ; | |
6413 | wxColour temp2 ; | |
6414 | PyObject * obj0 = 0 ; | |
6415 | PyObject * obj1 = 0 ; | |
6416 | char * kwnames[] = { | |
6417 | (char *) "self",(char *) "clr", NULL | |
6418 | }; | |
6419 | ||
6420 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6421 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6422 | if (!SWIG_IsOK(res1)) { | |
6423 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'"); | |
6424 | } | |
6425 | arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1); | |
6426 | { | |
6427 | arg2 = &temp2; | |
6428 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6429 | } | |
6430 | { | |
6431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6432 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
6433 | wxPyEndAllowThreads(__tstate); | |
6434 | if (PyErr_Occurred()) SWIG_fail; | |
6435 | } | |
6436 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
6437 | return resultobj; | |
6438 | fail: | |
6439 | return NULL; | |
6440 | } | |
6441 | ||
6442 | ||
6443 | SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6444 | PyObject *resultobj = 0; | |
6445 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
6446 | wxColour *arg2 = 0 ; | |
6447 | wxColour result; | |
6448 | void *argp1 = 0 ; | |
6449 | int res1 = 0 ; | |
6450 | wxColour temp2 ; | |
6451 | PyObject * obj0 = 0 ; | |
6452 | PyObject * obj1 = 0 ; | |
6453 | char * kwnames[] = { | |
6454 | (char *) "self",(char *) "clr", NULL | |
6455 | }; | |
6456 | ||
6457 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6458 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6459 | if (!SWIG_IsOK(res1)) { | |
6460 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'"); | |
6461 | } | |
6462 | arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1); | |
6463 | { | |
6464 | arg2 = &temp2; | |
6465 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6466 | } | |
6467 | { | |
6468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6469 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
6470 | wxPyEndAllowThreads(__tstate); | |
6471 | if (PyErr_Occurred()) SWIG_fail; | |
6472 | } | |
6473 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
6474 | return resultobj; | |
6475 | fail: | |
6476 | return NULL; | |
d14a1e28 RD |
6477 | } |
6478 | ||
6479 | ||
554f62e9 RD |
6480 | SWIGINTERN PyObject *HtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6481 | PyObject *obj; | |
6482 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6483 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_NewClientData(obj)); | |
6484 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6485 | } |
6486 | ||
554f62e9 RD |
6487 | SWIGINTERN PyObject *DefaultHtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6488 | PyObject *obj; | |
6489 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6490 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_NewClientData(obj)); | |
6491 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6492 | } |
6493 | ||
554f62e9 RD |
6494 | SWIGINTERN PyObject *_wrap_new_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6495 | PyObject *resultobj = 0; | |
6496 | wxHtmlRenderingInfo *result = 0 ; | |
6497 | ||
6498 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail; | |
6499 | { | |
6500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6501 | result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo(); | |
6502 | wxPyEndAllowThreads(__tstate); | |
6503 | if (PyErr_Occurred()) SWIG_fail; | |
6504 | } | |
6505 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_NEW | 0 ); | |
6506 | return resultobj; | |
6507 | fail: | |
6508 | return NULL; | |
d14a1e28 RD |
6509 | } |
6510 | ||
6511 | ||
554f62e9 RD |
6512 | SWIGINTERN PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6513 | PyObject *resultobj = 0; | |
6514 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6515 | void *argp1 = 0 ; | |
6516 | int res1 = 0 ; | |
6517 | PyObject *swig_obj[1] ; | |
6518 | ||
6519 | if (!args) SWIG_fail; | |
6520 | swig_obj[0] = args; | |
6521 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_DISOWN | 0 ); | |
6522 | if (!SWIG_IsOK(res1)) { | |
6523 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6524 | } | |
6525 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6526 | { | |
6527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6528 | delete arg1; | |
d14a1e28 | 6529 | |
554f62e9 RD |
6530 | wxPyEndAllowThreads(__tstate); |
6531 | if (PyErr_Occurred()) SWIG_fail; | |
6532 | } | |
6533 | resultobj = SWIG_Py_Void(); | |
6534 | return resultobj; | |
6535 | fail: | |
6536 | return NULL; | |
6537 | } | |
6538 | ||
6539 | ||
6540 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6541 | PyObject *resultobj = 0; | |
6542 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6543 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
6544 | void *argp1 = 0 ; | |
6545 | int res1 = 0 ; | |
6546 | void *argp2 = 0 ; | |
6547 | int res2 = 0 ; | |
6548 | PyObject * obj0 = 0 ; | |
6549 | PyObject * obj1 = 0 ; | |
6550 | char * kwnames[] = { | |
6551 | (char *) "self",(char *) "s", NULL | |
6552 | }; | |
6553 | ||
6554 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
6555 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6556 | if (!SWIG_IsOK(res1)) { | |
6557 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6558 | } | |
6559 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6560 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6561 | if (!SWIG_IsOK(res2)) { | |
6562 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); | |
6563 | } | |
6564 | arg2 = reinterpret_cast< wxHtmlSelection * >(argp2); | |
6565 | { | |
6566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6567 | (arg1)->SetSelection(arg2); | |
6568 | wxPyEndAllowThreads(__tstate); | |
6569 | if (PyErr_Occurred()) SWIG_fail; | |
6570 | } | |
6571 | resultobj = SWIG_Py_Void(); | |
6572 | return resultobj; | |
6573 | fail: | |
6574 | return NULL; | |
d14a1e28 RD |
6575 | } |
6576 | ||
6577 | ||
554f62e9 RD |
6578 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6579 | PyObject *resultobj = 0; | |
6580 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6581 | wxHtmlSelection *result = 0 ; | |
6582 | void *argp1 = 0 ; | |
6583 | int res1 = 0 ; | |
6584 | PyObject *swig_obj[1] ; | |
6585 | ||
6586 | if (!args) SWIG_fail; | |
6587 | swig_obj[0] = args; | |
6588 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6589 | if (!SWIG_IsOK(res1)) { | |
6590 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'"); | |
6591 | } | |
6592 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6593 | { | |
6594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6595 | result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection(); | |
6596 | wxPyEndAllowThreads(__tstate); | |
6597 | if (PyErr_Occurred()) SWIG_fail; | |
6598 | } | |
6599 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6600 | return resultobj; | |
6601 | fail: | |
6602 | return NULL; | |
6603 | } | |
6604 | ||
6605 | ||
6606 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6607 | PyObject *resultobj = 0; | |
6608 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6609 | wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; | |
6610 | void *argp1 = 0 ; | |
6611 | int res1 = 0 ; | |
6612 | void *argp2 = 0 ; | |
6613 | int res2 = 0 ; | |
6614 | PyObject * obj0 = 0 ; | |
6615 | PyObject * obj1 = 0 ; | |
6616 | char * kwnames[] = { | |
6617 | (char *) "self",(char *) "style", NULL | |
6618 | }; | |
6619 | ||
6620 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail; | |
6621 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6622 | if (!SWIG_IsOK(res1)) { | |
6623 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6624 | } | |
6625 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6626 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6627 | if (!SWIG_IsOK(res2)) { | |
6628 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'"); | |
6629 | } | |
6630 | arg2 = reinterpret_cast< wxHtmlRenderingStyle * >(argp2); | |
6631 | { | |
6632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6633 | (arg1)->SetStyle(arg2); | |
6634 | wxPyEndAllowThreads(__tstate); | |
6635 | if (PyErr_Occurred()) SWIG_fail; | |
6636 | } | |
6637 | resultobj = SWIG_Py_Void(); | |
6638 | return resultobj; | |
6639 | fail: | |
6640 | return NULL; | |
d14a1e28 RD |
6641 | } |
6642 | ||
6643 | ||
554f62e9 RD |
6644 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6645 | PyObject *resultobj = 0; | |
6646 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6647 | wxHtmlRenderingStyle *result = 0 ; | |
6648 | void *argp1 = 0 ; | |
6649 | int res1 = 0 ; | |
6650 | PyObject *swig_obj[1] ; | |
6651 | ||
6652 | if (!args) SWIG_fail; | |
6653 | swig_obj[0] = args; | |
6654 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6655 | if (!SWIG_IsOK(res1)) { | |
6656 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6657 | } | |
6658 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6659 | { | |
6660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b1fcee84 | 6661 | { |
554f62e9 RD |
6662 | wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle(); |
6663 | result = (wxHtmlRenderingStyle *) &_result_ref; | |
b1fcee84 | 6664 | } |
554f62e9 RD |
6665 | wxPyEndAllowThreads(__tstate); |
6666 | if (PyErr_Occurred()) SWIG_fail; | |
6667 | } | |
6668 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6669 | return resultobj; | |
6670 | fail: | |
6671 | return NULL; | |
d14a1e28 RD |
6672 | } |
6673 | ||
6674 | ||
554f62e9 RD |
6675 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6676 | PyObject *resultobj = 0; | |
6677 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6678 | wxHtmlRenderingState *result = 0 ; | |
6679 | void *argp1 = 0 ; | |
6680 | int res1 = 0 ; | |
6681 | PyObject *swig_obj[1] ; | |
6682 | ||
6683 | if (!args) SWIG_fail; | |
6684 | swig_obj[0] = args; | |
6685 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6686 | if (!SWIG_IsOK(res1)) { | |
6687 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6688 | } | |
6689 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6690 | { | |
6691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b1fcee84 | 6692 | { |
554f62e9 RD |
6693 | wxHtmlRenderingState &_result_ref = (arg1)->GetState(); |
6694 | result = (wxHtmlRenderingState *) &_result_ref; | |
b1fcee84 | 6695 | } |
554f62e9 RD |
6696 | wxPyEndAllowThreads(__tstate); |
6697 | if (PyErr_Occurred()) SWIG_fail; | |
6698 | } | |
6699 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6700 | return resultobj; | |
6701 | fail: | |
6702 | return NULL; | |
d14a1e28 RD |
6703 | } |
6704 | ||
6705 | ||
554f62e9 RD |
6706 | SWIGINTERN PyObject *HtmlRenderingInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6707 | PyObject *obj; | |
6708 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6709 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_NewClientData(obj)); | |
6710 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6711 | } |
6712 | ||
554f62e9 RD |
6713 | SWIGINTERN PyObject *HtmlRenderingInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6714 | return SWIG_Python_InitShadowInstance(args); | |
6715 | } | |
d14a1e28 | 6716 | |
554f62e9 RD |
6717 | SWIGINTERN PyObject *_wrap_new_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6718 | PyObject *resultobj = 0; | |
6719 | wxHtmlCell *result = 0 ; | |
6720 | ||
6721 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlCell",0,0,0)) SWIG_fail; | |
6722 | { | |
6723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6724 | result = (wxHtmlCell *)new wxHtmlCell(); | |
6725 | wxPyEndAllowThreads(__tstate); | |
6726 | if (PyErr_Occurred()) SWIG_fail; | |
6727 | } | |
6728 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_NEW | 0 ); | |
6729 | return resultobj; | |
6730 | fail: | |
6731 | return NULL; | |
d14a1e28 RD |
6732 | } |
6733 | ||
6734 | ||
554f62e9 RD |
6735 | SWIGINTERN PyObject *_wrap_delete_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6736 | PyObject *resultobj = 0; | |
6737 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6738 | void *argp1 = 0 ; | |
6739 | int res1 = 0 ; | |
6740 | PyObject *swig_obj[1] ; | |
6741 | ||
6742 | if (!args) SWIG_fail; | |
6743 | swig_obj[0] = args; | |
6744 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
6745 | if (!SWIG_IsOK(res1)) { | |
6746 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6747 | } | |
6748 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6749 | { | |
6750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6751 | delete arg1; | |
d14a1e28 | 6752 | |
554f62e9 RD |
6753 | wxPyEndAllowThreads(__tstate); |
6754 | if (PyErr_Occurred()) SWIG_fail; | |
6755 | } | |
6756 | resultobj = SWIG_Py_Void(); | |
6757 | return resultobj; | |
6758 | fail: | |
6759 | return NULL; | |
d14a1e28 RD |
6760 | } |
6761 | ||
6762 | ||
554f62e9 RD |
6763 | SWIGINTERN PyObject *_wrap_HtmlCell_GetPosX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6764 | PyObject *resultobj = 0; | |
6765 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6766 | int result; | |
6767 | void *argp1 = 0 ; | |
6768 | int res1 = 0 ; | |
6769 | PyObject *swig_obj[1] ; | |
6770 | ||
6771 | if (!args) SWIG_fail; | |
6772 | swig_obj[0] = args; | |
6773 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6774 | if (!SWIG_IsOK(res1)) { | |
6775 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6776 | } | |
6777 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6778 | { | |
6779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6780 | result = (int)(arg1)->GetPosX(); | |
6781 | wxPyEndAllowThreads(__tstate); | |
6782 | if (PyErr_Occurred()) SWIG_fail; | |
6783 | } | |
6784 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6785 | return resultobj; | |
6786 | fail: | |
6787 | return NULL; | |
d14a1e28 RD |
6788 | } |
6789 | ||
6790 | ||
554f62e9 RD |
6791 | SWIGINTERN PyObject *_wrap_HtmlCell_GetPosY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6792 | PyObject *resultobj = 0; | |
6793 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6794 | int result; | |
6795 | void *argp1 = 0 ; | |
6796 | int res1 = 0 ; | |
6797 | PyObject *swig_obj[1] ; | |
6798 | ||
6799 | if (!args) SWIG_fail; | |
6800 | swig_obj[0] = args; | |
6801 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6802 | if (!SWIG_IsOK(res1)) { | |
6803 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6804 | } | |
6805 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6806 | { | |
6807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6808 | result = (int)(arg1)->GetPosY(); | |
6809 | wxPyEndAllowThreads(__tstate); | |
6810 | if (PyErr_Occurred()) SWIG_fail; | |
6811 | } | |
6812 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6813 | return resultobj; | |
6814 | fail: | |
6815 | return NULL; | |
d14a1e28 RD |
6816 | } |
6817 | ||
6818 | ||
554f62e9 RD |
6819 | SWIGINTERN PyObject *_wrap_HtmlCell_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6820 | PyObject *resultobj = 0; | |
6821 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6822 | int result; | |
6823 | void *argp1 = 0 ; | |
6824 | int res1 = 0 ; | |
6825 | PyObject *swig_obj[1] ; | |
6826 | ||
6827 | if (!args) SWIG_fail; | |
6828 | swig_obj[0] = args; | |
6829 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6830 | if (!SWIG_IsOK(res1)) { | |
6831 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6832 | } | |
6833 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6834 | { | |
6835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6836 | result = (int)(arg1)->GetWidth(); | |
6837 | wxPyEndAllowThreads(__tstate); | |
6838 | if (PyErr_Occurred()) SWIG_fail; | |
6839 | } | |
6840 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6841 | return resultobj; | |
6842 | fail: | |
6843 | return NULL; | |
d14a1e28 RD |
6844 | } |
6845 | ||
6846 | ||
554f62e9 RD |
6847 | SWIGINTERN PyObject *_wrap_HtmlCell_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6848 | PyObject *resultobj = 0; | |
6849 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6850 | int result; | |
6851 | void *argp1 = 0 ; | |
6852 | int res1 = 0 ; | |
6853 | PyObject *swig_obj[1] ; | |
6854 | ||
6855 | if (!args) SWIG_fail; | |
6856 | swig_obj[0] = args; | |
6857 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6858 | if (!SWIG_IsOK(res1)) { | |
6859 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6860 | } | |
6861 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6862 | { | |
6863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6864 | result = (int)(arg1)->GetHeight(); | |
6865 | wxPyEndAllowThreads(__tstate); | |
6866 | if (PyErr_Occurred()) SWIG_fail; | |
6867 | } | |
6868 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6869 | return resultobj; | |
6870 | fail: | |
6871 | return NULL; | |
d14a1e28 RD |
6872 | } |
6873 | ||
6874 | ||
554f62e9 RD |
6875 | SWIGINTERN PyObject *_wrap_HtmlCell_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6876 | PyObject *resultobj = 0; | |
6877 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6878 | int result; | |
6879 | void *argp1 = 0 ; | |
6880 | int res1 = 0 ; | |
6881 | PyObject *swig_obj[1] ; | |
6882 | ||
6883 | if (!args) SWIG_fail; | |
6884 | swig_obj[0] = args; | |
6885 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6886 | if (!SWIG_IsOK(res1)) { | |
6887 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6888 | } | |
6889 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6890 | { | |
6891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6892 | result = (int)(arg1)->GetDescent(); | |
6893 | wxPyEndAllowThreads(__tstate); | |
6894 | if (PyErr_Occurred()) SWIG_fail; | |
6895 | } | |
6896 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6897 | return resultobj; | |
6898 | fail: | |
6899 | return NULL; | |
d14a1e28 RD |
6900 | } |
6901 | ||
6902 | ||
554f62e9 RD |
6903 | SWIGINTERN PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6904 | PyObject *resultobj = 0; | |
6905 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6906 | int result; | |
6907 | void *argp1 = 0 ; | |
6908 | int res1 = 0 ; | |
6909 | PyObject *swig_obj[1] ; | |
6910 | ||
6911 | if (!args) SWIG_fail; | |
6912 | swig_obj[0] = args; | |
6913 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6914 | if (!SWIG_IsOK(res1)) { | |
6915 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
6916 | } | |
6917 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6918 | { | |
6919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6920 | result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth(); | |
6921 | wxPyEndAllowThreads(__tstate); | |
6922 | if (PyErr_Occurred()) SWIG_fail; | |
6923 | } | |
6924 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6925 | return resultobj; | |
6926 | fail: | |
6927 | return NULL; | |
d14a1e28 RD |
6928 | } |
6929 | ||
6930 | ||
554f62e9 RD |
6931 | SWIGINTERN PyObject *_wrap_HtmlCell_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6932 | PyObject *resultobj = 0; | |
6933 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6934 | wxString *result = 0 ; | |
6935 | void *argp1 = 0 ; | |
6936 | int res1 = 0 ; | |
6937 | PyObject *swig_obj[1] ; | |
6938 | ||
6939 | if (!args) SWIG_fail; | |
6940 | swig_obj[0] = args; | |
6941 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6942 | if (!SWIG_IsOK(res1)) { | |
6943 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
6944 | } | |
6945 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6946 | { | |
6947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6948 | { |
554f62e9 RD |
6949 | wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId(); |
6950 | result = (wxString *) &_result_ref; | |
d14a1e28 | 6951 | } |
554f62e9 RD |
6952 | wxPyEndAllowThreads(__tstate); |
6953 | if (PyErr_Occurred()) SWIG_fail; | |
6954 | } | |
6955 | { | |
6956 | #if wxUSE_UNICODE | |
6957 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6958 | #else | |
6959 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6960 | #endif | |
6961 | } | |
6962 | return resultobj; | |
6963 | fail: | |
6964 | return NULL; | |
6965 | } | |
6966 | ||
6967 | ||
6968 | SWIGINTERN PyObject *_wrap_HtmlCell_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6969 | PyObject *resultobj = 0; | |
6970 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6971 | wxString *arg2 = 0 ; | |
6972 | void *argp1 = 0 ; | |
6973 | int res1 = 0 ; | |
6974 | bool temp2 = false ; | |
6975 | PyObject * obj0 = 0 ; | |
6976 | PyObject * obj1 = 0 ; | |
6977 | char * kwnames[] = { | |
6978 | (char *) "self",(char *) "id", NULL | |
6979 | }; | |
6980 | ||
6981 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) SWIG_fail; | |
6982 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6983 | if (!SWIG_IsOK(res1)) { | |
6984 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6985 | } | |
6986 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6987 | { | |
6988 | arg2 = wxString_in_helper(obj1); | |
6989 | if (arg2 == NULL) SWIG_fail; | |
6990 | temp2 = true; | |
6991 | } | |
6992 | { | |
6993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6994 | (arg1)->SetId((wxString const &)*arg2); | |
6995 | wxPyEndAllowThreads(__tstate); | |
6996 | if (PyErr_Occurred()) SWIG_fail; | |
6997 | } | |
6998 | resultobj = SWIG_Py_Void(); | |
6999 | { | |
7000 | if (temp2) | |
7001 | delete arg2; | |
7002 | } | |
7003 | return resultobj; | |
7004 | fail: | |
7005 | { | |
7006 | if (temp2) | |
7007 | delete arg2; | |
7008 | } | |
7009 | return NULL; | |
7010 | } | |
7011 | ||
7012 | ||
7013 | SWIGINTERN PyObject *_wrap_HtmlCell_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7014 | PyObject *resultobj = 0; | |
7015 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7016 | int arg2 = (int) 0 ; | |
7017 | int arg3 = (int) 0 ; | |
7018 | wxHtmlLinkInfo *result = 0 ; | |
7019 | void *argp1 = 0 ; | |
7020 | int res1 = 0 ; | |
7021 | int val2 ; | |
7022 | int ecode2 = 0 ; | |
7023 | int val3 ; | |
7024 | int ecode3 = 0 ; | |
7025 | PyObject * obj0 = 0 ; | |
7026 | PyObject * obj1 = 0 ; | |
7027 | PyObject * obj2 = 0 ; | |
7028 | char * kwnames[] = { | |
7029 | (char *) "self",(char *) "x",(char *) "y", NULL | |
7030 | }; | |
7031 | ||
7032 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7033 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7034 | if (!SWIG_IsOK(res1)) { | |
7035 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7036 | } | |
7037 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7038 | if (obj1) { | |
7039 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7040 | if (!SWIG_IsOK(ecode2)) { | |
7041 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'"); | |
7042 | } | |
7043 | arg2 = static_cast< int >(val2); | |
7044 | } | |
7045 | if (obj2) { | |
7046 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7047 | if (!SWIG_IsOK(ecode3)) { | |
7048 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'"); | |
7049 | } | |
7050 | arg3 = static_cast< int >(val3); | |
7051 | } | |
7052 | { | |
7053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7054 | result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3); | |
7055 | wxPyEndAllowThreads(__tstate); | |
7056 | if (PyErr_Occurred()) SWIG_fail; | |
7057 | } | |
7058 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
7059 | return resultobj; | |
7060 | fail: | |
7061 | return NULL; | |
d14a1e28 RD |
7062 | } |
7063 | ||
7064 | ||
554f62e9 RD |
7065 | SWIGINTERN PyObject *_wrap_HtmlCell_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7066 | PyObject *resultobj = 0; | |
7067 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7068 | wxHtmlCell *result = 0 ; | |
7069 | void *argp1 = 0 ; | |
7070 | int res1 = 0 ; | |
7071 | PyObject *swig_obj[1] ; | |
7072 | ||
7073 | if (!args) SWIG_fail; | |
7074 | swig_obj[0] = args; | |
7075 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7076 | if (!SWIG_IsOK(res1)) { | |
7077 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7078 | } | |
7079 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7080 | { | |
7081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7082 | result = (wxHtmlCell *)(arg1)->GetNext(); | |
7083 | wxPyEndAllowThreads(__tstate); | |
7084 | if (PyErr_Occurred()) SWIG_fail; | |
7085 | } | |
7086 | { | |
7087 | resultobj = wxPyMake_wxObject(result, 0); | |
7088 | } | |
7089 | return resultobj; | |
7090 | fail: | |
7091 | return NULL; | |
d14a1e28 RD |
7092 | } |
7093 | ||
7094 | ||
554f62e9 RD |
7095 | SWIGINTERN PyObject *_wrap_HtmlCell_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7096 | PyObject *resultobj = 0; | |
7097 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7098 | wxHtmlContainerCell *result = 0 ; | |
7099 | void *argp1 = 0 ; | |
7100 | int res1 = 0 ; | |
7101 | PyObject *swig_obj[1] ; | |
7102 | ||
7103 | if (!args) SWIG_fail; | |
7104 | swig_obj[0] = args; | |
7105 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7106 | if (!SWIG_IsOK(res1)) { | |
7107 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7108 | } | |
7109 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7110 | { | |
7111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7112 | result = (wxHtmlContainerCell *)(arg1)->GetParent(); | |
7113 | wxPyEndAllowThreads(__tstate); | |
7114 | if (PyErr_Occurred()) SWIG_fail; | |
7115 | } | |
7116 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
7117 | return resultobj; | |
7118 | fail: | |
7119 | return NULL; | |
d14a1e28 RD |
7120 | } |
7121 | ||
7122 | ||
554f62e9 RD |
7123 | SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7124 | PyObject *resultobj = 0; | |
7125 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7126 | wxHtmlCell *result = 0 ; | |
7127 | void *argp1 = 0 ; | |
7128 | int res1 = 0 ; | |
7129 | PyObject *swig_obj[1] ; | |
7130 | ||
7131 | if (!args) SWIG_fail; | |
7132 | swig_obj[0] = args; | |
7133 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7134 | if (!SWIG_IsOK(res1)) { | |
7135 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7136 | } | |
7137 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7138 | { | |
7139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7140 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild(); | |
7141 | wxPyEndAllowThreads(__tstate); | |
7142 | if (PyErr_Occurred()) SWIG_fail; | |
7143 | } | |
7144 | { | |
7145 | resultobj = wxPyMake_wxObject(result, 0); | |
7146 | } | |
7147 | return resultobj; | |
7148 | fail: | |
7149 | return NULL; | |
d14a1e28 RD |
7150 | } |
7151 | ||
7152 | ||
554f62e9 RD |
7153 | SWIGINTERN PyObject *_wrap_HtmlCell_GetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7154 | PyObject *resultobj = 0; | |
7155 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7156 | wxCursor result; | |
7157 | void *argp1 = 0 ; | |
7158 | int res1 = 0 ; | |
7159 | PyObject *swig_obj[1] ; | |
7160 | ||
7161 | if (!args) SWIG_fail; | |
7162 | swig_obj[0] = args; | |
7163 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7164 | if (!SWIG_IsOK(res1)) { | |
7165 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7166 | } | |
7167 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7168 | { | |
7169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7170 | result = ((wxHtmlCell const *)arg1)->GetCursor(); | |
7171 | wxPyEndAllowThreads(__tstate); | |
7172 | if (PyErr_Occurred()) SWIG_fail; | |
7173 | } | |
7174 | resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 ); | |
7175 | return resultobj; | |
7176 | fail: | |
7177 | return NULL; | |
d14a1e28 RD |
7178 | } |
7179 | ||
7180 | ||
554f62e9 RD |
7181 | SWIGINTERN PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7182 | PyObject *resultobj = 0; | |
7183 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7184 | bool result; | |
7185 | void *argp1 = 0 ; | |
7186 | int res1 = 0 ; | |
7187 | PyObject *swig_obj[1] ; | |
7188 | ||
7189 | if (!args) SWIG_fail; | |
7190 | swig_obj[0] = args; | |
7191 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7192 | if (!SWIG_IsOK(res1)) { | |
7193 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7194 | } | |
7195 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7196 | { | |
7197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7198 | result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell(); | |
7199 | wxPyEndAllowThreads(__tstate); | |
7200 | if (PyErr_Occurred()) SWIG_fail; | |
7201 | } | |
7202 | { | |
7203 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7204 | } | |
7205 | return resultobj; | |
7206 | fail: | |
7207 | return NULL; | |
7208 | } | |
7209 | ||
7210 | ||
7211 | SWIGINTERN PyObject *_wrap_HtmlCell_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7212 | PyObject *resultobj = 0; | |
7213 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7214 | wxHtmlLinkInfo *arg2 = 0 ; | |
7215 | void *argp1 = 0 ; | |
7216 | int res1 = 0 ; | |
7217 | void *argp2 = 0 ; | |
7218 | int res2 = 0 ; | |
7219 | PyObject * obj0 = 0 ; | |
7220 | PyObject * obj1 = 0 ; | |
7221 | char * kwnames[] = { | |
7222 | (char *) "self",(char *) "link", NULL | |
7223 | }; | |
7224 | ||
7225 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) SWIG_fail; | |
7226 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7227 | if (!SWIG_IsOK(res1)) { | |
7228 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7229 | } | |
7230 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7231 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0); | |
7232 | if (!SWIG_IsOK(res2)) { | |
7233 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
7234 | } | |
7235 | if (!argp2) { | |
7236 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
7237 | } | |
7238 | arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2); | |
7239 | { | |
7240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7241 | (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2); | |
7242 | wxPyEndAllowThreads(__tstate); | |
7243 | if (PyErr_Occurred()) SWIG_fail; | |
7244 | } | |
7245 | resultobj = SWIG_Py_Void(); | |
7246 | return resultobj; | |
7247 | fail: | |
7248 | return NULL; | |
7249 | } | |
7250 | ||
7251 | ||
7252 | SWIGINTERN PyObject *_wrap_HtmlCell_SetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7253 | PyObject *resultobj = 0; | |
7254 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7255 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
7256 | int res1 = 0 ; | |
7257 | int res2 = 0 ; | |
7258 | PyObject * obj0 = 0 ; | |
7259 | PyObject * obj1 = 0 ; | |
7260 | char * kwnames[] = { | |
7261 | (char *) "self",(char *) "cell", NULL | |
7262 | }; | |
7263 | ||
7264 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) SWIG_fail; | |
7265 | res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
7266 | if (!SWIG_IsOK(res1)) { | |
7267 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7268 | } | |
7269 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
7270 | if (!SWIG_IsOK(res2)) { | |
7271 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
7272 | } | |
7273 | { | |
7274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7275 | (arg1)->SetNext(arg2); | |
7276 | wxPyEndAllowThreads(__tstate); | |
7277 | if (PyErr_Occurred()) SWIG_fail; | |
7278 | } | |
7279 | resultobj = SWIG_Py_Void(); | |
7280 | return resultobj; | |
7281 | fail: | |
7282 | return NULL; | |
7283 | } | |
7284 | ||
7285 | ||
7286 | SWIGINTERN PyObject *_wrap_HtmlCell_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7287 | PyObject *resultobj = 0; | |
7288 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7289 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
7290 | void *argp1 = 0 ; | |
7291 | int res1 = 0 ; | |
7292 | void *argp2 = 0 ; | |
7293 | int res2 = 0 ; | |
7294 | PyObject * obj0 = 0 ; | |
7295 | PyObject * obj1 = 0 ; | |
7296 | char * kwnames[] = { | |
7297 | (char *) "self",(char *) "p", NULL | |
7298 | }; | |
7299 | ||
7300 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) SWIG_fail; | |
7301 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7302 | if (!SWIG_IsOK(res1)) { | |
7303 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7304 | } | |
7305 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7306 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
7307 | if (!SWIG_IsOK(res2)) { | |
7308 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'"); | |
7309 | } | |
7310 | arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2); | |
7311 | { | |
7312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7313 | (arg1)->SetParent(arg2); | |
7314 | wxPyEndAllowThreads(__tstate); | |
7315 | if (PyErr_Occurred()) SWIG_fail; | |
7316 | } | |
7317 | resultobj = SWIG_Py_Void(); | |
7318 | return resultobj; | |
7319 | fail: | |
7320 | return NULL; | |
7321 | } | |
7322 | ||
7323 | ||
7324 | SWIGINTERN PyObject *_wrap_HtmlCell_SetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7325 | PyObject *resultobj = 0; | |
7326 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7327 | int arg2 ; | |
7328 | int arg3 ; | |
7329 | void *argp1 = 0 ; | |
7330 | int res1 = 0 ; | |
7331 | int val2 ; | |
7332 | int ecode2 = 0 ; | |
7333 | int val3 ; | |
7334 | int ecode3 = 0 ; | |
7335 | PyObject * obj0 = 0 ; | |
7336 | PyObject * obj1 = 0 ; | |
7337 | PyObject * obj2 = 0 ; | |
7338 | char * kwnames[] = { | |
7339 | (char *) "self",(char *) "x",(char *) "y", NULL | |
7340 | }; | |
7341 | ||
7342 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7343 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7344 | if (!SWIG_IsOK(res1)) { | |
7345 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7346 | } | |
7347 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7348 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7349 | if (!SWIG_IsOK(ecode2)) { | |
7350 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'"); | |
7351 | } | |
7352 | arg2 = static_cast< int >(val2); | |
7353 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7354 | if (!SWIG_IsOK(ecode3)) { | |
7355 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'"); | |
7356 | } | |
7357 | arg3 = static_cast< int >(val3); | |
7358 | { | |
7359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7360 | (arg1)->SetPos(arg2,arg3); | |
7361 | wxPyEndAllowThreads(__tstate); | |
7362 | if (PyErr_Occurred()) SWIG_fail; | |
7363 | } | |
7364 | resultobj = SWIG_Py_Void(); | |
7365 | return resultobj; | |
7366 | fail: | |
7367 | return NULL; | |
7368 | } | |
7369 | ||
7370 | ||
7371 | SWIGINTERN PyObject *_wrap_HtmlCell_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7372 | PyObject *resultobj = 0; | |
7373 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7374 | int arg2 ; | |
7375 | void *argp1 = 0 ; | |
7376 | int res1 = 0 ; | |
7377 | int val2 ; | |
7378 | int ecode2 = 0 ; | |
7379 | PyObject * obj0 = 0 ; | |
7380 | PyObject * obj1 = 0 ; | |
7381 | char * kwnames[] = { | |
7382 | (char *) "self",(char *) "w", NULL | |
7383 | }; | |
7384 | ||
7385 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) SWIG_fail; | |
7386 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7387 | if (!SWIG_IsOK(res1)) { | |
7388 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7389 | } | |
7390 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7391 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7392 | if (!SWIG_IsOK(ecode2)) { | |
7393 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'"); | |
7394 | } | |
7395 | arg2 = static_cast< int >(val2); | |
7396 | { | |
7397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7398 | (arg1)->Layout(arg2); | |
7399 | wxPyEndAllowThreads(__tstate); | |
7400 | if (PyErr_Occurred()) SWIG_fail; | |
7401 | } | |
7402 | resultobj = SWIG_Py_Void(); | |
7403 | return resultobj; | |
7404 | fail: | |
7405 | return NULL; | |
7406 | } | |
7407 | ||
7408 | ||
7409 | SWIGINTERN PyObject *_wrap_HtmlCell_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7410 | PyObject *resultobj = 0; | |
7411 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7412 | wxDC *arg2 = 0 ; | |
7413 | int arg3 ; | |
7414 | int arg4 ; | |
7415 | int arg5 ; | |
7416 | int arg6 ; | |
7417 | wxHtmlRenderingInfo *arg7 = 0 ; | |
7418 | void *argp1 = 0 ; | |
7419 | int res1 = 0 ; | |
7420 | void *argp2 = 0 ; | |
7421 | int res2 = 0 ; | |
7422 | int val3 ; | |
7423 | int ecode3 = 0 ; | |
7424 | int val4 ; | |
7425 | int ecode4 = 0 ; | |
7426 | int val5 ; | |
7427 | int ecode5 = 0 ; | |
7428 | int val6 ; | |
7429 | int ecode6 = 0 ; | |
7430 | void *argp7 = 0 ; | |
7431 | int res7 = 0 ; | |
7432 | PyObject * obj0 = 0 ; | |
7433 | PyObject * obj1 = 0 ; | |
7434 | PyObject * obj2 = 0 ; | |
7435 | PyObject * obj3 = 0 ; | |
7436 | PyObject * obj4 = 0 ; | |
7437 | PyObject * obj5 = 0 ; | |
7438 | PyObject * obj6 = 0 ; | |
7439 | char * kwnames[] = { | |
7440 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL | |
7441 | }; | |
7442 | ||
7443 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
7444 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7445 | if (!SWIG_IsOK(res1)) { | |
7446 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7447 | } | |
7448 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7449 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
7450 | if (!SWIG_IsOK(res2)) { | |
7451 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7452 | } | |
7453 | if (!argp2) { | |
7454 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7455 | } | |
7456 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
7457 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7458 | if (!SWIG_IsOK(ecode3)) { | |
7459 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'"); | |
7460 | } | |
7461 | arg3 = static_cast< int >(val3); | |
7462 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7463 | if (!SWIG_IsOK(ecode4)) { | |
7464 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'"); | |
7465 | } | |
7466 | arg4 = static_cast< int >(val4); | |
7467 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
7468 | if (!SWIG_IsOK(ecode5)) { | |
7469 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'"); | |
7470 | } | |
7471 | arg5 = static_cast< int >(val5); | |
7472 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
7473 | if (!SWIG_IsOK(ecode6)) { | |
7474 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'"); | |
7475 | } | |
7476 | arg6 = static_cast< int >(val6); | |
7477 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxHtmlRenderingInfo, 0 ); | |
7478 | if (!SWIG_IsOK(res7)) { | |
7479 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'"); | |
7480 | } | |
7481 | if (!argp7) { | |
7482 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'"); | |
7483 | } | |
7484 | arg7 = reinterpret_cast< wxHtmlRenderingInfo * >(argp7); | |
7485 | { | |
7486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7487 | (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7); | |
7488 | wxPyEndAllowThreads(__tstate); | |
7489 | if (PyErr_Occurred()) SWIG_fail; | |
7490 | } | |
7491 | resultobj = SWIG_Py_Void(); | |
7492 | return resultobj; | |
7493 | fail: | |
7494 | return NULL; | |
7495 | } | |
7496 | ||
7497 | ||
7498 | SWIGINTERN PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7499 | PyObject *resultobj = 0; | |
7500 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7501 | wxDC *arg2 = 0 ; | |
7502 | int arg3 ; | |
7503 | int arg4 ; | |
7504 | wxHtmlRenderingInfo *arg5 = 0 ; | |
7505 | void *argp1 = 0 ; | |
7506 | int res1 = 0 ; | |
7507 | void *argp2 = 0 ; | |
7508 | int res2 = 0 ; | |
7509 | int val3 ; | |
7510 | int ecode3 = 0 ; | |
7511 | int val4 ; | |
7512 | int ecode4 = 0 ; | |
7513 | void *argp5 = 0 ; | |
7514 | int res5 = 0 ; | |
7515 | PyObject * obj0 = 0 ; | |
7516 | PyObject * obj1 = 0 ; | |
7517 | PyObject * obj2 = 0 ; | |
7518 | PyObject * obj3 = 0 ; | |
7519 | PyObject * obj4 = 0 ; | |
7520 | char * kwnames[] = { | |
7521 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL | |
7522 | }; | |
7523 | ||
7524 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
7525 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7526 | if (!SWIG_IsOK(res1)) { | |
7527 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7528 | } | |
7529 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7530 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
7531 | if (!SWIG_IsOK(res2)) { | |
7532 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7533 | } | |
7534 | if (!argp2) { | |
7535 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7536 | } | |
7537 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
7538 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7539 | if (!SWIG_IsOK(ecode3)) { | |
7540 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'"); | |
7541 | } | |
7542 | arg3 = static_cast< int >(val3); | |
7543 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7544 | if (!SWIG_IsOK(ecode4)) { | |
7545 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'"); | |
7546 | } | |
7547 | arg4 = static_cast< int >(val4); | |
7548 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxHtmlRenderingInfo, 0 ); | |
7549 | if (!SWIG_IsOK(res5)) { | |
7550 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'"); | |
7551 | } | |
7552 | if (!argp5) { | |
7553 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'"); | |
7554 | } | |
7555 | arg5 = reinterpret_cast< wxHtmlRenderingInfo * >(argp5); | |
7556 | { | |
7557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7558 | (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5); | |
7559 | wxPyEndAllowThreads(__tstate); | |
7560 | if (PyErr_Occurred()) SWIG_fail; | |
7561 | } | |
7562 | resultobj = SWIG_Py_Void(); | |
7563 | return resultobj; | |
7564 | fail: | |
7565 | return NULL; | |
7566 | } | |
7567 | ||
7568 | ||
7569 | SWIGINTERN PyObject *_wrap_HtmlCell_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7570 | PyObject *resultobj = 0; | |
7571 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7572 | int arg2 ; | |
7573 | void *arg3 = (void *) 0 ; | |
7574 | wxHtmlCell *result = 0 ; | |
7575 | void *argp1 = 0 ; | |
7576 | int res1 = 0 ; | |
7577 | int val2 ; | |
7578 | int ecode2 = 0 ; | |
7579 | int res3 ; | |
7580 | PyObject * obj0 = 0 ; | |
7581 | PyObject * obj1 = 0 ; | |
7582 | PyObject * obj2 = 0 ; | |
7583 | char * kwnames[] = { | |
7584 | (char *) "self",(char *) "condition",(char *) "param", NULL | |
7585 | }; | |
7586 | ||
7587 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7588 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7589 | if (!SWIG_IsOK(res1)) { | |
7590 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7591 | } | |
7592 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7593 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7594 | if (!SWIG_IsOK(ecode2)) { | |
7595 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'"); | |
7596 | } | |
7597 | arg2 = static_cast< int >(val2); | |
7598 | res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); | |
7599 | if (!SWIG_IsOK(res3)) { | |
7600 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'"); | |
7601 | } | |
7602 | { | |
7603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7604 | result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3); | |
7605 | wxPyEndAllowThreads(__tstate); | |
7606 | if (PyErr_Occurred()) SWIG_fail; | |
7607 | } | |
7608 | { | |
7609 | resultobj = wxPyMake_wxObject(result, 0); | |
7610 | } | |
7611 | return resultobj; | |
7612 | fail: | |
7613 | return NULL; | |
7614 | } | |
7615 | ||
7616 | ||
7617 | SWIGINTERN PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7618 | PyObject *resultobj = 0; | |
7619 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7620 | int *arg2 = (int *) 0 ; | |
7621 | bool result; | |
7622 | void *argp1 = 0 ; | |
7623 | int res1 = 0 ; | |
7624 | int temp2 ; | |
7625 | int res2 = 0 ; | |
7626 | PyObject * obj0 = 0 ; | |
7627 | PyObject * obj1 = 0 ; | |
7628 | char * kwnames[] = { | |
7629 | (char *) "self",(char *) "INOUT", NULL | |
7630 | }; | |
7631 | ||
7632 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) SWIG_fail; | |
7633 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7634 | if (!SWIG_IsOK(res1)) { | |
7635 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_AdjustPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7636 | } | |
7637 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7638 | if (!(SWIG_IsOK((res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2),SWIGTYPE_p_int,0))))) { | |
7639 | int val; | |
7640 | int ecode = SWIG_AsVal_int(obj1, &val); | |
7641 | if (!SWIG_IsOK(ecode)) { | |
7642 | SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "HtmlCell_AdjustPagebreak" "', expected argument " "2"" of type '" "int""'"); | |
7643 | } | |
7644 | temp2 = static_cast< int >(val); | |
7645 | arg2 = &temp2; | |
7646 | res2 = SWIG_AddTmpMask(ecode); | |
7647 | } | |
7648 | { | |
7649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7650 | result = (bool)(arg1)->AdjustPagebreak(arg2); | |
7651 | wxPyEndAllowThreads(__tstate); | |
7652 | if (PyErr_Occurred()) SWIG_fail; | |
7653 | } | |
7654 | { | |
7655 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7656 | } | |
7657 | if (SWIG_IsTmpObj(res2)) { | |
7658 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2))); | |
7659 | } else { | |
7660 | int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; | |
7661 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags)); | |
7662 | } | |
7663 | return resultobj; | |
7664 | fail: | |
7665 | return NULL; | |
7666 | } | |
7667 | ||
7668 | ||
7669 | SWIGINTERN PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7670 | PyObject *resultobj = 0; | |
7671 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7672 | bool arg2 ; | |
7673 | void *argp1 = 0 ; | |
7674 | int res1 = 0 ; | |
7675 | bool val2 ; | |
7676 | int ecode2 = 0 ; | |
7677 | PyObject * obj0 = 0 ; | |
7678 | PyObject * obj1 = 0 ; | |
7679 | char * kwnames[] = { | |
7680 | (char *) "self",(char *) "can", NULL | |
7681 | }; | |
7682 | ||
7683 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) SWIG_fail; | |
7684 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7685 | if (!SWIG_IsOK(res1)) { | |
7686 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7687 | } | |
7688 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7689 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
7690 | if (!SWIG_IsOK(ecode2)) { | |
7691 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'"); | |
7692 | } | |
7693 | arg2 = static_cast< bool >(val2); | |
7694 | { | |
7695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7696 | (arg1)->SetCanLiveOnPagebreak(arg2); | |
7697 | wxPyEndAllowThreads(__tstate); | |
7698 | if (PyErr_Occurred()) SWIG_fail; | |
7699 | } | |
7700 | resultobj = SWIG_Py_Void(); | |
7701 | return resultobj; | |
7702 | fail: | |
7703 | return NULL; | |
d14a1e28 RD |
7704 | } |
7705 | ||
7706 | ||
554f62e9 RD |
7707 | SWIGINTERN PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7708 | PyObject *resultobj = 0; | |
7709 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7710 | bool result; | |
7711 | void *argp1 = 0 ; | |
7712 | int res1 = 0 ; | |
7713 | PyObject *swig_obj[1] ; | |
7714 | ||
7715 | if (!args) SWIG_fail; | |
7716 | swig_obj[0] = args; | |
7717 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7718 | if (!SWIG_IsOK(res1)) { | |
7719 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7720 | } | |
7721 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7722 | { | |
7723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7724 | result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed(); | |
7725 | wxPyEndAllowThreads(__tstate); | |
7726 | if (PyErr_Occurred()) SWIG_fail; | |
7727 | } | |
7728 | { | |
7729 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7730 | } | |
7731 | return resultobj; | |
7732 | fail: | |
7733 | return NULL; | |
d14a1e28 RD |
7734 | } |
7735 | ||
7736 | ||
554f62e9 RD |
7737 | SWIGINTERN PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7738 | PyObject *resultobj = 0; | |
7739 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7740 | bool result; | |
7741 | void *argp1 = 0 ; | |
7742 | int res1 = 0 ; | |
7743 | PyObject *swig_obj[1] ; | |
7744 | ||
7745 | if (!args) SWIG_fail; | |
7746 | swig_obj[0] = args; | |
7747 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7748 | if (!SWIG_IsOK(res1)) { | |
7749 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7750 | } | |
7751 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7752 | { | |
7753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7754 | result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell(); | |
7755 | wxPyEndAllowThreads(__tstate); | |
7756 | if (PyErr_Occurred()) SWIG_fail; | |
7757 | } | |
7758 | { | |
7759 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7760 | } | |
7761 | return resultobj; | |
7762 | fail: | |
7763 | return NULL; | |
7764 | } | |
7765 | ||
7766 | ||
7767 | SWIGINTERN PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7768 | PyObject *resultobj = 0; | |
7769 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7770 | int arg2 ; | |
7771 | int arg3 ; | |
7772 | unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; | |
7773 | wxHtmlCell *result = 0 ; | |
7774 | void *argp1 = 0 ; | |
7775 | int res1 = 0 ; | |
7776 | int val2 ; | |
7777 | int ecode2 = 0 ; | |
7778 | int val3 ; | |
7779 | int ecode3 = 0 ; | |
7780 | unsigned int val4 ; | |
7781 | int ecode4 = 0 ; | |
7782 | PyObject * obj0 = 0 ; | |
7783 | PyObject * obj1 = 0 ; | |
7784 | PyObject * obj2 = 0 ; | |
7785 | PyObject * obj3 = 0 ; | |
7786 | char * kwnames[] = { | |
7787 | (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL | |
7788 | }; | |
7789 | ||
7790 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7791 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7792 | if (!SWIG_IsOK(res1)) { | |
7793 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7794 | } | |
7795 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7796 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7797 | if (!SWIG_IsOK(ecode2)) { | |
7798 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'"); | |
7799 | } | |
7800 | arg2 = static_cast< int >(val2); | |
7801 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7802 | if (!SWIG_IsOK(ecode3)) { | |
7803 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'"); | |
7804 | } | |
7805 | arg3 = static_cast< int >(val3); | |
7806 | if (obj3) { | |
7807 | ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); | |
7808 | if (!SWIG_IsOK(ecode4)) { | |
7809 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'"); | |
7810 | } | |
7811 | arg4 = static_cast< unsigned int >(val4); | |
7812 | } | |
7813 | { | |
7814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7815 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4); | |
7816 | wxPyEndAllowThreads(__tstate); | |
7817 | if (PyErr_Occurred()) SWIG_fail; | |
7818 | } | |
7819 | { | |
7820 | resultobj = wxPyMake_wxObject(result, 0); | |
7821 | } | |
7822 | return resultobj; | |
7823 | fail: | |
7824 | return NULL; | |
d14a1e28 RD |
7825 | } |
7826 | ||
7827 | ||
554f62e9 RD |
7828 | SWIGINTERN PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7829 | PyObject *resultobj = 0; | |
7830 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7831 | wxPoint result; | |
7832 | void *argp1 = 0 ; | |
7833 | int res1 = 0 ; | |
7834 | PyObject *swig_obj[1] ; | |
7835 | ||
7836 | if (!args) SWIG_fail; | |
7837 | swig_obj[0] = args; | |
7838 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7839 | if (!SWIG_IsOK(res1)) { | |
7840 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7841 | } | |
7842 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7843 | { | |
7844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7845 | result = ((wxHtmlCell const *)arg1)->GetAbsPos(); | |
7846 | wxPyEndAllowThreads(__tstate); | |
7847 | if (PyErr_Occurred()) SWIG_fail; | |
7848 | } | |
7849 | resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 ); | |
7850 | return resultobj; | |
7851 | fail: | |
7852 | return NULL; | |
d14a1e28 RD |
7853 | } |
7854 | ||
7855 | ||
554f62e9 RD |
7856 | SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7857 | PyObject *resultobj = 0; | |
7858 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7859 | wxHtmlCell *result = 0 ; | |
7860 | void *argp1 = 0 ; | |
7861 | int res1 = 0 ; | |
7862 | PyObject *swig_obj[1] ; | |
7863 | ||
7864 | if (!args) SWIG_fail; | |
7865 | swig_obj[0] = args; | |
7866 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7867 | if (!SWIG_IsOK(res1)) { | |
7868 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7869 | } | |
7870 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7871 | { | |
7872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7873 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal(); | |
7874 | wxPyEndAllowThreads(__tstate); | |
7875 | if (PyErr_Occurred()) SWIG_fail; | |
7876 | } | |
7877 | { | |
7878 | resultobj = wxPyMake_wxObject(result, 0); | |
7879 | } | |
7880 | return resultobj; | |
7881 | fail: | |
7882 | return NULL; | |
d14a1e28 RD |
7883 | } |
7884 | ||
7885 | ||
554f62e9 RD |
7886 | SWIGINTERN PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7887 | PyObject *resultobj = 0; | |
7888 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7889 | wxHtmlCell *result = 0 ; | |
7890 | void *argp1 = 0 ; | |
7891 | int res1 = 0 ; | |
7892 | PyObject *swig_obj[1] ; | |
7893 | ||
7894 | if (!args) SWIG_fail; | |
7895 | swig_obj[0] = args; | |
7896 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7897 | if (!SWIG_IsOK(res1)) { | |
7898 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7899 | } | |
7900 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7901 | { | |
7902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7903 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal(); | |
7904 | wxPyEndAllowThreads(__tstate); | |
7905 | if (PyErr_Occurred()) SWIG_fail; | |
7906 | } | |
7907 | { | |
7908 | resultobj = wxPyMake_wxObject(result, 0); | |
7909 | } | |
7910 | return resultobj; | |
7911 | fail: | |
7912 | return NULL; | |
d14a1e28 RD |
7913 | } |
7914 | ||
7915 | ||
554f62e9 RD |
7916 | SWIGINTERN PyObject *_wrap_HtmlCell_GetDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7917 | PyObject *resultobj = 0; | |
7918 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7919 | unsigned int result; | |
7920 | void *argp1 = 0 ; | |
7921 | int res1 = 0 ; | |
7922 | PyObject *swig_obj[1] ; | |
7923 | ||
7924 | if (!args) SWIG_fail; | |
7925 | swig_obj[0] = args; | |
7926 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7927 | if (!SWIG_IsOK(res1)) { | |
7928 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7929 | } | |
7930 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7931 | { | |
7932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7933 | result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth(); | |
7934 | wxPyEndAllowThreads(__tstate); | |
7935 | if (PyErr_Occurred()) SWIG_fail; | |
7936 | } | |
7937 | resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); | |
7938 | return resultobj; | |
7939 | fail: | |
7940 | return NULL; | |
7941 | } | |
7942 | ||
7943 | ||
7944 | SWIGINTERN PyObject *_wrap_HtmlCell_IsBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7945 | PyObject *resultobj = 0; | |
7946 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7947 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
7948 | bool result; | |
7949 | void *argp1 = 0 ; | |
7950 | int res1 = 0 ; | |
7951 | void *argp2 = 0 ; | |
7952 | int res2 = 0 ; | |
7953 | PyObject * obj0 = 0 ; | |
7954 | PyObject * obj1 = 0 ; | |
7955 | char * kwnames[] = { | |
7956 | (char *) "self",(char *) "cell", NULL | |
7957 | }; | |
7958 | ||
7959 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) SWIG_fail; | |
7960 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7961 | if (!SWIG_IsOK(res1)) { | |
7962 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7963 | } | |
7964 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7965 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7966 | if (!SWIG_IsOK(res2)) { | |
7967 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
7968 | } | |
7969 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
7970 | { | |
7971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7972 | result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2); | |
7973 | wxPyEndAllowThreads(__tstate); | |
7974 | if (PyErr_Occurred()) SWIG_fail; | |
7975 | } | |
7976 | { | |
7977 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7978 | } | |
7979 | return resultobj; | |
7980 | fail: | |
7981 | return NULL; | |
7982 | } | |
7983 | ||
7984 | ||
7985 | SWIGINTERN PyObject *_wrap_HtmlCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7986 | PyObject *resultobj = 0; | |
7987 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7988 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
7989 | wxString result; | |
7990 | void *argp1 = 0 ; | |
7991 | int res1 = 0 ; | |
7992 | void *argp2 = 0 ; | |
7993 | int res2 = 0 ; | |
7994 | PyObject * obj0 = 0 ; | |
7995 | PyObject * obj1 = 0 ; | |
7996 | char * kwnames[] = { | |
7997 | (char *) "self",(char *) "sel", NULL | |
7998 | }; | |
7999 | ||
8000 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail; | |
8001 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8002 | if (!SWIG_IsOK(res1)) { | |
8003 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8004 | } | |
8005 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8006 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
8007 | if (!SWIG_IsOK(res2)) { | |
8008 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); | |
8009 | } | |
8010 | arg2 = reinterpret_cast< wxHtmlSelection * >(argp2); | |
8011 | { | |
8012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8013 | result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2); | |
8014 | wxPyEndAllowThreads(__tstate); | |
8015 | if (PyErr_Occurred()) SWIG_fail; | |
8016 | } | |
8017 | { | |
8018 | #if wxUSE_UNICODE | |
8019 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8020 | #else | |
8021 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8022 | #endif | |
8023 | } | |
8024 | return resultobj; | |
8025 | fail: | |
8026 | return NULL; | |
d14a1e28 RD |
8027 | } |
8028 | ||
8029 | ||
554f62e9 RD |
8030 | SWIGINTERN PyObject *HtmlCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8031 | PyObject *obj; | |
8032 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8033 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell, SWIG_NewClientData(obj)); | |
8034 | return SWIG_Py_Void(); | |
d14a1e28 RD |
8035 | } |
8036 | ||
554f62e9 RD |
8037 | SWIGINTERN PyObject *HtmlCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8038 | return SWIG_Python_InitShadowInstance(args); | |
8039 | } | |
d14a1e28 | 8040 | |
554f62e9 RD |
8041 | SWIGINTERN PyObject *_wrap_new_HtmlWordCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8042 | PyObject *resultobj = 0; | |
8043 | wxString *arg1 = 0 ; | |
8044 | wxDC *arg2 = 0 ; | |
8045 | wxHtmlWordCell *result = 0 ; | |
8046 | bool temp1 = false ; | |
8047 | void *argp2 = 0 ; | |
8048 | int res2 = 0 ; | |
8049 | PyObject * obj0 = 0 ; | |
8050 | PyObject * obj1 = 0 ; | |
8051 | char * kwnames[] = { | |
8052 | (char *) "word",(char *) "dc", NULL | |
8053 | }; | |
8054 | ||
8055 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
8056 | { | |
8057 | arg1 = wxString_in_helper(obj0); | |
8058 | if (arg1 == NULL) SWIG_fail; | |
8059 | temp1 = true; | |
8060 | } | |
8061 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
8062 | if (!SWIG_IsOK(res2)) { | |
8063 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'"); | |
8064 | } | |
8065 | if (!argp2) { | |
8066 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'"); | |
8067 | } | |
8068 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8069 | { | |
8070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8071 | result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2); | |
8072 | wxPyEndAllowThreads(__tstate); | |
8073 | if (PyErr_Occurred()) SWIG_fail; | |
8074 | } | |
8075 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_NEW | 0 ); | |
8076 | { | |
8077 | if (temp1) | |
8078 | delete arg1; | |
8079 | } | |
8080 | return resultobj; | |
8081 | fail: | |
8082 | { | |
8083 | if (temp1) | |
8084 | delete arg1; | |
8085 | } | |
8086 | return NULL; | |
8087 | } | |
8088 | ||
8089 | ||
8090 | SWIGINTERN PyObject *_wrap_HtmlWordCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8091 | PyObject *resultobj = 0; | |
8092 | wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ; | |
8093 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
8094 | wxString result; | |
8095 | void *argp1 = 0 ; | |
8096 | int res1 = 0 ; | |
8097 | void *argp2 = 0 ; | |
8098 | int res2 = 0 ; | |
8099 | PyObject * obj0 = 0 ; | |
8100 | PyObject * obj1 = 0 ; | |
8101 | char * kwnames[] = { | |
8102 | (char *) "self",(char *) "sel", NULL | |
8103 | }; | |
8104 | ||
8105 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail; | |
8106 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8107 | if (!SWIG_IsOK(res1)) { | |
8108 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'"); | |
8109 | } | |
8110 | arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1); | |
8111 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
8112 | if (!SWIG_IsOK(res2)) { | |
8113 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); | |
8114 | } | |
8115 | arg2 = reinterpret_cast< wxHtmlSelection * >(argp2); | |
8116 | { | |
8117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8118 | result = ((wxHtmlWordCell const *)arg1)->ConvertToText(arg2); | |
8119 | wxPyEndAllowThreads(__tstate); | |
8120 | if (PyErr_Occurred()) SWIG_fail; | |
8121 | } | |
8122 | { | |
8123 | #if wxUSE_UNICODE | |
8124 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8125 | #else | |
8126 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8127 | #endif | |
8128 | } | |
8129 | return resultobj; | |
8130 | fail: | |
8131 | return NULL; | |
d14a1e28 RD |
8132 | } |
8133 | ||
8134 | ||
554f62e9 RD |
8135 | SWIGINTERN PyObject *_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8136 | PyObject *resultobj = 0; | |
8137 | wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ; | |
8138 | bool result; | |
8139 | void *argp1 = 0 ; | |
8140 | int res1 = 0 ; | |
8141 | PyObject *swig_obj[1] ; | |
8142 | ||
8143 | if (!args) SWIG_fail; | |
8144 | swig_obj[0] = args; | |
8145 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8146 | if (!SWIG_IsOK(res1)) { | |
8147 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'"); | |
8148 | } | |
8149 | arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1); | |
8150 | { | |
8151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8152 | result = (bool)((wxHtmlWordCell const *)arg1)->IsLinebreakAllowed(); | |
8153 | wxPyEndAllowThreads(__tstate); | |
8154 | if (PyErr_Occurred()) SWIG_fail; | |
8155 | } | |
8156 | { | |
8157 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8158 | } | |
8159 | return resultobj; | |
8160 | fail: | |
8161 | return NULL; | |
8162 | } | |
8163 | ||
8164 | ||
8165 | SWIGINTERN PyObject *_wrap_HtmlWordCell_SetPreviousWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8166 | PyObject *resultobj = 0; | |
8167 | wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ; | |
8168 | wxHtmlWordCell *arg2 = (wxHtmlWordCell *) 0 ; | |
8169 | void *argp1 = 0 ; | |
8170 | int res1 = 0 ; | |
8171 | void *argp2 = 0 ; | |
8172 | int res2 = 0 ; | |
8173 | PyObject * obj0 = 0 ; | |
8174 | PyObject * obj1 = 0 ; | |
8175 | char * kwnames[] = { | |
8176 | (char *) "self",(char *) "cell", NULL | |
8177 | }; | |
8178 | ||
8179 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames,&obj0,&obj1)) SWIG_fail; | |
8180 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8181 | if (!SWIG_IsOK(res1)) { | |
8182 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'"); | |
8183 | } | |
8184 | arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1); | |
8185 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8186 | if (!SWIG_IsOK(res2)) { | |
8187 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'"); | |
8188 | } | |
8189 | arg2 = reinterpret_cast< wxHtmlWordCell * >(argp2); | |
8190 | { | |
8191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8192 | (arg1)->SetPreviousWord(arg2); | |
8193 | wxPyEndAllowThreads(__tstate); | |
8194 | if (PyErr_Occurred()) SWIG_fail; | |
8195 | } | |
8196 | resultobj = SWIG_Py_Void(); | |
8197 | return resultobj; | |
8198 | fail: | |
8199 | return NULL; | |
d14a1e28 RD |
8200 | } |
8201 | ||
8202 | ||
554f62e9 RD |
8203 | SWIGINTERN PyObject *HtmlWordCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8204 | PyObject *obj; | |
8205 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8206 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell, SWIG_NewClientData(obj)); | |
8207 | return SWIG_Py_Void(); | |
d14a1e28 RD |
8208 | } |
8209 | ||
554f62e9 RD |
8210 | SWIGINTERN PyObject *HtmlWordCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8211 | return SWIG_Python_InitShadowInstance(args); | |
8212 | } | |
d14a1e28 | 8213 | |
554f62e9 RD |
8214 | SWIGINTERN PyObject *_wrap_new_HtmlContainerCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8215 | PyObject *resultobj = 0; | |
8216 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8217 | wxHtmlContainerCell *result = 0 ; | |
8218 | void *argp1 = 0 ; | |
8219 | int res1 = 0 ; | |
8220 | PyObject * obj0 = 0 ; | |
8221 | char * kwnames[] = { | |
8222 | (char *) "parent", NULL | |
8223 | }; | |
8224 | ||
8225 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) SWIG_fail; | |
8226 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8227 | if (!SWIG_IsOK(res1)) { | |
8228 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8229 | } | |
8230 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8231 | { | |
8232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8233 | result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1); | |
8234 | wxPyEndAllowThreads(__tstate); | |
8235 | if (PyErr_Occurred()) SWIG_fail; | |
8236 | } | |
8237 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_NEW | 0 ); | |
8238 | return resultobj; | |
8239 | fail: | |
8240 | return NULL; | |
8241 | } | |
8242 | ||
8243 | ||
8244 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8245 | PyObject *resultobj = 0; | |
8246 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8247 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
8248 | void *argp1 = 0 ; | |
8249 | int res1 = 0 ; | |
8250 | int res2 = 0 ; | |
8251 | PyObject * obj0 = 0 ; | |
8252 | PyObject * obj1 = 0 ; | |
8253 | char * kwnames[] = { | |
8254 | (char *) "self",(char *) "cell", NULL | |
8255 | }; | |
8256 | ||
8257 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
8258 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8259 | if (!SWIG_IsOK(res1)) { | |
8260 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8261 | } | |
8262 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8263 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
8264 | if (!SWIG_IsOK(res2)) { | |
8265 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
8266 | } | |
8267 | { | |
8268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8269 | (arg1)->InsertCell(arg2); | |
8270 | wxPyEndAllowThreads(__tstate); | |
8271 | if (PyErr_Occurred()) SWIG_fail; | |
8272 | } | |
8273 | resultobj = SWIG_Py_Void(); | |
8274 | return resultobj; | |
8275 | fail: | |
8276 | return NULL; | |
8277 | } | |
8278 | ||
8279 | ||
8280 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8281 | PyObject *resultobj = 0; | |
8282 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8283 | int arg2 ; | |
8284 | void *argp1 = 0 ; | |
8285 | int res1 = 0 ; | |
8286 | int val2 ; | |
8287 | int ecode2 = 0 ; | |
8288 | PyObject * obj0 = 0 ; | |
8289 | PyObject * obj1 = 0 ; | |
8290 | char * kwnames[] = { | |
8291 | (char *) "self",(char *) "al", NULL | |
8292 | }; | |
8293 | ||
8294 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) SWIG_fail; | |
8295 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8296 | if (!SWIG_IsOK(res1)) { | |
8297 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8298 | } | |
8299 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8300 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8301 | if (!SWIG_IsOK(ecode2)) { | |
8302 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'"); | |
8303 | } | |
8304 | arg2 = static_cast< int >(val2); | |
8305 | { | |
8306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8307 | (arg1)->SetAlignHor(arg2); | |
8308 | wxPyEndAllowThreads(__tstate); | |
8309 | if (PyErr_Occurred()) SWIG_fail; | |
8310 | } | |
8311 | resultobj = SWIG_Py_Void(); | |
8312 | return resultobj; | |
8313 | fail: | |
8314 | return NULL; | |
d14a1e28 | 8315 | } |
554f62e9 RD |
8316 | |
8317 | ||
8318 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8319 | PyObject *resultobj = 0; | |
8320 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8321 | int result; | |
8322 | void *argp1 = 0 ; | |
8323 | int res1 = 0 ; | |
8324 | PyObject *swig_obj[1] ; | |
8325 | ||
8326 | if (!args) SWIG_fail; | |
8327 | swig_obj[0] = args; | |
8328 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8329 | if (!SWIG_IsOK(res1)) { | |
8330 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8331 | } | |
8332 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8333 | { | |
8334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8335 | result = (int)(arg1)->GetAlignHor(); | |
8336 | wxPyEndAllowThreads(__tstate); | |
8337 | if (PyErr_Occurred()) SWIG_fail; | |
8338 | } | |
8339 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8340 | return resultobj; | |
8341 | fail: | |
8342 | return NULL; | |
8343 | } | |
8344 | ||
8345 | ||
8346 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8347 | PyObject *resultobj = 0; | |
8348 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8349 | int arg2 ; | |
8350 | void *argp1 = 0 ; | |
8351 | int res1 = 0 ; | |
8352 | int val2 ; | |
8353 | int ecode2 = 0 ; | |
8354 | PyObject * obj0 = 0 ; | |
8355 | PyObject * obj1 = 0 ; | |
8356 | char * kwnames[] = { | |
8357 | (char *) "self",(char *) "al", NULL | |
8358 | }; | |
8359 | ||
8360 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) SWIG_fail; | |
8361 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8362 | if (!SWIG_IsOK(res1)) { | |
8363 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8364 | } | |
8365 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8366 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8367 | if (!SWIG_IsOK(ecode2)) { | |
8368 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'"); | |
8369 | } | |
8370 | arg2 = static_cast< int >(val2); | |
8371 | { | |
8372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8373 | (arg1)->SetAlignVer(arg2); | |
8374 | wxPyEndAllowThreads(__tstate); | |
8375 | if (PyErr_Occurred()) SWIG_fail; | |
8376 | } | |
8377 | resultobj = SWIG_Py_Void(); | |
8378 | return resultobj; | |
8379 | fail: | |
8380 | return NULL; | |
d14a1e28 RD |
8381 | } |
8382 | ||
8383 | ||
554f62e9 RD |
8384 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8385 | PyObject *resultobj = 0; | |
8386 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8387 | int result; | |
8388 | void *argp1 = 0 ; | |
8389 | int res1 = 0 ; | |
8390 | PyObject *swig_obj[1] ; | |
8391 | ||
8392 | if (!args) SWIG_fail; | |
8393 | swig_obj[0] = args; | |
8394 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8395 | if (!SWIG_IsOK(res1)) { | |
8396 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8397 | } | |
8398 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8399 | { | |
8400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8401 | result = (int)(arg1)->GetAlignVer(); | |
8402 | wxPyEndAllowThreads(__tstate); | |
8403 | if (PyErr_Occurred()) SWIG_fail; | |
8404 | } | |
8405 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8406 | return resultobj; | |
8407 | fail: | |
8408 | return NULL; | |
8409 | } | |
8410 | ||
8411 | ||
8412 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8413 | PyObject *resultobj = 0; | |
8414 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8415 | int arg2 ; | |
8416 | int arg3 ; | |
8417 | int arg4 = (int) wxHTML_UNITS_PIXELS ; | |
8418 | void *argp1 = 0 ; | |
8419 | int res1 = 0 ; | |
8420 | int val2 ; | |
8421 | int ecode2 = 0 ; | |
8422 | int val3 ; | |
8423 | int ecode3 = 0 ; | |
8424 | int val4 ; | |
8425 | int ecode4 = 0 ; | |
8426 | PyObject * obj0 = 0 ; | |
8427 | PyObject * obj1 = 0 ; | |
8428 | PyObject * obj2 = 0 ; | |
8429 | PyObject * obj3 = 0 ; | |
8430 | char * kwnames[] = { | |
8431 | (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL | |
8432 | }; | |
8433 | ||
8434 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
8435 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8436 | if (!SWIG_IsOK(res1)) { | |
8437 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8438 | } | |
8439 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8440 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8441 | if (!SWIG_IsOK(ecode2)) { | |
8442 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'"); | |
8443 | } | |
8444 | arg2 = static_cast< int >(val2); | |
8445 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8446 | if (!SWIG_IsOK(ecode3)) { | |
8447 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'"); | |
8448 | } | |
8449 | arg3 = static_cast< int >(val3); | |
8450 | if (obj3) { | |
8451 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
8452 | if (!SWIG_IsOK(ecode4)) { | |
8453 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'"); | |
8454 | } | |
8455 | arg4 = static_cast< int >(val4); | |
8456 | } | |
8457 | { | |
8458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8459 | (arg1)->SetIndent(arg2,arg3,arg4); | |
8460 | wxPyEndAllowThreads(__tstate); | |
8461 | if (PyErr_Occurred()) SWIG_fail; | |
8462 | } | |
8463 | resultobj = SWIG_Py_Void(); | |
8464 | return resultobj; | |
8465 | fail: | |
8466 | return NULL; | |
8467 | } | |
8468 | ||
8469 | ||
8470 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8471 | PyObject *resultobj = 0; | |
8472 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8473 | int arg2 ; | |
8474 | int result; | |
8475 | void *argp1 = 0 ; | |
8476 | int res1 = 0 ; | |
8477 | int val2 ; | |
8478 | int ecode2 = 0 ; | |
8479 | PyObject * obj0 = 0 ; | |
8480 | PyObject * obj1 = 0 ; | |
8481 | char * kwnames[] = { | |
8482 | (char *) "self",(char *) "ind", NULL | |
8483 | }; | |
8484 | ||
8485 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) SWIG_fail; | |
8486 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8487 | if (!SWIG_IsOK(res1)) { | |
8488 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8489 | } | |
8490 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8491 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8492 | if (!SWIG_IsOK(ecode2)) { | |
8493 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'"); | |
8494 | } | |
8495 | arg2 = static_cast< int >(val2); | |
8496 | { | |
8497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8498 | result = (int)(arg1)->GetIndent(arg2); | |
8499 | wxPyEndAllowThreads(__tstate); | |
8500 | if (PyErr_Occurred()) SWIG_fail; | |
8501 | } | |
8502 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8503 | return resultobj; | |
8504 | fail: | |
8505 | return NULL; | |
8506 | } | |
8507 | ||
8508 | ||
8509 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8510 | PyObject *resultobj = 0; | |
8511 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8512 | int arg2 ; | |
8513 | int result; | |
8514 | void *argp1 = 0 ; | |
8515 | int res1 = 0 ; | |
8516 | int val2 ; | |
8517 | int ecode2 = 0 ; | |
8518 | PyObject * obj0 = 0 ; | |
8519 | PyObject * obj1 = 0 ; | |
8520 | char * kwnames[] = { | |
8521 | (char *) "self",(char *) "ind", NULL | |
8522 | }; | |
8523 | ||
8524 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) SWIG_fail; | |
8525 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8526 | if (!SWIG_IsOK(res1)) { | |
8527 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8528 | } | |
8529 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8530 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8531 | if (!SWIG_IsOK(ecode2)) { | |
8532 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'"); | |
8533 | } | |
8534 | arg2 = static_cast< int >(val2); | |
8535 | { | |
8536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8537 | result = (int)(arg1)->GetIndentUnits(arg2); | |
8538 | wxPyEndAllowThreads(__tstate); | |
8539 | if (PyErr_Occurred()) SWIG_fail; | |
8540 | } | |
8541 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8542 | return resultobj; | |
8543 | fail: | |
8544 | return NULL; | |
8545 | } | |
8546 | ||
8547 | ||
8548 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8549 | PyObject *resultobj = 0; | |
8550 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8551 | wxHtmlTag *arg2 = 0 ; | |
8552 | void *argp1 = 0 ; | |
8553 | int res1 = 0 ; | |
8554 | void *argp2 = 0 ; | |
8555 | int res2 = 0 ; | |
8556 | PyObject * obj0 = 0 ; | |
8557 | PyObject * obj1 = 0 ; | |
8558 | char * kwnames[] = { | |
8559 | (char *) "self",(char *) "tag", NULL | |
8560 | }; | |
8561 | ||
8562 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail; | |
8563 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8564 | if (!SWIG_IsOK(res1)) { | |
8565 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8566 | } | |
8567 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8568 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
8569 | if (!SWIG_IsOK(res2)) { | |
8570 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8571 | } | |
8572 | if (!argp2) { | |
8573 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8574 | } | |
8575 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
8576 | { | |
8577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8578 | (arg1)->SetAlign((wxHtmlTag const &)*arg2); | |
8579 | wxPyEndAllowThreads(__tstate); | |
8580 | if (PyErr_Occurred()) SWIG_fail; | |
8581 | } | |
8582 | resultobj = SWIG_Py_Void(); | |
8583 | return resultobj; | |
8584 | fail: | |
8585 | return NULL; | |
8586 | } | |
8587 | ||
8588 | ||
8589 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8590 | PyObject *resultobj = 0; | |
8591 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8592 | int arg2 ; | |
8593 | int arg3 ; | |
8594 | void *argp1 = 0 ; | |
8595 | int res1 = 0 ; | |
8596 | int val2 ; | |
8597 | int ecode2 = 0 ; | |
8598 | int val3 ; | |
8599 | int ecode3 = 0 ; | |
8600 | PyObject * obj0 = 0 ; | |
8601 | PyObject * obj1 = 0 ; | |
8602 | PyObject * obj2 = 0 ; | |
8603 | char * kwnames[] = { | |
8604 | (char *) "self",(char *) "w",(char *) "units", NULL | |
8605 | }; | |
8606 | ||
8607 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8608 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8609 | if (!SWIG_IsOK(res1)) { | |
8610 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8611 | } | |
8612 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8613 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8614 | if (!SWIG_IsOK(ecode2)) { | |
8615 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'"); | |
8616 | } | |
8617 | arg2 = static_cast< int >(val2); | |
8618 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8619 | if (!SWIG_IsOK(ecode3)) { | |
8620 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'"); | |
8621 | } | |
8622 | arg3 = static_cast< int >(val3); | |
8623 | { | |
8624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8625 | (arg1)->SetWidthFloat(arg2,arg3); | |
8626 | wxPyEndAllowThreads(__tstate); | |
8627 | if (PyErr_Occurred()) SWIG_fail; | |
8628 | } | |
8629 | resultobj = SWIG_Py_Void(); | |
8630 | return resultobj; | |
8631 | fail: | |
8632 | return NULL; | |
8633 | } | |
8634 | ||
8635 | ||
8636 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8637 | PyObject *resultobj = 0; | |
8638 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8639 | wxHtmlTag *arg2 = 0 ; | |
8640 | void *argp1 = 0 ; | |
8641 | int res1 = 0 ; | |
8642 | void *argp2 = 0 ; | |
8643 | int res2 = 0 ; | |
8644 | PyObject * obj0 = 0 ; | |
8645 | PyObject * obj1 = 0 ; | |
8646 | char * kwnames[] = { | |
8647 | (char *) "self",(char *) "tag", NULL | |
8648 | }; | |
8649 | ||
8650 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) SWIG_fail; | |
8651 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8652 | if (!SWIG_IsOK(res1)) { | |
8653 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8654 | } | |
8655 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8656 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
8657 | if (!SWIG_IsOK(res2)) { | |
8658 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8659 | } | |
8660 | if (!argp2) { | |
8661 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8662 | } | |
8663 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
8664 | { | |
8665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8666 | (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2); | |
8667 | wxPyEndAllowThreads(__tstate); | |
8668 | if (PyErr_Occurred()) SWIG_fail; | |
8669 | } | |
8670 | resultobj = SWIG_Py_Void(); | |
8671 | return resultobj; | |
8672 | fail: | |
8673 | return NULL; | |
8674 | } | |
8675 | ||
8676 | ||
8677 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8678 | PyObject *resultobj = 0; | |
8679 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8680 | int arg2 ; | |
8681 | int arg3 = (int) wxHTML_ALIGN_TOP ; | |
8682 | void *argp1 = 0 ; | |
8683 | int res1 = 0 ; | |
8684 | int val2 ; | |
8685 | int ecode2 = 0 ; | |
8686 | int val3 ; | |
8687 | int ecode3 = 0 ; | |
8688 | PyObject * obj0 = 0 ; | |
8689 | PyObject * obj1 = 0 ; | |
8690 | PyObject * obj2 = 0 ; | |
8691 | char * kwnames[] = { | |
8692 | (char *) "self",(char *) "h",(char *) "align", NULL | |
8693 | }; | |
8694 | ||
8695 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8696 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8697 | if (!SWIG_IsOK(res1)) { | |
8698 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8699 | } | |
8700 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8701 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8702 | if (!SWIG_IsOK(ecode2)) { | |
8703 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'"); | |
8704 | } | |
8705 | arg2 = static_cast< int >(val2); | |
8706 | if (obj2) { | |
8707 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8708 | if (!SWIG_IsOK(ecode3)) { | |
8709 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'"); | |
8710 | } | |
8711 | arg3 = static_cast< int >(val3); | |
8712 | } | |
8713 | { | |
8714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8715 | (arg1)->SetMinHeight(arg2,arg3); | |
8716 | wxPyEndAllowThreads(__tstate); | |
8717 | if (PyErr_Occurred()) SWIG_fail; | |
8718 | } | |
8719 | resultobj = SWIG_Py_Void(); | |
8720 | return resultobj; | |
8721 | fail: | |
8722 | return NULL; | |
8723 | } | |
8724 | ||
8725 | ||
8726 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8727 | PyObject *resultobj = 0; | |
8728 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8729 | wxColour *arg2 = 0 ; | |
8730 | void *argp1 = 0 ; | |
8731 | int res1 = 0 ; | |
8732 | wxColour temp2 ; | |
8733 | PyObject * obj0 = 0 ; | |
8734 | PyObject * obj1 = 0 ; | |
8735 | char * kwnames[] = { | |
8736 | (char *) "self",(char *) "clr", NULL | |
8737 | }; | |
8738 | ||
8739 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
8740 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8741 | if (!SWIG_IsOK(res1)) { | |
8742 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8743 | } | |
8744 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8745 | { | |
8746 | arg2 = &temp2; | |
8747 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8748 | } | |
8749 | { | |
8750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8751 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); | |
8752 | wxPyEndAllowThreads(__tstate); | |
8753 | if (PyErr_Occurred()) SWIG_fail; | |
8754 | } | |
8755 | resultobj = SWIG_Py_Void(); | |
8756 | return resultobj; | |
8757 | fail: | |
8758 | return NULL; | |
d14a1e28 RD |
8759 | } |
8760 | ||
8761 | ||
554f62e9 RD |
8762 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8763 | PyObject *resultobj = 0; | |
8764 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8765 | wxColour result; | |
8766 | void *argp1 = 0 ; | |
8767 | int res1 = 0 ; | |
8768 | PyObject *swig_obj[1] ; | |
8769 | ||
8770 | if (!args) SWIG_fail; | |
8771 | swig_obj[0] = args; | |
8772 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8773 | if (!SWIG_IsOK(res1)) { | |
8774 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8775 | } | |
8776 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8777 | { | |
8778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8779 | result = (arg1)->GetBackgroundColour(); | |
8780 | wxPyEndAllowThreads(__tstate); | |
8781 | if (PyErr_Occurred()) SWIG_fail; | |
8782 | } | |
8783 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
8784 | return resultobj; | |
8785 | fail: | |
8786 | return NULL; | |
8787 | } | |
8788 | ||
8789 | ||
8790 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8791 | PyObject *resultobj = 0; | |
8792 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8793 | wxColour *arg2 = 0 ; | |
8794 | wxColour *arg3 = 0 ; | |
8795 | void *argp1 = 0 ; | |
8796 | int res1 = 0 ; | |
8797 | wxColour temp2 ; | |
8798 | wxColour temp3 ; | |
8799 | PyObject * obj0 = 0 ; | |
8800 | PyObject * obj1 = 0 ; | |
8801 | PyObject * obj2 = 0 ; | |
8802 | char * kwnames[] = { | |
8803 | (char *) "self",(char *) "clr1",(char *) "clr2", NULL | |
8804 | }; | |
8805 | ||
8806 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8807 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8808 | if (!SWIG_IsOK(res1)) { | |
8809 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8810 | } | |
8811 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8812 | { | |
8813 | arg2 = &temp2; | |
8814 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8815 | } | |
8816 | { | |
8817 | arg3 = &temp3; | |
8818 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
8819 | } | |
8820 | { | |
8821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8822 | (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3); | |
8823 | wxPyEndAllowThreads(__tstate); | |
8824 | if (PyErr_Occurred()) SWIG_fail; | |
8825 | } | |
8826 | resultobj = SWIG_Py_Void(); | |
8827 | return resultobj; | |
8828 | fail: | |
8829 | return NULL; | |
d14a1e28 RD |
8830 | } |
8831 | ||
8832 | ||
554f62e9 RD |
8833 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8834 | PyObject *resultobj = 0; | |
8835 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8836 | wxHtmlCell *result = 0 ; | |
8837 | void *argp1 = 0 ; | |
8838 | int res1 = 0 ; | |
8839 | PyObject *swig_obj[1] ; | |
8840 | ||
8841 | if (!args) SWIG_fail; | |
8842 | swig_obj[0] = args; | |
8843 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8844 | if (!SWIG_IsOK(res1)) { | |
8845 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8846 | } | |
8847 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8848 | { | |
8849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8850 | result = (wxHtmlCell *)(arg1)->GetFirstChild(); | |
8851 | wxPyEndAllowThreads(__tstate); | |
8852 | if (PyErr_Occurred()) SWIG_fail; | |
8853 | } | |
8854 | { | |
8855 | resultobj = wxPyMake_wxObject(result, 0); | |
8856 | } | |
8857 | return resultobj; | |
8858 | fail: | |
8859 | return NULL; | |
d14a1e28 RD |
8860 | } |
8861 | ||
8862 | ||
554f62e9 RD |
8863 | SWIGINTERN PyObject *HtmlContainerCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8864 | PyObject *obj; | |
8865 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8866 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell, SWIG_NewClientData(obj)); | |
8867 | return SWIG_Py_Void(); | |
d14a1e28 RD |
8868 | } |
8869 | ||
554f62e9 RD |
8870 | SWIGINTERN PyObject *HtmlContainerCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8871 | return SWIG_Python_InitShadowInstance(args); | |
8872 | } | |
d14a1e28 | 8873 | |
554f62e9 RD |
8874 | SWIGINTERN PyObject *_wrap_new_HtmlColourCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8875 | PyObject *resultobj = 0; | |
8876 | wxColour *arg1 = 0 ; | |
8877 | int arg2 = (int) wxHTML_CLR_FOREGROUND ; | |
8878 | wxHtmlColourCell *result = 0 ; | |
8879 | wxColour temp1 ; | |
8880 | int val2 ; | |
8881 | int ecode2 = 0 ; | |
8882 | PyObject * obj0 = 0 ; | |
8883 | PyObject * obj1 = 0 ; | |
8884 | char * kwnames[] = { | |
8885 | (char *) "clr",(char *) "flags", NULL | |
8886 | }; | |
8887 | ||
8888 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
8889 | { | |
8890 | arg1 = &temp1; | |
8891 | if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail; | |
8892 | } | |
8893 | if (obj1) { | |
8894 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8895 | if (!SWIG_IsOK(ecode2)) { | |
8896 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'"); | |
8897 | } | |
8898 | arg2 = static_cast< int >(val2); | |
8899 | } | |
8900 | { | |
8901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8902 | result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2); | |
8903 | wxPyEndAllowThreads(__tstate); | |
8904 | if (PyErr_Occurred()) SWIG_fail; | |
8905 | } | |
8906 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlColourCell, SWIG_POINTER_NEW | 0 ); | |
8907 | return resultobj; | |
8908 | fail: | |
8909 | return NULL; | |
d14a1e28 RD |
8910 | } |
8911 | ||
8912 | ||
554f62e9 RD |
8913 | SWIGINTERN PyObject *HtmlColourCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8914 | PyObject *obj; | |
8915 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8916 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell, SWIG_NewClientData(obj)); | |
8917 | return SWIG_Py_Void(); | |
d00d1b88 RD |
8918 | } |
8919 | ||
554f62e9 RD |
8920 | SWIGINTERN PyObject *HtmlColourCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8921 | return SWIG_Python_InitShadowInstance(args); | |
8922 | } | |
d00d1b88 | 8923 | |
554f62e9 RD |
8924 | SWIGINTERN PyObject *_wrap_new_HtmlFontCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8925 | PyObject *resultobj = 0; | |
8926 | wxFont *arg1 = (wxFont *) 0 ; | |
8927 | wxHtmlFontCell *result = 0 ; | |
8928 | void *argp1 = 0 ; | |
8929 | int res1 = 0 ; | |
8930 | PyObject * obj0 = 0 ; | |
8931 | char * kwnames[] = { | |
8932 | (char *) "font", NULL | |
8933 | }; | |
8934 | ||
8935 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) SWIG_fail; | |
8936 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFont, 0 | 0 ); | |
8937 | if (!SWIG_IsOK(res1)) { | |
8938 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'"); | |
8939 | } | |
8940 | arg1 = reinterpret_cast< wxFont * >(argp1); | |
8941 | { | |
8942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8943 | result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1); | |
8944 | wxPyEndAllowThreads(__tstate); | |
8945 | if (PyErr_Occurred()) SWIG_fail; | |
8946 | } | |
8947 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlFontCell, SWIG_POINTER_NEW | 0 ); | |
8948 | return resultobj; | |
8949 | fail: | |
8950 | return NULL; | |
cbd72d4f RD |
8951 | } |
8952 | ||
8953 | ||
554f62e9 RD |
8954 | SWIGINTERN PyObject *HtmlFontCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8955 | PyObject *obj; | |
8956 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8957 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell, SWIG_NewClientData(obj)); | |
8958 | return SWIG_Py_Void(); | |
cbd72d4f RD |
8959 | } |
8960 | ||
554f62e9 RD |
8961 | SWIGINTERN PyObject *HtmlFontCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8962 | return SWIG_Python_InitShadowInstance(args); | |
8963 | } | |
cbd72d4f | 8964 | |
554f62e9 RD |
8965 | SWIGINTERN PyObject *_wrap_new_HtmlWidgetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8966 | PyObject *resultobj = 0; | |
8967 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8968 | int arg2 = (int) 0 ; | |
8969 | wxHtmlWidgetCell *result = 0 ; | |
8970 | void *argp1 = 0 ; | |
8971 | int res1 = 0 ; | |
8972 | int val2 ; | |
8973 | int ecode2 = 0 ; | |
8974 | PyObject * obj0 = 0 ; | |
8975 | PyObject * obj1 = 0 ; | |
8976 | char * kwnames[] = { | |
8977 | (char *) "wnd",(char *) "w", NULL | |
8978 | }; | |
8979 | ||
8980 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
8981 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8982 | if (!SWIG_IsOK(res1)) { | |
8983 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
8984 | } | |
8985 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
8986 | if (obj1) { | |
8987 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8988 | if (!SWIG_IsOK(ecode2)) { | |
8989 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'"); | |
8990 | } | |
8991 | arg2 = static_cast< int >(val2); | |
8992 | } | |
8993 | { | |
8994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8995 | result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2); | |
8996 | wxPyEndAllowThreads(__tstate); | |
8997 | if (PyErr_Occurred()) SWIG_fail; | |
8998 | } | |
8999 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWidgetCell, SWIG_POINTER_NEW | 0 ); | |
9000 | return resultobj; | |
9001 | fail: | |
9002 | return NULL; | |
d14a1e28 RD |
9003 | } |
9004 | ||
9005 | ||
554f62e9 RD |
9006 | SWIGINTERN PyObject *HtmlWidgetCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9007 | PyObject *obj; | |
9008 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9009 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell, SWIG_NewClientData(obj)); | |
9010 | return SWIG_Py_Void(); | |
d14a1e28 RD |
9011 | } |
9012 | ||
554f62e9 RD |
9013 | SWIGINTERN PyObject *HtmlWidgetCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9014 | return SWIG_Python_InitShadowInstance(args); | |
9015 | } | |
d14a1e28 | 9016 | |
554f62e9 RD |
9017 | SWIGINTERN PyObject *_wrap_new_HtmlFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9018 | PyObject *resultobj = 0; | |
9019 | wxPyHtmlFilter *result = 0 ; | |
9020 | ||
9021 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlFilter",0,0,0)) SWIG_fail; | |
9022 | { | |
9023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9024 | result = (wxPyHtmlFilter *)new wxPyHtmlFilter(); | |
9025 | wxPyEndAllowThreads(__tstate); | |
9026 | if (PyErr_Occurred()) SWIG_fail; | |
9027 | } | |
9028 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_NEW | 0 ); | |
9029 | return resultobj; | |
9030 | fail: | |
9031 | return NULL; | |
9032 | } | |
9033 | ||
9034 | ||
9035 | SWIGINTERN PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9036 | PyObject *resultobj = 0; | |
9037 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
9038 | PyObject *arg2 = (PyObject *) 0 ; | |
9039 | PyObject *arg3 = (PyObject *) 0 ; | |
9040 | void *argp1 = 0 ; | |
9041 | int res1 = 0 ; | |
9042 | PyObject * obj0 = 0 ; | |
9043 | PyObject * obj1 = 0 ; | |
9044 | PyObject * obj2 = 0 ; | |
9045 | char * kwnames[] = { | |
9046 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9047 | }; | |
9048 | ||
9049 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9050 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 ); | |
9051 | if (!SWIG_IsOK(res1)) { | |
9052 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'"); | |
9053 | } | |
9054 | arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1); | |
9055 | arg2 = obj1; | |
9056 | arg3 = obj2; | |
9057 | { | |
9058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9059 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9060 | wxPyEndAllowThreads(__tstate); | |
9061 | if (PyErr_Occurred()) SWIG_fail; | |
9062 | } | |
9063 | resultobj = SWIG_Py_Void(); | |
9064 | return resultobj; | |
9065 | fail: | |
9066 | return NULL; | |
9067 | } | |
9068 | ||
9069 | ||
9070 | SWIGINTERN PyObject *HtmlFilter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9071 | PyObject *obj; | |
9072 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9073 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter, SWIG_NewClientData(obj)); | |
9074 | return SWIG_Py_Void(); | |
9075 | } | |
9076 | ||
9077 | SWIGINTERN PyObject *HtmlFilter_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9078 | return SWIG_Python_InitShadowInstance(args); | |
9079 | } | |
9080 | ||
9081 | SWIGINTERN PyObject *_wrap_new_HtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9082 | PyObject *resultobj = 0; | |
9083 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9084 | int arg2 = (int) -1 ; | |
9085 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
9086 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9087 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9088 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9089 | int arg5 = (int) wxHW_DEFAULT_STYLE ; | |
9090 | wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ; | |
9091 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9092 | wxPyHtmlWindow *result = 0 ; | |
9093 | void *argp1 = 0 ; | |
9094 | int res1 = 0 ; | |
9095 | int val2 ; | |
9096 | int ecode2 = 0 ; | |
9097 | wxPoint temp3 ; | |
9098 | wxSize temp4 ; | |
9099 | int val5 ; | |
9100 | int ecode5 = 0 ; | |
9101 | bool temp6 = false ; | |
9102 | PyObject * obj0 = 0 ; | |
9103 | PyObject * obj1 = 0 ; | |
9104 | PyObject * obj2 = 0 ; | |
9105 | PyObject * obj3 = 0 ; | |
9106 | PyObject * obj4 = 0 ; | |
9107 | PyObject * obj5 = 0 ; | |
9108 | char * kwnames[] = { | |
9109 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9110 | }; | |
9111 | ||
9112 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
9113 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
9114 | if (!SWIG_IsOK(res1)) { | |
9115 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
9116 | } | |
9117 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
9118 | if (obj1) { | |
9119 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9120 | if (!SWIG_IsOK(ecode2)) { | |
9121 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'"); | |
9122 | } | |
9123 | arg2 = static_cast< int >(val2); | |
9124 | } | |
9125 | if (obj2) { | |
d14a1e28 | 9126 | { |
554f62e9 RD |
9127 | arg3 = &temp3; |
9128 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
d14a1e28 | 9129 | } |
554f62e9 RD |
9130 | } |
9131 | if (obj3) { | |
d14a1e28 | 9132 | { |
554f62e9 RD |
9133 | arg4 = &temp4; |
9134 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 9135 | } |
554f62e9 RD |
9136 | } |
9137 | if (obj4) { | |
9138 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
9139 | if (!SWIG_IsOK(ecode5)) { | |
9140 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'"); | |
9141 | } | |
9142 | arg5 = static_cast< int >(val5); | |
9143 | } | |
9144 | if (obj5) { | |
b1fcee84 | 9145 | { |
554f62e9 RD |
9146 | arg6 = wxString_in_helper(obj5); |
9147 | if (arg6 == NULL) SWIG_fail; | |
9148 | temp6 = true; | |
b1fcee84 | 9149 | } |
554f62e9 RD |
9150 | } |
9151 | { | |
9152 | if (!wxPyCheckForApp()) SWIG_fail; | |
9153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9154 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9155 | wxPyEndAllowThreads(__tstate); | |
9156 | if (PyErr_Occurred()) SWIG_fail; | |
9157 | } | |
9158 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_NEW | 0 ); | |
9159 | { | |
9160 | if (temp6) | |
9161 | delete arg6; | |
9162 | } | |
9163 | return resultobj; | |
9164 | fail: | |
9165 | { | |
9166 | if (temp6) | |
9167 | delete arg6; | |
9168 | } | |
9169 | return NULL; | |
d14a1e28 RD |
9170 | } |
9171 | ||
9172 | ||
554f62e9 RD |
9173 | SWIGINTERN PyObject *_wrap_new_PreHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9174 | PyObject *resultobj = 0; | |
9175 | wxPyHtmlWindow *result = 0 ; | |
9176 | ||
9177 | if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlWindow",0,0,0)) SWIG_fail; | |
9178 | { | |
9179 | if (!wxPyCheckForApp()) SWIG_fail; | |
9180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9181 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(); | |
9182 | wxPyEndAllowThreads(__tstate); | |
9183 | if (PyErr_Occurred()) SWIG_fail; | |
9184 | } | |
9185 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_OWN | 0 ); | |
9186 | return resultobj; | |
9187 | fail: | |
9188 | return NULL; | |
9189 | } | |
9190 | ||
9191 | ||
9192 | SWIGINTERN PyObject *_wrap_HtmlWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9193 | PyObject *resultobj = 0; | |
9194 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9195 | wxWindow *arg2 = (wxWindow *) 0 ; | |
9196 | int arg3 = (int) -1 ; | |
9197 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
9198 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9199 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9200 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9201 | int arg6 = (int) wxHW_SCROLLBAR_AUTO ; | |
9202 | wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ; | |
9203 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9204 | bool result; | |
9205 | void *argp1 = 0 ; | |
9206 | int res1 = 0 ; | |
9207 | void *argp2 = 0 ; | |
9208 | int res2 = 0 ; | |
9209 | int val3 ; | |
9210 | int ecode3 = 0 ; | |
9211 | wxPoint temp4 ; | |
9212 | wxSize temp5 ; | |
9213 | int val6 ; | |
9214 | int ecode6 = 0 ; | |
9215 | bool temp7 = false ; | |
9216 | PyObject * obj0 = 0 ; | |
9217 | PyObject * obj1 = 0 ; | |
9218 | PyObject * obj2 = 0 ; | |
9219 | PyObject * obj3 = 0 ; | |
9220 | PyObject * obj4 = 0 ; | |
9221 | PyObject * obj5 = 0 ; | |
9222 | PyObject * obj6 = 0 ; | |
9223 | char * kwnames[] = { | |
9224 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9225 | }; | |
9226 | ||
9227 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
9228 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9229 | if (!SWIG_IsOK(res1)) { | |
9230 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9231 | } | |
9232 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9233 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
9234 | if (!SWIG_IsOK(res2)) { | |
9235 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
9236 | } | |
9237 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
9238 | if (obj2) { | |
9239 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
9240 | if (!SWIG_IsOK(ecode3)) { | |
9241 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'"); | |
9242 | } | |
9243 | arg3 = static_cast< int >(val3); | |
9244 | } | |
9245 | if (obj3) { | |
d14a1e28 | 9246 | { |
554f62e9 RD |
9247 | arg4 = &temp4; |
9248 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 9249 | } |
554f62e9 RD |
9250 | } |
9251 | if (obj4) { | |
d14a1e28 | 9252 | { |
554f62e9 RD |
9253 | arg5 = &temp5; |
9254 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
d14a1e28 | 9255 | } |
554f62e9 RD |
9256 | } |
9257 | if (obj5) { | |
9258 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
9259 | if (!SWIG_IsOK(ecode6)) { | |
9260 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'"); | |
9261 | } | |
9262 | arg6 = static_cast< int >(val6); | |
9263 | } | |
9264 | if (obj6) { | |
4f89f6a3 | 9265 | { |
554f62e9 RD |
9266 | arg7 = wxString_in_helper(obj6); |
9267 | if (arg7 == NULL) SWIG_fail; | |
9268 | temp7 = true; | |
4f89f6a3 | 9269 | } |
554f62e9 RD |
9270 | } |
9271 | { | |
9272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9273 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9274 | wxPyEndAllowThreads(__tstate); | |
9275 | if (PyErr_Occurred()) SWIG_fail; | |
9276 | } | |
9277 | { | |
9278 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9279 | } | |
9280 | { | |
9281 | if (temp7) | |
9282 | delete arg7; | |
9283 | } | |
9284 | return resultobj; | |
9285 | fail: | |
9286 | { | |
9287 | if (temp7) | |
9288 | delete arg7; | |
9289 | } | |
9290 | return NULL; | |
9291 | } | |
9292 | ||
9293 | ||
9294 | SWIGINTERN PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9295 | PyObject *resultobj = 0; | |
9296 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9297 | PyObject *arg2 = (PyObject *) 0 ; | |
9298 | PyObject *arg3 = (PyObject *) 0 ; | |
9299 | void *argp1 = 0 ; | |
9300 | int res1 = 0 ; | |
9301 | PyObject * obj0 = 0 ; | |
9302 | PyObject * obj1 = 0 ; | |
9303 | PyObject * obj2 = 0 ; | |
9304 | char * kwnames[] = { | |
9305 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9306 | }; | |
9307 | ||
9308 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9309 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9310 | if (!SWIG_IsOK(res1)) { | |
9311 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9312 | } | |
9313 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9314 | arg2 = obj1; | |
9315 | arg3 = obj2; | |
9316 | { | |
9317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9318 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9319 | wxPyEndAllowThreads(__tstate); | |
9320 | if (PyErr_Occurred()) SWIG_fail; | |
9321 | } | |
9322 | resultobj = SWIG_Py_Void(); | |
9323 | return resultobj; | |
9324 | fail: | |
9325 | return NULL; | |
9326 | } | |
9327 | ||
9328 | ||
9329 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9330 | PyObject *resultobj = 0; | |
9331 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9332 | wxString *arg2 = 0 ; | |
9333 | bool result; | |
9334 | void *argp1 = 0 ; | |
9335 | int res1 = 0 ; | |
9336 | bool temp2 = false ; | |
9337 | PyObject * obj0 = 0 ; | |
9338 | PyObject * obj1 = 0 ; | |
9339 | char * kwnames[] = { | |
9340 | (char *) "self",(char *) "source", NULL | |
9341 | }; | |
9342 | ||
9343 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9344 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9345 | if (!SWIG_IsOK(res1)) { | |
9346 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9347 | } | |
9348 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9349 | { | |
9350 | arg2 = wxString_in_helper(obj1); | |
9351 | if (arg2 == NULL) SWIG_fail; | |
9352 | temp2 = true; | |
9353 | } | |
9354 | { | |
9355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9356 | result = (bool)(arg1)->SetPage((wxString const &)*arg2); | |
9357 | wxPyEndAllowThreads(__tstate); | |
9358 | if (PyErr_Occurred()) SWIG_fail; | |
9359 | } | |
9360 | { | |
9361 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9362 | } | |
9363 | { | |
9364 | if (temp2) | |
9365 | delete arg2; | |
9366 | } | |
9367 | return resultobj; | |
9368 | fail: | |
9369 | { | |
9370 | if (temp2) | |
9371 | delete arg2; | |
9372 | } | |
9373 | return NULL; | |
9374 | } | |
9375 | ||
9376 | ||
9377 | SWIGINTERN PyObject *_wrap_HtmlWindow_LoadPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9378 | PyObject *resultobj = 0; | |
9379 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9380 | wxString *arg2 = 0 ; | |
9381 | bool result; | |
9382 | void *argp1 = 0 ; | |
9383 | int res1 = 0 ; | |
9384 | bool temp2 = false ; | |
9385 | PyObject * obj0 = 0 ; | |
9386 | PyObject * obj1 = 0 ; | |
9387 | char * kwnames[] = { | |
9388 | (char *) "self",(char *) "location", NULL | |
9389 | }; | |
9390 | ||
9391 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9392 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9393 | if (!SWIG_IsOK(res1)) { | |
9394 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9395 | } | |
9396 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9397 | { | |
9398 | arg2 = wxString_in_helper(obj1); | |
9399 | if (arg2 == NULL) SWIG_fail; | |
9400 | temp2 = true; | |
9401 | } | |
9402 | { | |
9403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9404 | result = (bool)(arg1)->LoadPage((wxString const &)*arg2); | |
9405 | wxPyEndAllowThreads(__tstate); | |
9406 | if (PyErr_Occurred()) SWIG_fail; | |
9407 | } | |
9408 | { | |
9409 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9410 | } | |
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 | ||
9425 | SWIGINTERN PyObject *_wrap_HtmlWindow_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9426 | PyObject *resultobj = 0; | |
9427 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9428 | wxString *arg2 = 0 ; | |
9429 | bool result; | |
9430 | void *argp1 = 0 ; | |
9431 | int res1 = 0 ; | |
9432 | bool temp2 = false ; | |
9433 | PyObject * obj0 = 0 ; | |
9434 | PyObject * obj1 = 0 ; | |
9435 | char * kwnames[] = { | |
9436 | (char *) "self",(char *) "filename", NULL | |
9437 | }; | |
9438 | ||
9439 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
9440 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9441 | if (!SWIG_IsOK(res1)) { | |
9442 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9443 | } | |
9444 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9445 | { | |
9446 | arg2 = wxString_in_helper(obj1); | |
9447 | if (arg2 == NULL) SWIG_fail; | |
9448 | temp2 = true; | |
9449 | } | |
9450 | { | |
9451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9452 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
9453 | wxPyEndAllowThreads(__tstate); | |
9454 | if (PyErr_Occurred()) SWIG_fail; | |
9455 | } | |
9456 | { | |
9457 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9458 | } | |
9459 | { | |
9460 | if (temp2) | |
9461 | delete arg2; | |
9462 | } | |
9463 | return resultobj; | |
9464 | fail: | |
9465 | { | |
9466 | if (temp2) | |
9467 | delete arg2; | |
9468 | } | |
9469 | return NULL; | |
9470 | } | |
9471 | ||
9472 | ||
9473 | SWIGINTERN PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9474 | PyObject *resultobj = 0; | |
9475 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9476 | wxString *arg2 = 0 ; | |
9477 | bool result; | |
9478 | void *argp1 = 0 ; | |
9479 | int res1 = 0 ; | |
9480 | bool temp2 = false ; | |
9481 | PyObject * obj0 = 0 ; | |
9482 | PyObject * obj1 = 0 ; | |
9483 | char * kwnames[] = { | |
9484 | (char *) "self",(char *) "source", NULL | |
9485 | }; | |
9486 | ||
9487 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9488 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9489 | if (!SWIG_IsOK(res1)) { | |
9490 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9491 | } | |
9492 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9493 | { | |
9494 | arg2 = wxString_in_helper(obj1); | |
9495 | if (arg2 == NULL) SWIG_fail; | |
9496 | temp2 = true; | |
9497 | } | |
9498 | { | |
9499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9500 | result = (bool)(arg1)->AppendToPage((wxString const &)*arg2); | |
9501 | wxPyEndAllowThreads(__tstate); | |
9502 | if (PyErr_Occurred()) SWIG_fail; | |
9503 | } | |
9504 | { | |
9505 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9506 | } | |
9507 | { | |
9508 | if (temp2) | |
9509 | delete arg2; | |
9510 | } | |
9511 | return resultobj; | |
9512 | fail: | |
9513 | { | |
9514 | if (temp2) | |
9515 | delete arg2; | |
9516 | } | |
9517 | return NULL; | |
d14a1e28 RD |
9518 | } |
9519 | ||
9520 | ||
554f62e9 RD |
9521 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9522 | PyObject *resultobj = 0; | |
9523 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9524 | wxString result; | |
9525 | void *argp1 = 0 ; | |
9526 | int res1 = 0 ; | |
9527 | PyObject *swig_obj[1] ; | |
9528 | ||
9529 | if (!args) SWIG_fail; | |
9530 | swig_obj[0] = args; | |
9531 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9532 | if (!SWIG_IsOK(res1)) { | |
9533 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9534 | } | |
9535 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9536 | { | |
9537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9538 | result = (arg1)->GetOpenedPage(); | |
9539 | wxPyEndAllowThreads(__tstate); | |
9540 | if (PyErr_Occurred()) SWIG_fail; | |
9541 | } | |
9542 | { | |
9543 | #if wxUSE_UNICODE | |
9544 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9545 | #else | |
9546 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9547 | #endif | |
9548 | } | |
9549 | return resultobj; | |
9550 | fail: | |
9551 | return NULL; | |
d14a1e28 RD |
9552 | } |
9553 | ||
9554 | ||
554f62e9 RD |
9555 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9556 | PyObject *resultobj = 0; | |
9557 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9558 | wxString result; | |
9559 | void *argp1 = 0 ; | |
9560 | int res1 = 0 ; | |
9561 | PyObject *swig_obj[1] ; | |
9562 | ||
9563 | if (!args) SWIG_fail; | |
9564 | swig_obj[0] = args; | |
9565 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9566 | if (!SWIG_IsOK(res1)) { | |
9567 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9568 | } | |
9569 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9570 | { | |
9571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9572 | result = (arg1)->GetOpenedAnchor(); | |
9573 | wxPyEndAllowThreads(__tstate); | |
9574 | if (PyErr_Occurred()) SWIG_fail; | |
9575 | } | |
9576 | { | |
9577 | #if wxUSE_UNICODE | |
9578 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9579 | #else | |
9580 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9581 | #endif | |
9582 | } | |
9583 | return resultobj; | |
9584 | fail: | |
9585 | return NULL; | |
d14a1e28 RD |
9586 | } |
9587 | ||
9588 | ||
554f62e9 RD |
9589 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9590 | PyObject *resultobj = 0; | |
9591 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9592 | wxString result; | |
9593 | void *argp1 = 0 ; | |
9594 | int res1 = 0 ; | |
9595 | PyObject *swig_obj[1] ; | |
9596 | ||
9597 | if (!args) SWIG_fail; | |
9598 | swig_obj[0] = args; | |
9599 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9600 | if (!SWIG_IsOK(res1)) { | |
9601 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9602 | } | |
9603 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9604 | { | |
9605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9606 | result = (arg1)->GetOpenedPageTitle(); | |
9607 | wxPyEndAllowThreads(__tstate); | |
9608 | if (PyErr_Occurred()) SWIG_fail; | |
9609 | } | |
9610 | { | |
9611 | #if wxUSE_UNICODE | |
9612 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9613 | #else | |
9614 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9615 | #endif | |
9616 | } | |
9617 | return resultobj; | |
9618 | fail: | |
9619 | return NULL; | |
9620 | } | |
9621 | ||
9622 | ||
9623 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9624 | PyObject *resultobj = 0; | |
9625 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9626 | wxFrame *arg2 = (wxFrame *) 0 ; | |
9627 | wxString *arg3 = 0 ; | |
9628 | void *argp1 = 0 ; | |
9629 | int res1 = 0 ; | |
9630 | void *argp2 = 0 ; | |
9631 | int res2 = 0 ; | |
9632 | bool temp3 = false ; | |
9633 | PyObject * obj0 = 0 ; | |
9634 | PyObject * obj1 = 0 ; | |
9635 | PyObject * obj2 = 0 ; | |
9636 | char * kwnames[] = { | |
9637 | (char *) "self",(char *) "frame",(char *) "format", NULL | |
9638 | }; | |
9639 | ||
9640 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9641 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9642 | if (!SWIG_IsOK(res1)) { | |
9643 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9644 | } | |
9645 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9646 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 ); | |
9647 | if (!SWIG_IsOK(res2)) { | |
9648 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'"); | |
9649 | } | |
9650 | arg2 = reinterpret_cast< wxFrame * >(argp2); | |
9651 | { | |
9652 | arg3 = wxString_in_helper(obj2); | |
9653 | if (arg3 == NULL) SWIG_fail; | |
9654 | temp3 = true; | |
9655 | } | |
9656 | { | |
9657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9658 | (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3); | |
9659 | wxPyEndAllowThreads(__tstate); | |
9660 | if (PyErr_Occurred()) SWIG_fail; | |
9661 | } | |
9662 | resultobj = SWIG_Py_Void(); | |
9663 | { | |
9664 | if (temp3) | |
9665 | delete arg3; | |
9666 | } | |
9667 | return resultobj; | |
9668 | fail: | |
9669 | { | |
9670 | if (temp3) | |
9671 | delete arg3; | |
9672 | } | |
9673 | return NULL; | |
d14a1e28 RD |
9674 | } |
9675 | ||
9676 | ||
554f62e9 RD |
9677 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9678 | PyObject *resultobj = 0; | |
9679 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9680 | wxFrame *result = 0 ; | |
9681 | void *argp1 = 0 ; | |
9682 | int res1 = 0 ; | |
9683 | PyObject *swig_obj[1] ; | |
9684 | ||
9685 | if (!args) SWIG_fail; | |
9686 | swig_obj[0] = args; | |
9687 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9688 | if (!SWIG_IsOK(res1)) { | |
9689 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9690 | } | |
9691 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9692 | { | |
9693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9694 | result = (wxFrame *)(arg1)->GetRelatedFrame(); | |
9695 | wxPyEndAllowThreads(__tstate); | |
9696 | if (PyErr_Occurred()) SWIG_fail; | |
9697 | } | |
9698 | { | |
9699 | resultobj = wxPyMake_wxObject(result, 0); | |
9700 | } | |
9701 | return resultobj; | |
9702 | fail: | |
9703 | return NULL; | |
9704 | } | |
9705 | ||
9706 | ||
9707 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9708 | PyObject *resultobj = 0; | |
9709 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9710 | int arg2 ; | |
9711 | void *argp1 = 0 ; | |
9712 | int res1 = 0 ; | |
9713 | int val2 ; | |
9714 | int ecode2 = 0 ; | |
9715 | PyObject * obj0 = 0 ; | |
9716 | PyObject * obj1 = 0 ; | |
9717 | char * kwnames[] = { | |
9718 | (char *) "self",(char *) "bar", NULL | |
9719 | }; | |
9720 | ||
9721 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) SWIG_fail; | |
9722 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9723 | if (!SWIG_IsOK(res1)) { | |
9724 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9725 | } | |
9726 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9727 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9728 | if (!SWIG_IsOK(ecode2)) { | |
9729 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'"); | |
9730 | } | |
9731 | arg2 = static_cast< int >(val2); | |
9732 | { | |
9733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9734 | (arg1)->SetRelatedStatusBar(arg2); | |
9735 | wxPyEndAllowThreads(__tstate); | |
9736 | if (PyErr_Occurred()) SWIG_fail; | |
9737 | } | |
9738 | resultobj = SWIG_Py_Void(); | |
9739 | return resultobj; | |
9740 | fail: | |
9741 | return NULL; | |
9742 | } | |
9743 | ||
9744 | ||
9745 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9746 | PyObject *resultobj = 0; | |
9747 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9748 | wxString arg2 ; | |
9749 | wxString arg3 ; | |
9750 | PyObject *arg4 = (PyObject *) NULL ; | |
9751 | void *argp1 = 0 ; | |
9752 | int res1 = 0 ; | |
9753 | PyObject * obj0 = 0 ; | |
9754 | PyObject * obj1 = 0 ; | |
9755 | PyObject * obj2 = 0 ; | |
9756 | PyObject * obj3 = 0 ; | |
9757 | char * kwnames[] = { | |
9758 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
9759 | }; | |
9760 | ||
9761 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
9762 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9763 | if (!SWIG_IsOK(res1)) { | |
9764 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9765 | } | |
9766 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9767 | { | |
9768 | wxString* sptr = wxString_in_helper(obj1); | |
9769 | if (sptr == NULL) SWIG_fail; | |
9770 | arg2 = *sptr; | |
9771 | delete sptr; | |
9772 | } | |
9773 | { | |
9774 | wxString* sptr = wxString_in_helper(obj2); | |
9775 | if (sptr == NULL) SWIG_fail; | |
9776 | arg3 = *sptr; | |
9777 | delete sptr; | |
9778 | } | |
9779 | if (obj3) { | |
9780 | arg4 = obj3; | |
9781 | } | |
9782 | { | |
9783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9784 | wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4); | |
9785 | wxPyEndAllowThreads(__tstate); | |
9786 | if (PyErr_Occurred()) SWIG_fail; | |
9787 | } | |
9788 | resultobj = SWIG_Py_Void(); | |
9789 | return resultobj; | |
9790 | fail: | |
9791 | return NULL; | |
9792 | } | |
9793 | ||
9794 | ||
9795 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9796 | PyObject *resultobj = 0; | |
9797 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9798 | int arg2 = (int) -1 ; | |
9799 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
9800 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
9801 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
9802 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
9803 | void *argp1 = 0 ; | |
9804 | int res1 = 0 ; | |
9805 | int val2 ; | |
9806 | int ecode2 = 0 ; | |
9807 | bool temp3 = false ; | |
9808 | bool temp4 = false ; | |
9809 | PyObject * obj0 = 0 ; | |
9810 | PyObject * obj1 = 0 ; | |
9811 | PyObject * obj2 = 0 ; | |
9812 | PyObject * obj3 = 0 ; | |
9813 | char * kwnames[] = { | |
9814 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
9815 | }; | |
9816 | ||
9817 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
9818 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9819 | if (!SWIG_IsOK(res1)) { | |
9820 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9821 | } | |
9822 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9823 | if (obj1) { | |
9824 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9825 | if (!SWIG_IsOK(ecode2)) { | |
9826 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
9827 | } | |
9828 | arg2 = static_cast< int >(val2); | |
9829 | } | |
9830 | if (obj2) { | |
093d3ff1 | 9831 | { |
554f62e9 RD |
9832 | arg3 = wxString_in_helper(obj2); |
9833 | if (arg3 == NULL) SWIG_fail; | |
9834 | temp3 = true; | |
093d3ff1 | 9835 | } |
554f62e9 RD |
9836 | } |
9837 | if (obj3) { | |
d14a1e28 | 9838 | { |
554f62e9 RD |
9839 | arg4 = wxString_in_helper(obj3); |
9840 | if (arg4 == NULL) SWIG_fail; | |
9841 | temp4 = true; | |
093d3ff1 | 9842 | } |
554f62e9 RD |
9843 | } |
9844 | { | |
9845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9846 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
9847 | wxPyEndAllowThreads(__tstate); | |
9848 | if (PyErr_Occurred()) SWIG_fail; | |
9849 | } | |
9850 | resultobj = SWIG_Py_Void(); | |
9851 | { | |
9852 | if (temp3) | |
9853 | delete arg3; | |
9854 | } | |
9855 | { | |
9856 | if (temp4) | |
9857 | delete arg4; | |
9858 | } | |
9859 | return resultobj; | |
9860 | fail: | |
9861 | { | |
9862 | if (temp3) | |
9863 | delete arg3; | |
9864 | } | |
9865 | { | |
9866 | if (temp4) | |
9867 | delete arg4; | |
9868 | } | |
9869 | return NULL; | |
9870 | } | |
9871 | ||
9872 | ||
9873 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetBorders(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9874 | PyObject *resultobj = 0; | |
9875 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9876 | int arg2 ; | |
9877 | void *argp1 = 0 ; | |
9878 | int res1 = 0 ; | |
9879 | int val2 ; | |
9880 | int ecode2 = 0 ; | |
9881 | PyObject * obj0 = 0 ; | |
9882 | PyObject * obj1 = 0 ; | |
9883 | char * kwnames[] = { | |
9884 | (char *) "self",(char *) "b", NULL | |
9885 | }; | |
9886 | ||
9887 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) SWIG_fail; | |
9888 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9889 | if (!SWIG_IsOK(res1)) { | |
9890 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9891 | } | |
9892 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9893 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9894 | if (!SWIG_IsOK(ecode2)) { | |
9895 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'"); | |
9896 | } | |
9897 | arg2 = static_cast< int >(val2); | |
9898 | { | |
9899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9900 | (arg1)->SetBorders(arg2); | |
9901 | wxPyEndAllowThreads(__tstate); | |
9902 | if (PyErr_Occurred()) SWIG_fail; | |
9903 | } | |
9904 | resultobj = SWIG_Py_Void(); | |
9905 | return resultobj; | |
9906 | fail: | |
9907 | return NULL; | |
9908 | } | |
9909 | ||
9910 | ||
9911 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9912 | PyObject *resultobj = 0; | |
9913 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9914 | wxBitmap *arg2 = 0 ; | |
9915 | void *argp1 = 0 ; | |
9916 | int res1 = 0 ; | |
9917 | void *argp2 = 0 ; | |
9918 | int res2 = 0 ; | |
9919 | PyObject * obj0 = 0 ; | |
9920 | PyObject * obj1 = 0 ; | |
9921 | char * kwnames[] = { | |
9922 | (char *) "self",(char *) "bmpBg", NULL | |
9923 | }; | |
9924 | ||
9925 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9926 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9927 | if (!SWIG_IsOK(res1)) { | |
9928 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9929 | } | |
9930 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9931 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); | |
9932 | if (!SWIG_IsOK(res2)) { | |
9933 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
9934 | } | |
9935 | if (!argp2) { | |
9936 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
9937 | } | |
9938 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
9939 | { | |
9940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9941 | (arg1)->SetBackgroundImage((wxBitmap const &)*arg2); | |
9942 | wxPyEndAllowThreads(__tstate); | |
9943 | if (PyErr_Occurred()) SWIG_fail; | |
9944 | } | |
9945 | resultobj = SWIG_Py_Void(); | |
9946 | return resultobj; | |
9947 | fail: | |
9948 | return NULL; | |
9949 | } | |
9950 | ||
9951 | ||
9952 | SWIGINTERN PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9953 | PyObject *resultobj = 0; | |
9954 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9955 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9956 | wxString arg3 = (wxString) wxPyEmptyString ; | |
9957 | void *argp1 = 0 ; | |
9958 | int res1 = 0 ; | |
9959 | void *argp2 = 0 ; | |
9960 | int res2 = 0 ; | |
9961 | PyObject * obj0 = 0 ; | |
9962 | PyObject * obj1 = 0 ; | |
9963 | PyObject * obj2 = 0 ; | |
9964 | char * kwnames[] = { | |
9965 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
9966 | }; | |
9967 | ||
9968 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9969 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9970 | if (!SWIG_IsOK(res1)) { | |
9971 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9972 | } | |
9973 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9974 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
9975 | if (!SWIG_IsOK(res2)) { | |
9976 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
9977 | } | |
9978 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
9979 | if (obj2) { | |
093d3ff1 | 9980 | { |
554f62e9 RD |
9981 | wxString* sptr = wxString_in_helper(obj2); |
9982 | if (sptr == NULL) SWIG_fail; | |
9983 | arg3 = *sptr; | |
9984 | delete sptr; | |
d14a1e28 | 9985 | } |
554f62e9 RD |
9986 | } |
9987 | { | |
9988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9989 | (arg1)->ReadCustomization(arg2,arg3); | |
9990 | wxPyEndAllowThreads(__tstate); | |
9991 | if (PyErr_Occurred()) SWIG_fail; | |
9992 | } | |
9993 | resultobj = SWIG_Py_Void(); | |
9994 | return resultobj; | |
9995 | fail: | |
9996 | return NULL; | |
9997 | } | |
9998 | ||
9999 | ||
10000 | SWIGINTERN PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10001 | PyObject *resultobj = 0; | |
10002 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10003 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10004 | wxString arg3 = (wxString) wxPyEmptyString ; | |
10005 | void *argp1 = 0 ; | |
10006 | int res1 = 0 ; | |
10007 | void *argp2 = 0 ; | |
10008 | int res2 = 0 ; | |
10009 | PyObject * obj0 = 0 ; | |
10010 | PyObject * obj1 = 0 ; | |
10011 | PyObject * obj2 = 0 ; | |
10012 | char * kwnames[] = { | |
10013 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10014 | }; | |
10015 | ||
10016 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10017 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10018 | if (!SWIG_IsOK(res1)) { | |
10019 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10020 | } | |
10021 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10022 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
10023 | if (!SWIG_IsOK(res2)) { | |
10024 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
10025 | } | |
10026 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
10027 | if (obj2) { | |
d14a1e28 | 10028 | { |
554f62e9 RD |
10029 | wxString* sptr = wxString_in_helper(obj2); |
10030 | if (sptr == NULL) SWIG_fail; | |
10031 | arg3 = *sptr; | |
10032 | delete sptr; | |
d14a1e28 | 10033 | } |
554f62e9 RD |
10034 | } |
10035 | { | |
10036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10037 | (arg1)->WriteCustomization(arg2,arg3); | |
10038 | wxPyEndAllowThreads(__tstate); | |
10039 | if (PyErr_Occurred()) SWIG_fail; | |
10040 | } | |
10041 | resultobj = SWIG_Py_Void(); | |
10042 | return resultobj; | |
10043 | fail: | |
10044 | return NULL; | |
d14a1e28 RD |
10045 | } |
10046 | ||
10047 | ||
554f62e9 RD |
10048 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10049 | PyObject *resultobj = 0; | |
10050 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10051 | bool result; | |
10052 | void *argp1 = 0 ; | |
10053 | int res1 = 0 ; | |
10054 | PyObject *swig_obj[1] ; | |
10055 | ||
10056 | if (!args) SWIG_fail; | |
10057 | swig_obj[0] = args; | |
10058 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10059 | if (!SWIG_IsOK(res1)) { | |
10060 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10061 | } | |
10062 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10063 | { | |
10064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10065 | result = (bool)(arg1)->HistoryBack(); | |
10066 | wxPyEndAllowThreads(__tstate); | |
10067 | if (PyErr_Occurred()) SWIG_fail; | |
10068 | } | |
10069 | { | |
10070 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10071 | } | |
10072 | return resultobj; | |
10073 | fail: | |
10074 | return NULL; | |
d14a1e28 RD |
10075 | } |
10076 | ||
10077 | ||
554f62e9 RD |
10078 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10079 | PyObject *resultobj = 0; | |
10080 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10081 | bool result; | |
10082 | void *argp1 = 0 ; | |
10083 | int res1 = 0 ; | |
10084 | PyObject *swig_obj[1] ; | |
10085 | ||
10086 | if (!args) SWIG_fail; | |
10087 | swig_obj[0] = args; | |
10088 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10089 | if (!SWIG_IsOK(res1)) { | |
10090 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10091 | } | |
10092 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10093 | { | |
10094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10095 | result = (bool)(arg1)->HistoryForward(); | |
10096 | wxPyEndAllowThreads(__tstate); | |
10097 | if (PyErr_Occurred()) SWIG_fail; | |
10098 | } | |
10099 | { | |
10100 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10101 | } | |
10102 | return resultobj; | |
10103 | fail: | |
10104 | return NULL; | |
d14a1e28 RD |
10105 | } |
10106 | ||
10107 | ||
554f62e9 RD |
10108 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10109 | PyObject *resultobj = 0; | |
10110 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10111 | bool result; | |
10112 | void *argp1 = 0 ; | |
10113 | int res1 = 0 ; | |
10114 | PyObject *swig_obj[1] ; | |
10115 | ||
10116 | if (!args) SWIG_fail; | |
10117 | swig_obj[0] = args; | |
10118 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10119 | if (!SWIG_IsOK(res1)) { | |
10120 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10121 | } | |
10122 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10123 | { | |
10124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10125 | result = (bool)(arg1)->HistoryCanBack(); | |
10126 | wxPyEndAllowThreads(__tstate); | |
10127 | if (PyErr_Occurred()) SWIG_fail; | |
10128 | } | |
10129 | { | |
10130 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10131 | } | |
10132 | return resultobj; | |
10133 | fail: | |
10134 | return NULL; | |
d14a1e28 RD |
10135 | } |
10136 | ||
10137 | ||
554f62e9 RD |
10138 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10139 | PyObject *resultobj = 0; | |
10140 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10141 | bool result; | |
10142 | void *argp1 = 0 ; | |
10143 | int res1 = 0 ; | |
10144 | PyObject *swig_obj[1] ; | |
10145 | ||
10146 | if (!args) SWIG_fail; | |
10147 | swig_obj[0] = args; | |
10148 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10149 | if (!SWIG_IsOK(res1)) { | |
10150 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10151 | } | |
10152 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10153 | { | |
10154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10155 | result = (bool)(arg1)->HistoryCanForward(); | |
10156 | wxPyEndAllowThreads(__tstate); | |
10157 | if (PyErr_Occurred()) SWIG_fail; | |
10158 | } | |
10159 | { | |
10160 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10161 | } | |
10162 | return resultobj; | |
10163 | fail: | |
10164 | return NULL; | |
d14a1e28 RD |
10165 | } |
10166 | ||
10167 | ||
554f62e9 RD |
10168 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10169 | PyObject *resultobj = 0; | |
10170 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10171 | void *argp1 = 0 ; | |
10172 | int res1 = 0 ; | |
10173 | PyObject *swig_obj[1] ; | |
10174 | ||
10175 | if (!args) SWIG_fail; | |
10176 | swig_obj[0] = args; | |
10177 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10178 | if (!SWIG_IsOK(res1)) { | |
10179 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10180 | } | |
10181 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10182 | { | |
10183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10184 | (arg1)->HistoryClear(); | |
10185 | wxPyEndAllowThreads(__tstate); | |
10186 | if (PyErr_Occurred()) SWIG_fail; | |
10187 | } | |
10188 | resultobj = SWIG_Py_Void(); | |
10189 | return resultobj; | |
10190 | fail: | |
10191 | return NULL; | |
d14a1e28 RD |
10192 | } |
10193 | ||
10194 | ||
554f62e9 RD |
10195 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10196 | PyObject *resultobj = 0; | |
10197 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10198 | wxHtmlContainerCell *result = 0 ; | |
10199 | void *argp1 = 0 ; | |
10200 | int res1 = 0 ; | |
10201 | PyObject *swig_obj[1] ; | |
10202 | ||
10203 | if (!args) SWIG_fail; | |
10204 | swig_obj[0] = args; | |
10205 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10206 | if (!SWIG_IsOK(res1)) { | |
10207 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10208 | } | |
10209 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10210 | { | |
10211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10212 | result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation(); | |
10213 | wxPyEndAllowThreads(__tstate); | |
10214 | if (PyErr_Occurred()) SWIG_fail; | |
10215 | } | |
10216 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
10217 | return resultobj; | |
10218 | fail: | |
10219 | return NULL; | |
d14a1e28 RD |
10220 | } |
10221 | ||
10222 | ||
554f62e9 RD |
10223 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10224 | PyObject *resultobj = 0; | |
10225 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10226 | wxHtmlWinParser *result = 0 ; | |
10227 | void *argp1 = 0 ; | |
10228 | int res1 = 0 ; | |
10229 | PyObject *swig_obj[1] ; | |
10230 | ||
10231 | if (!args) SWIG_fail; | |
10232 | swig_obj[0] = args; | |
10233 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10234 | if (!SWIG_IsOK(res1)) { | |
10235 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10236 | } | |
10237 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10238 | { | |
10239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10240 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
10241 | wxPyEndAllowThreads(__tstate); | |
10242 | if (PyErr_Occurred()) SWIG_fail; | |
10243 | } | |
10244 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
10245 | return resultobj; | |
10246 | fail: | |
10247 | return NULL; | |
10248 | } | |
10249 | ||
10250 | ||
10251 | SWIGINTERN PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10252 | PyObject *resultobj = 0; | |
10253 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10254 | wxString *arg2 = 0 ; | |
10255 | bool result; | |
10256 | void *argp1 = 0 ; | |
10257 | int res1 = 0 ; | |
10258 | bool temp2 = false ; | |
10259 | PyObject * obj0 = 0 ; | |
10260 | PyObject * obj1 = 0 ; | |
10261 | char * kwnames[] = { | |
10262 | (char *) "self",(char *) "anchor", NULL | |
10263 | }; | |
10264 | ||
10265 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) SWIG_fail; | |
10266 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10267 | if (!SWIG_IsOK(res1)) { | |
10268 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10269 | } | |
10270 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10271 | { | |
10272 | arg2 = wxString_in_helper(obj1); | |
10273 | if (arg2 == NULL) SWIG_fail; | |
10274 | temp2 = true; | |
10275 | } | |
10276 | { | |
10277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10278 | result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2); | |
10279 | wxPyEndAllowThreads(__tstate); | |
10280 | if (PyErr_Occurred()) SWIG_fail; | |
10281 | } | |
10282 | { | |
10283 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10284 | } | |
10285 | { | |
10286 | if (temp2) | |
10287 | delete arg2; | |
10288 | } | |
10289 | return resultobj; | |
10290 | fail: | |
10291 | { | |
10292 | if (temp2) | |
10293 | delete arg2; | |
10294 | } | |
10295 | return NULL; | |
10296 | } | |
10297 | ||
10298 | ||
10299 | SWIGINTERN PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10300 | PyObject *resultobj = 0; | |
10301 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10302 | wxString *arg2 = 0 ; | |
10303 | bool result; | |
10304 | void *argp1 = 0 ; | |
10305 | int res1 = 0 ; | |
10306 | bool temp2 = false ; | |
10307 | PyObject * obj0 = 0 ; | |
10308 | PyObject * obj1 = 0 ; | |
10309 | char * kwnames[] = { | |
10310 | (char *) "self",(char *) "anchor", NULL | |
10311 | }; | |
10312 | ||
10313 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) SWIG_fail; | |
10314 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10315 | if (!SWIG_IsOK(res1)) { | |
10316 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10317 | } | |
10318 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10319 | { | |
10320 | arg2 = wxString_in_helper(obj1); | |
10321 | if (arg2 == NULL) SWIG_fail; | |
10322 | temp2 = true; | |
10323 | } | |
10324 | { | |
10325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10326 | result = (bool)(arg1)->HasAnchor((wxString const &)*arg2); | |
10327 | wxPyEndAllowThreads(__tstate); | |
10328 | if (PyErr_Occurred()) SWIG_fail; | |
10329 | } | |
10330 | { | |
10331 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10332 | } | |
10333 | { | |
10334 | if (temp2) | |
10335 | delete arg2; | |
10336 | } | |
10337 | return resultobj; | |
10338 | fail: | |
10339 | { | |
10340 | if (temp2) | |
10341 | delete arg2; | |
10342 | } | |
10343 | return NULL; | |
d14a1e28 RD |
10344 | } |
10345 | ||
10346 | ||
554f62e9 RD |
10347 | SWIGINTERN PyObject *_wrap_HtmlWindow_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10348 | PyObject *resultobj = 0; | |
10349 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
10350 | void *argp1 = 0 ; | |
10351 | int res1 = 0 ; | |
10352 | PyObject * obj0 = 0 ; | |
10353 | char * kwnames[] = { | |
10354 | (char *) "filter", NULL | |
10355 | }; | |
10356 | ||
10357 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) SWIG_fail; | |
10358 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 ); | |
10359 | if (!SWIG_IsOK(res1)) { | |
10360 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'"); | |
10361 | } | |
10362 | arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1); | |
10363 | { | |
10364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10365 | wxPyHtmlWindow::AddFilter(arg1); | |
10366 | wxPyEndAllowThreads(__tstate); | |
10367 | if (PyErr_Occurred()) SWIG_fail; | |
10368 | } | |
10369 | resultobj = SWIG_Py_Void(); | |
10370 | return resultobj; | |
10371 | fail: | |
10372 | return NULL; | |
10373 | } | |
10374 | ||
10375 | ||
10376 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10377 | PyObject *resultobj = 0; | |
10378 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10379 | wxPoint *arg2 = 0 ; | |
10380 | void *argp1 = 0 ; | |
10381 | int res1 = 0 ; | |
10382 | wxPoint temp2 ; | |
10383 | PyObject * obj0 = 0 ; | |
10384 | PyObject * obj1 = 0 ; | |
10385 | char * kwnames[] = { | |
10386 | (char *) "self",(char *) "pos", NULL | |
10387 | }; | |
10388 | ||
10389 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail; | |
10390 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10391 | if (!SWIG_IsOK(res1)) { | |
10392 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10393 | } | |
10394 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10395 | { | |
10396 | arg2 = &temp2; | |
10397 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10398 | } | |
10399 | { | |
10400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10401 | (arg1)->SelectWord((wxPoint const &)*arg2); | |
10402 | wxPyEndAllowThreads(__tstate); | |
10403 | if (PyErr_Occurred()) SWIG_fail; | |
10404 | } | |
10405 | resultobj = SWIG_Py_Void(); | |
10406 | return resultobj; | |
10407 | fail: | |
10408 | return NULL; | |
10409 | } | |
10410 | ||
10411 | ||
10412 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10413 | PyObject *resultobj = 0; | |
10414 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10415 | wxPoint *arg2 = 0 ; | |
10416 | void *argp1 = 0 ; | |
10417 | int res1 = 0 ; | |
10418 | wxPoint temp2 ; | |
10419 | PyObject * obj0 = 0 ; | |
10420 | PyObject * obj1 = 0 ; | |
10421 | char * kwnames[] = { | |
10422 | (char *) "self",(char *) "pos", NULL | |
10423 | }; | |
10424 | ||
10425 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) SWIG_fail; | |
10426 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10427 | if (!SWIG_IsOK(res1)) { | |
10428 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10429 | } | |
10430 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10431 | { | |
10432 | arg2 = &temp2; | |
10433 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10434 | } | |
10435 | { | |
10436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10437 | (arg1)->SelectLine((wxPoint const &)*arg2); | |
10438 | wxPyEndAllowThreads(__tstate); | |
10439 | if (PyErr_Occurred()) SWIG_fail; | |
10440 | } | |
10441 | resultobj = SWIG_Py_Void(); | |
10442 | return resultobj; | |
10443 | fail: | |
10444 | return NULL; | |
d14a1e28 RD |
10445 | } |
10446 | ||
10447 | ||
554f62e9 RD |
10448 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10449 | PyObject *resultobj = 0; | |
10450 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10451 | void *argp1 = 0 ; | |
10452 | int res1 = 0 ; | |
10453 | PyObject *swig_obj[1] ; | |
10454 | ||
10455 | if (!args) SWIG_fail; | |
10456 | swig_obj[0] = args; | |
10457 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10458 | if (!SWIG_IsOK(res1)) { | |
10459 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10460 | } | |
10461 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10462 | { | |
10463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10464 | (arg1)->SelectAll(); | |
10465 | wxPyEndAllowThreads(__tstate); | |
10466 | if (PyErr_Occurred()) SWIG_fail; | |
10467 | } | |
10468 | resultobj = SWIG_Py_Void(); | |
10469 | return resultobj; | |
10470 | fail: | |
10471 | return NULL; | |
d14a1e28 RD |
10472 | } |
10473 | ||
10474 | ||
554f62e9 RD |
10475 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10476 | PyObject *resultobj = 0; | |
10477 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10478 | wxString result; | |
10479 | void *argp1 = 0 ; | |
10480 | int res1 = 0 ; | |
10481 | PyObject *swig_obj[1] ; | |
10482 | ||
10483 | if (!args) SWIG_fail; | |
10484 | swig_obj[0] = args; | |
10485 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10486 | if (!SWIG_IsOK(res1)) { | |
10487 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10488 | } | |
10489 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10490 | { | |
10491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10492 | result = (arg1)->SelectionToText(); | |
10493 | wxPyEndAllowThreads(__tstate); | |
10494 | if (PyErr_Occurred()) SWIG_fail; | |
10495 | } | |
10496 | { | |
10497 | #if wxUSE_UNICODE | |
10498 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10499 | #else | |
10500 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10501 | #endif | |
10502 | } | |
10503 | return resultobj; | |
10504 | fail: | |
10505 | return NULL; | |
d14a1e28 RD |
10506 | } |
10507 | ||
10508 | ||
554f62e9 RD |
10509 | SWIGINTERN PyObject *_wrap_HtmlWindow_ToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10510 | PyObject *resultobj = 0; | |
10511 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10512 | wxString result; | |
10513 | void *argp1 = 0 ; | |
10514 | int res1 = 0 ; | |
10515 | PyObject *swig_obj[1] ; | |
10516 | ||
10517 | if (!args) SWIG_fail; | |
10518 | swig_obj[0] = args; | |
10519 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10520 | if (!SWIG_IsOK(res1)) { | |
10521 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10522 | } | |
10523 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10524 | { | |
10525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10526 | result = (arg1)->ToText(); | |
10527 | wxPyEndAllowThreads(__tstate); | |
10528 | if (PyErr_Occurred()) SWIG_fail; | |
10529 | } | |
10530 | { | |
d14a1e28 | 10531 | #if wxUSE_UNICODE |
554f62e9 | 10532 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 10533 | #else |
554f62e9 | 10534 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 10535 | #endif |
554f62e9 RD |
10536 | } |
10537 | return resultobj; | |
10538 | fail: | |
10539 | return NULL; | |
10540 | } | |
10541 | ||
10542 | ||
10543 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10544 | PyObject *resultobj = 0; | |
10545 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10546 | wxHtmlLinkInfo *arg2 = 0 ; | |
10547 | void *argp1 = 0 ; | |
10548 | int res1 = 0 ; | |
10549 | void *argp2 = 0 ; | |
10550 | int res2 = 0 ; | |
10551 | PyObject * obj0 = 0 ; | |
10552 | PyObject * obj1 = 0 ; | |
10553 | char * kwnames[] = { | |
10554 | (char *) "self",(char *) "link", NULL | |
10555 | }; | |
10556 | ||
10557 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail; | |
10558 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10559 | if (!SWIG_IsOK(res1)) { | |
10560 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10561 | } | |
10562 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10563 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0); | |
10564 | if (!SWIG_IsOK(res2)) { | |
10565 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
10566 | } | |
10567 | if (!argp2) { | |
10568 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
10569 | } | |
10570 | arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2); | |
10571 | { | |
10572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10573 | (arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2); | |
10574 | wxPyEndAllowThreads(__tstate); | |
10575 | if (PyErr_Occurred()) SWIG_fail; | |
10576 | } | |
10577 | resultobj = SWIG_Py_Void(); | |
10578 | return resultobj; | |
10579 | fail: | |
10580 | return NULL; | |
10581 | } | |
10582 | ||
10583 | ||
10584 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10585 | PyObject *resultobj = 0; | |
10586 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10587 | wxString *arg2 = 0 ; | |
10588 | void *argp1 = 0 ; | |
10589 | int res1 = 0 ; | |
10590 | bool temp2 = false ; | |
10591 | PyObject * obj0 = 0 ; | |
10592 | PyObject * obj1 = 0 ; | |
10593 | char * kwnames[] = { | |
10594 | (char *) "self",(char *) "title", NULL | |
10595 | }; | |
10596 | ||
10597 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) SWIG_fail; | |
10598 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10599 | if (!SWIG_IsOK(res1)) { | |
10600 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10601 | } | |
10602 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10603 | { | |
10604 | arg2 = wxString_in_helper(obj1); | |
10605 | if (arg2 == NULL) SWIG_fail; | |
10606 | temp2 = true; | |
10607 | } | |
10608 | { | |
10609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10610 | (arg1)->OnSetTitle((wxString const &)*arg2); | |
10611 | wxPyEndAllowThreads(__tstate); | |
10612 | if (PyErr_Occurred()) SWIG_fail; | |
10613 | } | |
10614 | resultobj = SWIG_Py_Void(); | |
10615 | { | |
10616 | if (temp2) | |
10617 | delete arg2; | |
10618 | } | |
10619 | return resultobj; | |
10620 | fail: | |
10621 | { | |
10622 | if (temp2) | |
10623 | delete arg2; | |
10624 | } | |
10625 | return NULL; | |
10626 | } | |
10627 | ||
10628 | ||
10629 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10630 | PyObject *resultobj = 0; | |
10631 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10632 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
10633 | int arg3 ; | |
10634 | int arg4 ; | |
10635 | void *argp1 = 0 ; | |
10636 | int res1 = 0 ; | |
10637 | void *argp2 = 0 ; | |
10638 | int res2 = 0 ; | |
10639 | int val3 ; | |
10640 | int ecode3 = 0 ; | |
10641 | int val4 ; | |
10642 | int ecode4 = 0 ; | |
10643 | PyObject * obj0 = 0 ; | |
10644 | PyObject * obj1 = 0 ; | |
10645 | PyObject * obj2 = 0 ; | |
10646 | PyObject * obj3 = 0 ; | |
10647 | char * kwnames[] = { | |
10648 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL | |
10649 | }; | |
10650 | ||
10651 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
10652 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10653 | if (!SWIG_IsOK(res1)) { | |
10654 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10655 | } | |
10656 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10657 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
10658 | if (!SWIG_IsOK(res2)) { | |
10659 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
10660 | } | |
10661 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
10662 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10663 | if (!SWIG_IsOK(ecode3)) { | |
10664 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'"); | |
10665 | } | |
10666 | arg3 = static_cast< int >(val3); | |
10667 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
10668 | if (!SWIG_IsOK(ecode4)) { | |
10669 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'"); | |
10670 | } | |
10671 | arg4 = static_cast< int >(val4); | |
10672 | { | |
10673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10674 | (arg1)->OnCellMouseHover(arg2,arg3,arg4); | |
10675 | wxPyEndAllowThreads(__tstate); | |
10676 | if (PyErr_Occurred()) SWIG_fail; | |
10677 | } | |
10678 | resultobj = SWIG_Py_Void(); | |
10679 | return resultobj; | |
10680 | fail: | |
10681 | return NULL; | |
10682 | } | |
10683 | ||
10684 | ||
10685 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10686 | PyObject *resultobj = 0; | |
10687 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10688 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
10689 | int arg3 ; | |
10690 | int arg4 ; | |
10691 | wxMouseEvent *arg5 = 0 ; | |
10692 | void *argp1 = 0 ; | |
10693 | int res1 = 0 ; | |
10694 | void *argp2 = 0 ; | |
10695 | int res2 = 0 ; | |
10696 | int val3 ; | |
10697 | int ecode3 = 0 ; | |
10698 | int val4 ; | |
10699 | int ecode4 = 0 ; | |
10700 | void *argp5 = 0 ; | |
10701 | int res5 = 0 ; | |
10702 | PyObject * obj0 = 0 ; | |
10703 | PyObject * obj1 = 0 ; | |
10704 | PyObject * obj2 = 0 ; | |
10705 | PyObject * obj3 = 0 ; | |
10706 | PyObject * obj4 = 0 ; | |
10707 | char * kwnames[] = { | |
10708 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL | |
10709 | }; | |
10710 | ||
10711 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
10712 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10713 | if (!SWIG_IsOK(res1)) { | |
10714 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10715 | } | |
10716 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10717 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
10718 | if (!SWIG_IsOK(res2)) { | |
10719 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
10720 | } | |
10721 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
10722 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10723 | if (!SWIG_IsOK(ecode3)) { | |
10724 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'"); | |
10725 | } | |
10726 | arg3 = static_cast< int >(val3); | |
10727 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
10728 | if (!SWIG_IsOK(ecode4)) { | |
10729 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'"); | |
10730 | } | |
10731 | arg4 = static_cast< int >(val4); | |
10732 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0); | |
10733 | if (!SWIG_IsOK(res5)) { | |
10734 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); | |
10735 | } | |
10736 | if (!argp5) { | |
10737 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); | |
10738 | } | |
10739 | arg5 = reinterpret_cast< wxMouseEvent * >(argp5); | |
10740 | { | |
10741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10742 | (arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5); | |
10743 | wxPyEndAllowThreads(__tstate); | |
10744 | if (PyErr_Occurred()) SWIG_fail; | |
10745 | } | |
10746 | resultobj = SWIG_Py_Void(); | |
10747 | return resultobj; | |
10748 | fail: | |
10749 | return NULL; | |
10750 | } | |
10751 | ||
10752 | ||
10753 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10754 | PyObject *resultobj = 0; | |
10755 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; | |
10756 | SwigValueWrapper<wxVisualAttributes > result; | |
10757 | int val1 ; | |
10758 | int ecode1 = 0 ; | |
10759 | PyObject * obj0 = 0 ; | |
10760 | char * kwnames[] = { | |
10761 | (char *) "variant", NULL | |
10762 | }; | |
10763 | ||
10764 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail; | |
10765 | if (obj0) { | |
10766 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
10767 | if (!SWIG_IsOK(ecode1)) { | |
10768 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); | |
10769 | } | |
10770 | arg1 = static_cast< wxWindowVariant >(val1); | |
10771 | } | |
10772 | { | |
10773 | if (!wxPyCheckForApp()) SWIG_fail; | |
10774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10775 | result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1); | |
10776 | wxPyEndAllowThreads(__tstate); | |
10777 | if (PyErr_Occurred()) SWIG_fail; | |
10778 | } | |
10779 | resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 ); | |
10780 | return resultobj; | |
10781 | fail: | |
10782 | return NULL; | |
d14a1e28 RD |
10783 | } |
10784 | ||
10785 | ||
554f62e9 RD |
10786 | SWIGINTERN PyObject *HtmlWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10787 | PyObject *obj; | |
10788 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
10789 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow, SWIG_NewClientData(obj)); | |
10790 | return SWIG_Py_Void(); | |
b1fcee84 RD |
10791 | } |
10792 | ||
554f62e9 RD |
10793 | SWIGINTERN PyObject *HtmlWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10794 | return SWIG_Python_InitShadowInstance(args); | |
b1fcee84 RD |
10795 | } |
10796 | ||
554f62e9 RD |
10797 | SWIGINTERN PyObject *_wrap_new_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10798 | PyObject *resultobj = 0; | |
10799 | wxHtmlDCRenderer *result = 0 ; | |
10800 | ||
10801 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlDCRenderer",0,0,0)) SWIG_fail; | |
10802 | { | |
10803 | if (!wxPyCheckForApp()) SWIG_fail; | |
10804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10805 | result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer(); | |
10806 | wxPyEndAllowThreads(__tstate); | |
10807 | if (PyErr_Occurred()) SWIG_fail; | |
10808 | } | |
10809 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_NEW | 0 ); | |
10810 | return resultobj; | |
10811 | fail: | |
10812 | return NULL; | |
b1fcee84 RD |
10813 | } |
10814 | ||
10815 | ||
554f62e9 RD |
10816 | SWIGINTERN PyObject *_wrap_delete_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10817 | PyObject *resultobj = 0; | |
10818 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
10819 | void *argp1 = 0 ; | |
10820 | int res1 = 0 ; | |
10821 | PyObject *swig_obj[1] ; | |
10822 | ||
10823 | if (!args) SWIG_fail; | |
10824 | swig_obj[0] = args; | |
10825 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_DISOWN | 0 ); | |
10826 | if (!SWIG_IsOK(res1)) { | |
10827 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
10828 | } | |
10829 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
10830 | { | |
10831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10832 | delete arg1; | |
d14a1e28 | 10833 | |
554f62e9 RD |
10834 | wxPyEndAllowThreads(__tstate); |
10835 | if (PyErr_Occurred()) SWIG_fail; | |
10836 | } | |
10837 | resultobj = SWIG_Py_Void(); | |
10838 | return resultobj; | |
10839 | fail: | |
10840 | return NULL; | |
10841 | } | |
10842 | ||
10843 | ||
10844 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10845 | PyObject *resultobj = 0; | |
10846 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
10847 | wxDC *arg2 = (wxDC *) 0 ; | |
10848 | int arg3 ; | |
10849 | void *argp1 = 0 ; | |
10850 | int res1 = 0 ; | |
10851 | void *argp2 = 0 ; | |
10852 | int res2 = 0 ; | |
10853 | int val3 ; | |
10854 | int ecode3 = 0 ; | |
10855 | PyObject * obj0 = 0 ; | |
10856 | PyObject * obj1 = 0 ; | |
10857 | PyObject * obj2 = 0 ; | |
10858 | char * kwnames[] = { | |
10859 | (char *) "self",(char *) "dc",(char *) "maxwidth", NULL | |
10860 | }; | |
10861 | ||
10862 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10863 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
10864 | if (!SWIG_IsOK(res1)) { | |
10865 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
10866 | } | |
10867 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
10868 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); | |
10869 | if (!SWIG_IsOK(res2)) { | |
10870 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); | |
10871 | } | |
10872 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
10873 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10874 | if (!SWIG_IsOK(ecode3)) { | |
10875 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'"); | |
10876 | } | |
10877 | arg3 = static_cast< int >(val3); | |
10878 | { | |
10879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10880 | (arg1)->SetDC(arg2,arg3); | |
10881 | wxPyEndAllowThreads(__tstate); | |
10882 | if (PyErr_Occurred()) SWIG_fail; | |
10883 | } | |
10884 | resultobj = SWIG_Py_Void(); | |
10885 | return resultobj; | |
10886 | fail: | |
10887 | return NULL; | |
10888 | } | |
10889 | ||
10890 | ||
10891 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10892 | PyObject *resultobj = 0; | |
10893 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
10894 | int arg2 ; | |
10895 | int arg3 ; | |
10896 | void *argp1 = 0 ; | |
10897 | int res1 = 0 ; | |
10898 | int val2 ; | |
10899 | int ecode2 = 0 ; | |
10900 | int val3 ; | |
10901 | int ecode3 = 0 ; | |
10902 | PyObject * obj0 = 0 ; | |
10903 | PyObject * obj1 = 0 ; | |
10904 | PyObject * obj2 = 0 ; | |
10905 | char * kwnames[] = { | |
10906 | (char *) "self",(char *) "width",(char *) "height", NULL | |
10907 | }; | |
10908 | ||
10909 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10910 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
10911 | if (!SWIG_IsOK(res1)) { | |
10912 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
10913 | } | |
10914 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
10915 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10916 | if (!SWIG_IsOK(ecode2)) { | |
10917 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'"); | |
10918 | } | |
10919 | arg2 = static_cast< int >(val2); | |
10920 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10921 | if (!SWIG_IsOK(ecode3)) { | |
10922 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'"); | |
10923 | } | |
10924 | arg3 = static_cast< int >(val3); | |
10925 | { | |
10926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10927 | (arg1)->SetSize(arg2,arg3); | |
10928 | wxPyEndAllowThreads(__tstate); | |
10929 | if (PyErr_Occurred()) SWIG_fail; | |
10930 | } | |
10931 | resultobj = SWIG_Py_Void(); | |
10932 | return resultobj; | |
10933 | fail: | |
10934 | return NULL; | |
10935 | } | |
10936 | ||
10937 | ||
10938 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10939 | PyObject *resultobj = 0; | |
10940 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
10941 | wxString *arg2 = 0 ; | |
10942 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10943 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10944 | bool arg4 = (bool) true ; | |
10945 | void *argp1 = 0 ; | |
10946 | int res1 = 0 ; | |
10947 | bool temp2 = false ; | |
10948 | bool temp3 = false ; | |
10949 | bool val4 ; | |
10950 | int ecode4 = 0 ; | |
10951 | PyObject * obj0 = 0 ; | |
10952 | PyObject * obj1 = 0 ; | |
10953 | PyObject * obj2 = 0 ; | |
10954 | PyObject * obj3 = 0 ; | |
10955 | char * kwnames[] = { | |
10956 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
10957 | }; | |
10958 | ||
10959 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
10960 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
10961 | if (!SWIG_IsOK(res1)) { | |
10962 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
10963 | } | |
10964 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
10965 | { | |
10966 | arg2 = wxString_in_helper(obj1); | |
10967 | if (arg2 == NULL) SWIG_fail; | |
10968 | temp2 = true; | |
10969 | } | |
10970 | if (obj2) { | |
d14a1e28 | 10971 | { |
554f62e9 RD |
10972 | arg3 = wxString_in_helper(obj2); |
10973 | if (arg3 == NULL) SWIG_fail; | |
10974 | temp3 = true; | |
d14a1e28 | 10975 | } |
554f62e9 RD |
10976 | } |
10977 | if (obj3) { | |
10978 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
10979 | if (!SWIG_IsOK(ecode4)) { | |
10980 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'"); | |
10981 | } | |
10982 | arg4 = static_cast< bool >(val4); | |
10983 | } | |
10984 | { | |
10985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10986 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
10987 | wxPyEndAllowThreads(__tstate); | |
10988 | if (PyErr_Occurred()) SWIG_fail; | |
10989 | } | |
10990 | resultobj = SWIG_Py_Void(); | |
10991 | { | |
10992 | if (temp2) | |
10993 | delete arg2; | |
10994 | } | |
10995 | { | |
10996 | if (temp3) | |
10997 | delete arg3; | |
10998 | } | |
10999 | return resultobj; | |
11000 | fail: | |
11001 | { | |
11002 | if (temp2) | |
11003 | delete arg2; | |
11004 | } | |
11005 | { | |
11006 | if (temp3) | |
11007 | delete arg3; | |
11008 | } | |
11009 | return NULL; | |
11010 | } | |
11011 | ||
11012 | ||
11013 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11014 | PyObject *resultobj = 0; | |
11015 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11016 | wxString arg2 ; | |
11017 | wxString arg3 ; | |
11018 | PyObject *arg4 = (PyObject *) NULL ; | |
11019 | void *argp1 = 0 ; | |
11020 | int res1 = 0 ; | |
11021 | PyObject * obj0 = 0 ; | |
11022 | PyObject * obj1 = 0 ; | |
11023 | PyObject * obj2 = 0 ; | |
11024 | PyObject * obj3 = 0 ; | |
11025 | char * kwnames[] = { | |
11026 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
11027 | }; | |
11028 | ||
11029 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11030 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11031 | if (!SWIG_IsOK(res1)) { | |
11032 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11033 | } | |
11034 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11035 | { | |
11036 | wxString* sptr = wxString_in_helper(obj1); | |
11037 | if (sptr == NULL) SWIG_fail; | |
11038 | arg2 = *sptr; | |
11039 | delete sptr; | |
11040 | } | |
11041 | { | |
11042 | wxString* sptr = wxString_in_helper(obj2); | |
11043 | if (sptr == NULL) SWIG_fail; | |
11044 | arg3 = *sptr; | |
11045 | delete sptr; | |
11046 | } | |
11047 | if (obj3) { | |
11048 | arg4 = obj3; | |
11049 | } | |
11050 | { | |
11051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11052 | wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4); | |
11053 | wxPyEndAllowThreads(__tstate); | |
11054 | if (PyErr_Occurred()) SWIG_fail; | |
11055 | } | |
11056 | resultobj = SWIG_Py_Void(); | |
11057 | return resultobj; | |
11058 | fail: | |
11059 | return NULL; | |
11060 | } | |
11061 | ||
11062 | ||
11063 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11064 | PyObject *resultobj = 0; | |
11065 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11066 | int arg2 = (int) -1 ; | |
11067 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11068 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11069 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
11070 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
11071 | void *argp1 = 0 ; | |
11072 | int res1 = 0 ; | |
11073 | int val2 ; | |
11074 | int ecode2 = 0 ; | |
11075 | bool temp3 = false ; | |
11076 | bool temp4 = false ; | |
11077 | PyObject * obj0 = 0 ; | |
11078 | PyObject * obj1 = 0 ; | |
11079 | PyObject * obj2 = 0 ; | |
11080 | PyObject * obj3 = 0 ; | |
11081 | char * kwnames[] = { | |
11082 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
11083 | }; | |
11084 | ||
11085 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11086 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11087 | if (!SWIG_IsOK(res1)) { | |
11088 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11089 | } | |
11090 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11091 | if (obj1) { | |
11092 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11093 | if (!SWIG_IsOK(ecode2)) { | |
11094 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
11095 | } | |
11096 | arg2 = static_cast< int >(val2); | |
11097 | } | |
11098 | if (obj2) { | |
d14a1e28 | 11099 | { |
554f62e9 RD |
11100 | arg3 = wxString_in_helper(obj2); |
11101 | if (arg3 == NULL) SWIG_fail; | |
11102 | temp3 = true; | |
d14a1e28 | 11103 | } |
554f62e9 RD |
11104 | } |
11105 | if (obj3) { | |
093d3ff1 | 11106 | { |
554f62e9 RD |
11107 | arg4 = wxString_in_helper(obj3); |
11108 | if (arg4 == NULL) SWIG_fail; | |
11109 | temp4 = true; | |
093d3ff1 | 11110 | } |
554f62e9 RD |
11111 | } |
11112 | { | |
11113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11114 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
11115 | wxPyEndAllowThreads(__tstate); | |
11116 | if (PyErr_Occurred()) SWIG_fail; | |
11117 | } | |
11118 | resultobj = SWIG_Py_Void(); | |
11119 | { | |
11120 | if (temp3) | |
11121 | delete arg3; | |
11122 | } | |
11123 | { | |
11124 | if (temp4) | |
11125 | delete arg4; | |
11126 | } | |
11127 | return resultobj; | |
11128 | fail: | |
11129 | { | |
11130 | if (temp3) | |
11131 | delete arg3; | |
11132 | } | |
11133 | { | |
11134 | if (temp4) | |
11135 | delete arg4; | |
11136 | } | |
11137 | return NULL; | |
11138 | } | |
11139 | ||
11140 | ||
11141 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_Render(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11142 | PyObject *resultobj = 0; | |
11143 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11144 | int arg2 ; | |
11145 | int arg3 ; | |
11146 | int arg4 = (int) 0 ; | |
11147 | int arg5 = (int) false ; | |
11148 | int arg6 = (int) INT_MAX ; | |
11149 | int *arg7 = (int *) NULL ; | |
11150 | int arg8 = (int) 0 ; | |
11151 | int result; | |
11152 | void *argp1 = 0 ; | |
11153 | int res1 = 0 ; | |
11154 | int val2 ; | |
11155 | int ecode2 = 0 ; | |
11156 | int val3 ; | |
11157 | int ecode3 = 0 ; | |
11158 | int val4 ; | |
11159 | int ecode4 = 0 ; | |
11160 | int val5 ; | |
11161 | int ecode5 = 0 ; | |
11162 | int val6 ; | |
11163 | int ecode6 = 0 ; | |
11164 | void *argp7 = 0 ; | |
11165 | int res7 = 0 ; | |
11166 | int val8 ; | |
11167 | int ecode8 = 0 ; | |
11168 | PyObject * obj0 = 0 ; | |
11169 | PyObject * obj1 = 0 ; | |
11170 | PyObject * obj2 = 0 ; | |
11171 | PyObject * obj3 = 0 ; | |
11172 | PyObject * obj4 = 0 ; | |
11173 | PyObject * obj5 = 0 ; | |
11174 | PyObject * obj6 = 0 ; | |
11175 | PyObject * obj7 = 0 ; | |
11176 | char * kwnames[] = { | |
11177 | (char *) "self",(char *) "x",(char *) "y",(char *) "_from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL | |
11178 | }; | |
11179 | ||
11180 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; | |
11181 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11182 | if (!SWIG_IsOK(res1)) { | |
11183 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11184 | } | |
11185 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11186 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11187 | if (!SWIG_IsOK(ecode2)) { | |
11188 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'"); | |
11189 | } | |
11190 | arg2 = static_cast< int >(val2); | |
11191 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11192 | if (!SWIG_IsOK(ecode3)) { | |
11193 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'"); | |
11194 | } | |
11195 | arg3 = static_cast< int >(val3); | |
11196 | if (obj3) { | |
11197 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11198 | if (!SWIG_IsOK(ecode4)) { | |
11199 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_Render" "', expected argument " "4"" of type '" "int""'"); | |
11200 | } | |
11201 | arg4 = static_cast< int >(val4); | |
11202 | } | |
11203 | if (obj4) { | |
11204 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
11205 | if (!SWIG_IsOK(ecode5)) { | |
11206 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'"); | |
11207 | } | |
11208 | arg5 = static_cast< int >(val5); | |
11209 | } | |
11210 | if (obj5) { | |
11211 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
11212 | if (!SWIG_IsOK(ecode6)) { | |
11213 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'"); | |
11214 | } | |
11215 | arg6 = static_cast< int >(val6); | |
11216 | } | |
11217 | if (obj6) { | |
11218 | res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_int, 0 | 0 ); | |
11219 | if (!SWIG_IsOK(res7)) { | |
11220 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int *""'"); | |
d14a1e28 | 11221 | } |
554f62e9 RD |
11222 | arg7 = reinterpret_cast< int * >(argp7); |
11223 | } | |
11224 | if (obj7) { | |
11225 | ecode8 = SWIG_AsVal_int(obj7, &val8); | |
11226 | if (!SWIG_IsOK(ecode8)) { | |
11227 | SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HtmlDCRenderer_Render" "', expected argument " "8"" of type '" "int""'"); | |
11228 | } | |
11229 | arg8 = static_cast< int >(val8); | |
11230 | } | |
11231 | { | |
11232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11233 | result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
11234 | wxPyEndAllowThreads(__tstate); | |
11235 | if (PyErr_Occurred()) SWIG_fail; | |
11236 | } | |
11237 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11238 | return resultobj; | |
11239 | fail: | |
11240 | return NULL; | |
d14a1e28 RD |
11241 | } |
11242 | ||
11243 | ||
554f62e9 RD |
11244 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11245 | PyObject *resultobj = 0; | |
11246 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11247 | int result; | |
11248 | void *argp1 = 0 ; | |
11249 | int res1 = 0 ; | |
11250 | PyObject *swig_obj[1] ; | |
11251 | ||
11252 | if (!args) SWIG_fail; | |
11253 | swig_obj[0] = args; | |
11254 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11255 | if (!SWIG_IsOK(res1)) { | |
11256 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11257 | } | |
11258 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11259 | { | |
11260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11261 | result = (int)(arg1)->GetTotalHeight(); | |
11262 | wxPyEndAllowThreads(__tstate); | |
11263 | if (PyErr_Occurred()) SWIG_fail; | |
11264 | } | |
11265 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11266 | return resultobj; | |
11267 | fail: | |
11268 | return NULL; | |
d14a1e28 RD |
11269 | } |
11270 | ||
11271 | ||
554f62e9 RD |
11272 | SWIGINTERN PyObject *HtmlDCRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11273 | PyObject *obj; | |
11274 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11275 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer, SWIG_NewClientData(obj)); | |
11276 | return SWIG_Py_Void(); | |
d14a1e28 RD |
11277 | } |
11278 | ||
554f62e9 RD |
11279 | SWIGINTERN PyObject *HtmlDCRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11280 | return SWIG_Python_InitShadowInstance(args); | |
11281 | } | |
d14a1e28 | 11282 | |
554f62e9 RD |
11283 | SWIGINTERN PyObject *_wrap_new_HtmlPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11284 | PyObject *resultobj = 0; | |
11285 | wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; | |
11286 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
11287 | wxHtmlPrintout *result = 0 ; | |
11288 | bool temp1 = false ; | |
11289 | PyObject * obj0 = 0 ; | |
11290 | char * kwnames[] = { | |
11291 | (char *) "title", NULL | |
11292 | }; | |
11293 | ||
11294 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) SWIG_fail; | |
11295 | if (obj0) { | |
d14a1e28 | 11296 | { |
554f62e9 RD |
11297 | arg1 = wxString_in_helper(obj0); |
11298 | if (arg1 == NULL) SWIG_fail; | |
11299 | temp1 = true; | |
d14a1e28 | 11300 | } |
554f62e9 RD |
11301 | } |
11302 | { | |
11303 | if (!wxPyCheckForApp()) SWIG_fail; | |
11304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11305 | result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1); | |
11306 | wxPyEndAllowThreads(__tstate); | |
11307 | if (PyErr_Occurred()) SWIG_fail; | |
11308 | } | |
11309 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_NEW | 0 ); | |
11310 | { | |
11311 | if (temp1) | |
11312 | delete arg1; | |
11313 | } | |
11314 | return resultobj; | |
11315 | fail: | |
11316 | { | |
11317 | if (temp1) | |
11318 | delete arg1; | |
11319 | } | |
11320 | return NULL; | |
11321 | } | |
11322 | ||
11323 | ||
11324 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11325 | PyObject *resultobj = 0; | |
11326 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
11327 | wxString *arg2 = 0 ; | |
11328 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11329 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11330 | bool arg4 = (bool) true ; | |
11331 | void *argp1 = 0 ; | |
11332 | int res1 = 0 ; | |
11333 | bool temp2 = false ; | |
11334 | bool temp3 = false ; | |
11335 | bool val4 ; | |
11336 | int ecode4 = 0 ; | |
11337 | PyObject * obj0 = 0 ; | |
11338 | PyObject * obj1 = 0 ; | |
11339 | PyObject * obj2 = 0 ; | |
11340 | PyObject * obj3 = 0 ; | |
11341 | char * kwnames[] = { | |
11342 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
11343 | }; | |
11344 | ||
11345 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11346 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
11347 | if (!SWIG_IsOK(res1)) { | |
11348 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
11349 | } | |
11350 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
11351 | { | |
11352 | arg2 = wxString_in_helper(obj1); | |
11353 | if (arg2 == NULL) SWIG_fail; | |
11354 | temp2 = true; | |
11355 | } | |
11356 | if (obj2) { | |
093d3ff1 | 11357 | { |
554f62e9 RD |
11358 | arg3 = wxString_in_helper(obj2); |
11359 | if (arg3 == NULL) SWIG_fail; | |
11360 | temp3 = true; | |
093d3ff1 | 11361 | } |
554f62e9 RD |
11362 | } |
11363 | if (obj3) { | |
11364 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
11365 | if (!SWIG_IsOK(ecode4)) { | |
11366 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'"); | |
11367 | } | |
11368 | arg4 = static_cast< bool >(val4); | |
11369 | } | |
11370 | { | |
11371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11372 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
11373 | wxPyEndAllowThreads(__tstate); | |
11374 | if (PyErr_Occurred()) SWIG_fail; | |
11375 | } | |
11376 | resultobj = SWIG_Py_Void(); | |
11377 | { | |
11378 | if (temp2) | |
11379 | delete arg2; | |
11380 | } | |
11381 | { | |
11382 | if (temp3) | |
11383 | delete arg3; | |
11384 | } | |
11385 | return resultobj; | |
11386 | fail: | |
11387 | { | |
11388 | if (temp2) | |
11389 | delete arg2; | |
11390 | } | |
11391 | { | |
11392 | if (temp3) | |
11393 | delete arg3; | |
11394 | } | |
11395 | return NULL; | |
d14a1e28 RD |
11396 | } |
11397 | ||
11398 | ||
554f62e9 RD |
11399 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11400 | PyObject *resultobj = 0; | |
11401 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
11402 | wxString *arg2 = 0 ; | |
11403 | void *argp1 = 0 ; | |
11404 | int res1 = 0 ; | |
11405 | bool temp2 = false ; | |
11406 | PyObject * obj0 = 0 ; | |
11407 | PyObject * obj1 = 0 ; | |
11408 | char * kwnames[] = { | |
11409 | (char *) "self",(char *) "htmlfile", NULL | |
11410 | }; | |
11411 | ||
11412 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
11413 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
11414 | if (!SWIG_IsOK(res1)) { | |
11415 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
11416 | } | |
11417 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
11418 | { | |
11419 | arg2 = wxString_in_helper(obj1); | |
11420 | if (arg2 == NULL) SWIG_fail; | |
11421 | temp2 = true; | |
11422 | } | |
11423 | { | |
11424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11425 | (arg1)->SetHtmlFile((wxString const &)*arg2); | |
11426 | wxPyEndAllowThreads(__tstate); | |
11427 | if (PyErr_Occurred()) SWIG_fail; | |
11428 | } | |
11429 | resultobj = SWIG_Py_Void(); | |
11430 | { | |
11431 | if (temp2) | |
11432 | delete arg2; | |
11433 | } | |
11434 | return resultobj; | |
11435 | fail: | |
11436 | { | |
11437 | if (temp2) | |
11438 | delete arg2; | |
11439 | } | |
11440 | return NULL; | |
11441 | } | |
11442 | ||
11443 | ||
11444 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11445 | PyObject *resultobj = 0; | |
11446 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
11447 | wxString *arg2 = 0 ; | |
11448 | int arg3 = (int) wxPAGE_ALL ; | |
11449 | void *argp1 = 0 ; | |
11450 | int res1 = 0 ; | |
11451 | bool temp2 = false ; | |
11452 | int val3 ; | |
11453 | int ecode3 = 0 ; | |
11454 | PyObject * obj0 = 0 ; | |
11455 | PyObject * obj1 = 0 ; | |
11456 | PyObject * obj2 = 0 ; | |
11457 | char * kwnames[] = { | |
11458 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
11459 | }; | |
11460 | ||
11461 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
11462 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
11463 | if (!SWIG_IsOK(res1)) { | |
11464 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
11465 | } | |
11466 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
11467 | { | |
11468 | arg2 = wxString_in_helper(obj1); | |
11469 | if (arg2 == NULL) SWIG_fail; | |
11470 | temp2 = true; | |
11471 | } | |
11472 | if (obj2) { | |
11473 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11474 | if (!SWIG_IsOK(ecode3)) { | |
11475 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'"); | |
11476 | } | |
11477 | arg3 = static_cast< int >(val3); | |
11478 | } | |
11479 | { | |
11480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11481 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
11482 | wxPyEndAllowThreads(__tstate); | |
11483 | if (PyErr_Occurred()) SWIG_fail; | |
11484 | } | |
11485 | resultobj = SWIG_Py_Void(); | |
11486 | { | |
11487 | if (temp2) | |
11488 | delete arg2; | |
11489 | } | |
11490 | return resultobj; | |
11491 | fail: | |
11492 | { | |
11493 | if (temp2) | |
11494 | delete arg2; | |
11495 | } | |
11496 | return NULL; | |
11497 | } | |
11498 | ||
11499 | ||
11500 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11501 | PyObject *resultobj = 0; | |
11502 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
11503 | wxString *arg2 = 0 ; | |
11504 | int arg3 = (int) wxPAGE_ALL ; | |
11505 | void *argp1 = 0 ; | |
11506 | int res1 = 0 ; | |
11507 | bool temp2 = false ; | |
11508 | int val3 ; | |
11509 | int ecode3 = 0 ; | |
11510 | PyObject * obj0 = 0 ; | |
11511 | PyObject * obj1 = 0 ; | |
11512 | PyObject * obj2 = 0 ; | |
11513 | char * kwnames[] = { | |
11514 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
11515 | }; | |
11516 | ||
11517 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
11518 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
11519 | if (!SWIG_IsOK(res1)) { | |
11520 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
11521 | } | |
11522 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
11523 | { | |
11524 | arg2 = wxString_in_helper(obj1); | |
11525 | if (arg2 == NULL) SWIG_fail; | |
11526 | temp2 = true; | |
11527 | } | |
11528 | if (obj2) { | |
11529 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11530 | if (!SWIG_IsOK(ecode3)) { | |
11531 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'"); | |
11532 | } | |
11533 | arg3 = static_cast< int >(val3); | |
11534 | } | |
11535 | { | |
11536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11537 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
11538 | wxPyEndAllowThreads(__tstate); | |
11539 | if (PyErr_Occurred()) SWIG_fail; | |
11540 | } | |
11541 | resultobj = SWIG_Py_Void(); | |
11542 | { | |
11543 | if (temp2) | |
11544 | delete arg2; | |
11545 | } | |
11546 | return resultobj; | |
11547 | fail: | |
11548 | { | |
11549 | if (temp2) | |
11550 | delete arg2; | |
11551 | } | |
11552 | return NULL; | |
11553 | } | |
11554 | ||
11555 | ||
11556 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11557 | PyObject *resultobj = 0; | |
11558 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
11559 | wxString arg2 ; | |
11560 | wxString arg3 ; | |
11561 | PyObject *arg4 = (PyObject *) NULL ; | |
11562 | void *argp1 = 0 ; | |
11563 | int res1 = 0 ; | |
11564 | PyObject * obj0 = 0 ; | |
11565 | PyObject * obj1 = 0 ; | |
11566 | PyObject * obj2 = 0 ; | |
11567 | PyObject * obj3 = 0 ; | |
11568 | char * kwnames[] = { | |
11569 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
11570 | }; | |
11571 | ||
11572 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11573 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
11574 | if (!SWIG_IsOK(res1)) { | |
11575 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
11576 | } | |
11577 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
11578 | { | |
11579 | wxString* sptr = wxString_in_helper(obj1); | |
11580 | if (sptr == NULL) SWIG_fail; | |
11581 | arg2 = *sptr; | |
11582 | delete sptr; | |
11583 | } | |
11584 | { | |
11585 | wxString* sptr = wxString_in_helper(obj2); | |
11586 | if (sptr == NULL) SWIG_fail; | |
11587 | arg3 = *sptr; | |
11588 | delete sptr; | |
11589 | } | |
11590 | if (obj3) { | |
11591 | arg4 = obj3; | |
11592 | } | |
11593 | { | |
11594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11595 | wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4); | |
11596 | wxPyEndAllowThreads(__tstate); | |
11597 | if (PyErr_Occurred()) SWIG_fail; | |
11598 | } | |
11599 | resultobj = SWIG_Py_Void(); | |
11600 | return resultobj; | |
11601 | fail: | |
11602 | return NULL; | |
11603 | } | |
11604 | ||
11605 | ||
11606 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11607 | PyObject *resultobj = 0; | |
11608 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
11609 | int arg2 = (int) -1 ; | |
11610 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11611 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11612 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
11613 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
11614 | void *argp1 = 0 ; | |
11615 | int res1 = 0 ; | |
11616 | int val2 ; | |
11617 | int ecode2 = 0 ; | |
11618 | bool temp3 = false ; | |
11619 | bool temp4 = false ; | |
11620 | PyObject * obj0 = 0 ; | |
11621 | PyObject * obj1 = 0 ; | |
11622 | PyObject * obj2 = 0 ; | |
11623 | PyObject * obj3 = 0 ; | |
11624 | char * kwnames[] = { | |
11625 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
11626 | }; | |
11627 | ||
11628 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11629 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
11630 | if (!SWIG_IsOK(res1)) { | |
11631 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
11632 | } | |
11633 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
11634 | if (obj1) { | |
11635 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11636 | if (!SWIG_IsOK(ecode2)) { | |
11637 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
11638 | } | |
11639 | arg2 = static_cast< int >(val2); | |
11640 | } | |
11641 | if (obj2) { | |
11642 | { | |
11643 | arg3 = wxString_in_helper(obj2); | |
11644 | if (arg3 == NULL) SWIG_fail; | |
11645 | temp3 = true; | |
8edf1c75 | 11646 | } |
554f62e9 RD |
11647 | } |
11648 | if (obj3) { | |
d14a1e28 | 11649 | { |
554f62e9 RD |
11650 | arg4 = wxString_in_helper(obj3); |
11651 | if (arg4 == NULL) SWIG_fail; | |
11652 | temp4 = true; | |
d14a1e28 | 11653 | } |
554f62e9 RD |
11654 | } |
11655 | { | |
11656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11657 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
11658 | wxPyEndAllowThreads(__tstate); | |
11659 | if (PyErr_Occurred()) SWIG_fail; | |
11660 | } | |
11661 | resultobj = SWIG_Py_Void(); | |
11662 | { | |
11663 | if (temp3) | |
11664 | delete arg3; | |
11665 | } | |
11666 | { | |
11667 | if (temp4) | |
11668 | delete arg4; | |
11669 | } | |
11670 | return resultobj; | |
11671 | fail: | |
11672 | { | |
11673 | if (temp3) | |
11674 | delete arg3; | |
11675 | } | |
11676 | { | |
11677 | if (temp4) | |
11678 | delete arg4; | |
11679 | } | |
11680 | return NULL; | |
11681 | } | |
11682 | ||
11683 | ||
11684 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11685 | PyObject *resultobj = 0; | |
11686 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
11687 | float arg2 = (float) 25.2 ; | |
11688 | float arg3 = (float) 25.2 ; | |
11689 | float arg4 = (float) 25.2 ; | |
11690 | float arg5 = (float) 25.2 ; | |
11691 | float arg6 = (float) 5 ; | |
11692 | void *argp1 = 0 ; | |
11693 | int res1 = 0 ; | |
11694 | float val2 ; | |
11695 | int ecode2 = 0 ; | |
11696 | float val3 ; | |
11697 | int ecode3 = 0 ; | |
11698 | float val4 ; | |
11699 | int ecode4 = 0 ; | |
11700 | float val5 ; | |
11701 | int ecode5 = 0 ; | |
11702 | float val6 ; | |
11703 | int ecode6 = 0 ; | |
11704 | PyObject * obj0 = 0 ; | |
11705 | PyObject * obj1 = 0 ; | |
11706 | PyObject * obj2 = 0 ; | |
11707 | PyObject * obj3 = 0 ; | |
11708 | PyObject * obj4 = 0 ; | |
11709 | PyObject * obj5 = 0 ; | |
11710 | char * kwnames[] = { | |
11711 | (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL | |
11712 | }; | |
11713 | ||
11714 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
11715 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
11716 | if (!SWIG_IsOK(res1)) { | |
11717 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
11718 | } | |
11719 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
11720 | if (obj1) { | |
11721 | ecode2 = SWIG_AsVal_float(obj1, &val2); | |
11722 | if (!SWIG_IsOK(ecode2)) { | |
11723 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'"); | |
11724 | } | |
11725 | arg2 = static_cast< float >(val2); | |
11726 | } | |
11727 | if (obj2) { | |
11728 | ecode3 = SWIG_AsVal_float(obj2, &val3); | |
11729 | if (!SWIG_IsOK(ecode3)) { | |
11730 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'"); | |
11731 | } | |
11732 | arg3 = static_cast< float >(val3); | |
11733 | } | |
11734 | if (obj3) { | |
11735 | ecode4 = SWIG_AsVal_float(obj3, &val4); | |
11736 | if (!SWIG_IsOK(ecode4)) { | |
11737 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'"); | |
11738 | } | |
11739 | arg4 = static_cast< float >(val4); | |
11740 | } | |
11741 | if (obj4) { | |
11742 | ecode5 = SWIG_AsVal_float(obj4, &val5); | |
11743 | if (!SWIG_IsOK(ecode5)) { | |
11744 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'"); | |
11745 | } | |
11746 | arg5 = static_cast< float >(val5); | |
11747 | } | |
11748 | if (obj5) { | |
11749 | ecode6 = SWIG_AsVal_float(obj5, &val6); | |
11750 | if (!SWIG_IsOK(ecode6)) { | |
11751 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'"); | |
11752 | } | |
11753 | arg6 = static_cast< float >(val6); | |
11754 | } | |
11755 | { | |
11756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11757 | (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6); | |
11758 | wxPyEndAllowThreads(__tstate); | |
11759 | if (PyErr_Occurred()) SWIG_fail; | |
11760 | } | |
11761 | resultobj = SWIG_Py_Void(); | |
11762 | return resultobj; | |
11763 | fail: | |
11764 | return NULL; | |
d14a1e28 RD |
11765 | } |
11766 | ||
11767 | ||
554f62e9 RD |
11768 | SWIGINTERN PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11769 | PyObject *resultobj = 0; | |
11770 | wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; | |
11771 | void *argp1 = 0 ; | |
11772 | int res1 = 0 ; | |
11773 | PyObject * obj0 = 0 ; | |
11774 | char * kwnames[] = { | |
11775 | (char *) "filter", NULL | |
11776 | }; | |
11777 | ||
11778 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) SWIG_fail; | |
11779 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlFilter, 0 | 0 ); | |
11780 | if (!SWIG_IsOK(res1)) { | |
11781 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'"); | |
11782 | } | |
11783 | arg1 = reinterpret_cast< wxHtmlFilter * >(argp1); | |
11784 | { | |
11785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11786 | wxHtmlPrintout::AddFilter(arg1); | |
11787 | wxPyEndAllowThreads(__tstate); | |
11788 | if (PyErr_Occurred()) SWIG_fail; | |
11789 | } | |
11790 | resultobj = SWIG_Py_Void(); | |
11791 | return resultobj; | |
11792 | fail: | |
11793 | return NULL; | |
d14a1e28 RD |
11794 | } |
11795 | ||
11796 | ||
554f62e9 RD |
11797 | SWIGINTERN PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11798 | PyObject *resultobj = 0; | |
11799 | ||
11800 | if (!SWIG_Python_UnpackTuple(args,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail; | |
11801 | { | |
11802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11803 | wxHtmlPrintout::CleanUpStatics(); | |
11804 | wxPyEndAllowThreads(__tstate); | |
11805 | if (PyErr_Occurred()) SWIG_fail; | |
11806 | } | |
11807 | resultobj = SWIG_Py_Void(); | |
11808 | return resultobj; | |
11809 | fail: | |
11810 | return NULL; | |
d14a1e28 RD |
11811 | } |
11812 | ||
11813 | ||
554f62e9 RD |
11814 | SWIGINTERN PyObject *HtmlPrintout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11815 | PyObject *obj; | |
11816 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11817 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout, SWIG_NewClientData(obj)); | |
11818 | return SWIG_Py_Void(); | |
d14a1e28 RD |
11819 | } |
11820 | ||
554f62e9 RD |
11821 | SWIGINTERN PyObject *HtmlPrintout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11822 | return SWIG_Python_InitShadowInstance(args); | |
11823 | } | |
d14a1e28 | 11824 | |
554f62e9 RD |
11825 | SWIGINTERN PyObject *_wrap_new_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11826 | PyObject *resultobj = 0; | |
11827 | wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; | |
11828 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
11829 | wxWindow *arg2 = (wxWindow *) NULL ; | |
11830 | wxHtmlEasyPrinting *result = 0 ; | |
11831 | bool temp1 = false ; | |
11832 | void *argp2 = 0 ; | |
11833 | int res2 = 0 ; | |
11834 | PyObject * obj0 = 0 ; | |
11835 | PyObject * obj1 = 0 ; | |
11836 | char * kwnames[] = { | |
11837 | (char *) "name",(char *) "parentWindow", NULL | |
11838 | }; | |
11839 | ||
11840 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) SWIG_fail; | |
11841 | if (obj0) { | |
093d3ff1 | 11842 | { |
554f62e9 RD |
11843 | arg1 = wxString_in_helper(obj0); |
11844 | if (arg1 == NULL) SWIG_fail; | |
11845 | temp1 = true; | |
093d3ff1 | 11846 | } |
554f62e9 RD |
11847 | } |
11848 | if (obj1) { | |
11849 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
11850 | if (!SWIG_IsOK(res2)) { | |
11851 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
d14a1e28 | 11852 | } |
554f62e9 RD |
11853 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
11854 | } | |
11855 | { | |
11856 | if (!wxPyCheckForApp()) SWIG_fail; | |
11857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11858 | result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2); | |
11859 | wxPyEndAllowThreads(__tstate); | |
11860 | if (PyErr_Occurred()) SWIG_fail; | |
11861 | } | |
11862 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_NEW | 0 ); | |
11863 | { | |
11864 | if (temp1) | |
11865 | delete arg1; | |
11866 | } | |
11867 | return resultobj; | |
11868 | fail: | |
11869 | { | |
11870 | if (temp1) | |
11871 | delete arg1; | |
11872 | } | |
11873 | return NULL; | |
d14a1e28 RD |
11874 | } |
11875 | ||
11876 | ||
554f62e9 RD |
11877 | SWIGINTERN PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11878 | PyObject *resultobj = 0; | |
11879 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
11880 | void *argp1 = 0 ; | |
11881 | int res1 = 0 ; | |
11882 | PyObject *swig_obj[1] ; | |
11883 | ||
11884 | if (!args) SWIG_fail; | |
11885 | swig_obj[0] = args; | |
11886 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_DISOWN | 0 ); | |
11887 | if (!SWIG_IsOK(res1)) { | |
11888 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
11889 | } | |
11890 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
11891 | { | |
11892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11893 | delete arg1; | |
d14a1e28 | 11894 | |
554f62e9 RD |
11895 | wxPyEndAllowThreads(__tstate); |
11896 | if (PyErr_Occurred()) SWIG_fail; | |
11897 | } | |
11898 | resultobj = SWIG_Py_Void(); | |
11899 | return resultobj; | |
11900 | fail: | |
11901 | return NULL; | |
11902 | } | |
11903 | ||
11904 | ||
11905 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11906 | PyObject *resultobj = 0; | |
11907 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
11908 | wxString *arg2 = 0 ; | |
11909 | void *argp1 = 0 ; | |
11910 | int res1 = 0 ; | |
11911 | bool temp2 = false ; | |
11912 | PyObject * obj0 = 0 ; | |
11913 | PyObject * obj1 = 0 ; | |
11914 | char * kwnames[] = { | |
11915 | (char *) "self",(char *) "htmlfile", NULL | |
11916 | }; | |
11917 | ||
11918 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
11919 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
11920 | if (!SWIG_IsOK(res1)) { | |
11921 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
11922 | } | |
11923 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
11924 | { | |
11925 | arg2 = wxString_in_helper(obj1); | |
11926 | if (arg2 == NULL) SWIG_fail; | |
11927 | temp2 = true; | |
11928 | } | |
11929 | { | |
11930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11931 | (arg1)->PreviewFile((wxString const &)*arg2); | |
11932 | wxPyEndAllowThreads(__tstate); | |
11933 | if (PyErr_Occurred()) SWIG_fail; | |
11934 | } | |
11935 | resultobj = SWIG_Py_Void(); | |
11936 | { | |
11937 | if (temp2) | |
11938 | delete arg2; | |
11939 | } | |
11940 | return resultobj; | |
11941 | fail: | |
11942 | { | |
11943 | if (temp2) | |
11944 | delete arg2; | |
11945 | } | |
11946 | return NULL; | |
11947 | } | |
11948 | ||
11949 | ||
11950 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11951 | PyObject *resultobj = 0; | |
11952 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
11953 | wxString *arg2 = 0 ; | |
11954 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11955 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11956 | void *argp1 = 0 ; | |
11957 | int res1 = 0 ; | |
11958 | bool temp2 = false ; | |
11959 | bool temp3 = false ; | |
11960 | PyObject * obj0 = 0 ; | |
11961 | PyObject * obj1 = 0 ; | |
11962 | PyObject * obj2 = 0 ; | |
11963 | char * kwnames[] = { | |
11964 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
11965 | }; | |
11966 | ||
11967 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
11968 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
11969 | if (!SWIG_IsOK(res1)) { | |
11970 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
11971 | } | |
11972 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
11973 | { | |
11974 | arg2 = wxString_in_helper(obj1); | |
11975 | if (arg2 == NULL) SWIG_fail; | |
11976 | temp2 = true; | |
11977 | } | |
11978 | if (obj2) { | |
d14a1e28 | 11979 | { |
554f62e9 RD |
11980 | arg3 = wxString_in_helper(obj2); |
11981 | if (arg3 == NULL) SWIG_fail; | |
11982 | temp3 = true; | |
d14a1e28 | 11983 | } |
554f62e9 RD |
11984 | } |
11985 | { | |
11986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11987 | (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3); | |
11988 | wxPyEndAllowThreads(__tstate); | |
11989 | if (PyErr_Occurred()) SWIG_fail; | |
11990 | } | |
11991 | resultobj = SWIG_Py_Void(); | |
11992 | { | |
11993 | if (temp2) | |
11994 | delete arg2; | |
11995 | } | |
11996 | { | |
11997 | if (temp3) | |
11998 | delete arg3; | |
11999 | } | |
12000 | return resultobj; | |
12001 | fail: | |
12002 | { | |
12003 | if (temp2) | |
12004 | delete arg2; | |
12005 | } | |
12006 | { | |
12007 | if (temp3) | |
12008 | delete arg3; | |
12009 | } | |
12010 | return NULL; | |
d14a1e28 RD |
12011 | } |
12012 | ||
12013 | ||
554f62e9 RD |
12014 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12015 | PyObject *resultobj = 0; | |
12016 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12017 | wxString *arg2 = 0 ; | |
12018 | void *argp1 = 0 ; | |
12019 | int res1 = 0 ; | |
12020 | bool temp2 = false ; | |
12021 | PyObject * obj0 = 0 ; | |
12022 | PyObject * obj1 = 0 ; | |
12023 | char * kwnames[] = { | |
12024 | (char *) "self",(char *) "htmlfile", NULL | |
12025 | }; | |
12026 | ||
12027 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
12028 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12029 | if (!SWIG_IsOK(res1)) { | |
12030 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12031 | } | |
12032 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12033 | { | |
12034 | arg2 = wxString_in_helper(obj1); | |
12035 | if (arg2 == NULL) SWIG_fail; | |
12036 | temp2 = true; | |
12037 | } | |
12038 | { | |
12039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12040 | (arg1)->PrintFile((wxString const &)*arg2); | |
12041 | wxPyEndAllowThreads(__tstate); | |
12042 | if (PyErr_Occurred()) SWIG_fail; | |
12043 | } | |
12044 | resultobj = SWIG_Py_Void(); | |
12045 | { | |
12046 | if (temp2) | |
12047 | delete arg2; | |
12048 | } | |
12049 | return resultobj; | |
12050 | fail: | |
12051 | { | |
12052 | if (temp2) | |
12053 | delete arg2; | |
12054 | } | |
12055 | return NULL; | |
12056 | } | |
12057 | ||
12058 | ||
12059 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12060 | PyObject *resultobj = 0; | |
12061 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12062 | wxString *arg2 = 0 ; | |
12063 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12064 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12065 | void *argp1 = 0 ; | |
12066 | int res1 = 0 ; | |
12067 | bool temp2 = false ; | |
12068 | bool temp3 = false ; | |
12069 | PyObject * obj0 = 0 ; | |
12070 | PyObject * obj1 = 0 ; | |
12071 | PyObject * obj2 = 0 ; | |
12072 | char * kwnames[] = { | |
12073 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
12074 | }; | |
12075 | ||
12076 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12077 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12078 | if (!SWIG_IsOK(res1)) { | |
12079 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12080 | } | |
12081 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12082 | { | |
12083 | arg2 = wxString_in_helper(obj1); | |
12084 | if (arg2 == NULL) SWIG_fail; | |
12085 | temp2 = true; | |
12086 | } | |
12087 | if (obj2) { | |
d14a1e28 | 12088 | { |
554f62e9 RD |
12089 | arg3 = wxString_in_helper(obj2); |
12090 | if (arg3 == NULL) SWIG_fail; | |
12091 | temp3 = true; | |
d14a1e28 | 12092 | } |
554f62e9 RD |
12093 | } |
12094 | { | |
12095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12096 | (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3); | |
12097 | wxPyEndAllowThreads(__tstate); | |
12098 | if (PyErr_Occurred()) SWIG_fail; | |
12099 | } | |
12100 | resultobj = SWIG_Py_Void(); | |
12101 | { | |
12102 | if (temp2) | |
12103 | delete arg2; | |
12104 | } | |
12105 | { | |
12106 | if (temp3) | |
12107 | delete arg3; | |
12108 | } | |
12109 | return resultobj; | |
12110 | fail: | |
12111 | { | |
12112 | if (temp2) | |
12113 | delete arg2; | |
12114 | } | |
12115 | { | |
12116 | if (temp3) | |
12117 | delete arg3; | |
12118 | } | |
12119 | return NULL; | |
d14a1e28 RD |
12120 | } |
12121 | ||
12122 | ||
554f62e9 RD |
12123 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12124 | PyObject *resultobj = 0; | |
12125 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12126 | void *argp1 = 0 ; | |
12127 | int res1 = 0 ; | |
12128 | PyObject *swig_obj[1] ; | |
12129 | ||
12130 | if (!args) SWIG_fail; | |
12131 | swig_obj[0] = args; | |
12132 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12133 | if (!SWIG_IsOK(res1)) { | |
12134 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12135 | } | |
12136 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12137 | { | |
12138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12139 | (arg1)->PageSetup(); | |
12140 | wxPyEndAllowThreads(__tstate); | |
12141 | if (PyErr_Occurred()) SWIG_fail; | |
12142 | } | |
12143 | resultobj = SWIG_Py_Void(); | |
12144 | return resultobj; | |
12145 | fail: | |
12146 | return NULL; | |
12147 | } | |
12148 | ||
12149 | ||
12150 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12151 | PyObject *resultobj = 0; | |
12152 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12153 | wxString *arg2 = 0 ; | |
12154 | int arg3 = (int) wxPAGE_ALL ; | |
12155 | void *argp1 = 0 ; | |
12156 | int res1 = 0 ; | |
12157 | bool temp2 = false ; | |
12158 | int val3 ; | |
12159 | int ecode3 = 0 ; | |
12160 | PyObject * obj0 = 0 ; | |
12161 | PyObject * obj1 = 0 ; | |
12162 | PyObject * obj2 = 0 ; | |
12163 | char * kwnames[] = { | |
12164 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
12165 | }; | |
12166 | ||
12167 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12168 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12169 | if (!SWIG_IsOK(res1)) { | |
12170 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12171 | } | |
12172 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12173 | { | |
12174 | arg2 = wxString_in_helper(obj1); | |
12175 | if (arg2 == NULL) SWIG_fail; | |
12176 | temp2 = true; | |
12177 | } | |
12178 | if (obj2) { | |
12179 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12180 | if (!SWIG_IsOK(ecode3)) { | |
12181 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'"); | |
12182 | } | |
12183 | arg3 = static_cast< int >(val3); | |
12184 | } | |
12185 | { | |
12186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12187 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
12188 | wxPyEndAllowThreads(__tstate); | |
12189 | if (PyErr_Occurred()) SWIG_fail; | |
12190 | } | |
12191 | resultobj = SWIG_Py_Void(); | |
12192 | { | |
12193 | if (temp2) | |
12194 | delete arg2; | |
12195 | } | |
12196 | return resultobj; | |
12197 | fail: | |
12198 | { | |
12199 | if (temp2) | |
12200 | delete arg2; | |
12201 | } | |
12202 | return NULL; | |
12203 | } | |
12204 | ||
12205 | ||
12206 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12207 | PyObject *resultobj = 0; | |
12208 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12209 | wxString *arg2 = 0 ; | |
12210 | int arg3 = (int) wxPAGE_ALL ; | |
12211 | void *argp1 = 0 ; | |
12212 | int res1 = 0 ; | |
12213 | bool temp2 = false ; | |
12214 | int val3 ; | |
12215 | int ecode3 = 0 ; | |
12216 | PyObject * obj0 = 0 ; | |
12217 | PyObject * obj1 = 0 ; | |
12218 | PyObject * obj2 = 0 ; | |
12219 | char * kwnames[] = { | |
12220 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
12221 | }; | |
12222 | ||
12223 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12224 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12225 | if (!SWIG_IsOK(res1)) { | |
12226 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12227 | } | |
12228 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12229 | { | |
12230 | arg2 = wxString_in_helper(obj1); | |
12231 | if (arg2 == NULL) SWIG_fail; | |
12232 | temp2 = true; | |
12233 | } | |
12234 | if (obj2) { | |
12235 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12236 | if (!SWIG_IsOK(ecode3)) { | |
12237 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'"); | |
12238 | } | |
12239 | arg3 = static_cast< int >(val3); | |
12240 | } | |
12241 | { | |
12242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12243 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
12244 | wxPyEndAllowThreads(__tstate); | |
12245 | if (PyErr_Occurred()) SWIG_fail; | |
12246 | } | |
12247 | resultobj = SWIG_Py_Void(); | |
12248 | { | |
12249 | if (temp2) | |
12250 | delete arg2; | |
12251 | } | |
12252 | return resultobj; | |
12253 | fail: | |
12254 | { | |
12255 | if (temp2) | |
12256 | delete arg2; | |
12257 | } | |
12258 | return NULL; | |
12259 | } | |
12260 | ||
12261 | ||
12262 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12263 | PyObject *resultobj = 0; | |
12264 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12265 | wxString arg2 ; | |
12266 | wxString arg3 ; | |
12267 | PyObject *arg4 = (PyObject *) NULL ; | |
12268 | void *argp1 = 0 ; | |
12269 | int res1 = 0 ; | |
12270 | PyObject * obj0 = 0 ; | |
12271 | PyObject * obj1 = 0 ; | |
12272 | PyObject * obj2 = 0 ; | |
12273 | PyObject * obj3 = 0 ; | |
12274 | char * kwnames[] = { | |
12275 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
12276 | }; | |
12277 | ||
12278 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12279 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12280 | if (!SWIG_IsOK(res1)) { | |
12281 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12282 | } | |
12283 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12284 | { | |
12285 | wxString* sptr = wxString_in_helper(obj1); | |
12286 | if (sptr == NULL) SWIG_fail; | |
12287 | arg2 = *sptr; | |
12288 | delete sptr; | |
12289 | } | |
12290 | { | |
12291 | wxString* sptr = wxString_in_helper(obj2); | |
12292 | if (sptr == NULL) SWIG_fail; | |
12293 | arg3 = *sptr; | |
12294 | delete sptr; | |
12295 | } | |
12296 | if (obj3) { | |
12297 | arg4 = obj3; | |
12298 | } | |
12299 | { | |
12300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12301 | wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4); | |
12302 | wxPyEndAllowThreads(__tstate); | |
12303 | if (PyErr_Occurred()) SWIG_fail; | |
12304 | } | |
12305 | resultobj = SWIG_Py_Void(); | |
12306 | return resultobj; | |
12307 | fail: | |
12308 | return NULL; | |
12309 | } | |
12310 | ||
12311 | ||
12312 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12313 | PyObject *resultobj = 0; | |
12314 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12315 | int arg2 = (int) -1 ; | |
12316 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12317 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12318 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12319 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12320 | void *argp1 = 0 ; | |
12321 | int res1 = 0 ; | |
12322 | int val2 ; | |
12323 | int ecode2 = 0 ; | |
12324 | bool temp3 = false ; | |
12325 | bool temp4 = false ; | |
12326 | PyObject * obj0 = 0 ; | |
12327 | PyObject * obj1 = 0 ; | |
12328 | PyObject * obj2 = 0 ; | |
12329 | PyObject * obj3 = 0 ; | |
12330 | char * kwnames[] = { | |
12331 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
12332 | }; | |
12333 | ||
12334 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12335 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12336 | if (!SWIG_IsOK(res1)) { | |
12337 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12338 | } | |
12339 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12340 | if (obj1) { | |
12341 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12342 | if (!SWIG_IsOK(ecode2)) { | |
12343 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
12344 | } | |
12345 | arg2 = static_cast< int >(val2); | |
12346 | } | |
12347 | if (obj2) { | |
d14a1e28 | 12348 | { |
554f62e9 RD |
12349 | arg3 = wxString_in_helper(obj2); |
12350 | if (arg3 == NULL) SWIG_fail; | |
12351 | temp3 = true; | |
d14a1e28 | 12352 | } |
554f62e9 RD |
12353 | } |
12354 | if (obj3) { | |
d14a1e28 | 12355 | { |
554f62e9 RD |
12356 | arg4 = wxString_in_helper(obj3); |
12357 | if (arg4 == NULL) SWIG_fail; | |
12358 | temp4 = true; | |
d14a1e28 | 12359 | } |
554f62e9 RD |
12360 | } |
12361 | { | |
12362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12363 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
12364 | wxPyEndAllowThreads(__tstate); | |
12365 | if (PyErr_Occurred()) SWIG_fail; | |
12366 | } | |
12367 | resultobj = SWIG_Py_Void(); | |
12368 | { | |
12369 | if (temp3) | |
12370 | delete arg3; | |
12371 | } | |
12372 | { | |
12373 | if (temp4) | |
12374 | delete arg4; | |
12375 | } | |
12376 | return resultobj; | |
12377 | fail: | |
12378 | { | |
12379 | if (temp3) | |
12380 | delete arg3; | |
12381 | } | |
12382 | { | |
12383 | if (temp4) | |
12384 | delete arg4; | |
12385 | } | |
12386 | return NULL; | |
d14a1e28 RD |
12387 | } |
12388 | ||
12389 | ||
554f62e9 RD |
12390 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12391 | PyObject *resultobj = 0; | |
12392 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12393 | wxPrintData *result = 0 ; | |
12394 | void *argp1 = 0 ; | |
12395 | int res1 = 0 ; | |
12396 | PyObject *swig_obj[1] ; | |
12397 | ||
12398 | if (!args) SWIG_fail; | |
12399 | swig_obj[0] = args; | |
12400 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12401 | if (!SWIG_IsOK(res1)) { | |
12402 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12403 | } | |
12404 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12405 | { | |
12406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12407 | result = (wxPrintData *)(arg1)->GetPrintData(); | |
12408 | wxPyEndAllowThreads(__tstate); | |
12409 | if (PyErr_Occurred()) SWIG_fail; | |
12410 | } | |
12411 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 ); | |
12412 | return resultobj; | |
12413 | fail: | |
12414 | return NULL; | |
d14a1e28 RD |
12415 | } |
12416 | ||
12417 | ||
554f62e9 RD |
12418 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12419 | PyObject *resultobj = 0; | |
12420 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12421 | wxPageSetupDialogData *result = 0 ; | |
12422 | void *argp1 = 0 ; | |
12423 | int res1 = 0 ; | |
12424 | PyObject *swig_obj[1] ; | |
12425 | ||
12426 | if (!args) SWIG_fail; | |
12427 | swig_obj[0] = args; | |
12428 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12429 | if (!SWIG_IsOK(res1)) { | |
12430 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12431 | } | |
12432 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12433 | { | |
12434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12435 | result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData(); | |
12436 | wxPyEndAllowThreads(__tstate); | |
12437 | if (PyErr_Occurred()) SWIG_fail; | |
12438 | } | |
12439 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 ); | |
12440 | return resultobj; | |
12441 | fail: | |
12442 | return NULL; | |
12443 | } | |
12444 | ||
12445 | ||
12446 | SWIGINTERN PyObject *HtmlEasyPrinting_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12447 | PyObject *obj; | |
12448 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12449 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_NewClientData(obj)); | |
12450 | return SWIG_Py_Void(); | |
12451 | } | |
12452 | ||
12453 | SWIGINTERN PyObject *HtmlEasyPrinting_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12454 | return SWIG_Python_InitShadowInstance(args); | |
12455 | } | |
12456 | ||
12457 | SWIGINTERN PyObject *_wrap_new_HtmlBookRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12458 | PyObject *resultobj = 0; | |
12459 | wxString *arg1 = 0 ; | |
12460 | wxString *arg2 = 0 ; | |
12461 | wxString *arg3 = 0 ; | |
12462 | wxString *arg4 = 0 ; | |
12463 | wxHtmlBookRecord *result = 0 ; | |
12464 | bool temp1 = false ; | |
12465 | bool temp2 = false ; | |
12466 | bool temp3 = false ; | |
12467 | bool temp4 = false ; | |
12468 | PyObject * obj0 = 0 ; | |
12469 | PyObject * obj1 = 0 ; | |
12470 | PyObject * obj2 = 0 ; | |
12471 | PyObject * obj3 = 0 ; | |
12472 | char * kwnames[] = { | |
12473 | (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL | |
12474 | }; | |
12475 | ||
12476 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12477 | { | |
12478 | arg1 = wxString_in_helper(obj0); | |
12479 | if (arg1 == NULL) SWIG_fail; | |
12480 | temp1 = true; | |
12481 | } | |
12482 | { | |
12483 | arg2 = wxString_in_helper(obj1); | |
12484 | if (arg2 == NULL) SWIG_fail; | |
12485 | temp2 = true; | |
12486 | } | |
12487 | { | |
12488 | arg3 = wxString_in_helper(obj2); | |
12489 | if (arg3 == NULL) SWIG_fail; | |
12490 | temp3 = true; | |
12491 | } | |
12492 | { | |
12493 | arg4 = wxString_in_helper(obj3); | |
12494 | if (arg4 == NULL) SWIG_fail; | |
12495 | temp4 = true; | |
12496 | } | |
12497 | { | |
12498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12499 | result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
12500 | wxPyEndAllowThreads(__tstate); | |
12501 | if (PyErr_Occurred()) SWIG_fail; | |
12502 | } | |
12503 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_NEW | 0 ); | |
12504 | { | |
12505 | if (temp1) | |
12506 | delete arg1; | |
12507 | } | |
12508 | { | |
12509 | if (temp2) | |
12510 | delete arg2; | |
12511 | } | |
12512 | { | |
12513 | if (temp3) | |
12514 | delete arg3; | |
12515 | } | |
12516 | { | |
12517 | if (temp4) | |
12518 | delete arg4; | |
12519 | } | |
12520 | return resultobj; | |
12521 | fail: | |
12522 | { | |
12523 | if (temp1) | |
12524 | delete arg1; | |
12525 | } | |
12526 | { | |
12527 | if (temp2) | |
12528 | delete arg2; | |
12529 | } | |
12530 | { | |
12531 | if (temp3) | |
12532 | delete arg3; | |
12533 | } | |
12534 | { | |
12535 | if (temp4) | |
12536 | delete arg4; | |
12537 | } | |
12538 | return NULL; | |
d14a1e28 RD |
12539 | } |
12540 | ||
12541 | ||
554f62e9 RD |
12542 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12543 | PyObject *resultobj = 0; | |
12544 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
12545 | wxString result; | |
12546 | void *argp1 = 0 ; | |
12547 | int res1 = 0 ; | |
12548 | PyObject *swig_obj[1] ; | |
12549 | ||
12550 | if (!args) SWIG_fail; | |
12551 | swig_obj[0] = args; | |
12552 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
12553 | if (!SWIG_IsOK(res1)) { | |
12554 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
12555 | } | |
12556 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
12557 | { | |
12558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12559 | result = (arg1)->GetBookFile(); | |
12560 | wxPyEndAllowThreads(__tstate); | |
12561 | if (PyErr_Occurred()) SWIG_fail; | |
12562 | } | |
12563 | { | |
12564 | #if wxUSE_UNICODE | |
12565 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12566 | #else | |
12567 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12568 | #endif | |
12569 | } | |
12570 | return resultobj; | |
12571 | fail: | |
12572 | return NULL; | |
d14a1e28 RD |
12573 | } |
12574 | ||
12575 | ||
554f62e9 RD |
12576 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12577 | PyObject *resultobj = 0; | |
12578 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
12579 | wxString result; | |
12580 | void *argp1 = 0 ; | |
12581 | int res1 = 0 ; | |
12582 | PyObject *swig_obj[1] ; | |
12583 | ||
12584 | if (!args) SWIG_fail; | |
12585 | swig_obj[0] = args; | |
12586 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
12587 | if (!SWIG_IsOK(res1)) { | |
12588 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
12589 | } | |
12590 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
12591 | { | |
12592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12593 | result = (arg1)->GetTitle(); | |
12594 | wxPyEndAllowThreads(__tstate); | |
12595 | if (PyErr_Occurred()) SWIG_fail; | |
12596 | } | |
12597 | { | |
12598 | #if wxUSE_UNICODE | |
12599 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12600 | #else | |
12601 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12602 | #endif | |
12603 | } | |
12604 | return resultobj; | |
12605 | fail: | |
12606 | return NULL; | |
d14a1e28 RD |
12607 | } |
12608 | ||
12609 | ||
554f62e9 RD |
12610 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12611 | PyObject *resultobj = 0; | |
12612 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
12613 | wxString result; | |
12614 | void *argp1 = 0 ; | |
12615 | int res1 = 0 ; | |
12616 | PyObject *swig_obj[1] ; | |
12617 | ||
12618 | if (!args) SWIG_fail; | |
12619 | swig_obj[0] = args; | |
12620 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
12621 | if (!SWIG_IsOK(res1)) { | |
12622 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
12623 | } | |
12624 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
12625 | { | |
12626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12627 | result = (arg1)->GetStart(); | |
12628 | wxPyEndAllowThreads(__tstate); | |
12629 | if (PyErr_Occurred()) SWIG_fail; | |
12630 | } | |
12631 | { | |
12632 | #if wxUSE_UNICODE | |
12633 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12634 | #else | |
12635 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12636 | #endif | |
12637 | } | |
12638 | return resultobj; | |
12639 | fail: | |
12640 | return NULL; | |
d14a1e28 RD |
12641 | } |
12642 | ||
12643 | ||
554f62e9 RD |
12644 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12645 | PyObject *resultobj = 0; | |
12646 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
12647 | wxString result; | |
12648 | void *argp1 = 0 ; | |
12649 | int res1 = 0 ; | |
12650 | PyObject *swig_obj[1] ; | |
12651 | ||
12652 | if (!args) SWIG_fail; | |
12653 | swig_obj[0] = args; | |
12654 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
12655 | if (!SWIG_IsOK(res1)) { | |
12656 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
12657 | } | |
12658 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
12659 | { | |
12660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12661 | result = (arg1)->GetBasePath(); | |
12662 | wxPyEndAllowThreads(__tstate); | |
12663 | if (PyErr_Occurred()) SWIG_fail; | |
12664 | } | |
12665 | { | |
12666 | #if wxUSE_UNICODE | |
12667 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12668 | #else | |
12669 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12670 | #endif | |
12671 | } | |
12672 | return resultobj; | |
12673 | fail: | |
12674 | return NULL; | |
12675 | } | |
12676 | ||
12677 | ||
12678 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12679 | PyObject *resultobj = 0; | |
12680 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
12681 | int arg2 ; | |
12682 | int arg3 ; | |
12683 | void *argp1 = 0 ; | |
12684 | int res1 = 0 ; | |
12685 | int val2 ; | |
12686 | int ecode2 = 0 ; | |
12687 | int val3 ; | |
12688 | int ecode3 = 0 ; | |
12689 | PyObject * obj0 = 0 ; | |
12690 | PyObject * obj1 = 0 ; | |
12691 | PyObject * obj2 = 0 ; | |
12692 | char * kwnames[] = { | |
12693 | (char *) "self",(char *) "start",(char *) "end", NULL | |
12694 | }; | |
12695 | ||
12696 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12697 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
12698 | if (!SWIG_IsOK(res1)) { | |
12699 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
12700 | } | |
12701 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
12702 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12703 | if (!SWIG_IsOK(ecode2)) { | |
12704 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'"); | |
12705 | } | |
12706 | arg2 = static_cast< int >(val2); | |
12707 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12708 | if (!SWIG_IsOK(ecode3)) { | |
12709 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'"); | |
12710 | } | |
12711 | arg3 = static_cast< int >(val3); | |
12712 | { | |
12713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12714 | (arg1)->SetContentsRange(arg2,arg3); | |
12715 | wxPyEndAllowThreads(__tstate); | |
12716 | if (PyErr_Occurred()) SWIG_fail; | |
12717 | } | |
12718 | resultobj = SWIG_Py_Void(); | |
12719 | return resultobj; | |
12720 | fail: | |
12721 | return NULL; | |
d14a1e28 RD |
12722 | } |
12723 | ||
12724 | ||
554f62e9 RD |
12725 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12726 | PyObject *resultobj = 0; | |
12727 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
12728 | int result; | |
12729 | void *argp1 = 0 ; | |
12730 | int res1 = 0 ; | |
12731 | PyObject *swig_obj[1] ; | |
12732 | ||
12733 | if (!args) SWIG_fail; | |
12734 | swig_obj[0] = args; | |
12735 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
12736 | if (!SWIG_IsOK(res1)) { | |
12737 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
12738 | } | |
12739 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
12740 | { | |
12741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12742 | result = (int)(arg1)->GetContentsStart(); | |
12743 | wxPyEndAllowThreads(__tstate); | |
12744 | if (PyErr_Occurred()) SWIG_fail; | |
12745 | } | |
12746 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12747 | return resultobj; | |
12748 | fail: | |
12749 | return NULL; | |
d14a1e28 | 12750 | } |
554f62e9 RD |
12751 | |
12752 | ||
12753 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12754 | PyObject *resultobj = 0; | |
12755 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
12756 | int result; | |
12757 | void *argp1 = 0 ; | |
12758 | int res1 = 0 ; | |
12759 | PyObject *swig_obj[1] ; | |
12760 | ||
12761 | if (!args) SWIG_fail; | |
12762 | swig_obj[0] = args; | |
12763 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
12764 | if (!SWIG_IsOK(res1)) { | |
12765 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
12766 | } | |
12767 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
12768 | { | |
12769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12770 | result = (int)(arg1)->GetContentsEnd(); | |
12771 | wxPyEndAllowThreads(__tstate); | |
12772 | if (PyErr_Occurred()) SWIG_fail; | |
12773 | } | |
12774 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12775 | return resultobj; | |
12776 | fail: | |
12777 | return NULL; | |
12778 | } | |
12779 | ||
12780 | ||
12781 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12782 | PyObject *resultobj = 0; | |
12783 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
12784 | wxString *arg2 = 0 ; | |
12785 | void *argp1 = 0 ; | |
12786 | int res1 = 0 ; | |
12787 | bool temp2 = false ; | |
12788 | PyObject * obj0 = 0 ; | |
12789 | PyObject * obj1 = 0 ; | |
12790 | char * kwnames[] = { | |
12791 | (char *) "self",(char *) "title", NULL | |
12792 | }; | |
12793 | ||
12794 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail; | |
12795 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
12796 | if (!SWIG_IsOK(res1)) { | |
12797 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
12798 | } | |
12799 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
12800 | { | |
12801 | arg2 = wxString_in_helper(obj1); | |
12802 | if (arg2 == NULL) SWIG_fail; | |
12803 | temp2 = true; | |
12804 | } | |
12805 | { | |
12806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12807 | (arg1)->SetTitle((wxString const &)*arg2); | |
12808 | wxPyEndAllowThreads(__tstate); | |
12809 | if (PyErr_Occurred()) SWIG_fail; | |
12810 | } | |
12811 | resultobj = SWIG_Py_Void(); | |
12812 | { | |
12813 | if (temp2) | |
12814 | delete arg2; | |
12815 | } | |
12816 | return resultobj; | |
12817 | fail: | |
12818 | { | |
12819 | if (temp2) | |
12820 | delete arg2; | |
12821 | } | |
12822 | return NULL; | |
d14a1e28 RD |
12823 | } |
12824 | ||
12825 | ||
554f62e9 RD |
12826 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12827 | PyObject *resultobj = 0; | |
12828 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
12829 | wxString *arg2 = 0 ; | |
12830 | void *argp1 = 0 ; | |
12831 | int res1 = 0 ; | |
12832 | bool temp2 = false ; | |
12833 | PyObject * obj0 = 0 ; | |
12834 | PyObject * obj1 = 0 ; | |
12835 | char * kwnames[] = { | |
12836 | (char *) "self",(char *) "path", NULL | |
12837 | }; | |
12838 | ||
12839 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) SWIG_fail; | |
12840 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
12841 | if (!SWIG_IsOK(res1)) { | |
12842 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
12843 | } | |
12844 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
12845 | { | |
12846 | arg2 = wxString_in_helper(obj1); | |
12847 | if (arg2 == NULL) SWIG_fail; | |
12848 | temp2 = true; | |
12849 | } | |
12850 | { | |
12851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12852 | (arg1)->SetBasePath((wxString const &)*arg2); | |
12853 | wxPyEndAllowThreads(__tstate); | |
12854 | if (PyErr_Occurred()) SWIG_fail; | |
12855 | } | |
12856 | resultobj = SWIG_Py_Void(); | |
12857 | { | |
12858 | if (temp2) | |
12859 | delete arg2; | |
12860 | } | |
12861 | return resultobj; | |
12862 | fail: | |
12863 | { | |
12864 | if (temp2) | |
12865 | delete arg2; | |
12866 | } | |
12867 | return NULL; | |
d14a1e28 RD |
12868 | } |
12869 | ||
12870 | ||
554f62e9 RD |
12871 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12872 | PyObject *resultobj = 0; | |
12873 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
12874 | wxString *arg2 = 0 ; | |
12875 | void *argp1 = 0 ; | |
12876 | int res1 = 0 ; | |
12877 | bool temp2 = false ; | |
12878 | PyObject * obj0 = 0 ; | |
12879 | PyObject * obj1 = 0 ; | |
12880 | char * kwnames[] = { | |
12881 | (char *) "self",(char *) "start", NULL | |
12882 | }; | |
12883 | ||
12884 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) SWIG_fail; | |
12885 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
12886 | if (!SWIG_IsOK(res1)) { | |
12887 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
12888 | } | |
12889 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
12890 | { | |
12891 | arg2 = wxString_in_helper(obj1); | |
12892 | if (arg2 == NULL) SWIG_fail; | |
12893 | temp2 = true; | |
12894 | } | |
12895 | { | |
12896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12897 | (arg1)->SetStart((wxString const &)*arg2); | |
12898 | wxPyEndAllowThreads(__tstate); | |
12899 | if (PyErr_Occurred()) SWIG_fail; | |
12900 | } | |
12901 | resultobj = SWIG_Py_Void(); | |
12902 | { | |
12903 | if (temp2) | |
12904 | delete arg2; | |
12905 | } | |
12906 | return resultobj; | |
12907 | fail: | |
12908 | { | |
12909 | if (temp2) | |
12910 | delete arg2; | |
12911 | } | |
12912 | return NULL; | |
12913 | } | |
12914 | ||
12915 | ||
12916 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12917 | PyObject *resultobj = 0; | |
12918 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
12919 | wxString *arg2 = 0 ; | |
12920 | wxString result; | |
12921 | void *argp1 = 0 ; | |
12922 | int res1 = 0 ; | |
12923 | bool temp2 = false ; | |
12924 | PyObject * obj0 = 0 ; | |
12925 | PyObject * obj1 = 0 ; | |
12926 | char * kwnames[] = { | |
12927 | (char *) "self",(char *) "page", NULL | |
12928 | }; | |
12929 | ||
12930 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) SWIG_fail; | |
12931 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
12932 | if (!SWIG_IsOK(res1)) { | |
12933 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'"); | |
12934 | } | |
12935 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
12936 | { | |
12937 | arg2 = wxString_in_helper(obj1); | |
12938 | if (arg2 == NULL) SWIG_fail; | |
12939 | temp2 = true; | |
12940 | } | |
12941 | { | |
12942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12943 | result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2); | |
12944 | wxPyEndAllowThreads(__tstate); | |
12945 | if (PyErr_Occurred()) SWIG_fail; | |
12946 | } | |
12947 | { | |
12948 | #if wxUSE_UNICODE | |
12949 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12950 | #else | |
12951 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12952 | #endif | |
12953 | } | |
12954 | { | |
12955 | if (temp2) | |
12956 | delete arg2; | |
12957 | } | |
12958 | return resultobj; | |
12959 | fail: | |
12960 | { | |
12961 | if (temp2) | |
12962 | delete arg2; | |
12963 | } | |
12964 | return NULL; | |
d14a1e28 RD |
12965 | } |
12966 | ||
12967 | ||
554f62e9 RD |
12968 | SWIGINTERN PyObject *HtmlBookRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12969 | PyObject *obj; | |
12970 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12971 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord, SWIG_NewClientData(obj)); | |
12972 | return SWIG_Py_Void(); | |
d14a1e28 RD |
12973 | } |
12974 | ||
554f62e9 RD |
12975 | SWIGINTERN PyObject *HtmlBookRecord_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12976 | return SWIG_Python_InitShadowInstance(args); | |
12977 | } | |
d14a1e28 | 12978 | |
554f62e9 RD |
12979 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_Search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12980 | PyObject *resultobj = 0; | |
12981 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
12982 | bool result; | |
12983 | void *argp1 = 0 ; | |
12984 | int res1 = 0 ; | |
12985 | PyObject *swig_obj[1] ; | |
12986 | ||
12987 | if (!args) SWIG_fail; | |
12988 | swig_obj[0] = args; | |
12989 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
12990 | if (!SWIG_IsOK(res1)) { | |
12991 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
12992 | } | |
12993 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
12994 | { | |
12995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12996 | result = (bool)(arg1)->Search(); | |
12997 | wxPyEndAllowThreads(__tstate); | |
12998 | if (PyErr_Occurred()) SWIG_fail; | |
12999 | } | |
13000 | { | |
13001 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13002 | } | |
13003 | return resultobj; | |
13004 | fail: | |
13005 | return NULL; | |
d14a1e28 RD |
13006 | } |
13007 | ||
13008 | ||
554f62e9 RD |
13009 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13010 | PyObject *resultobj = 0; | |
13011 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13012 | bool result; | |
13013 | void *argp1 = 0 ; | |
13014 | int res1 = 0 ; | |
13015 | PyObject *swig_obj[1] ; | |
13016 | ||
13017 | if (!args) SWIG_fail; | |
13018 | swig_obj[0] = args; | |
13019 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13020 | if (!SWIG_IsOK(res1)) { | |
13021 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13022 | } | |
13023 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13024 | { | |
13025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13026 | result = (bool)(arg1)->IsActive(); | |
13027 | wxPyEndAllowThreads(__tstate); | |
13028 | if (PyErr_Occurred()) SWIG_fail; | |
13029 | } | |
13030 | { | |
13031 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13032 | } | |
13033 | return resultobj; | |
13034 | fail: | |
13035 | return NULL; | |
d14a1e28 RD |
13036 | } |
13037 | ||
13038 | ||
554f62e9 RD |
13039 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13040 | PyObject *resultobj = 0; | |
13041 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13042 | int result; | |
13043 | void *argp1 = 0 ; | |
13044 | int res1 = 0 ; | |
13045 | PyObject *swig_obj[1] ; | |
13046 | ||
13047 | if (!args) SWIG_fail; | |
13048 | swig_obj[0] = args; | |
13049 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13050 | if (!SWIG_IsOK(res1)) { | |
13051 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13052 | } | |
13053 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13054 | { | |
13055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13056 | result = (int)(arg1)->GetCurIndex(); | |
13057 | wxPyEndAllowThreads(__tstate); | |
13058 | if (PyErr_Occurred()) SWIG_fail; | |
13059 | } | |
13060 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13061 | return resultobj; | |
13062 | fail: | |
13063 | return NULL; | |
d14a1e28 RD |
13064 | } |
13065 | ||
13066 | ||
554f62e9 RD |
13067 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13068 | PyObject *resultobj = 0; | |
13069 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13070 | int result; | |
13071 | void *argp1 = 0 ; | |
13072 | int res1 = 0 ; | |
13073 | PyObject *swig_obj[1] ; | |
13074 | ||
13075 | if (!args) SWIG_fail; | |
13076 | swig_obj[0] = args; | |
13077 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13078 | if (!SWIG_IsOK(res1)) { | |
13079 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13080 | } | |
13081 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13082 | { | |
13083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13084 | result = (int)(arg1)->GetMaxIndex(); | |
13085 | wxPyEndAllowThreads(__tstate); | |
13086 | if (PyErr_Occurred()) SWIG_fail; | |
13087 | } | |
13088 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13089 | return resultobj; | |
13090 | fail: | |
13091 | return NULL; | |
d14a1e28 RD |
13092 | } |
13093 | ||
13094 | ||
554f62e9 RD |
13095 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13096 | PyObject *resultobj = 0; | |
13097 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13098 | wxString *result = 0 ; | |
13099 | void *argp1 = 0 ; | |
13100 | int res1 = 0 ; | |
13101 | PyObject *swig_obj[1] ; | |
13102 | ||
13103 | if (!args) SWIG_fail; | |
13104 | swig_obj[0] = args; | |
13105 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13106 | if (!SWIG_IsOK(res1)) { | |
13107 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13108 | } | |
13109 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13110 | { | |
13111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 13112 | { |
554f62e9 RD |
13113 | wxString const &_result_ref = (arg1)->GetName(); |
13114 | result = (wxString *) &_result_ref; | |
d14a1e28 | 13115 | } |
554f62e9 RD |
13116 | wxPyEndAllowThreads(__tstate); |
13117 | if (PyErr_Occurred()) SWIG_fail; | |
13118 | } | |
13119 | { | |
13120 | #if wxUSE_UNICODE | |
13121 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13122 | #else | |
13123 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13124 | #endif | |
13125 | } | |
13126 | return resultobj; | |
13127 | fail: | |
13128 | return NULL; | |
d14a1e28 RD |
13129 | } |
13130 | ||
13131 | ||
554f62e9 RD |
13132 | SWIGINTERN PyObject *HtmlSearchStatus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13133 | PyObject *obj; | |
13134 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13135 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus, SWIG_NewClientData(obj)); | |
13136 | return SWIG_Py_Void(); | |
13137 | } | |
13138 | ||
13139 | SWIGINTERN PyObject *_wrap_new_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13140 | PyObject *resultobj = 0; | |
13141 | wxHtmlHelpData *result = 0 ; | |
13142 | ||
13143 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlHelpData",0,0,0)) SWIG_fail; | |
13144 | { | |
13145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13146 | result = (wxHtmlHelpData *)new wxHtmlHelpData(); | |
13147 | wxPyEndAllowThreads(__tstate); | |
13148 | if (PyErr_Occurred()) SWIG_fail; | |
13149 | } | |
13150 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_NEW | 0 ); | |
13151 | return resultobj; | |
13152 | fail: | |
13153 | return NULL; | |
d14a1e28 RD |
13154 | } |
13155 | ||
13156 | ||
554f62e9 RD |
13157 | SWIGINTERN PyObject *_wrap_delete_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13158 | PyObject *resultobj = 0; | |
13159 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13160 | void *argp1 = 0 ; | |
13161 | int res1 = 0 ; | |
13162 | PyObject *swig_obj[1] ; | |
13163 | ||
13164 | if (!args) SWIG_fail; | |
13165 | swig_obj[0] = args; | |
13166 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_DISOWN | 0 ); | |
13167 | if (!SWIG_IsOK(res1)) { | |
13168 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13169 | } | |
13170 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13171 | { | |
13172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13173 | delete arg1; | |
d14a1e28 | 13174 | |
554f62e9 RD |
13175 | wxPyEndAllowThreads(__tstate); |
13176 | if (PyErr_Occurred()) SWIG_fail; | |
13177 | } | |
13178 | resultobj = SWIG_Py_Void(); | |
13179 | return resultobj; | |
13180 | fail: | |
13181 | return NULL; | |
13182 | } | |
13183 | ||
13184 | ||
13185 | SWIGINTERN PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13186 | PyObject *resultobj = 0; | |
13187 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13188 | wxString *arg2 = 0 ; | |
13189 | void *argp1 = 0 ; | |
13190 | int res1 = 0 ; | |
13191 | bool temp2 = false ; | |
13192 | PyObject * obj0 = 0 ; | |
13193 | PyObject * obj1 = 0 ; | |
13194 | char * kwnames[] = { | |
13195 | (char *) "self",(char *) "path", NULL | |
13196 | }; | |
13197 | ||
13198 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail; | |
13199 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13200 | if (!SWIG_IsOK(res1)) { | |
13201 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13202 | } | |
13203 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13204 | { | |
13205 | arg2 = wxString_in_helper(obj1); | |
13206 | if (arg2 == NULL) SWIG_fail; | |
13207 | temp2 = true; | |
13208 | } | |
13209 | { | |
13210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13211 | (arg1)->SetTempDir((wxString const &)*arg2); | |
13212 | wxPyEndAllowThreads(__tstate); | |
13213 | if (PyErr_Occurred()) SWIG_fail; | |
13214 | } | |
13215 | resultobj = SWIG_Py_Void(); | |
13216 | { | |
13217 | if (temp2) | |
13218 | delete arg2; | |
13219 | } | |
13220 | return resultobj; | |
13221 | fail: | |
13222 | { | |
13223 | if (temp2) | |
13224 | delete arg2; | |
13225 | } | |
13226 | return NULL; | |
13227 | } | |
13228 | ||
13229 | ||
13230 | SWIGINTERN PyObject *_wrap_HtmlHelpData_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13231 | PyObject *resultobj = 0; | |
13232 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13233 | wxString *arg2 = 0 ; | |
13234 | bool result; | |
13235 | void *argp1 = 0 ; | |
13236 | int res1 = 0 ; | |
13237 | bool temp2 = false ; | |
13238 | PyObject * obj0 = 0 ; | |
13239 | PyObject * obj1 = 0 ; | |
13240 | char * kwnames[] = { | |
13241 | (char *) "self",(char *) "book", NULL | |
13242 | }; | |
13243 | ||
13244 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) SWIG_fail; | |
13245 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13246 | if (!SWIG_IsOK(res1)) { | |
13247 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13248 | } | |
13249 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13250 | { | |
13251 | arg2 = wxString_in_helper(obj1); | |
13252 | if (arg2 == NULL) SWIG_fail; | |
13253 | temp2 = true; | |
13254 | } | |
13255 | { | |
13256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13257 | result = (bool)(arg1)->AddBook((wxString const &)*arg2); | |
13258 | wxPyEndAllowThreads(__tstate); | |
13259 | if (PyErr_Occurred()) SWIG_fail; | |
13260 | } | |
13261 | { | |
13262 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13263 | } | |
13264 | { | |
13265 | if (temp2) | |
13266 | delete arg2; | |
13267 | } | |
13268 | return resultobj; | |
13269 | fail: | |
13270 | { | |
13271 | if (temp2) | |
13272 | delete arg2; | |
13273 | } | |
13274 | return NULL; | |
13275 | } | |
13276 | ||
13277 | ||
13278 | SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13279 | PyObject *resultobj = 0; | |
13280 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13281 | wxString *arg2 = 0 ; | |
13282 | wxString result; | |
13283 | void *argp1 = 0 ; | |
13284 | int res1 = 0 ; | |
13285 | bool temp2 = false ; | |
13286 | PyObject * obj0 = 0 ; | |
13287 | PyObject * obj1 = 0 ; | |
13288 | char * kwnames[] = { | |
13289 | (char *) "self",(char *) "page", NULL | |
13290 | }; | |
13291 | ||
13292 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) SWIG_fail; | |
13293 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13294 | if (!SWIG_IsOK(res1)) { | |
13295 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13296 | } | |
13297 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13298 | { | |
13299 | arg2 = wxString_in_helper(obj1); | |
13300 | if (arg2 == NULL) SWIG_fail; | |
13301 | temp2 = true; | |
13302 | } | |
13303 | { | |
13304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13305 | result = (arg1)->FindPageByName((wxString const &)*arg2); | |
13306 | wxPyEndAllowThreads(__tstate); | |
13307 | if (PyErr_Occurred()) SWIG_fail; | |
13308 | } | |
13309 | { | |
d14a1e28 | 13310 | #if wxUSE_UNICODE |
554f62e9 | 13311 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13312 | #else |
554f62e9 | 13313 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13314 | #endif |
554f62e9 RD |
13315 | } |
13316 | { | |
13317 | if (temp2) | |
13318 | delete arg2; | |
13319 | } | |
13320 | return resultobj; | |
13321 | fail: | |
13322 | { | |
13323 | if (temp2) | |
13324 | delete arg2; | |
13325 | } | |
13326 | return NULL; | |
13327 | } | |
13328 | ||
13329 | ||
13330 | SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13331 | PyObject *resultobj = 0; | |
13332 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13333 | int arg2 ; | |
13334 | wxString result; | |
13335 | void *argp1 = 0 ; | |
13336 | int res1 = 0 ; | |
13337 | int val2 ; | |
13338 | int ecode2 = 0 ; | |
13339 | PyObject * obj0 = 0 ; | |
13340 | PyObject * obj1 = 0 ; | |
13341 | char * kwnames[] = { | |
13342 | (char *) "self",(char *) "id", NULL | |
13343 | }; | |
13344 | ||
13345 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) SWIG_fail; | |
13346 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13347 | if (!SWIG_IsOK(res1)) { | |
13348 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13349 | } | |
13350 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13351 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13352 | if (!SWIG_IsOK(ecode2)) { | |
13353 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'"); | |
13354 | } | |
13355 | arg2 = static_cast< int >(val2); | |
13356 | { | |
13357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13358 | result = (arg1)->FindPageById(arg2); | |
13359 | wxPyEndAllowThreads(__tstate); | |
13360 | if (PyErr_Occurred()) SWIG_fail; | |
13361 | } | |
13362 | { | |
d14a1e28 | 13363 | #if wxUSE_UNICODE |
554f62e9 | 13364 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13365 | #else |
554f62e9 | 13366 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13367 | #endif |
554f62e9 RD |
13368 | } |
13369 | return resultobj; | |
13370 | fail: | |
13371 | return NULL; | |
d14a1e28 RD |
13372 | } |
13373 | ||
13374 | ||
554f62e9 RD |
13375 | SWIGINTERN PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13376 | PyObject *resultobj = 0; | |
13377 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13378 | wxHtmlBookRecArray *result = 0 ; | |
13379 | void *argp1 = 0 ; | |
13380 | int res1 = 0 ; | |
13381 | PyObject *swig_obj[1] ; | |
13382 | ||
13383 | if (!args) SWIG_fail; | |
13384 | swig_obj[0] = args; | |
13385 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13386 | if (!SWIG_IsOK(res1)) { | |
13387 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13388 | } | |
13389 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13390 | { | |
13391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 13392 | { |
554f62e9 RD |
13393 | wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray(); |
13394 | result = (wxHtmlBookRecArray *) &_result_ref; | |
d14a1e28 | 13395 | } |
554f62e9 RD |
13396 | wxPyEndAllowThreads(__tstate); |
13397 | if (PyErr_Occurred()) SWIG_fail; | |
13398 | } | |
13399 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecArray, 0 | 0 ); | |
13400 | return resultobj; | |
13401 | fail: | |
13402 | return NULL; | |
13403 | } | |
13404 | ||
13405 | ||
13406 | SWIGINTERN PyObject *HtmlHelpData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13407 | PyObject *obj; | |
13408 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13409 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData, SWIG_NewClientData(obj)); | |
13410 | return SWIG_Py_Void(); | |
13411 | } | |
13412 | ||
13413 | SWIGINTERN PyObject *HtmlHelpData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13414 | return SWIG_Python_InitShadowInstance(args); | |
13415 | } | |
13416 | ||
13417 | SWIGINTERN PyObject *_wrap_new_HtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13418 | PyObject *resultobj = 0; | |
13419 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13420 | int arg2 ; | |
13421 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
13422 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
13423 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
13424 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
13425 | int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
13426 | int arg6 = (int) wxHF_DEFAULT_STYLE ; | |
13427 | wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ; | |
13428 | wxHtmlHelpWindow *result = 0 ; | |
13429 | void *argp1 = 0 ; | |
13430 | int res1 = 0 ; | |
13431 | int val2 ; | |
13432 | int ecode2 = 0 ; | |
13433 | wxPoint temp3 ; | |
13434 | wxSize temp4 ; | |
13435 | int val5 ; | |
13436 | int ecode5 = 0 ; | |
13437 | int val6 ; | |
13438 | int ecode6 = 0 ; | |
13439 | void *argp7 = 0 ; | |
13440 | int res7 = 0 ; | |
13441 | PyObject * obj0 = 0 ; | |
13442 | PyObject * obj1 = 0 ; | |
13443 | PyObject * obj2 = 0 ; | |
13444 | PyObject * obj3 = 0 ; | |
13445 | PyObject * obj4 = 0 ; | |
13446 | PyObject * obj5 = 0 ; | |
13447 | PyObject * obj6 = 0 ; | |
13448 | char * kwnames[] = { | |
13449 | (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL | |
13450 | }; | |
13451 | ||
13452 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
13453 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13454 | if (!SWIG_IsOK(res1)) { | |
13455 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
13456 | } | |
13457 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
13458 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13459 | if (!SWIG_IsOK(ecode2)) { | |
13460 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'"); | |
13461 | } | |
13462 | arg2 = static_cast< int >(val2); | |
13463 | if (obj2) { | |
d14a1e28 | 13464 | { |
554f62e9 RD |
13465 | arg3 = &temp3; |
13466 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
d14a1e28 | 13467 | } |
554f62e9 RD |
13468 | } |
13469 | if (obj3) { | |
d14a1e28 | 13470 | { |
554f62e9 RD |
13471 | arg4 = &temp4; |
13472 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 13473 | } |
554f62e9 RD |
13474 | } |
13475 | if (obj4) { | |
13476 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
13477 | if (!SWIG_IsOK(ecode5)) { | |
13478 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'"); | |
13479 | } | |
13480 | arg5 = static_cast< int >(val5); | |
13481 | } | |
13482 | if (obj5) { | |
13483 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
13484 | if (!SWIG_IsOK(ecode6)) { | |
13485 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'"); | |
13486 | } | |
13487 | arg6 = static_cast< int >(val6); | |
13488 | } | |
13489 | if (obj6) { | |
13490 | res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13491 | if (!SWIG_IsOK(res7)) { | |
13492 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'"); | |
13493 | } | |
13494 | arg7 = reinterpret_cast< wxHtmlHelpData * >(argp7); | |
13495 | } | |
13496 | { | |
13497 | if (!wxPyCheckForApp()) SWIG_fail; | |
13498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13499 | result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7); | |
13500 | wxPyEndAllowThreads(__tstate); | |
13501 | if (PyErr_Occurred()) SWIG_fail; | |
13502 | } | |
13503 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_NEW | 0 ); | |
13504 | return resultobj; | |
13505 | fail: | |
13506 | return NULL; | |
13507 | } | |
13508 | ||
13509 | ||
13510 | SWIGINTERN PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13511 | PyObject *resultobj = 0; | |
13512 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; | |
13513 | wxHtmlHelpWindow *result = 0 ; | |
13514 | void *argp1 = 0 ; | |
13515 | int res1 = 0 ; | |
13516 | PyObject * obj0 = 0 ; | |
13517 | char * kwnames[] = { | |
13518 | (char *) "data", NULL | |
13519 | }; | |
13520 | ||
13521 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) SWIG_fail; | |
13522 | if (obj0) { | |
13523 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13524 | if (!SWIG_IsOK(res1)) { | |
13525 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 13526 | } |
554f62e9 RD |
13527 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); |
13528 | } | |
13529 | { | |
13530 | if (!wxPyCheckForApp()) SWIG_fail; | |
13531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13532 | result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1); | |
13533 | wxPyEndAllowThreads(__tstate); | |
13534 | if (PyErr_Occurred()) SWIG_fail; | |
13535 | } | |
13536 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_OWN | 0 ); | |
13537 | return resultobj; | |
13538 | fail: | |
13539 | return NULL; | |
13540 | } | |
13541 | ||
13542 | ||
13543 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13544 | PyObject *resultobj = 0; | |
13545 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
13546 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13547 | int arg3 ; | |
13548 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
13549 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
13550 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
13551 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
13552 | int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
13553 | int arg7 = (int) wxHF_DEFAULT_STYLE ; | |
13554 | bool result; | |
13555 | void *argp1 = 0 ; | |
13556 | int res1 = 0 ; | |
13557 | void *argp2 = 0 ; | |
13558 | int res2 = 0 ; | |
13559 | int val3 ; | |
13560 | int ecode3 = 0 ; | |
13561 | wxPoint temp4 ; | |
13562 | wxSize temp5 ; | |
13563 | int val6 ; | |
13564 | int ecode6 = 0 ; | |
13565 | int val7 ; | |
13566 | int ecode7 = 0 ; | |
13567 | PyObject * obj0 = 0 ; | |
13568 | PyObject * obj1 = 0 ; | |
13569 | PyObject * obj2 = 0 ; | |
13570 | PyObject * obj3 = 0 ; | |
13571 | PyObject * obj4 = 0 ; | |
13572 | PyObject * obj5 = 0 ; | |
13573 | PyObject * obj6 = 0 ; | |
13574 | char * kwnames[] = { | |
13575 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL | |
13576 | }; | |
13577 | ||
13578 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
13579 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
13580 | if (!SWIG_IsOK(res1)) { | |
13581 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
13582 | } | |
13583 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
13584 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13585 | if (!SWIG_IsOK(res2)) { | |
13586 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13587 | } | |
13588 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13589 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
13590 | if (!SWIG_IsOK(ecode3)) { | |
13591 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'"); | |
13592 | } | |
13593 | arg3 = static_cast< int >(val3); | |
13594 | if (obj3) { | |
d14a1e28 | 13595 | { |
554f62e9 RD |
13596 | arg4 = &temp4; |
13597 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 13598 | } |
554f62e9 RD |
13599 | } |
13600 | if (obj4) { | |
d14a1e28 | 13601 | { |
554f62e9 RD |
13602 | arg5 = &temp5; |
13603 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
d14a1e28 | 13604 | } |
554f62e9 RD |
13605 | } |
13606 | if (obj5) { | |
13607 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
13608 | if (!SWIG_IsOK(ecode6)) { | |
13609 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'"); | |
13610 | } | |
13611 | arg6 = static_cast< int >(val6); | |
13612 | } | |
13613 | if (obj6) { | |
13614 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
13615 | if (!SWIG_IsOK(ecode7)) { | |
13616 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'"); | |
13617 | } | |
13618 | arg7 = static_cast< int >(val7); | |
13619 | } | |
13620 | { | |
13621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13622 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7); | |
13623 | wxPyEndAllowThreads(__tstate); | |
13624 | if (PyErr_Occurred()) SWIG_fail; | |
13625 | } | |
13626 | { | |
13627 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13628 | } | |
13629 | return resultobj; | |
13630 | fail: | |
13631 | return NULL; | |
d14a1e28 RD |
13632 | } |
13633 | ||
13634 | ||
554f62e9 RD |
13635 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13636 | PyObject *resultobj = 0; | |
13637 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
13638 | wxHtmlHelpData *result = 0 ; | |
13639 | void *argp1 = 0 ; | |
13640 | int res1 = 0 ; | |
13641 | PyObject *swig_obj[1] ; | |
13642 | ||
13643 | if (!args) SWIG_fail; | |
13644 | swig_obj[0] = args; | |
13645 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
13646 | if (!SWIG_IsOK(res1)) { | |
13647 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
13648 | } | |
13649 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
13650 | { | |
13651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13652 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
13653 | wxPyEndAllowThreads(__tstate); | |
13654 | if (PyErr_Occurred()) SWIG_fail; | |
13655 | } | |
13656 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13657 | return resultobj; | |
13658 | fail: | |
13659 | return NULL; | |
d14a1e28 RD |
13660 | } |
13661 | ||
13662 | ||
554f62e9 RD |
13663 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13664 | PyObject *resultobj = 0; | |
13665 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
13666 | wxHtmlHelpController *result = 0 ; | |
13667 | void *argp1 = 0 ; | |
13668 | int res1 = 0 ; | |
13669 | PyObject *swig_obj[1] ; | |
13670 | ||
13671 | if (!args) SWIG_fail; | |
13672 | swig_obj[0] = args; | |
13673 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
13674 | if (!SWIG_IsOK(res1)) { | |
13675 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
13676 | } | |
13677 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
13678 | { | |
13679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13680 | result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController(); | |
13681 | wxPyEndAllowThreads(__tstate); | |
13682 | if (PyErr_Occurred()) SWIG_fail; | |
13683 | } | |
13684 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
13685 | return resultobj; | |
13686 | fail: | |
13687 | return NULL; | |
13688 | } | |
13689 | ||
13690 | ||
13691 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13692 | PyObject *resultobj = 0; | |
13693 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
13694 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
13695 | void *argp1 = 0 ; | |
13696 | int res1 = 0 ; | |
13697 | int res2 = 0 ; | |
13698 | PyObject * obj0 = 0 ; | |
13699 | PyObject * obj1 = 0 ; | |
13700 | char * kwnames[] = { | |
13701 | (char *) "self",(char *) "controller", NULL | |
13702 | }; | |
13703 | ||
13704 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) SWIG_fail; | |
13705 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
13706 | if (!SWIG_IsOK(res1)) { | |
13707 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
13708 | } | |
13709 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
13710 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
13711 | if (!SWIG_IsOK(res2)) { | |
13712 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'"); | |
13713 | } | |
13714 | { | |
13715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13716 | (arg1)->SetController(arg2); | |
13717 | wxPyEndAllowThreads(__tstate); | |
13718 | if (PyErr_Occurred()) SWIG_fail; | |
13719 | } | |
13720 | resultobj = SWIG_Py_Void(); | |
13721 | return resultobj; | |
13722 | fail: | |
13723 | return NULL; | |
13724 | } | |
13725 | ||
13726 | ||
13727 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13728 | PyObject *resultobj = 0; | |
13729 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
13730 | wxString *arg2 = 0 ; | |
13731 | bool result; | |
13732 | void *argp1 = 0 ; | |
13733 | int res1 = 0 ; | |
13734 | bool temp2 = false ; | |
13735 | PyObject * obj0 = 0 ; | |
13736 | PyObject * obj1 = 0 ; | |
13737 | char * kwnames[] = { | |
13738 | (char *) "self",(char *) "x", NULL | |
13739 | }; | |
13740 | ||
13741 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) SWIG_fail; | |
13742 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
13743 | if (!SWIG_IsOK(res1)) { | |
13744 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
13745 | } | |
13746 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
13747 | { | |
13748 | arg2 = wxString_in_helper(obj1); | |
13749 | if (arg2 == NULL) SWIG_fail; | |
13750 | temp2 = true; | |
13751 | } | |
13752 | { | |
13753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13754 | result = (bool)(arg1)->Display((wxString const &)*arg2); | |
13755 | wxPyEndAllowThreads(__tstate); | |
13756 | if (PyErr_Occurred()) SWIG_fail; | |
13757 | } | |
13758 | { | |
13759 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13760 | } | |
13761 | { | |
13762 | if (temp2) | |
13763 | delete arg2; | |
13764 | } | |
13765 | return resultobj; | |
13766 | fail: | |
13767 | { | |
13768 | if (temp2) | |
13769 | delete arg2; | |
13770 | } | |
13771 | return NULL; | |
13772 | } | |
13773 | ||
13774 | ||
13775 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13776 | PyObject *resultobj = 0; | |
13777 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
13778 | int arg2 ; | |
13779 | bool result; | |
13780 | void *argp1 = 0 ; | |
13781 | int res1 = 0 ; | |
13782 | int val2 ; | |
13783 | int ecode2 = 0 ; | |
13784 | PyObject * obj0 = 0 ; | |
13785 | PyObject * obj1 = 0 ; | |
13786 | char * kwnames[] = { | |
13787 | (char *) "self",(char *) "id", NULL | |
13788 | }; | |
13789 | ||
13790 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail; | |
13791 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
13792 | if (!SWIG_IsOK(res1)) { | |
13793 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
13794 | } | |
13795 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
13796 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13797 | if (!SWIG_IsOK(ecode2)) { | |
13798 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'"); | |
13799 | } | |
13800 | arg2 = static_cast< int >(val2); | |
13801 | { | |
13802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13803 | result = (bool)(arg1)->Display(arg2); | |
13804 | wxPyEndAllowThreads(__tstate); | |
13805 | if (PyErr_Occurred()) SWIG_fail; | |
13806 | } | |
13807 | { | |
13808 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13809 | } | |
13810 | return resultobj; | |
13811 | fail: | |
13812 | return NULL; | |
d14a1e28 RD |
13813 | } |
13814 | ||
13815 | ||
554f62e9 RD |
13816 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13817 | PyObject *resultobj = 0; | |
13818 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
13819 | bool result; | |
13820 | void *argp1 = 0 ; | |
13821 | int res1 = 0 ; | |
13822 | PyObject *swig_obj[1] ; | |
13823 | ||
13824 | if (!args) SWIG_fail; | |
13825 | swig_obj[0] = args; | |
13826 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
13827 | if (!SWIG_IsOK(res1)) { | |
13828 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
13829 | } | |
13830 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
13831 | { | |
13832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13833 | result = (bool)(arg1)->DisplayContents(); | |
13834 | wxPyEndAllowThreads(__tstate); | |
13835 | if (PyErr_Occurred()) SWIG_fail; | |
13836 | } | |
13837 | { | |
13838 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13839 | } | |
13840 | return resultobj; | |
13841 | fail: | |
13842 | return NULL; | |
d14a1e28 RD |
13843 | } |
13844 | ||
13845 | ||
554f62e9 RD |
13846 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13847 | PyObject *resultobj = 0; | |
13848 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
13849 | bool result; | |
13850 | void *argp1 = 0 ; | |
13851 | int res1 = 0 ; | |
13852 | PyObject *swig_obj[1] ; | |
13853 | ||
13854 | if (!args) SWIG_fail; | |
13855 | swig_obj[0] = args; | |
13856 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
13857 | if (!SWIG_IsOK(res1)) { | |
13858 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
13859 | } | |
13860 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
13861 | { | |
13862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13863 | result = (bool)(arg1)->DisplayIndex(); | |
13864 | wxPyEndAllowThreads(__tstate); | |
13865 | if (PyErr_Occurred()) SWIG_fail; | |
13866 | } | |
13867 | { | |
13868 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13869 | } | |
13870 | return resultobj; | |
13871 | fail: | |
13872 | return NULL; | |
13873 | } | |
13874 | ||
13875 | ||
13876 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13877 | PyObject *resultobj = 0; | |
13878 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
13879 | wxString *arg2 = 0 ; | |
13880 | wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ; | |
13881 | bool result; | |
13882 | void *argp1 = 0 ; | |
13883 | int res1 = 0 ; | |
13884 | bool temp2 = false ; | |
13885 | void *argp3 ; | |
13886 | int res3 = 0 ; | |
13887 | PyObject * obj0 = 0 ; | |
13888 | PyObject * obj1 = 0 ; | |
13889 | PyObject * obj2 = 0 ; | |
13890 | char * kwnames[] = { | |
13891 | (char *) "self",(char *) "keyword",(char *) "mode", NULL | |
13892 | }; | |
13893 | ||
13894 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13895 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
13896 | if (!SWIG_IsOK(res1)) { | |
13897 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
13898 | } | |
13899 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
13900 | { | |
13901 | arg2 = wxString_in_helper(obj1); | |
13902 | if (arg2 == NULL) SWIG_fail; | |
13903 | temp2 = true; | |
13904 | } | |
13905 | if (obj2) { | |
13906 | { | |
13907 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0); | |
13908 | if (!SWIG_IsOK(res3)) { | |
13909 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
13910 | } | |
13911 | if (!argp3) { | |
13912 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
13913 | } else { | |
13914 | wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3); | |
13915 | arg3 = *temp; | |
13916 | if (SWIG_IsNewObj(res3)) delete temp; | |
13917 | } | |
ae8162c8 | 13918 | } |
554f62e9 RD |
13919 | } |
13920 | { | |
13921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13922 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3); | |
13923 | wxPyEndAllowThreads(__tstate); | |
13924 | if (PyErr_Occurred()) SWIG_fail; | |
13925 | } | |
13926 | { | |
13927 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13928 | } | |
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 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13944 | PyObject *resultobj = 0; | |
13945 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
13946 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
13947 | wxString const &arg3_defvalue = wxEmptyString ; | |
13948 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13949 | void *argp1 = 0 ; | |
13950 | int res1 = 0 ; | |
13951 | void *argp2 = 0 ; | |
13952 | int res2 = 0 ; | |
13953 | bool temp3 = false ; | |
13954 | PyObject * obj0 = 0 ; | |
13955 | PyObject * obj1 = 0 ; | |
13956 | PyObject * obj2 = 0 ; | |
13957 | char * kwnames[] = { | |
13958 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
13959 | }; | |
13960 | ||
13961 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13962 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
13963 | if (!SWIG_IsOK(res1)) { | |
13964 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
13965 | } | |
13966 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
13967 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
13968 | if (!SWIG_IsOK(res2)) { | |
13969 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
13970 | } | |
13971 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
13972 | if (obj2) { | |
ae8162c8 | 13973 | { |
554f62e9 RD |
13974 | arg3 = wxString_in_helper(obj2); |
13975 | if (arg3 == NULL) SWIG_fail; | |
13976 | temp3 = true; | |
ae8162c8 | 13977 | } |
554f62e9 RD |
13978 | } |
13979 | { | |
13980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13981 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
13982 | wxPyEndAllowThreads(__tstate); | |
13983 | if (PyErr_Occurred()) SWIG_fail; | |
13984 | } | |
13985 | resultobj = SWIG_Py_Void(); | |
13986 | { | |
13987 | if (temp3) | |
13988 | delete arg3; | |
13989 | } | |
13990 | return resultobj; | |
13991 | fail: | |
13992 | { | |
13993 | if (temp3) | |
13994 | delete arg3; | |
13995 | } | |
13996 | return NULL; | |
13997 | } | |
13998 | ||
13999 | ||
14000 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14001 | PyObject *resultobj = 0; | |
14002 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14003 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
14004 | wxString const &arg3_defvalue = wxEmptyString ; | |
14005 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14006 | void *argp1 = 0 ; | |
14007 | int res1 = 0 ; | |
14008 | void *argp2 = 0 ; | |
14009 | int res2 = 0 ; | |
14010 | bool temp3 = false ; | |
14011 | PyObject * obj0 = 0 ; | |
14012 | PyObject * obj1 = 0 ; | |
14013 | PyObject * obj2 = 0 ; | |
14014 | char * kwnames[] = { | |
14015 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
14016 | }; | |
14017 | ||
14018 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14019 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14020 | if (!SWIG_IsOK(res1)) { | |
14021 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14022 | } | |
14023 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14024 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
14025 | if (!SWIG_IsOK(res2)) { | |
14026 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
14027 | } | |
14028 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
14029 | if (obj2) { | |
ae8162c8 | 14030 | { |
554f62e9 RD |
14031 | arg3 = wxString_in_helper(obj2); |
14032 | if (arg3 == NULL) SWIG_fail; | |
14033 | temp3 = true; | |
ae8162c8 | 14034 | } |
554f62e9 RD |
14035 | } |
14036 | { | |
14037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14038 | (arg1)->ReadCustomization(arg2,(wxString const &)*arg3); | |
14039 | wxPyEndAllowThreads(__tstate); | |
14040 | if (PyErr_Occurred()) SWIG_fail; | |
14041 | } | |
14042 | resultobj = SWIG_Py_Void(); | |
14043 | { | |
14044 | if (temp3) | |
14045 | delete arg3; | |
14046 | } | |
14047 | return resultobj; | |
14048 | fail: | |
14049 | { | |
14050 | if (temp3) | |
14051 | delete arg3; | |
14052 | } | |
14053 | return NULL; | |
14054 | } | |
14055 | ||
14056 | ||
14057 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14058 | PyObject *resultobj = 0; | |
14059 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14060 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
14061 | wxString const &arg3_defvalue = wxEmptyString ; | |
14062 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14063 | void *argp1 = 0 ; | |
14064 | int res1 = 0 ; | |
14065 | void *argp2 = 0 ; | |
14066 | int res2 = 0 ; | |
14067 | bool temp3 = false ; | |
14068 | PyObject * obj0 = 0 ; | |
14069 | PyObject * obj1 = 0 ; | |
14070 | PyObject * obj2 = 0 ; | |
14071 | char * kwnames[] = { | |
14072 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
14073 | }; | |
14074 | ||
14075 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14076 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14077 | if (!SWIG_IsOK(res1)) { | |
14078 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14079 | } | |
14080 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14081 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
14082 | if (!SWIG_IsOK(res2)) { | |
14083 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
14084 | } | |
14085 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
14086 | if (obj2) { | |
ae8162c8 | 14087 | { |
554f62e9 RD |
14088 | arg3 = wxString_in_helper(obj2); |
14089 | if (arg3 == NULL) SWIG_fail; | |
14090 | temp3 = true; | |
ae8162c8 | 14091 | } |
554f62e9 RD |
14092 | } |
14093 | { | |
14094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14095 | (arg1)->WriteCustomization(arg2,(wxString const &)*arg3); | |
14096 | wxPyEndAllowThreads(__tstate); | |
14097 | if (PyErr_Occurred()) SWIG_fail; | |
14098 | } | |
14099 | resultobj = SWIG_Py_Void(); | |
14100 | { | |
14101 | if (temp3) | |
14102 | delete arg3; | |
14103 | } | |
14104 | return resultobj; | |
14105 | fail: | |
14106 | { | |
14107 | if (temp3) | |
14108 | delete arg3; | |
14109 | } | |
14110 | return NULL; | |
30ee79f7 RD |
14111 | } |
14112 | ||
14113 | ||
554f62e9 RD |
14114 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14115 | PyObject *resultobj = 0; | |
14116 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14117 | void *argp1 = 0 ; | |
14118 | int res1 = 0 ; | |
14119 | PyObject *swig_obj[1] ; | |
14120 | ||
14121 | if (!args) SWIG_fail; | |
14122 | swig_obj[0] = args; | |
14123 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14124 | if (!SWIG_IsOK(res1)) { | |
14125 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14126 | } | |
14127 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14128 | { | |
14129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14130 | (arg1)->NotifyPageChanged(); | |
14131 | wxPyEndAllowThreads(__tstate); | |
14132 | if (PyErr_Occurred()) SWIG_fail; | |
14133 | } | |
14134 | resultobj = SWIG_Py_Void(); | |
14135 | return resultobj; | |
14136 | fail: | |
14137 | return NULL; | |
d14a1e28 RD |
14138 | } |
14139 | ||
14140 | ||
554f62e9 RD |
14141 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14142 | PyObject *resultobj = 0; | |
14143 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14144 | void *argp1 = 0 ; | |
14145 | int res1 = 0 ; | |
14146 | PyObject *swig_obj[1] ; | |
14147 | ||
14148 | if (!args) SWIG_fail; | |
14149 | swig_obj[0] = args; | |
14150 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14151 | if (!SWIG_IsOK(res1)) { | |
14152 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14153 | } | |
14154 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14155 | { | |
14156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14157 | (arg1)->RefreshLists(); | |
14158 | wxPyEndAllowThreads(__tstate); | |
14159 | if (PyErr_Occurred()) SWIG_fail; | |
14160 | } | |
14161 | resultobj = SWIG_Py_Void(); | |
14162 | return resultobj; | |
14163 | fail: | |
14164 | return NULL; | |
d14a1e28 RD |
14165 | } |
14166 | ||
14167 | ||
554f62e9 RD |
14168 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14169 | PyObject *resultobj = 0; | |
14170 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14171 | wxHtmlWindow *result = 0 ; | |
14172 | void *argp1 = 0 ; | |
14173 | int res1 = 0 ; | |
14174 | PyObject *swig_obj[1] ; | |
14175 | ||
14176 | if (!args) SWIG_fail; | |
14177 | swig_obj[0] = args; | |
14178 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14179 | if (!SWIG_IsOK(res1)) { | |
14180 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14181 | } | |
14182 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14183 | { | |
14184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14185 | result = (wxHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow(); | |
14186 | wxPyEndAllowThreads(__tstate); | |
14187 | if (PyErr_Occurred()) SWIG_fail; | |
14188 | } | |
14189 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindow, 0 | 0 ); | |
14190 | return resultobj; | |
14191 | fail: | |
14192 | return NULL; | |
53aa7709 RD |
14193 | } |
14194 | ||
14195 | ||
554f62e9 RD |
14196 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14197 | PyObject *resultobj = 0; | |
14198 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14199 | wxSplitterWindow *result = 0 ; | |
14200 | void *argp1 = 0 ; | |
14201 | int res1 = 0 ; | |
14202 | PyObject *swig_obj[1] ; | |
14203 | ||
14204 | if (!args) SWIG_fail; | |
14205 | swig_obj[0] = args; | |
14206 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14207 | if (!SWIG_IsOK(res1)) { | |
14208 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14209 | } | |
14210 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14211 | { | |
14212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14213 | result = (wxSplitterWindow *)(arg1)->GetSplitterWindow(); | |
14214 | wxPyEndAllowThreads(__tstate); | |
14215 | if (PyErr_Occurred()) SWIG_fail; | |
14216 | } | |
14217 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, 0 | 0 ); | |
14218 | return resultobj; | |
14219 | fail: | |
14220 | return NULL; | |
d14a1e28 RD |
14221 | } |
14222 | ||
14223 | ||
554f62e9 RD |
14224 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14225 | PyObject *resultobj = 0; | |
14226 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14227 | wxToolBar *result = 0 ; | |
14228 | void *argp1 = 0 ; | |
14229 | int res1 = 0 ; | |
14230 | PyObject *swig_obj[1] ; | |
14231 | ||
14232 | if (!args) SWIG_fail; | |
14233 | swig_obj[0] = args; | |
14234 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14235 | if (!SWIG_IsOK(res1)) { | |
14236 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14237 | } | |
14238 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14239 | { | |
14240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14241 | result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar(); | |
14242 | wxPyEndAllowThreads(__tstate); | |
14243 | if (PyErr_Occurred()) SWIG_fail; | |
14244 | } | |
14245 | { | |
14246 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
14247 | } | |
14248 | return resultobj; | |
14249 | fail: | |
14250 | return NULL; | |
d14a1e28 RD |
14251 | } |
14252 | ||
14253 | ||
554f62e9 RD |
14254 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14255 | PyObject *resultobj = 0; | |
14256 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14257 | wxHtmlHelpFrameCfg *result = 0 ; | |
14258 | void *argp1 = 0 ; | |
14259 | int res1 = 0 ; | |
14260 | PyObject *swig_obj[1] ; | |
14261 | ||
14262 | if (!args) SWIG_fail; | |
14263 | swig_obj[0] = args; | |
14264 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14265 | if (!SWIG_IsOK(res1)) { | |
14266 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14267 | } | |
14268 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14269 | { | |
14270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4f89f6a3 | 14271 | { |
554f62e9 RD |
14272 | wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData(); |
14273 | result = (wxHtmlHelpFrameCfg *) &_result_ref; | |
4f89f6a3 | 14274 | } |
554f62e9 RD |
14275 | wxPyEndAllowThreads(__tstate); |
14276 | if (PyErr_Occurred()) SWIG_fail; | |
14277 | } | |
14278 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0 | 0 ); | |
14279 | return resultobj; | |
14280 | fail: | |
14281 | return NULL; | |
d14a1e28 RD |
14282 | } |
14283 | ||
14284 | ||
554f62e9 RD |
14285 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14286 | PyObject *resultobj = 0; | |
14287 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14288 | wxTreeCtrl *result = 0 ; | |
14289 | void *argp1 = 0 ; | |
14290 | int res1 = 0 ; | |
14291 | PyObject *swig_obj[1] ; | |
14292 | ||
14293 | if (!args) SWIG_fail; | |
14294 | swig_obj[0] = args; | |
14295 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14296 | if (!SWIG_IsOK(res1)) { | |
14297 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14298 | } | |
14299 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14300 | { | |
14301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14302 | result = (wxTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl(); | |
14303 | wxPyEndAllowThreads(__tstate); | |
14304 | if (PyErr_Occurred()) SWIG_fail; | |
14305 | } | |
14306 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeCtrl, 0 | 0 ); | |
14307 | return resultobj; | |
14308 | fail: | |
14309 | return NULL; | |
d14a1e28 RD |
14310 | } |
14311 | ||
14312 | ||
554f62e9 RD |
14313 | SWIGINTERN PyObject *HtmlHelpWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14314 | PyObject *obj; | |
14315 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14316 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow, SWIG_NewClientData(obj)); | |
14317 | return SWIG_Py_Void(); | |
14318 | } | |
14319 | ||
14320 | SWIGINTERN PyObject *HtmlHelpWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14321 | return SWIG_Python_InitShadowInstance(args); | |
14322 | } | |
14323 | ||
14324 | SWIGINTERN PyObject *_wrap_new_HtmlWindowEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14325 | PyObject *resultobj = 0; | |
14326 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
14327 | int arg2 = (int) 0 ; | |
14328 | wxHtmlWindowEvent *result = 0 ; | |
14329 | int val1 ; | |
14330 | int ecode1 = 0 ; | |
14331 | int val2 ; | |
14332 | int ecode2 = 0 ; | |
14333 | PyObject * obj0 = 0 ; | |
14334 | PyObject * obj1 = 0 ; | |
14335 | char * kwnames[] = { | |
14336 | (char *) "commandType",(char *) "id", NULL | |
14337 | }; | |
14338 | ||
14339 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlWindowEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
14340 | if (obj0) { | |
14341 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
14342 | if (!SWIG_IsOK(ecode1)) { | |
14343 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlWindowEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
14344 | } | |
14345 | arg1 = static_cast< wxEventType >(val1); | |
14346 | } | |
14347 | if (obj1) { | |
14348 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14349 | if (!SWIG_IsOK(ecode2)) { | |
14350 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindowEvent" "', expected argument " "2"" of type '" "int""'"); | |
14351 | } | |
14352 | arg2 = static_cast< int >(val2); | |
14353 | } | |
14354 | { | |
14355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14356 | result = (wxHtmlWindowEvent *)new wxHtmlWindowEvent(arg1,arg2); | |
14357 | wxPyEndAllowThreads(__tstate); | |
14358 | if (PyErr_Occurred()) SWIG_fail; | |
14359 | } | |
14360 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_NEW | 0 ); | |
14361 | return resultobj; | |
14362 | fail: | |
14363 | return NULL; | |
14364 | } | |
14365 | ||
14366 | ||
14367 | SWIGINTERN PyObject *_wrap_HtmlWindowEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14368 | PyObject *resultobj = 0; | |
14369 | wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ; | |
14370 | wxString *arg2 = 0 ; | |
14371 | void *argp1 = 0 ; | |
14372 | int res1 = 0 ; | |
14373 | bool temp2 = false ; | |
14374 | PyObject * obj0 = 0 ; | |
14375 | PyObject * obj1 = 0 ; | |
14376 | char * kwnames[] = { | |
14377 | (char *) "self",(char *) "url", NULL | |
14378 | }; | |
14379 | ||
14380 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail; | |
14381 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowEvent, 0 | 0 ); | |
14382 | if (!SWIG_IsOK(res1)) { | |
14383 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowEvent_SetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent *""'"); | |
14384 | } | |
14385 | arg1 = reinterpret_cast< wxHtmlWindowEvent * >(argp1); | |
14386 | { | |
14387 | arg2 = wxString_in_helper(obj1); | |
14388 | if (arg2 == NULL) SWIG_fail; | |
14389 | temp2 = true; | |
14390 | } | |
14391 | { | |
14392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14393 | (arg1)->SetURL((wxString const &)*arg2); | |
14394 | wxPyEndAllowThreads(__tstate); | |
14395 | if (PyErr_Occurred()) SWIG_fail; | |
14396 | } | |
14397 | resultobj = SWIG_Py_Void(); | |
14398 | { | |
14399 | if (temp2) | |
14400 | delete arg2; | |
14401 | } | |
14402 | return resultobj; | |
14403 | fail: | |
14404 | { | |
14405 | if (temp2) | |
14406 | delete arg2; | |
14407 | } | |
14408 | return NULL; | |
14409 | } | |
14410 | ||
14411 | ||
14412 | SWIGINTERN PyObject *_wrap_HtmlWindowEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14413 | PyObject *resultobj = 0; | |
14414 | wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ; | |
14415 | wxString *result = 0 ; | |
14416 | void *argp1 = 0 ; | |
14417 | int res1 = 0 ; | |
14418 | PyObject *swig_obj[1] ; | |
14419 | ||
14420 | if (!args) SWIG_fail; | |
14421 | swig_obj[0] = args; | |
14422 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowEvent, 0 | 0 ); | |
14423 | if (!SWIG_IsOK(res1)) { | |
14424 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowEvent_GetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent const *""'"); | |
14425 | } | |
14426 | arg1 = reinterpret_cast< wxHtmlWindowEvent * >(argp1); | |
14427 | { | |
14428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 14429 | { |
554f62e9 RD |
14430 | wxString const &_result_ref = ((wxHtmlWindowEvent const *)arg1)->GetURL(); |
14431 | result = (wxString *) &_result_ref; | |
d14a1e28 | 14432 | } |
554f62e9 RD |
14433 | wxPyEndAllowThreads(__tstate); |
14434 | if (PyErr_Occurred()) SWIG_fail; | |
14435 | } | |
14436 | { | |
14437 | #if wxUSE_UNICODE | |
14438 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
14439 | #else | |
14440 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
14441 | #endif | |
14442 | } | |
14443 | return resultobj; | |
14444 | fail: | |
14445 | return NULL; | |
14446 | } | |
14447 | ||
14448 | ||
14449 | SWIGINTERN PyObject *HtmlWindowEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14450 | PyObject *obj; | |
14451 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14452 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowEvent, SWIG_NewClientData(obj)); | |
14453 | return SWIG_Py_Void(); | |
14454 | } | |
14455 | ||
14456 | SWIGINTERN PyObject *HtmlWindowEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14457 | return SWIG_Python_InitShadowInstance(args); | |
14458 | } | |
14459 | ||
14460 | SWIGINTERN PyObject *_wrap_new_HtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14461 | PyObject *resultobj = 0; | |
14462 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14463 | int arg2 ; | |
14464 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
14465 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14466 | int arg4 = (int) wxHF_DEFAULTSTYLE ; | |
14467 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
14468 | wxHtmlHelpFrame *result = 0 ; | |
14469 | void *argp1 = 0 ; | |
14470 | int res1 = 0 ; | |
14471 | int val2 ; | |
14472 | int ecode2 = 0 ; | |
14473 | bool temp3 = false ; | |
14474 | int val4 ; | |
14475 | int ecode4 = 0 ; | |
14476 | void *argp5 = 0 ; | |
14477 | int res5 = 0 ; | |
14478 | PyObject * obj0 = 0 ; | |
14479 | PyObject * obj1 = 0 ; | |
14480 | PyObject * obj2 = 0 ; | |
14481 | PyObject * obj3 = 0 ; | |
14482 | PyObject * obj4 = 0 ; | |
14483 | char * kwnames[] = { | |
14484 | (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL | |
14485 | }; | |
14486 | ||
14487 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
14488 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14489 | if (!SWIG_IsOK(res1)) { | |
14490 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
14491 | } | |
14492 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14493 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14494 | if (!SWIG_IsOK(ecode2)) { | |
14495 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'"); | |
14496 | } | |
14497 | arg2 = static_cast< int >(val2); | |
14498 | if (obj2) { | |
4f89f6a3 | 14499 | { |
554f62e9 RD |
14500 | arg3 = wxString_in_helper(obj2); |
14501 | if (arg3 == NULL) SWIG_fail; | |
14502 | temp3 = true; | |
4f89f6a3 | 14503 | } |
554f62e9 RD |
14504 | } |
14505 | if (obj3) { | |
14506 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
14507 | if (!SWIG_IsOK(ecode4)) { | |
14508 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'"); | |
14509 | } | |
14510 | arg4 = static_cast< int >(val4); | |
14511 | } | |
14512 | if (obj4) { | |
14513 | res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
14514 | if (!SWIG_IsOK(res5)) { | |
14515 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'"); | |
14516 | } | |
14517 | arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5); | |
14518 | } | |
14519 | { | |
14520 | if (!wxPyCheckForApp()) SWIG_fail; | |
14521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14522 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5); | |
14523 | wxPyEndAllowThreads(__tstate); | |
14524 | if (PyErr_Occurred()) SWIG_fail; | |
14525 | } | |
14526 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_NEW | 0 ); | |
14527 | { | |
14528 | if (temp3) | |
14529 | delete arg3; | |
14530 | } | |
14531 | return resultobj; | |
14532 | fail: | |
14533 | { | |
14534 | if (temp3) | |
14535 | delete arg3; | |
14536 | } | |
14537 | return NULL; | |
d14a1e28 RD |
14538 | } |
14539 | ||
14540 | ||
554f62e9 RD |
14541 | SWIGINTERN PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14542 | PyObject *resultobj = 0; | |
14543 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; | |
14544 | wxHtmlHelpFrame *result = 0 ; | |
14545 | void *argp1 = 0 ; | |
14546 | int res1 = 0 ; | |
14547 | PyObject * obj0 = 0 ; | |
14548 | char * kwnames[] = { | |
14549 | (char *) "data", NULL | |
14550 | }; | |
14551 | ||
14552 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) SWIG_fail; | |
14553 | if (obj0) { | |
14554 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
14555 | if (!SWIG_IsOK(res1)) { | |
14556 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 14557 | } |
554f62e9 RD |
14558 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); |
14559 | } | |
14560 | { | |
14561 | if (!wxPyCheckForApp()) SWIG_fail; | |
14562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14563 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1); | |
14564 | wxPyEndAllowThreads(__tstate); | |
14565 | if (PyErr_Occurred()) SWIG_fail; | |
14566 | } | |
14567 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_OWN | 0 ); | |
14568 | return resultobj; | |
14569 | fail: | |
14570 | return NULL; | |
14571 | } | |
14572 | ||
14573 | ||
14574 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14575 | PyObject *resultobj = 0; | |
14576 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
14577 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14578 | int arg3 ; | |
14579 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
14580 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
14581 | int arg5 = (int) wxHF_DEFAULT_STYLE ; | |
14582 | bool result; | |
14583 | void *argp1 = 0 ; | |
14584 | int res1 = 0 ; | |
14585 | void *argp2 = 0 ; | |
14586 | int res2 = 0 ; | |
14587 | int val3 ; | |
14588 | int ecode3 = 0 ; | |
14589 | bool temp4 = false ; | |
14590 | int val5 ; | |
14591 | int ecode5 = 0 ; | |
14592 | PyObject * obj0 = 0 ; | |
14593 | PyObject * obj1 = 0 ; | |
14594 | PyObject * obj2 = 0 ; | |
14595 | PyObject * obj3 = 0 ; | |
14596 | PyObject * obj4 = 0 ; | |
14597 | char * kwnames[] = { | |
14598 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL | |
14599 | }; | |
14600 | ||
14601 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
14602 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
14603 | if (!SWIG_IsOK(res1)) { | |
14604 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
14605 | } | |
14606 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
14607 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14608 | if (!SWIG_IsOK(res2)) { | |
14609 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14610 | } | |
14611 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14612 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14613 | if (!SWIG_IsOK(ecode3)) { | |
14614 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'"); | |
14615 | } | |
14616 | arg3 = static_cast< int >(val3); | |
14617 | if (obj3) { | |
4f89f6a3 | 14618 | { |
554f62e9 RD |
14619 | arg4 = wxString_in_helper(obj3); |
14620 | if (arg4 == NULL) SWIG_fail; | |
14621 | temp4 = true; | |
4f89f6a3 | 14622 | } |
554f62e9 RD |
14623 | } |
14624 | if (obj4) { | |
14625 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
14626 | if (!SWIG_IsOK(ecode5)) { | |
14627 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'"); | |
14628 | } | |
14629 | arg5 = static_cast< int >(val5); | |
14630 | } | |
14631 | { | |
14632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14633 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
14634 | wxPyEndAllowThreads(__tstate); | |
14635 | if (PyErr_Occurred()) SWIG_fail; | |
14636 | } | |
14637 | { | |
14638 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14639 | } | |
14640 | { | |
14641 | if (temp4) | |
14642 | delete arg4; | |
14643 | } | |
14644 | return resultobj; | |
14645 | fail: | |
14646 | { | |
14647 | if (temp4) | |
14648 | delete arg4; | |
14649 | } | |
14650 | return NULL; | |
d14a1e28 RD |
14651 | } |
14652 | ||
14653 | ||
554f62e9 RD |
14654 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14655 | PyObject *resultobj = 0; | |
14656 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
14657 | wxHtmlHelpData *result = 0 ; | |
14658 | void *argp1 = 0 ; | |
14659 | int res1 = 0 ; | |
14660 | PyObject *swig_obj[1] ; | |
14661 | ||
14662 | if (!args) SWIG_fail; | |
14663 | swig_obj[0] = args; | |
14664 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
14665 | if (!SWIG_IsOK(res1)) { | |
14666 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
14667 | } | |
14668 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
14669 | { | |
14670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14671 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
14672 | wxPyEndAllowThreads(__tstate); | |
14673 | if (PyErr_Occurred()) SWIG_fail; | |
14674 | } | |
14675 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
14676 | return resultobj; | |
14677 | fail: | |
14678 | return NULL; | |
14679 | } | |
14680 | ||
14681 | ||
14682 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14683 | PyObject *resultobj = 0; | |
14684 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
14685 | wxString *arg2 = 0 ; | |
14686 | void *argp1 = 0 ; | |
14687 | int res1 = 0 ; | |
14688 | bool temp2 = false ; | |
14689 | PyObject * obj0 = 0 ; | |
14690 | PyObject * obj1 = 0 ; | |
14691 | char * kwnames[] = { | |
14692 | (char *) "self",(char *) "format", NULL | |
14693 | }; | |
14694 | ||
14695 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail; | |
14696 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
14697 | if (!SWIG_IsOK(res1)) { | |
14698 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
14699 | } | |
14700 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
14701 | { | |
14702 | arg2 = wxString_in_helper(obj1); | |
14703 | if (arg2 == NULL) SWIG_fail; | |
14704 | temp2 = true; | |
14705 | } | |
14706 | { | |
14707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14708 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
14709 | wxPyEndAllowThreads(__tstate); | |
14710 | if (PyErr_Occurred()) SWIG_fail; | |
14711 | } | |
14712 | resultobj = SWIG_Py_Void(); | |
14713 | { | |
14714 | if (temp2) | |
14715 | delete arg2; | |
14716 | } | |
14717 | return resultobj; | |
14718 | fail: | |
14719 | { | |
14720 | if (temp2) | |
14721 | delete arg2; | |
14722 | } | |
14723 | return NULL; | |
d14a1e28 RD |
14724 | } |
14725 | ||
14726 | ||
554f62e9 RD |
14727 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14728 | PyObject *resultobj = 0; | |
14729 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
14730 | void *argp1 = 0 ; | |
14731 | int res1 = 0 ; | |
14732 | PyObject *swig_obj[1] ; | |
14733 | ||
14734 | if (!args) SWIG_fail; | |
14735 | swig_obj[0] = args; | |
14736 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
14737 | if (!SWIG_IsOK(res1)) { | |
14738 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
14739 | } | |
14740 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
14741 | { | |
14742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14743 | (arg1)->AddGrabIfNeeded(); | |
14744 | wxPyEndAllowThreads(__tstate); | |
14745 | if (PyErr_Occurred()) SWIG_fail; | |
14746 | } | |
14747 | resultobj = SWIG_Py_Void(); | |
14748 | return resultobj; | |
14749 | fail: | |
14750 | return NULL; | |
d14a1e28 RD |
14751 | } |
14752 | ||
14753 | ||
554f62e9 RD |
14754 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14755 | PyObject *resultobj = 0; | |
14756 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
14757 | wxHtmlHelpController *result = 0 ; | |
14758 | void *argp1 = 0 ; | |
14759 | int res1 = 0 ; | |
14760 | PyObject *swig_obj[1] ; | |
14761 | ||
14762 | if (!args) SWIG_fail; | |
14763 | swig_obj[0] = args; | |
14764 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
14765 | if (!SWIG_IsOK(res1)) { | |
14766 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'"); | |
14767 | } | |
14768 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
14769 | { | |
14770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14771 | result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController(); | |
14772 | wxPyEndAllowThreads(__tstate); | |
14773 | if (PyErr_Occurred()) SWIG_fail; | |
14774 | } | |
14775 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
14776 | return resultobj; | |
14777 | fail: | |
14778 | return NULL; | |
14779 | } | |
14780 | ||
14781 | ||
14782 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14783 | PyObject *resultobj = 0; | |
14784 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
14785 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
14786 | void *argp1 = 0 ; | |
14787 | int res1 = 0 ; | |
14788 | int res2 = 0 ; | |
14789 | PyObject * obj0 = 0 ; | |
14790 | PyObject * obj1 = 0 ; | |
14791 | char * kwnames[] = { | |
14792 | (char *) "self",(char *) "controller", NULL | |
14793 | }; | |
14794 | ||
14795 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) SWIG_fail; | |
14796 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
14797 | if (!SWIG_IsOK(res1)) { | |
14798 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
14799 | } | |
14800 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
14801 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
14802 | if (!SWIG_IsOK(res2)) { | |
14803 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'"); | |
14804 | } | |
14805 | { | |
14806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14807 | (arg1)->SetController(arg2); | |
14808 | wxPyEndAllowThreads(__tstate); | |
14809 | if (PyErr_Occurred()) SWIG_fail; | |
14810 | } | |
14811 | resultobj = SWIG_Py_Void(); | |
14812 | return resultobj; | |
14813 | fail: | |
14814 | return NULL; | |
d14a1e28 RD |
14815 | } |
14816 | ||
14817 | ||
554f62e9 RD |
14818 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14819 | PyObject *resultobj = 0; | |
14820 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
14821 | wxHtmlHelpWindow *result = 0 ; | |
14822 | void *argp1 = 0 ; | |
14823 | int res1 = 0 ; | |
14824 | PyObject *swig_obj[1] ; | |
14825 | ||
14826 | if (!args) SWIG_fail; | |
14827 | swig_obj[0] = args; | |
14828 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
14829 | if (!SWIG_IsOK(res1)) { | |
14830 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'"); | |
14831 | } | |
14832 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
14833 | { | |
14834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14835 | result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow(); | |
14836 | wxPyEndAllowThreads(__tstate); | |
14837 | if (PyErr_Occurred()) SWIG_fail; | |
14838 | } | |
14839 | { | |
14840 | resultobj = wxPyMake_wxObject(result, 0); | |
14841 | } | |
14842 | return resultobj; | |
14843 | fail: | |
14844 | return NULL; | |
14845 | } | |
14846 | ||
14847 | ||
14848 | SWIGINTERN PyObject *HtmlHelpFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14849 | PyObject *obj; | |
14850 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14851 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame, SWIG_NewClientData(obj)); | |
14852 | return SWIG_Py_Void(); | |
14853 | } | |
14854 | ||
14855 | SWIGINTERN PyObject *HtmlHelpFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14856 | return SWIG_Python_InitShadowInstance(args); | |
14857 | } | |
14858 | ||
14859 | SWIGINTERN PyObject *_wrap_new_HtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14860 | PyObject *resultobj = 0; | |
14861 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14862 | int arg2 ; | |
14863 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
14864 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14865 | int arg4 = (int) wxHF_DEFAULT_STYLE ; | |
14866 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
14867 | wxHtmlHelpDialog *result = 0 ; | |
14868 | void *argp1 = 0 ; | |
14869 | int res1 = 0 ; | |
14870 | int val2 ; | |
14871 | int ecode2 = 0 ; | |
14872 | bool temp3 = false ; | |
14873 | int val4 ; | |
14874 | int ecode4 = 0 ; | |
14875 | void *argp5 = 0 ; | |
14876 | int res5 = 0 ; | |
14877 | PyObject * obj0 = 0 ; | |
14878 | PyObject * obj1 = 0 ; | |
14879 | PyObject * obj2 = 0 ; | |
14880 | PyObject * obj3 = 0 ; | |
14881 | PyObject * obj4 = 0 ; | |
14882 | char * kwnames[] = { | |
14883 | (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL | |
14884 | }; | |
14885 | ||
14886 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
14887 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14888 | if (!SWIG_IsOK(res1)) { | |
14889 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
14890 | } | |
14891 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14892 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14893 | if (!SWIG_IsOK(ecode2)) { | |
14894 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'"); | |
14895 | } | |
14896 | arg2 = static_cast< int >(val2); | |
14897 | if (obj2) { | |
d14a1e28 | 14898 | { |
554f62e9 RD |
14899 | arg3 = wxString_in_helper(obj2); |
14900 | if (arg3 == NULL) SWIG_fail; | |
14901 | temp3 = true; | |
d14a1e28 | 14902 | } |
554f62e9 RD |
14903 | } |
14904 | if (obj3) { | |
14905 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
14906 | if (!SWIG_IsOK(ecode4)) { | |
14907 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'"); | |
14908 | } | |
14909 | arg4 = static_cast< int >(val4); | |
14910 | } | |
14911 | if (obj4) { | |
14912 | res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
14913 | if (!SWIG_IsOK(res5)) { | |
14914 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 14915 | } |
554f62e9 RD |
14916 | arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5); |
14917 | } | |
14918 | { | |
14919 | if (!wxPyCheckForApp()) SWIG_fail; | |
14920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14921 | result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5); | |
14922 | wxPyEndAllowThreads(__tstate); | |
14923 | if (PyErr_Occurred()) SWIG_fail; | |
14924 | } | |
14925 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_NEW | 0 ); | |
14926 | { | |
14927 | if (temp3) | |
14928 | delete arg3; | |
14929 | } | |
14930 | return resultobj; | |
14931 | fail: | |
14932 | { | |
14933 | if (temp3) | |
14934 | delete arg3; | |
14935 | } | |
14936 | return NULL; | |
d14a1e28 RD |
14937 | } |
14938 | ||
14939 | ||
554f62e9 RD |
14940 | SWIGINTERN PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14941 | PyObject *resultobj = 0; | |
14942 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; | |
14943 | wxHtmlHelpDialog *result = 0 ; | |
14944 | void *argp1 = 0 ; | |
14945 | int res1 = 0 ; | |
14946 | PyObject * obj0 = 0 ; | |
14947 | char * kwnames[] = { | |
14948 | (char *) "data", NULL | |
14949 | }; | |
14950 | ||
14951 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) SWIG_fail; | |
14952 | if (obj0) { | |
14953 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
14954 | if (!SWIG_IsOK(res1)) { | |
14955 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 14956 | } |
554f62e9 RD |
14957 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); |
14958 | } | |
14959 | { | |
14960 | if (!wxPyCheckForApp()) SWIG_fail; | |
14961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14962 | result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1); | |
14963 | wxPyEndAllowThreads(__tstate); | |
14964 | if (PyErr_Occurred()) SWIG_fail; | |
14965 | } | |
14966 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_OWN | 0 ); | |
14967 | return resultobj; | |
14968 | fail: | |
14969 | return NULL; | |
14970 | } | |
14971 | ||
14972 | ||
14973 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14974 | PyObject *resultobj = 0; | |
14975 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
14976 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14977 | int arg3 ; | |
14978 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
14979 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
14980 | int arg5 = (int) wxHF_DEFAULT_STYLE ; | |
14981 | bool result; | |
14982 | void *argp1 = 0 ; | |
14983 | int res1 = 0 ; | |
14984 | void *argp2 = 0 ; | |
14985 | int res2 = 0 ; | |
14986 | int val3 ; | |
14987 | int ecode3 = 0 ; | |
14988 | bool temp4 = false ; | |
14989 | int val5 ; | |
14990 | int ecode5 = 0 ; | |
14991 | PyObject * obj0 = 0 ; | |
14992 | PyObject * obj1 = 0 ; | |
14993 | PyObject * obj2 = 0 ; | |
14994 | PyObject * obj3 = 0 ; | |
14995 | PyObject * obj4 = 0 ; | |
14996 | char * kwnames[] = { | |
14997 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL | |
14998 | }; | |
14999 | ||
15000 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
15001 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15002 | if (!SWIG_IsOK(res1)) { | |
15003 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
15004 | } | |
15005 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15006 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15007 | if (!SWIG_IsOK(res2)) { | |
15008 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
15009 | } | |
15010 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15011 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
15012 | if (!SWIG_IsOK(ecode3)) { | |
15013 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'"); | |
15014 | } | |
15015 | arg3 = static_cast< int >(val3); | |
15016 | if (obj3) { | |
d14a1e28 | 15017 | { |
554f62e9 RD |
15018 | arg4 = wxString_in_helper(obj3); |
15019 | if (arg4 == NULL) SWIG_fail; | |
15020 | temp4 = true; | |
d14a1e28 | 15021 | } |
554f62e9 RD |
15022 | } |
15023 | if (obj4) { | |
15024 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
15025 | if (!SWIG_IsOK(ecode5)) { | |
15026 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'"); | |
15027 | } | |
15028 | arg5 = static_cast< int >(val5); | |
15029 | } | |
15030 | { | |
15031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15032 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
15033 | wxPyEndAllowThreads(__tstate); | |
15034 | if (PyErr_Occurred()) SWIG_fail; | |
15035 | } | |
15036 | { | |
15037 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15038 | } | |
15039 | { | |
15040 | if (temp4) | |
15041 | delete arg4; | |
15042 | } | |
15043 | return resultobj; | |
15044 | fail: | |
15045 | { | |
15046 | if (temp4) | |
15047 | delete arg4; | |
15048 | } | |
15049 | return NULL; | |
d14a1e28 RD |
15050 | } |
15051 | ||
15052 | ||
554f62e9 RD |
15053 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15054 | PyObject *resultobj = 0; | |
15055 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15056 | wxHtmlHelpData *result = 0 ; | |
15057 | void *argp1 = 0 ; | |
15058 | int res1 = 0 ; | |
15059 | PyObject *swig_obj[1] ; | |
15060 | ||
15061 | if (!args) SWIG_fail; | |
15062 | swig_obj[0] = args; | |
15063 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15064 | if (!SWIG_IsOK(res1)) { | |
15065 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
15066 | } | |
15067 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15068 | { | |
15069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15070 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
15071 | wxPyEndAllowThreads(__tstate); | |
15072 | if (PyErr_Occurred()) SWIG_fail; | |
15073 | } | |
15074 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15075 | return resultobj; | |
15076 | fail: | |
15077 | return NULL; | |
d14a1e28 RD |
15078 | } |
15079 | ||
15080 | ||
554f62e9 RD |
15081 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15082 | PyObject *resultobj = 0; | |
15083 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15084 | wxHtmlHelpController *result = 0 ; | |
15085 | void *argp1 = 0 ; | |
15086 | int res1 = 0 ; | |
15087 | PyObject *swig_obj[1] ; | |
15088 | ||
15089 | if (!args) SWIG_fail; | |
15090 | swig_obj[0] = args; | |
15091 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15092 | if (!SWIG_IsOK(res1)) { | |
15093 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'"); | |
15094 | } | |
15095 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15096 | { | |
15097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15098 | result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController(); | |
15099 | wxPyEndAllowThreads(__tstate); | |
15100 | if (PyErr_Occurred()) SWIG_fail; | |
15101 | } | |
15102 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
15103 | return resultobj; | |
15104 | fail: | |
15105 | return NULL; | |
15106 | } | |
15107 | ||
15108 | ||
15109 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15110 | PyObject *resultobj = 0; | |
15111 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15112 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
15113 | void *argp1 = 0 ; | |
15114 | int res1 = 0 ; | |
15115 | int res2 = 0 ; | |
15116 | PyObject * obj0 = 0 ; | |
15117 | PyObject * obj1 = 0 ; | |
15118 | char * kwnames[] = { | |
15119 | (char *) "self",(char *) "controller", NULL | |
15120 | }; | |
15121 | ||
15122 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) SWIG_fail; | |
15123 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15124 | if (!SWIG_IsOK(res1)) { | |
15125 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
15126 | } | |
15127 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15128 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
15129 | if (!SWIG_IsOK(res2)) { | |
15130 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'"); | |
15131 | } | |
15132 | { | |
15133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15134 | (arg1)->SetController(arg2); | |
15135 | wxPyEndAllowThreads(__tstate); | |
15136 | if (PyErr_Occurred()) SWIG_fail; | |
15137 | } | |
15138 | resultobj = SWIG_Py_Void(); | |
15139 | return resultobj; | |
15140 | fail: | |
15141 | return NULL; | |
db914595 RD |
15142 | } |
15143 | ||
15144 | ||
554f62e9 RD |
15145 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15146 | PyObject *resultobj = 0; | |
15147 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15148 | wxHtmlHelpWindow *result = 0 ; | |
15149 | void *argp1 = 0 ; | |
15150 | int res1 = 0 ; | |
15151 | PyObject *swig_obj[1] ; | |
15152 | ||
15153 | if (!args) SWIG_fail; | |
15154 | swig_obj[0] = args; | |
15155 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15156 | if (!SWIG_IsOK(res1)) { | |
15157 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'"); | |
15158 | } | |
15159 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15160 | { | |
15161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15162 | result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow(); | |
15163 | wxPyEndAllowThreads(__tstate); | |
15164 | if (PyErr_Occurred()) SWIG_fail; | |
15165 | } | |
15166 | { | |
15167 | resultobj = wxPyMake_wxObject(result, 0); | |
15168 | } | |
15169 | return resultobj; | |
15170 | fail: | |
15171 | return NULL; | |
15172 | } | |
15173 | ||
15174 | ||
15175 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15176 | PyObject *resultobj = 0; | |
15177 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15178 | wxString *arg2 = 0 ; | |
15179 | void *argp1 = 0 ; | |
15180 | int res1 = 0 ; | |
15181 | bool temp2 = false ; | |
15182 | PyObject * obj0 = 0 ; | |
15183 | PyObject * obj1 = 0 ; | |
15184 | char * kwnames[] = { | |
15185 | (char *) "self",(char *) "format", NULL | |
15186 | }; | |
15187 | ||
15188 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail; | |
15189 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15190 | if (!SWIG_IsOK(res1)) { | |
15191 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
15192 | } | |
15193 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15194 | { | |
15195 | arg2 = wxString_in_helper(obj1); | |
15196 | if (arg2 == NULL) SWIG_fail; | |
15197 | temp2 = true; | |
15198 | } | |
15199 | { | |
15200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15201 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
15202 | wxPyEndAllowThreads(__tstate); | |
15203 | if (PyErr_Occurred()) SWIG_fail; | |
15204 | } | |
15205 | resultobj = SWIG_Py_Void(); | |
15206 | { | |
15207 | if (temp2) | |
15208 | delete arg2; | |
15209 | } | |
15210 | return resultobj; | |
15211 | fail: | |
15212 | { | |
15213 | if (temp2) | |
15214 | delete arg2; | |
15215 | } | |
15216 | return NULL; | |
db914595 RD |
15217 | } |
15218 | ||
15219 | ||
554f62e9 RD |
15220 | SWIGINTERN PyObject *HtmlHelpDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15221 | PyObject *obj; | |
15222 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
15223 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog, SWIG_NewClientData(obj)); | |
15224 | return SWIG_Py_Void(); | |
db914595 RD |
15225 | } |
15226 | ||
554f62e9 RD |
15227 | SWIGINTERN PyObject *HtmlHelpDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15228 | return SWIG_Python_InitShadowInstance(args); | |
15229 | } | |
db914595 | 15230 | |
554f62e9 RD |
15231 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
15232 | PyObject *resultobj = 0; | |
15233 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15234 | wxString *arg2 = 0 ; | |
15235 | int arg3 ; | |
15236 | bool result; | |
15237 | void *argp1 = 0 ; | |
15238 | int res1 = 0 ; | |
15239 | bool temp2 = false ; | |
15240 | int val3 ; | |
15241 | int ecode3 = 0 ; | |
15242 | ||
15243 | if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; | |
15244 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15245 | if (!SWIG_IsOK(res1)) { | |
15246 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15247 | } | |
15248 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15249 | { | |
15250 | arg2 = wxString_in_helper(swig_obj[1]); | |
15251 | if (arg2 == NULL) SWIG_fail; | |
15252 | temp2 = true; | |
15253 | } | |
15254 | ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); | |
15255 | if (!SWIG_IsOK(ecode3)) { | |
15256 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'"); | |
15257 | } | |
15258 | arg3 = static_cast< int >(val3); | |
15259 | { | |
15260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15261 | result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3); | |
15262 | wxPyEndAllowThreads(__tstate); | |
15263 | if (PyErr_Occurred()) SWIG_fail; | |
15264 | } | |
15265 | { | |
15266 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15267 | } | |
15268 | { | |
15269 | if (temp2) | |
15270 | delete arg2; | |
15271 | } | |
15272 | return resultobj; | |
15273 | fail: | |
15274 | { | |
15275 | if (temp2) | |
15276 | delete arg2; | |
15277 | } | |
15278 | return NULL; | |
b0f7404b RD |
15279 | } |
15280 | ||
15281 | ||
554f62e9 RD |
15282 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
15283 | PyObject *resultobj = 0; | |
15284 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15285 | wxString *arg2 = 0 ; | |
15286 | bool result; | |
15287 | void *argp1 = 0 ; | |
15288 | int res1 = 0 ; | |
15289 | bool temp2 = false ; | |
15290 | ||
15291 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
15292 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15293 | if (!SWIG_IsOK(res1)) { | |
15294 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15295 | } | |
15296 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15297 | { | |
15298 | arg2 = wxString_in_helper(swig_obj[1]); | |
15299 | if (arg2 == NULL) SWIG_fail; | |
15300 | temp2 = true; | |
15301 | } | |
15302 | { | |
15303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15304 | result = (bool)(arg1)->Initialize((wxString const &)*arg2); | |
15305 | wxPyEndAllowThreads(__tstate); | |
15306 | if (PyErr_Occurred()) SWIG_fail; | |
15307 | } | |
15308 | { | |
15309 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15310 | } | |
15311 | { | |
15312 | if (temp2) | |
15313 | delete arg2; | |
15314 | } | |
15315 | return resultobj; | |
15316 | fail: | |
15317 | { | |
15318 | if (temp2) | |
15319 | delete arg2; | |
15320 | } | |
15321 | return NULL; | |
b0f7404b RD |
15322 | } |
15323 | ||
15324 | ||
554f62e9 RD |
15325 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) { |
15326 | int argc; | |
15327 | PyObject *argv[4]; | |
15328 | ||
15329 | if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_Initialize",0,3,argv))) SWIG_fail; | |
15330 | --argc; | |
15331 | if (argc == 2) { | |
15332 | return _wrap_HelpControllerBase_Initialize__SWIG_1(self, argc, argv); | |
15333 | } | |
15334 | if (argc == 3) { | |
15335 | return _wrap_HelpControllerBase_Initialize__SWIG_0(self, argc, argv); | |
15336 | } | |
15337 | ||
15338 | fail: | |
15339 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'"); | |
15340 | return NULL; | |
15341 | } | |
15342 | ||
15343 | ||
15344 | SWIGINTERN PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15345 | PyObject *resultobj = 0; | |
15346 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15347 | wxString *arg2 = 0 ; | |
15348 | long arg3 = (long) 0 ; | |
15349 | void *argp1 = 0 ; | |
15350 | int res1 = 0 ; | |
15351 | bool temp2 = false ; | |
15352 | long val3 ; | |
15353 | int ecode3 = 0 ; | |
15354 | PyObject * obj0 = 0 ; | |
15355 | PyObject * obj1 = 0 ; | |
15356 | PyObject * obj2 = 0 ; | |
15357 | char * kwnames[] = { | |
15358 | (char *) "self",(char *) "viewer",(char *) "flags", NULL | |
15359 | }; | |
15360 | ||
15361 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
15362 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15363 | if (!SWIG_IsOK(res1)) { | |
15364 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15365 | } | |
15366 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15367 | { | |
15368 | arg2 = wxString_in_helper(obj1); | |
15369 | if (arg2 == NULL) SWIG_fail; | |
15370 | temp2 = true; | |
15371 | } | |
15372 | if (obj2) { | |
15373 | ecode3 = SWIG_AsVal_long(obj2, &val3); | |
15374 | if (!SWIG_IsOK(ecode3)) { | |
15375 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'"); | |
15376 | } | |
15377 | arg3 = static_cast< long >(val3); | |
15378 | } | |
15379 | { | |
15380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15381 | (arg1)->SetViewer((wxString const &)*arg2,arg3); | |
15382 | wxPyEndAllowThreads(__tstate); | |
15383 | if (PyErr_Occurred()) SWIG_fail; | |
15384 | } | |
15385 | resultobj = SWIG_Py_Void(); | |
15386 | { | |
15387 | if (temp2) | |
15388 | delete arg2; | |
15389 | } | |
15390 | return resultobj; | |
15391 | fail: | |
15392 | { | |
15393 | if (temp2) | |
15394 | delete arg2; | |
15395 | } | |
15396 | return NULL; | |
15397 | } | |
15398 | ||
15399 | ||
15400 | SWIGINTERN PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15401 | PyObject *resultobj = 0; | |
15402 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15403 | wxString const &arg2_defvalue = wxEmptyString ; | |
15404 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
15405 | bool result; | |
15406 | void *argp1 = 0 ; | |
15407 | int res1 = 0 ; | |
15408 | bool temp2 = false ; | |
15409 | PyObject * obj0 = 0 ; | |
15410 | PyObject * obj1 = 0 ; | |
15411 | char * kwnames[] = { | |
15412 | (char *) "self",(char *) "file", NULL | |
15413 | }; | |
15414 | ||
15415 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
15416 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15417 | if (!SWIG_IsOK(res1)) { | |
15418 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15419 | } | |
15420 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15421 | if (obj1) { | |
d14a1e28 | 15422 | { |
554f62e9 RD |
15423 | arg2 = wxString_in_helper(obj1); |
15424 | if (arg2 == NULL) SWIG_fail; | |
15425 | temp2 = true; | |
d14a1e28 | 15426 | } |
554f62e9 RD |
15427 | } |
15428 | { | |
15429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15430 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
15431 | wxPyEndAllowThreads(__tstate); | |
15432 | if (PyErr_Occurred()) SWIG_fail; | |
15433 | } | |
15434 | { | |
15435 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15436 | } | |
15437 | { | |
15438 | if (temp2) | |
15439 | delete arg2; | |
15440 | } | |
15441 | return resultobj; | |
15442 | fail: | |
15443 | { | |
15444 | if (temp2) | |
15445 | delete arg2; | |
15446 | } | |
15447 | return NULL; | |
d14a1e28 RD |
15448 | } |
15449 | ||
15450 | ||
554f62e9 RD |
15451 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15452 | PyObject *resultobj = 0; | |
15453 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15454 | bool result; | |
15455 | void *argp1 = 0 ; | |
15456 | int res1 = 0 ; | |
15457 | PyObject *swig_obj[1] ; | |
15458 | ||
15459 | if (!args) SWIG_fail; | |
15460 | swig_obj[0] = args; | |
15461 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15462 | if (!SWIG_IsOK(res1)) { | |
15463 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15464 | } | |
15465 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15466 | { | |
15467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15468 | result = (bool)(arg1)->DisplayContents(); | |
15469 | wxPyEndAllowThreads(__tstate); | |
15470 | if (PyErr_Occurred()) SWIG_fail; | |
15471 | } | |
15472 | { | |
15473 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15474 | } | |
15475 | return resultobj; | |
15476 | fail: | |
15477 | return NULL; | |
d14a1e28 RD |
15478 | } |
15479 | ||
15480 | ||
554f62e9 RD |
15481 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
15482 | PyObject *resultobj = 0; | |
15483 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15484 | int arg2 ; | |
15485 | bool result; | |
15486 | void *argp1 = 0 ; | |
15487 | int res1 = 0 ; | |
15488 | int val2 ; | |
15489 | int ecode2 = 0 ; | |
15490 | ||
15491 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
15492 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15493 | if (!SWIG_IsOK(res1)) { | |
15494 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15495 | } | |
15496 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15497 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
15498 | if (!SWIG_IsOK(ecode2)) { | |
15499 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'"); | |
15500 | } | |
15501 | arg2 = static_cast< int >(val2); | |
15502 | { | |
15503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15504 | result = (bool)(arg1)->DisplaySection(arg2); | |
15505 | wxPyEndAllowThreads(__tstate); | |
15506 | if (PyErr_Occurred()) SWIG_fail; | |
15507 | } | |
15508 | { | |
15509 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15510 | } | |
15511 | return resultobj; | |
15512 | fail: | |
15513 | return NULL; | |
15514 | } | |
15515 | ||
15516 | ||
15517 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15518 | PyObject *resultobj = 0; | |
15519 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15520 | int arg2 ; | |
15521 | bool result; | |
15522 | void *argp1 = 0 ; | |
15523 | int res1 = 0 ; | |
15524 | int val2 ; | |
15525 | int ecode2 = 0 ; | |
15526 | PyObject * obj0 = 0 ; | |
15527 | PyObject * obj1 = 0 ; | |
15528 | char * kwnames[] = { | |
15529 | (char *) "self",(char *) "contextId", NULL | |
15530 | }; | |
15531 | ||
15532 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) SWIG_fail; | |
15533 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15534 | if (!SWIG_IsOK(res1)) { | |
15535 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15536 | } | |
15537 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15538 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15539 | if (!SWIG_IsOK(ecode2)) { | |
15540 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'"); | |
15541 | } | |
15542 | arg2 = static_cast< int >(val2); | |
15543 | { | |
15544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15545 | result = (bool)(arg1)->DisplayContextPopup(arg2); | |
15546 | wxPyEndAllowThreads(__tstate); | |
15547 | if (PyErr_Occurred()) SWIG_fail; | |
15548 | } | |
15549 | { | |
15550 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15551 | } | |
15552 | return resultobj; | |
15553 | fail: | |
15554 | return NULL; | |
15555 | } | |
15556 | ||
15557 | ||
15558 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15559 | PyObject *resultobj = 0; | |
15560 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15561 | wxString *arg2 = 0 ; | |
15562 | wxPoint *arg3 = 0 ; | |
15563 | bool result; | |
15564 | void *argp1 = 0 ; | |
15565 | int res1 = 0 ; | |
15566 | bool temp2 = false ; | |
15567 | wxPoint temp3 ; | |
15568 | PyObject * obj0 = 0 ; | |
15569 | PyObject * obj1 = 0 ; | |
15570 | PyObject * obj2 = 0 ; | |
15571 | char * kwnames[] = { | |
15572 | (char *) "self",(char *) "text",(char *) "pos", NULL | |
15573 | }; | |
15574 | ||
15575 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
15576 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15577 | if (!SWIG_IsOK(res1)) { | |
15578 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15579 | } | |
15580 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15581 | { | |
15582 | arg2 = wxString_in_helper(obj1); | |
15583 | if (arg2 == NULL) SWIG_fail; | |
15584 | temp2 = true; | |
15585 | } | |
15586 | { | |
15587 | arg3 = &temp3; | |
15588 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15589 | } | |
15590 | { | |
15591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15592 | result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3); | |
15593 | wxPyEndAllowThreads(__tstate); | |
15594 | if (PyErr_Occurred()) SWIG_fail; | |
15595 | } | |
15596 | { | |
15597 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15598 | } | |
15599 | { | |
15600 | if (temp2) | |
15601 | delete arg2; | |
15602 | } | |
15603 | return resultobj; | |
15604 | fail: | |
15605 | { | |
15606 | if (temp2) | |
15607 | delete arg2; | |
15608 | } | |
15609 | return NULL; | |
d14a1e28 RD |
15610 | } |
15611 | ||
15612 | ||
554f62e9 RD |
15613 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
15614 | PyObject *resultobj = 0; | |
15615 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15616 | wxString *arg2 = 0 ; | |
15617 | bool result; | |
15618 | void *argp1 = 0 ; | |
15619 | int res1 = 0 ; | |
15620 | bool temp2 = false ; | |
15621 | ||
15622 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
15623 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15624 | if (!SWIG_IsOK(res1)) { | |
15625 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15626 | } | |
15627 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15628 | { | |
15629 | arg2 = wxString_in_helper(swig_obj[1]); | |
15630 | if (arg2 == NULL) SWIG_fail; | |
15631 | temp2 = true; | |
15632 | } | |
15633 | { | |
15634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15635 | result = (bool)(arg1)->DisplaySection((wxString const &)*arg2); | |
15636 | wxPyEndAllowThreads(__tstate); | |
15637 | if (PyErr_Occurred()) SWIG_fail; | |
15638 | } | |
15639 | { | |
15640 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15641 | } | |
15642 | { | |
15643 | if (temp2) | |
15644 | delete arg2; | |
15645 | } | |
15646 | return resultobj; | |
15647 | fail: | |
15648 | { | |
15649 | if (temp2) | |
15650 | delete arg2; | |
15651 | } | |
15652 | return NULL; | |
d14a1e28 RD |
15653 | } |
15654 | ||
15655 | ||
554f62e9 RD |
15656 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) { |
15657 | int argc; | |
15658 | PyObject *argv[3]; | |
15659 | ||
15660 | if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_DisplaySection",0,2,argv))) SWIG_fail; | |
15661 | --argc; | |
15662 | if (argc == 2) { | |
15663 | int _v = 0; | |
f20a2e1f | 15664 | { |
554f62e9 RD |
15665 | { |
15666 | _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]); | |
15667 | } | |
f20a2e1f | 15668 | } |
554f62e9 RD |
15669 | if (!_v) goto check_1; |
15670 | return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self, argc, argv); | |
15671 | } | |
15672 | check_1: | |
15673 | ||
15674 | if (argc == 2) { | |
15675 | return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self, argc, argv); | |
15676 | } | |
15677 | ||
15678 | fail: | |
15679 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'"); | |
15680 | return NULL; | |
15681 | } | |
15682 | ||
15683 | ||
15684 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15685 | PyObject *resultobj = 0; | |
15686 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15687 | long arg2 ; | |
15688 | bool result; | |
15689 | void *argp1 = 0 ; | |
15690 | int res1 = 0 ; | |
15691 | long val2 ; | |
15692 | int ecode2 = 0 ; | |
15693 | PyObject * obj0 = 0 ; | |
15694 | PyObject * obj1 = 0 ; | |
15695 | char * kwnames[] = { | |
15696 | (char *) "self",(char *) "blockNo", NULL | |
15697 | }; | |
15698 | ||
15699 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) SWIG_fail; | |
15700 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15701 | if (!SWIG_IsOK(res1)) { | |
15702 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15703 | } | |
15704 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15705 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
15706 | if (!SWIG_IsOK(ecode2)) { | |
15707 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'"); | |
15708 | } | |
15709 | arg2 = static_cast< long >(val2); | |
15710 | { | |
15711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15712 | result = (bool)(arg1)->DisplayBlock(arg2); | |
15713 | wxPyEndAllowThreads(__tstate); | |
15714 | if (PyErr_Occurred()) SWIG_fail; | |
15715 | } | |
15716 | { | |
15717 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15718 | } | |
15719 | return resultobj; | |
15720 | fail: | |
15721 | return NULL; | |
15722 | } | |
15723 | ||
15724 | ||
15725 | SWIGINTERN PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15726 | PyObject *resultobj = 0; | |
15727 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15728 | wxString *arg2 = 0 ; | |
15729 | wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ; | |
15730 | bool result; | |
15731 | void *argp1 = 0 ; | |
15732 | int res1 = 0 ; | |
15733 | bool temp2 = false ; | |
15734 | void *argp3 ; | |
15735 | int res3 = 0 ; | |
15736 | PyObject * obj0 = 0 ; | |
15737 | PyObject * obj1 = 0 ; | |
15738 | PyObject * obj2 = 0 ; | |
15739 | char * kwnames[] = { | |
15740 | (char *) "self",(char *) "k",(char *) "mode", NULL | |
15741 | }; | |
15742 | ||
15743 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
15744 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15745 | if (!SWIG_IsOK(res1)) { | |
15746 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15747 | } | |
15748 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15749 | { | |
15750 | arg2 = wxString_in_helper(obj1); | |
15751 | if (arg2 == NULL) SWIG_fail; | |
15752 | temp2 = true; | |
15753 | } | |
15754 | if (obj2) { | |
15755 | { | |
15756 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0); | |
15757 | if (!SWIG_IsOK(res3)) { | |
15758 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
15759 | } | |
15760 | if (!argp3) { | |
15761 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
15762 | } else { | |
15763 | wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3); | |
15764 | arg3 = *temp; | |
15765 | if (SWIG_IsNewObj(res3)) delete temp; | |
15766 | } | |
f20a2e1f | 15767 | } |
554f62e9 RD |
15768 | } |
15769 | { | |
15770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15771 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3); | |
15772 | wxPyEndAllowThreads(__tstate); | |
15773 | if (PyErr_Occurred()) SWIG_fail; | |
15774 | } | |
15775 | { | |
15776 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15777 | } | |
15778 | { | |
15779 | if (temp2) | |
15780 | delete arg2; | |
15781 | } | |
15782 | return resultobj; | |
15783 | fail: | |
15784 | { | |
15785 | if (temp2) | |
15786 | delete arg2; | |
15787 | } | |
15788 | return NULL; | |
15789 | } | |
15790 | ||
15791 | ||
15792 | SWIGINTERN PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15793 | PyObject *resultobj = 0; | |
15794 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15795 | wxString *arg2 = 0 ; | |
15796 | wxSize *arg3 = 0 ; | |
15797 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
15798 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
15799 | bool arg5 = (bool) false ; | |
15800 | void *argp1 = 0 ; | |
15801 | int res1 = 0 ; | |
15802 | bool temp2 = false ; | |
15803 | wxSize temp3 ; | |
15804 | wxPoint temp4 ; | |
15805 | bool val5 ; | |
15806 | int ecode5 = 0 ; | |
15807 | PyObject * obj0 = 0 ; | |
15808 | PyObject * obj1 = 0 ; | |
15809 | PyObject * obj2 = 0 ; | |
15810 | PyObject * obj3 = 0 ; | |
15811 | PyObject * obj4 = 0 ; | |
15812 | char * kwnames[] = { | |
15813 | (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL | |
15814 | }; | |
15815 | ||
15816 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
15817 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15818 | if (!SWIG_IsOK(res1)) { | |
15819 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15820 | } | |
15821 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15822 | { | |
15823 | arg2 = wxString_in_helper(obj1); | |
15824 | if (arg2 == NULL) SWIG_fail; | |
15825 | temp2 = true; | |
15826 | } | |
15827 | { | |
15828 | arg3 = &temp3; | |
15829 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
15830 | } | |
15831 | if (obj3) { | |
d14a1e28 | 15832 | { |
554f62e9 RD |
15833 | arg4 = &temp4; |
15834 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 15835 | } |
554f62e9 RD |
15836 | } |
15837 | if (obj4) { | |
15838 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
15839 | if (!SWIG_IsOK(ecode5)) { | |
15840 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'"); | |
15841 | } | |
15842 | arg5 = static_cast< bool >(val5); | |
15843 | } | |
15844 | { | |
15845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15846 | (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5); | |
15847 | wxPyEndAllowThreads(__tstate); | |
15848 | if (PyErr_Occurred()) SWIG_fail; | |
15849 | } | |
15850 | resultobj = SWIG_Py_Void(); | |
15851 | { | |
15852 | if (temp2) | |
15853 | delete arg2; | |
15854 | } | |
15855 | return resultobj; | |
15856 | fail: | |
15857 | { | |
15858 | if (temp2) | |
15859 | delete arg2; | |
15860 | } | |
15861 | return NULL; | |
15862 | } | |
15863 | ||
15864 | ||
15865 | SWIGINTERN PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15866 | PyObject *resultobj = 0; | |
15867 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15868 | wxSize *arg2 = (wxSize *) NULL ; | |
15869 | wxPoint *arg3 = (wxPoint *) NULL ; | |
15870 | bool *arg4 = (bool *) NULL ; | |
15871 | wxFrame *result = 0 ; | |
15872 | void *argp1 = 0 ; | |
15873 | int res1 = 0 ; | |
15874 | void *argp2 = 0 ; | |
15875 | int res2 = 0 ; | |
15876 | void *argp3 = 0 ; | |
15877 | int res3 = 0 ; | |
15878 | void *argp4 = 0 ; | |
15879 | int res4 = 0 ; | |
15880 | PyObject * obj0 = 0 ; | |
15881 | PyObject * obj1 = 0 ; | |
15882 | PyObject * obj2 = 0 ; | |
15883 | PyObject * obj3 = 0 ; | |
15884 | char * kwnames[] = { | |
15885 | (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL | |
15886 | }; | |
15887 | ||
15888 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
15889 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15890 | if (!SWIG_IsOK(res1)) { | |
15891 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15892 | } | |
15893 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15894 | if (obj1) { | |
15895 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); | |
15896 | if (!SWIG_IsOK(res2)) { | |
15897 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'"); | |
d14a1e28 | 15898 | } |
554f62e9 RD |
15899 | arg2 = reinterpret_cast< wxSize * >(argp2); |
15900 | } | |
15901 | if (obj2) { | |
15902 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPoint, 0 | 0 ); | |
15903 | if (!SWIG_IsOK(res3)) { | |
15904 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'"); | |
093d3ff1 | 15905 | } |
554f62e9 RD |
15906 | arg3 = reinterpret_cast< wxPoint * >(argp3); |
15907 | } | |
15908 | if (obj3) { | |
15909 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_bool, 0 | 0 ); | |
15910 | if (!SWIG_IsOK(res4)) { | |
15911 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'"); | |
d14a1e28 | 15912 | } |
554f62e9 RD |
15913 | arg4 = reinterpret_cast< bool * >(argp4); |
15914 | } | |
15915 | { | |
15916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15917 | result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4); | |
15918 | wxPyEndAllowThreads(__tstate); | |
15919 | if (PyErr_Occurred()) SWIG_fail; | |
15920 | } | |
15921 | { | |
15922 | resultobj = wxPyMake_wxObject(result, 0); | |
15923 | } | |
15924 | return resultobj; | |
15925 | fail: | |
15926 | return NULL; | |
d14a1e28 RD |
15927 | } |
15928 | ||
15929 | ||
554f62e9 RD |
15930 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Quit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15931 | PyObject *resultobj = 0; | |
15932 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15933 | bool result; | |
15934 | void *argp1 = 0 ; | |
15935 | int res1 = 0 ; | |
15936 | PyObject *swig_obj[1] ; | |
15937 | ||
15938 | if (!args) SWIG_fail; | |
15939 | swig_obj[0] = args; | |
15940 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15941 | if (!SWIG_IsOK(res1)) { | |
15942 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15943 | } | |
15944 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15945 | { | |
15946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15947 | result = (bool)(arg1)->Quit(); | |
15948 | wxPyEndAllowThreads(__tstate); | |
15949 | if (PyErr_Occurred()) SWIG_fail; | |
15950 | } | |
15951 | { | |
15952 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15953 | } | |
15954 | return resultobj; | |
15955 | fail: | |
15956 | return NULL; | |
d14a1e28 RD |
15957 | } |
15958 | ||
15959 | ||
554f62e9 RD |
15960 | SWIGINTERN PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15961 | PyObject *resultobj = 0; | |
15962 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15963 | void *argp1 = 0 ; | |
15964 | int res1 = 0 ; | |
15965 | PyObject *swig_obj[1] ; | |
15966 | ||
15967 | if (!args) SWIG_fail; | |
15968 | swig_obj[0] = args; | |
15969 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15970 | if (!SWIG_IsOK(res1)) { | |
15971 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15972 | } | |
15973 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15974 | { | |
15975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15976 | (arg1)->OnQuit(); | |
15977 | wxPyEndAllowThreads(__tstate); | |
15978 | if (PyErr_Occurred()) SWIG_fail; | |
15979 | } | |
15980 | resultobj = SWIG_Py_Void(); | |
15981 | return resultobj; | |
15982 | fail: | |
15983 | return NULL; | |
15984 | } | |
15985 | ||
15986 | ||
15987 | SWIGINTERN PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15988 | PyObject *resultobj = 0; | |
15989 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15990 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15991 | void *argp1 = 0 ; | |
15992 | int res1 = 0 ; | |
15993 | void *argp2 = 0 ; | |
15994 | int res2 = 0 ; | |
15995 | PyObject * obj0 = 0 ; | |
15996 | PyObject * obj1 = 0 ; | |
15997 | char * kwnames[] = { | |
15998 | (char *) "self",(char *) "win", NULL | |
15999 | }; | |
16000 | ||
16001 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
16002 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16003 | if (!SWIG_IsOK(res1)) { | |
16004 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16005 | } | |
16006 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16007 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
16008 | if (!SWIG_IsOK(res2)) { | |
16009 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
16010 | } | |
16011 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
16012 | { | |
16013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16014 | (arg1)->SetParentWindow(arg2); | |
16015 | wxPyEndAllowThreads(__tstate); | |
16016 | if (PyErr_Occurred()) SWIG_fail; | |
16017 | } | |
16018 | resultobj = SWIG_Py_Void(); | |
16019 | return resultobj; | |
16020 | fail: | |
16021 | return NULL; | |
d14a1e28 RD |
16022 | } |
16023 | ||
16024 | ||
554f62e9 RD |
16025 | SWIGINTERN PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16026 | PyObject *resultobj = 0; | |
16027 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16028 | wxWindow *result = 0 ; | |
16029 | void *argp1 = 0 ; | |
16030 | int res1 = 0 ; | |
16031 | PyObject *swig_obj[1] ; | |
16032 | ||
16033 | if (!args) SWIG_fail; | |
16034 | swig_obj[0] = args; | |
16035 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16036 | if (!SWIG_IsOK(res1)) { | |
16037 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'"); | |
16038 | } | |
16039 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16040 | { | |
16041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16042 | result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow(); | |
16043 | wxPyEndAllowThreads(__tstate); | |
16044 | if (PyErr_Occurred()) SWIG_fail; | |
16045 | } | |
16046 | { | |
16047 | resultobj = wxPyMake_wxObject(result, 0); | |
16048 | } | |
16049 | return resultobj; | |
16050 | fail: | |
16051 | return NULL; | |
16052 | } | |
16053 | ||
16054 | ||
16055 | SWIGINTERN PyObject *HelpControllerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16056 | PyObject *obj; | |
16057 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
16058 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase, SWIG_NewClientData(obj)); | |
16059 | return SWIG_Py_Void(); | |
16060 | } | |
16061 | ||
16062 | SWIGINTERN PyObject *_wrap_new_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16063 | PyObject *resultobj = 0; | |
16064 | int arg1 = (int) wxHF_DEFAULT_STYLE ; | |
16065 | wxWindow *arg2 = (wxWindow *) NULL ; | |
16066 | wxHtmlHelpController *result = 0 ; | |
16067 | int val1 ; | |
16068 | int ecode1 = 0 ; | |
16069 | void *argp2 = 0 ; | |
16070 | int res2 = 0 ; | |
16071 | PyObject * obj0 = 0 ; | |
16072 | PyObject * obj1 = 0 ; | |
16073 | char * kwnames[] = { | |
16074 | (char *) "style",(char *) "parentWindow", NULL | |
16075 | }; | |
16076 | ||
16077 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) SWIG_fail; | |
16078 | if (obj0) { | |
16079 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
16080 | if (!SWIG_IsOK(ecode1)) { | |
16081 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'"); | |
16082 | } | |
16083 | arg1 = static_cast< int >(val1); | |
16084 | } | |
16085 | if (obj1) { | |
16086 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
16087 | if (!SWIG_IsOK(res2)) { | |
16088 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
d14a1e28 | 16089 | } |
554f62e9 RD |
16090 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
16091 | } | |
16092 | { | |
16093 | if (!wxPyCheckForApp()) SWIG_fail; | |
16094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16095 | result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2); | |
16096 | wxPyEndAllowThreads(__tstate); | |
16097 | if (PyErr_Occurred()) SWIG_fail; | |
16098 | } | |
16099 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_NEW | 0 ); | |
16100 | return resultobj; | |
16101 | fail: | |
16102 | return NULL; | |
d14a1e28 RD |
16103 | } |
16104 | ||
16105 | ||
554f62e9 RD |
16106 | SWIGINTERN PyObject *_wrap_delete_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16107 | PyObject *resultobj = 0; | |
16108 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16109 | void *argp1 = 0 ; | |
16110 | int res1 = 0 ; | |
16111 | PyObject *swig_obj[1] ; | |
16112 | ||
16113 | if (!args) SWIG_fail; | |
16114 | swig_obj[0] = args; | |
16115 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
16116 | if (!SWIG_IsOK(res1)) { | |
16117 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16118 | } | |
16119 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16120 | { | |
16121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16122 | delete arg1; | |
30ee79f7 | 16123 | |
554f62e9 RD |
16124 | wxPyEndAllowThreads(__tstate); |
16125 | if (PyErr_Occurred()) SWIG_fail; | |
16126 | } | |
16127 | resultobj = SWIG_Py_Void(); | |
16128 | return resultobj; | |
16129 | fail: | |
16130 | return NULL; | |
30ee79f7 RD |
16131 | } |
16132 | ||
16133 | ||
554f62e9 RD |
16134 | SWIGINTERN PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16135 | PyObject *resultobj = 0; | |
16136 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16137 | wxHtmlHelpWindow *result = 0 ; | |
16138 | void *argp1 = 0 ; | |
16139 | int res1 = 0 ; | |
16140 | PyObject *swig_obj[1] ; | |
16141 | ||
16142 | if (!args) SWIG_fail; | |
16143 | swig_obj[0] = args; | |
16144 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16145 | if (!SWIG_IsOK(res1)) { | |
16146 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16147 | } | |
16148 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16149 | { | |
16150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16151 | result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow(); | |
16152 | wxPyEndAllowThreads(__tstate); | |
16153 | if (PyErr_Occurred()) SWIG_fail; | |
16154 | } | |
16155 | { | |
16156 | resultobj = wxPyMake_wxObject(result, 0); | |
16157 | } | |
16158 | return resultobj; | |
16159 | fail: | |
16160 | return NULL; | |
16161 | } | |
16162 | ||
16163 | ||
16164 | SWIGINTERN PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16165 | PyObject *resultobj = 0; | |
16166 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16167 | wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ; | |
16168 | void *argp1 = 0 ; | |
16169 | int res1 = 0 ; | |
16170 | void *argp2 = 0 ; | |
16171 | int res2 = 0 ; | |
16172 | PyObject * obj0 = 0 ; | |
16173 | PyObject * obj1 = 0 ; | |
16174 | char * kwnames[] = { | |
16175 | (char *) "self",(char *) "helpWindow", NULL | |
16176 | }; | |
16177 | ||
16178 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
16179 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16180 | if (!SWIG_IsOK(res1)) { | |
16181 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16182 | } | |
16183 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16184 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
16185 | if (!SWIG_IsOK(res2)) { | |
16186 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'"); | |
16187 | } | |
16188 | arg2 = reinterpret_cast< wxHtmlHelpWindow * >(argp2); | |
16189 | { | |
16190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16191 | (arg1)->SetHelpWindow(arg2); | |
16192 | wxPyEndAllowThreads(__tstate); | |
16193 | if (PyErr_Occurred()) SWIG_fail; | |
16194 | } | |
16195 | resultobj = SWIG_Py_Void(); | |
16196 | return resultobj; | |
16197 | fail: | |
16198 | return NULL; | |
d14a1e28 RD |
16199 | } |
16200 | ||
16201 | ||
554f62e9 RD |
16202 | SWIGINTERN PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16203 | PyObject *resultobj = 0; | |
16204 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16205 | wxHtmlHelpFrame *result = 0 ; | |
16206 | void *argp1 = 0 ; | |
16207 | int res1 = 0 ; | |
16208 | PyObject *swig_obj[1] ; | |
16209 | ||
16210 | if (!args) SWIG_fail; | |
16211 | swig_obj[0] = args; | |
16212 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16213 | if (!SWIG_IsOK(res1)) { | |
16214 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16215 | } | |
16216 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16217 | { | |
16218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16219 | result = (wxHtmlHelpFrame *)(arg1)->GetFrame(); | |
16220 | wxPyEndAllowThreads(__tstate); | |
16221 | if (PyErr_Occurred()) SWIG_fail; | |
16222 | } | |
16223 | { | |
16224 | resultobj = wxPyMake_wxObject(result, 0); | |
16225 | } | |
16226 | return resultobj; | |
16227 | fail: | |
16228 | return NULL; | |
d14a1e28 RD |
16229 | } |
16230 | ||
16231 | ||
554f62e9 RD |
16232 | SWIGINTERN PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16233 | PyObject *resultobj = 0; | |
16234 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16235 | wxHtmlHelpDialog *result = 0 ; | |
16236 | void *argp1 = 0 ; | |
16237 | int res1 = 0 ; | |
16238 | PyObject *swig_obj[1] ; | |
16239 | ||
16240 | if (!args) SWIG_fail; | |
16241 | swig_obj[0] = args; | |
16242 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16243 | if (!SWIG_IsOK(res1)) { | |
16244 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16245 | } | |
16246 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16247 | { | |
16248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16249 | result = (wxHtmlHelpDialog *)(arg1)->GetDialog(); | |
16250 | wxPyEndAllowThreads(__tstate); | |
16251 | if (PyErr_Occurred()) SWIG_fail; | |
16252 | } | |
16253 | { | |
16254 | resultobj = wxPyMake_wxObject(result, 0); | |
16255 | } | |
16256 | return resultobj; | |
16257 | fail: | |
16258 | return NULL; | |
16259 | } | |
16260 | ||
16261 | ||
16262 | SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16263 | PyObject *resultobj = 0; | |
16264 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16265 | wxString *arg2 = 0 ; | |
16266 | void *argp1 = 0 ; | |
16267 | int res1 = 0 ; | |
16268 | bool temp2 = false ; | |
16269 | PyObject * obj0 = 0 ; | |
16270 | PyObject * obj1 = 0 ; | |
16271 | char * kwnames[] = { | |
16272 | (char *) "self",(char *) "format", NULL | |
16273 | }; | |
16274 | ||
16275 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail; | |
16276 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16277 | if (!SWIG_IsOK(res1)) { | |
16278 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16279 | } | |
16280 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16281 | { | |
16282 | arg2 = wxString_in_helper(obj1); | |
16283 | if (arg2 == NULL) SWIG_fail; | |
16284 | temp2 = true; | |
16285 | } | |
16286 | { | |
16287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16288 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
16289 | wxPyEndAllowThreads(__tstate); | |
16290 | if (PyErr_Occurred()) SWIG_fail; | |
16291 | } | |
16292 | resultobj = SWIG_Py_Void(); | |
16293 | { | |
16294 | if (temp2) | |
16295 | delete arg2; | |
16296 | } | |
16297 | return resultobj; | |
16298 | fail: | |
16299 | { | |
16300 | if (temp2) | |
16301 | delete arg2; | |
16302 | } | |
16303 | return NULL; | |
d14a1e28 RD |
16304 | } |
16305 | ||
16306 | ||
554f62e9 RD |
16307 | SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
16308 | PyObject *resultobj = 0; | |
16309 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16310 | wxString *arg2 = 0 ; | |
16311 | void *argp1 = 0 ; | |
16312 | int res1 = 0 ; | |
16313 | bool temp2 = false ; | |
16314 | PyObject * obj0 = 0 ; | |
16315 | PyObject * obj1 = 0 ; | |
16316 | char * kwnames[] = { | |
16317 | (char *) "self",(char *) "path", NULL | |
16318 | }; | |
16319 | ||
16320 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail; | |
16321 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16322 | if (!SWIG_IsOK(res1)) { | |
16323 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16324 | } | |
16325 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16326 | { | |
16327 | arg2 = wxString_in_helper(obj1); | |
16328 | if (arg2 == NULL) SWIG_fail; | |
16329 | temp2 = true; | |
16330 | } | |
16331 | { | |
16332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16333 | (arg1)->SetTempDir((wxString const &)*arg2); | |
16334 | wxPyEndAllowThreads(__tstate); | |
16335 | if (PyErr_Occurred()) SWIG_fail; | |
16336 | } | |
16337 | resultobj = SWIG_Py_Void(); | |
16338 | { | |
16339 | if (temp2) | |
16340 | delete arg2; | |
16341 | } | |
16342 | return resultobj; | |
16343 | fail: | |
16344 | { | |
16345 | if (temp2) | |
16346 | delete arg2; | |
16347 | } | |
16348 | return NULL; | |
16349 | } | |
16350 | ||
16351 | ||
16352 | SWIGINTERN PyObject *_wrap_HtmlHelpController_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16353 | PyObject *resultobj = 0; | |
16354 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16355 | wxString *arg2 = 0 ; | |
16356 | int arg3 = (int) false ; | |
16357 | bool result; | |
16358 | void *argp1 = 0 ; | |
16359 | int res1 = 0 ; | |
16360 | bool temp2 = false ; | |
16361 | int val3 ; | |
16362 | int ecode3 = 0 ; | |
16363 | PyObject * obj0 = 0 ; | |
16364 | PyObject * obj1 = 0 ; | |
16365 | PyObject * obj2 = 0 ; | |
16366 | char * kwnames[] = { | |
16367 | (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL | |
16368 | }; | |
16369 | ||
16370 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
16371 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16372 | if (!SWIG_IsOK(res1)) { | |
16373 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16374 | } | |
16375 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16376 | { | |
16377 | arg2 = wxString_in_helper(obj1); | |
16378 | if (arg2 == NULL) SWIG_fail; | |
16379 | temp2 = true; | |
16380 | } | |
16381 | if (obj2) { | |
16382 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
16383 | if (!SWIG_IsOK(ecode3)) { | |
16384 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'"); | |
16385 | } | |
16386 | arg3 = static_cast< int >(val3); | |
16387 | } | |
16388 | { | |
16389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16390 | result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3); | |
16391 | wxPyEndAllowThreads(__tstate); | |
16392 | if (PyErr_Occurred()) SWIG_fail; | |
16393 | } | |
16394 | { | |
16395 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16396 | } | |
16397 | { | |
16398 | if (temp2) | |
16399 | delete arg2; | |
16400 | } | |
16401 | return resultobj; | |
16402 | fail: | |
16403 | { | |
16404 | if (temp2) | |
16405 | delete arg2; | |
16406 | } | |
16407 | return NULL; | |
d14a1e28 RD |
16408 | } |
16409 | ||
16410 | ||
554f62e9 RD |
16411 | SWIGINTERN PyObject *_wrap_HtmlHelpController_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
16412 | PyObject *resultobj = 0; | |
16413 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16414 | wxString *arg2 = 0 ; | |
16415 | void *argp1 = 0 ; | |
16416 | int res1 = 0 ; | |
16417 | bool temp2 = false ; | |
16418 | PyObject * obj0 = 0 ; | |
16419 | PyObject * obj1 = 0 ; | |
16420 | char * kwnames[] = { | |
16421 | (char *) "self",(char *) "x", NULL | |
16422 | }; | |
16423 | ||
16424 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) SWIG_fail; | |
16425 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16426 | if (!SWIG_IsOK(res1)) { | |
16427 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16428 | } | |
16429 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16430 | { | |
16431 | arg2 = wxString_in_helper(obj1); | |
16432 | if (arg2 == NULL) SWIG_fail; | |
16433 | temp2 = true; | |
16434 | } | |
16435 | { | |
16436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16437 | (arg1)->Display((wxString const &)*arg2); | |
16438 | wxPyEndAllowThreads(__tstate); | |
16439 | if (PyErr_Occurred()) SWIG_fail; | |
16440 | } | |
16441 | resultobj = SWIG_Py_Void(); | |
16442 | { | |
16443 | if (temp2) | |
16444 | delete arg2; | |
16445 | } | |
16446 | return resultobj; | |
16447 | fail: | |
16448 | { | |
16449 | if (temp2) | |
16450 | delete arg2; | |
16451 | } | |
16452 | return NULL; | |
16453 | } | |
16454 | ||
16455 | ||
16456 | SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16457 | PyObject *resultobj = 0; | |
16458 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16459 | int arg2 ; | |
16460 | void *argp1 = 0 ; | |
16461 | int res1 = 0 ; | |
16462 | int val2 ; | |
16463 | int ecode2 = 0 ; | |
16464 | PyObject * obj0 = 0 ; | |
16465 | PyObject * obj1 = 0 ; | |
16466 | char * kwnames[] = { | |
16467 | (char *) "self",(char *) "id", NULL | |
16468 | }; | |
16469 | ||
16470 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail; | |
16471 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16472 | if (!SWIG_IsOK(res1)) { | |
16473 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16474 | } | |
16475 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16476 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
16477 | if (!SWIG_IsOK(ecode2)) { | |
16478 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'"); | |
16479 | } | |
16480 | arg2 = static_cast< int >(val2); | |
16481 | { | |
16482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16483 | (arg1)->Display(arg2); | |
16484 | wxPyEndAllowThreads(__tstate); | |
16485 | if (PyErr_Occurred()) SWIG_fail; | |
16486 | } | |
16487 | resultobj = SWIG_Py_Void(); | |
16488 | return resultobj; | |
16489 | fail: | |
16490 | return NULL; | |
d14a1e28 RD |
16491 | } |
16492 | ||
16493 | ||
554f62e9 RD |
16494 | SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16495 | PyObject *resultobj = 0; | |
16496 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16497 | void *argp1 = 0 ; | |
16498 | int res1 = 0 ; | |
16499 | PyObject *swig_obj[1] ; | |
16500 | ||
16501 | if (!args) SWIG_fail; | |
16502 | swig_obj[0] = args; | |
16503 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16504 | if (!SWIG_IsOK(res1)) { | |
16505 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16506 | } | |
16507 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16508 | { | |
16509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16510 | (arg1)->DisplayContents(); | |
16511 | wxPyEndAllowThreads(__tstate); | |
16512 | if (PyErr_Occurred()) SWIG_fail; | |
16513 | } | |
16514 | resultobj = SWIG_Py_Void(); | |
16515 | return resultobj; | |
16516 | fail: | |
16517 | return NULL; | |
d14a1e28 RD |
16518 | } |
16519 | ||
16520 | ||
554f62e9 RD |
16521 | SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16522 | PyObject *resultobj = 0; | |
16523 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16524 | void *argp1 = 0 ; | |
16525 | int res1 = 0 ; | |
16526 | PyObject *swig_obj[1] ; | |
16527 | ||
16528 | if (!args) SWIG_fail; | |
16529 | swig_obj[0] = args; | |
16530 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16531 | if (!SWIG_IsOK(res1)) { | |
16532 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16533 | } | |
16534 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16535 | { | |
16536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16537 | (arg1)->DisplayIndex(); | |
16538 | wxPyEndAllowThreads(__tstate); | |
16539 | if (PyErr_Occurred()) SWIG_fail; | |
16540 | } | |
16541 | resultobj = SWIG_Py_Void(); | |
16542 | return resultobj; | |
16543 | fail: | |
16544 | return NULL; | |
16545 | } | |
16546 | ||
16547 | ||
16548 | SWIGINTERN PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16549 | PyObject *resultobj = 0; | |
16550 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16551 | wxString *arg2 = 0 ; | |
16552 | bool result; | |
16553 | void *argp1 = 0 ; | |
16554 | int res1 = 0 ; | |
16555 | bool temp2 = false ; | |
16556 | PyObject * obj0 = 0 ; | |
16557 | PyObject * obj1 = 0 ; | |
16558 | char * kwnames[] = { | |
16559 | (char *) "self",(char *) "keyword", NULL | |
16560 | }; | |
16561 | ||
16562 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) SWIG_fail; | |
16563 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16564 | if (!SWIG_IsOK(res1)) { | |
16565 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16566 | } | |
16567 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16568 | { | |
16569 | arg2 = wxString_in_helper(obj1); | |
16570 | if (arg2 == NULL) SWIG_fail; | |
16571 | temp2 = true; | |
16572 | } | |
16573 | { | |
16574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16575 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
16576 | wxPyEndAllowThreads(__tstate); | |
16577 | if (PyErr_Occurred()) SWIG_fail; | |
16578 | } | |
16579 | { | |
16580 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16581 | } | |
16582 | { | |
16583 | if (temp2) | |
16584 | delete arg2; | |
16585 | } | |
16586 | return resultobj; | |
16587 | fail: | |
16588 | { | |
16589 | if (temp2) | |
16590 | delete arg2; | |
16591 | } | |
16592 | return NULL; | |
16593 | } | |
16594 | ||
16595 | ||
16596 | SWIGINTERN PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16597 | PyObject *resultobj = 0; | |
16598 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16599 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
16600 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
16601 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
16602 | void *argp1 = 0 ; | |
16603 | int res1 = 0 ; | |
16604 | void *argp2 = 0 ; | |
16605 | int res2 = 0 ; | |
16606 | bool temp3 = false ; | |
16607 | PyObject * obj0 = 0 ; | |
16608 | PyObject * obj1 = 0 ; | |
16609 | PyObject * obj2 = 0 ; | |
16610 | char * kwnames[] = { | |
16611 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
16612 | }; | |
16613 | ||
16614 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
16615 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16616 | if (!SWIG_IsOK(res1)) { | |
16617 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16618 | } | |
16619 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16620 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
16621 | if (!SWIG_IsOK(res2)) { | |
16622 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
16623 | } | |
16624 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
16625 | if (obj2) { | |
ae8162c8 | 16626 | { |
554f62e9 RD |
16627 | arg3 = wxString_in_helper(obj2); |
16628 | if (arg3 == NULL) SWIG_fail; | |
16629 | temp3 = true; | |
ae8162c8 | 16630 | } |
554f62e9 RD |
16631 | } |
16632 | { | |
16633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16634 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
16635 | wxPyEndAllowThreads(__tstate); | |
16636 | if (PyErr_Occurred()) SWIG_fail; | |
16637 | } | |
16638 | resultobj = SWIG_Py_Void(); | |
16639 | { | |
16640 | if (temp3) | |
16641 | delete arg3; | |
16642 | } | |
16643 | return resultobj; | |
16644 | fail: | |
16645 | { | |
16646 | if (temp3) | |
16647 | delete arg3; | |
16648 | } | |
16649 | return NULL; | |
16650 | } | |
16651 | ||
16652 | ||
16653 | SWIGINTERN PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16654 | PyObject *resultobj = 0; | |
16655 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16656 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
16657 | wxString arg3 = (wxString) wxPyEmptyString ; | |
16658 | void *argp1 = 0 ; | |
16659 | int res1 = 0 ; | |
16660 | void *argp2 = 0 ; | |
16661 | int res2 = 0 ; | |
16662 | PyObject * obj0 = 0 ; | |
16663 | PyObject * obj1 = 0 ; | |
16664 | PyObject * obj2 = 0 ; | |
16665 | char * kwnames[] = { | |
16666 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
16667 | }; | |
16668 | ||
16669 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
16670 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16671 | if (!SWIG_IsOK(res1)) { | |
16672 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16673 | } | |
16674 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16675 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
16676 | if (!SWIG_IsOK(res2)) { | |
16677 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
16678 | } | |
16679 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
16680 | if (obj2) { | |
ae8162c8 | 16681 | { |
554f62e9 RD |
16682 | wxString* sptr = wxString_in_helper(obj2); |
16683 | if (sptr == NULL) SWIG_fail; | |
16684 | arg3 = *sptr; | |
16685 | delete sptr; | |
8edf1c75 | 16686 | } |
554f62e9 RD |
16687 | } |
16688 | { | |
16689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16690 | (arg1)->ReadCustomization(arg2,arg3); | |
16691 | wxPyEndAllowThreads(__tstate); | |
16692 | if (PyErr_Occurred()) SWIG_fail; | |
16693 | } | |
16694 | resultobj = SWIG_Py_Void(); | |
16695 | return resultobj; | |
16696 | fail: | |
16697 | return NULL; | |
16698 | } | |
16699 | ||
16700 | ||
16701 | SWIGINTERN PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16702 | PyObject *resultobj = 0; | |
16703 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16704 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
16705 | wxString arg3 = (wxString) wxPyEmptyString ; | |
16706 | void *argp1 = 0 ; | |
16707 | int res1 = 0 ; | |
16708 | void *argp2 = 0 ; | |
16709 | int res2 = 0 ; | |
16710 | PyObject * obj0 = 0 ; | |
16711 | PyObject * obj1 = 0 ; | |
16712 | PyObject * obj2 = 0 ; | |
16713 | char * kwnames[] = { | |
16714 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
16715 | }; | |
16716 | ||
16717 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
16718 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16719 | if (!SWIG_IsOK(res1)) { | |
16720 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16721 | } | |
16722 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16723 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
16724 | if (!SWIG_IsOK(res2)) { | |
16725 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
16726 | } | |
16727 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
16728 | if (obj2) { | |
d14a1e28 | 16729 | { |
554f62e9 RD |
16730 | wxString* sptr = wxString_in_helper(obj2); |
16731 | if (sptr == NULL) SWIG_fail; | |
16732 | arg3 = *sptr; | |
16733 | delete sptr; | |
d14a1e28 | 16734 | } |
554f62e9 RD |
16735 | } |
16736 | { | |
16737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16738 | (arg1)->WriteCustomization(arg2,arg3); | |
16739 | wxPyEndAllowThreads(__tstate); | |
16740 | if (PyErr_Occurred()) SWIG_fail; | |
16741 | } | |
16742 | resultobj = SWIG_Py_Void(); | |
16743 | return resultobj; | |
16744 | fail: | |
16745 | return NULL; | |
d14a1e28 RD |
16746 | } |
16747 | ||
16748 | ||
554f62e9 RD |
16749 | SWIGINTERN PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16750 | PyObject *resultobj = 0; | |
16751 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16752 | void *argp1 = 0 ; | |
16753 | int res1 = 0 ; | |
16754 | PyObject *swig_obj[1] ; | |
16755 | ||
16756 | if (!args) SWIG_fail; | |
16757 | swig_obj[0] = args; | |
16758 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16759 | if (!SWIG_IsOK(res1)) { | |
16760 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16761 | } | |
16762 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16763 | { | |
16764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16765 | (arg1)->MakeModalIfNeeded(); | |
16766 | wxPyEndAllowThreads(__tstate); | |
16767 | if (PyErr_Occurred()) SWIG_fail; | |
16768 | } | |
16769 | resultobj = SWIG_Py_Void(); | |
16770 | return resultobj; | |
16771 | fail: | |
16772 | return NULL; | |
d14a1e28 RD |
16773 | } |
16774 | ||
16775 | ||
554f62e9 RD |
16776 | SWIGINTERN PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16777 | PyObject *resultobj = 0; | |
16778 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16779 | wxWindow *result = 0 ; | |
16780 | void *argp1 = 0 ; | |
16781 | int res1 = 0 ; | |
16782 | PyObject *swig_obj[1] ; | |
16783 | ||
16784 | if (!args) SWIG_fail; | |
16785 | swig_obj[0] = args; | |
16786 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16787 | if (!SWIG_IsOK(res1)) { | |
16788 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16789 | } | |
16790 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16791 | { | |
16792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16793 | result = (wxWindow *)(arg1)->FindTopLevelWindow(); | |
16794 | wxPyEndAllowThreads(__tstate); | |
16795 | if (PyErr_Occurred()) SWIG_fail; | |
16796 | } | |
16797 | { | |
16798 | resultobj = wxPyMake_wxObject(result, 0); | |
16799 | } | |
16800 | return resultobj; | |
16801 | fail: | |
16802 | return NULL; | |
16803 | } | |
16804 | ||
16805 | ||
16806 | SWIGINTERN PyObject *HtmlHelpController_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16807 | PyObject *obj; | |
16808 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
16809 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController, SWIG_NewClientData(obj)); | |
16810 | return SWIG_Py_Void(); | |
16811 | } | |
16812 | ||
16813 | SWIGINTERN PyObject *HtmlHelpController_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16814 | return SWIG_Python_InitShadowInstance(args); | |
16815 | } | |
16816 | ||
16817 | SWIGINTERN PyObject *_wrap_new_HtmlModalHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16818 | PyObject *resultobj = 0; | |
16819 | wxWindow *arg1 = (wxWindow *) 0 ; | |
16820 | wxString *arg2 = 0 ; | |
16821 | wxString const &arg3_defvalue = wxEmptyString ; | |
16822 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
16823 | int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ; | |
16824 | wxHtmlModalHelp *result = 0 ; | |
16825 | void *argp1 = 0 ; | |
16826 | int res1 = 0 ; | |
16827 | bool temp2 = false ; | |
16828 | bool temp3 = false ; | |
16829 | int val4 ; | |
16830 | int ecode4 = 0 ; | |
16831 | PyObject * obj0 = 0 ; | |
16832 | PyObject * obj1 = 0 ; | |
16833 | PyObject * obj2 = 0 ; | |
16834 | PyObject * obj3 = 0 ; | |
16835 | char * kwnames[] = { | |
16836 | (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL | |
16837 | }; | |
16838 | ||
16839 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
16840 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
16841 | if (!SWIG_IsOK(res1)) { | |
16842 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
16843 | } | |
16844 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
16845 | { | |
16846 | arg2 = wxString_in_helper(obj1); | |
16847 | if (arg2 == NULL) SWIG_fail; | |
16848 | temp2 = true; | |
16849 | } | |
16850 | if (obj2) { | |
d14a1e28 | 16851 | { |
554f62e9 RD |
16852 | arg3 = wxString_in_helper(obj2); |
16853 | if (arg3 == NULL) SWIG_fail; | |
16854 | temp3 = true; | |
d14a1e28 | 16855 | } |
554f62e9 RD |
16856 | } |
16857 | if (obj3) { | |
16858 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
16859 | if (!SWIG_IsOK(ecode4)) { | |
16860 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'"); | |
16861 | } | |
16862 | arg4 = static_cast< int >(val4); | |
16863 | } | |
16864 | { | |
16865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16866 | result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
16867 | wxPyEndAllowThreads(__tstate); | |
16868 | if (PyErr_Occurred()) SWIG_fail; | |
16869 | } | |
16870 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlModalHelp, SWIG_POINTER_NEW | 0 ); | |
16871 | { | |
16872 | if (temp2) | |
16873 | delete arg2; | |
16874 | } | |
16875 | { | |
16876 | if (temp3) | |
16877 | delete arg3; | |
16878 | } | |
16879 | return resultobj; | |
16880 | fail: | |
16881 | { | |
16882 | if (temp2) | |
16883 | delete arg2; | |
16884 | } | |
16885 | { | |
16886 | if (temp3) | |
16887 | delete arg3; | |
16888 | } | |
16889 | return NULL; | |
d14a1e28 RD |
16890 | } |
16891 | ||
16892 | ||
554f62e9 RD |
16893 | SWIGINTERN PyObject *HtmlModalHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16894 | PyObject *obj; | |
16895 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
16896 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp, SWIG_NewClientData(obj)); | |
16897 | return SWIG_Py_Void(); | |
d14a1e28 RD |
16898 | } |
16899 | ||
554f62e9 RD |
16900 | SWIGINTERN PyObject *HtmlModalHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16901 | return SWIG_Python_InitShadowInstance(args); | |
d14a1e28 RD |
16902 | } |
16903 | ||
d14a1e28 | 16904 | static PyMethodDef SwigMethods[] = { |
093d3ff1 | 16905 | { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
16906 | { (char *)"HtmlLinkInfo_GetHref", (PyCFunction)_wrap_HtmlLinkInfo_GetHref, METH_O, NULL}, |
16907 | { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction)_wrap_HtmlLinkInfo_GetTarget, METH_O, NULL}, | |
16908 | { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction)_wrap_HtmlLinkInfo_GetEvent, METH_O, NULL}, | |
16909 | { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction)_wrap_HtmlLinkInfo_GetHtmlCell, METH_O, NULL}, | |
093d3ff1 RD |
16910 | { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
16911 | { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16912 | { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL}, | |
554f62e9 RD |
16913 | { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit, METH_VARARGS, NULL}, |
16914 | { (char *)"HtmlTag_GetName", (PyCFunction)_wrap_HtmlTag_GetName, METH_O, NULL}, | |
093d3ff1 RD |
16915 | { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL}, |
16916 | { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
16917 | { (char *)"HtmlTag_GetAllParams", (PyCFunction)_wrap_HtmlTag_GetAllParams, METH_O, NULL}, |
16918 | { (char *)"HtmlTag_HasEnding", (PyCFunction)_wrap_HtmlTag_HasEnding, METH_O, NULL}, | |
16919 | { (char *)"HtmlTag_GetBeginPos", (PyCFunction)_wrap_HtmlTag_GetBeginPos, METH_O, NULL}, | |
16920 | { (char *)"HtmlTag_GetEndPos1", (PyCFunction)_wrap_HtmlTag_GetEndPos1, METH_O, NULL}, | |
16921 | { (char *)"HtmlTag_GetEndPos2", (PyCFunction)_wrap_HtmlTag_GetEndPos2, METH_O, NULL}, | |
093d3ff1 RD |
16922 | { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL}, |
16923 | { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 16924 | { (char *)"HtmlParser_GetFS", (PyCFunction)_wrap_HtmlParser_GetFS, METH_O, NULL}, |
093d3ff1 RD |
16925 | { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL}, |
16926 | { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 16927 | { (char *)"HtmlParser_DoneParser", (PyCFunction)_wrap_HtmlParser_DoneParser, METH_O, NULL}, |
093d3ff1 | 16928 | { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 16929 | { (char *)"HtmlParser_StopParsing", (PyCFunction)_wrap_HtmlParser_StopParsing, METH_O, NULL}, |
093d3ff1 | 16930 | { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 16931 | { (char *)"HtmlParser_GetSource", (PyCFunction)_wrap_HtmlParser_GetSource, METH_O, NULL}, |
093d3ff1 | 16932 | { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 16933 | { (char *)"HtmlParser_PopTagHandler", (PyCFunction)_wrap_HtmlParser_PopTagHandler, METH_O, NULL}, |
093d3ff1 RD |
16934 | { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL}, |
16935 | { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16936 | { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
16937 | { (char *)"HtmlWinParser_GetDC", (PyCFunction)_wrap_HtmlWinParser_GetDC, METH_O, NULL}, |
16938 | { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction)_wrap_HtmlWinParser_GetCharHeight, METH_O, NULL}, | |
16939 | { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction)_wrap_HtmlWinParser_GetCharWidth, METH_O, NULL}, | |
16940 | { (char *)"HtmlWinParser_GetWindow", (PyCFunction)_wrap_HtmlWinParser_GetWindow, METH_O, NULL}, | |
093d3ff1 RD |
16941 | { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, |
16942 | { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
16943 | { (char *)"HtmlWinParser_GetContainer", (PyCFunction)_wrap_HtmlWinParser_GetContainer, METH_O, NULL}, |
16944 | { (char *)"HtmlWinParser_OpenContainer", (PyCFunction)_wrap_HtmlWinParser_OpenContainer, METH_O, NULL}, | |
093d3ff1 | 16945 | { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
16946 | { (char *)"HtmlWinParser_CloseContainer", (PyCFunction)_wrap_HtmlWinParser_CloseContainer, METH_O, NULL}, |
16947 | { (char *)"HtmlWinParser_GetFontSize", (PyCFunction)_wrap_HtmlWinParser_GetFontSize, METH_O, NULL}, | |
093d3ff1 | 16948 | { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 16949 | { (char *)"HtmlWinParser_GetFontBold", (PyCFunction)_wrap_HtmlWinParser_GetFontBold, METH_O, NULL}, |
093d3ff1 | 16950 | { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 16951 | { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction)_wrap_HtmlWinParser_GetFontItalic, METH_O, NULL}, |
093d3ff1 | 16952 | { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 16953 | { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction)_wrap_HtmlWinParser_GetFontUnderlined, METH_O, NULL}, |
093d3ff1 | 16954 | { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 16955 | { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction)_wrap_HtmlWinParser_GetFontFixed, METH_O, NULL}, |
093d3ff1 | 16956 | { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 16957 | { (char *)"HtmlWinParser_GetAlign", (PyCFunction)_wrap_HtmlWinParser_GetAlign, METH_O, NULL}, |
093d3ff1 | 16958 | { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 16959 | { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction)_wrap_HtmlWinParser_GetLinkColor, METH_O, NULL}, |
093d3ff1 | 16960 | { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 16961 | { (char *)"HtmlWinParser_GetActualColor", (PyCFunction)_wrap_HtmlWinParser_GetActualColor, METH_O, NULL}, |
093d3ff1 RD |
16962 | { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL}, |
16963 | { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
16964 | { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction)_wrap_HtmlWinParser_CreateCurrentFont, METH_O, NULL}, |
16965 | { (char *)"HtmlWinParser_GetLink", (PyCFunction)_wrap_HtmlWinParser_GetLink, METH_O, NULL}, | |
093d3ff1 | 16966 | { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL}, |
554f62e9 RD |
16967 | { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit, METH_VARARGS, NULL}, |
16968 | { (char *)"new_HtmlTagHandler", (PyCFunction)_wrap_new_HtmlTagHandler, METH_NOARGS, NULL}, | |
093d3ff1 RD |
16969 | { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
16970 | { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 16971 | { (char *)"HtmlTagHandler_GetParser", (PyCFunction)_wrap_HtmlTagHandler_GetParser, METH_O, NULL}, |
093d3ff1 RD |
16972 | { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL}, |
16973 | { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL}, | |
554f62e9 RD |
16974 | { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit, METH_VARARGS, NULL}, |
16975 | { (char *)"new_HtmlWinTagHandler", (PyCFunction)_wrap_new_HtmlWinTagHandler, METH_NOARGS, NULL}, | |
093d3ff1 RD |
16976 | { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
16977 | { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 16978 | { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction)_wrap_HtmlWinTagHandler_GetParser, METH_O, NULL}, |
093d3ff1 RD |
16979 | { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL}, |
16980 | { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 16981 | { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 16982 | { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
16983 | { (char *)"new_HtmlSelection", (PyCFunction)_wrap_new_HtmlSelection, METH_NOARGS, NULL}, |
16984 | { (char *)"delete_HtmlSelection", (PyCFunction)_wrap_delete_HtmlSelection, METH_O, NULL}, | |
093d3ff1 RD |
16985 | { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL}, |
16986 | { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
16987 | { (char *)"HtmlSelection_GetFromCell", (PyCFunction)_wrap_HtmlSelection_GetFromCell, METH_O, NULL}, |
16988 | { (char *)"HtmlSelection_GetToCell", (PyCFunction)_wrap_HtmlSelection_GetToCell, METH_O, NULL}, | |
16989 | { (char *)"HtmlSelection_GetFromPos", (PyCFunction)_wrap_HtmlSelection_GetFromPos, METH_O, NULL}, | |
16990 | { (char *)"HtmlSelection_GetToPos", (PyCFunction)_wrap_HtmlSelection_GetToPos, METH_O, NULL}, | |
16991 | { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction)_wrap_HtmlSelection_GetFromPrivPos, METH_O, NULL}, | |
16992 | { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction)_wrap_HtmlSelection_GetToPrivPos, METH_O, NULL}, | |
093d3ff1 RD |
16993 | { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL}, |
16994 | { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
16995 | { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction)_wrap_HtmlSelection_ClearPrivPos, METH_O, NULL}, |
16996 | { (char *)"HtmlSelection_IsEmpty", (PyCFunction)_wrap_HtmlSelection_IsEmpty, METH_O, NULL}, | |
093d3ff1 | 16997 | { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL}, |
554f62e9 RD |
16998 | { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit, METH_VARARGS, NULL}, |
16999 | { (char *)"new_HtmlRenderingState", (PyCFunction)_wrap_new_HtmlRenderingState, METH_NOARGS, NULL}, | |
17000 | { (char *)"delete_HtmlRenderingState", (PyCFunction)_wrap_delete_HtmlRenderingState, METH_O, NULL}, | |
093d3ff1 | 17001 | { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17002 | { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction)_wrap_HtmlRenderingState_GetSelectionState, METH_O, NULL}, |
093d3ff1 | 17003 | { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17004 | { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction)_wrap_HtmlRenderingState_GetFgColour, METH_O, NULL}, |
093d3ff1 | 17005 | { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17006 | { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction)_wrap_HtmlRenderingState_GetBgColour, METH_O, NULL}, |
093d3ff1 | 17007 | { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17008 | { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17009 | { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
17010 | { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17011 | { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL}, | |
093d3ff1 | 17012 | { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL}, |
554f62e9 RD |
17013 | { (char *)"new_HtmlRenderingInfo", (PyCFunction)_wrap_new_HtmlRenderingInfo, METH_NOARGS, NULL}, |
17014 | { (char *)"delete_HtmlRenderingInfo", (PyCFunction)_wrap_delete_HtmlRenderingInfo, METH_O, NULL}, | |
093d3ff1 | 17015 | { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17016 | { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction)_wrap_HtmlRenderingInfo_GetSelection, METH_O, NULL}, |
093d3ff1 | 17017 | { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17018 | { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction)_wrap_HtmlRenderingInfo_GetStyle, METH_O, NULL}, |
17019 | { (char *)"HtmlRenderingInfo_GetState", (PyCFunction)_wrap_HtmlRenderingInfo_GetState, METH_O, NULL}, | |
093d3ff1 | 17020 | { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL}, |
554f62e9 RD |
17021 | { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit, METH_VARARGS, NULL}, |
17022 | { (char *)"new_HtmlCell", (PyCFunction)_wrap_new_HtmlCell, METH_NOARGS, NULL}, | |
17023 | { (char *)"delete_HtmlCell", (PyCFunction)_wrap_delete_HtmlCell, METH_O, NULL}, | |
17024 | { (char *)"HtmlCell_GetPosX", (PyCFunction)_wrap_HtmlCell_GetPosX, METH_O, NULL}, | |
17025 | { (char *)"HtmlCell_GetPosY", (PyCFunction)_wrap_HtmlCell_GetPosY, METH_O, NULL}, | |
17026 | { (char *)"HtmlCell_GetWidth", (PyCFunction)_wrap_HtmlCell_GetWidth, METH_O, NULL}, | |
17027 | { (char *)"HtmlCell_GetHeight", (PyCFunction)_wrap_HtmlCell_GetHeight, METH_O, NULL}, | |
17028 | { (char *)"HtmlCell_GetDescent", (PyCFunction)_wrap_HtmlCell_GetDescent, METH_O, NULL}, | |
17029 | { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction)_wrap_HtmlCell_GetMaxTotalWidth, METH_O, NULL}, | |
17030 | { (char *)"HtmlCell_GetId", (PyCFunction)_wrap_HtmlCell_GetId, METH_O, NULL}, | |
093d3ff1 RD |
17031 | { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL}, |
17032 | { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17033 | { (char *)"HtmlCell_GetNext", (PyCFunction)_wrap_HtmlCell_GetNext, METH_O, NULL}, |
17034 | { (char *)"HtmlCell_GetParent", (PyCFunction)_wrap_HtmlCell_GetParent, METH_O, NULL}, | |
17035 | { (char *)"HtmlCell_GetFirstChild", (PyCFunction)_wrap_HtmlCell_GetFirstChild, METH_O, NULL}, | |
17036 | { (char *)"HtmlCell_GetCursor", (PyCFunction)_wrap_HtmlCell_GetCursor, METH_O, NULL}, | |
17037 | { (char *)"HtmlCell_IsFormattingCell", (PyCFunction)_wrap_HtmlCell_IsFormattingCell, METH_O, NULL}, | |
093d3ff1 RD |
17038 | { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL}, |
17039 | { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17040 | { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17041 | { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17042 | { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17043 | { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17044 | { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17045 | { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17046 | { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17047 | { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17048 | { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlCell_IsLinebreakAllowed, METH_O, NULL}, |
17049 | { (char *)"HtmlCell_IsTerminalCell", (PyCFunction)_wrap_HtmlCell_IsTerminalCell, METH_O, NULL}, | |
093d3ff1 | 17050 | { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17051 | { (char *)"HtmlCell_GetAbsPos", (PyCFunction)_wrap_HtmlCell_GetAbsPos, METH_O, NULL}, |
17052 | { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction)_wrap_HtmlCell_GetFirstTerminal, METH_O, NULL}, | |
17053 | { (char *)"HtmlCell_GetLastTerminal", (PyCFunction)_wrap_HtmlCell_GetLastTerminal, METH_O, NULL}, | |
17054 | { (char *)"HtmlCell_GetDepth", (PyCFunction)_wrap_HtmlCell_GetDepth, METH_O, NULL}, | |
093d3ff1 RD |
17055 | { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL}, |
17056 | { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17057 | { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17058 | { (char *)"HtmlCell_swiginit", HtmlCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 17059 | { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
b1fcee84 | 17060 | { (char *)"HtmlWordCell_ConvertToText", (PyCFunction) _wrap_HtmlWordCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17061 | { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlWordCell_IsLinebreakAllowed, METH_O, NULL}, |
b1fcee84 | 17062 | { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction) _wrap_HtmlWordCell_SetPreviousWord, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 17063 | { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17064 | { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17065 | { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17066 | { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17067 | { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17068 | { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction)_wrap_HtmlContainerCell_GetAlignHor, METH_O, NULL}, |
093d3ff1 | 17069 | { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17070 | { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction)_wrap_HtmlContainerCell_GetAlignVer, METH_O, NULL}, |
093d3ff1 RD |
17071 | { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, |
17072 | { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17073 | { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17074 | { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17075 | { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17076 | { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17077 | { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17078 | { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17079 | { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction)_wrap_HtmlContainerCell_GetBackgroundColour, METH_O, NULL}, |
093d3ff1 | 17080 | { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17081 | { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction)_wrap_HtmlContainerCell_GetFirstChild, METH_O, NULL}, |
093d3ff1 | 17082 | { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17083 | { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17084 | { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17085 | { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17086 | { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17087 | { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17088 | { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17089 | { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17090 | { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17091 | { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL}, | |
554f62e9 RD |
17092 | { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit, METH_VARARGS, NULL}, |
17093 | { (char *)"new_HtmlFilter", (PyCFunction)_wrap_new_HtmlFilter, METH_NOARGS, NULL}, | |
093d3ff1 RD |
17094 | { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
17095 | { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17096 | { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 17097 | { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17098 | { (char *)"new_PreHtmlWindow", (PyCFunction)_wrap_new_PreHtmlWindow, METH_NOARGS, NULL}, |
093d3ff1 RD |
17099 | { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, |
17100 | { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17101 | { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17102 | { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17103 | { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17104 | { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17105 | { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction)_wrap_HtmlWindow_GetOpenedPage, METH_O, NULL}, |
17106 | { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction)_wrap_HtmlWindow_GetOpenedAnchor, METH_O, NULL}, | |
17107 | { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction)_wrap_HtmlWindow_GetOpenedPageTitle, METH_O, NULL}, | |
093d3ff1 | 17108 | { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17109 | { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction)_wrap_HtmlWindow_GetRelatedFrame, METH_O, NULL}, |
093d3ff1 RD |
17110 | { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, |
17111 | { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17112 | { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 | 17113 | { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL}, |
53aa7709 | 17114 | { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
17115 | { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, |
17116 | { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17117 | { (char *)"HtmlWindow_HistoryBack", (PyCFunction)_wrap_HtmlWindow_HistoryBack, METH_O, NULL}, |
17118 | { (char *)"HtmlWindow_HistoryForward", (PyCFunction)_wrap_HtmlWindow_HistoryForward, METH_O, NULL}, | |
17119 | { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction)_wrap_HtmlWindow_HistoryCanBack, METH_O, NULL}, | |
17120 | { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction)_wrap_HtmlWindow_HistoryCanForward, METH_O, NULL}, | |
17121 | { (char *)"HtmlWindow_HistoryClear", (PyCFunction)_wrap_HtmlWindow_HistoryClear, METH_O, NULL}, | |
17122 | { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction)_wrap_HtmlWindow_GetInternalRepresentation, METH_O, NULL}, | |
17123 | { (char *)"HtmlWindow_GetParser", (PyCFunction)_wrap_HtmlWindow_GetParser, METH_O, NULL}, | |
093d3ff1 RD |
17124 | { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, |
17125 | { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17126 | { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17127 | { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17128 | { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17129 | { (char *)"HtmlWindow_SelectAll", (PyCFunction)_wrap_HtmlWindow_SelectAll, METH_O, NULL}, |
17130 | { (char *)"HtmlWindow_SelectionToText", (PyCFunction)_wrap_HtmlWindow_SelectionToText, METH_O, NULL}, | |
17131 | { (char *)"HtmlWindow_ToText", (PyCFunction)_wrap_HtmlWindow_ToText, METH_O, NULL}, | |
b06b3e70 RD |
17132 | { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL}, |
17133 | { (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17134 | { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17135 | { (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
17136 | { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, |
17137 | { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL}, | |
554f62e9 RD |
17138 | { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit, METH_VARARGS, NULL}, |
17139 | { (char *)"new_HtmlDCRenderer", (PyCFunction)_wrap_new_HtmlDCRenderer, METH_NOARGS, NULL}, | |
17140 | { (char *)"delete_HtmlDCRenderer", (PyCFunction)_wrap_delete_HtmlDCRenderer, METH_O, NULL}, | |
093d3ff1 RD |
17141 | { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, |
17142 | { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17143 | { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17144 | { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17145 | { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17146 | { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17147 | { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction)_wrap_HtmlDCRenderer_GetTotalHeight, METH_O, NULL}, |
093d3ff1 | 17148 | { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17149 | { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17150 | { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, |
17151 | { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17152 | { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17153 | { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17154 | { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17155 | { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17156 | { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17157 | { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17158 | { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17159 | { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction)_wrap_HtmlPrintout_CleanUpStatics, METH_NOARGS, NULL}, |
093d3ff1 | 17160 | { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17161 | { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 17162 | { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17163 | { (char *)"delete_HtmlEasyPrinting", (PyCFunction)_wrap_delete_HtmlEasyPrinting, METH_O, NULL}, |
093d3ff1 RD |
17164 | { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL}, |
17165 | { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17166 | { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17167 | { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17168 | { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction)_wrap_HtmlEasyPrinting_PageSetup, METH_O, NULL}, |
093d3ff1 RD |
17169 | { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL}, |
17170 | { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17171 | { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17172 | { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17173 | { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPrintData, METH_O, NULL}, |
17174 | { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPageSetupData, METH_O, NULL}, | |
093d3ff1 | 17175 | { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17176 | { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 17177 | { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17178 | { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction)_wrap_HtmlBookRecord_GetBookFile, METH_O, NULL}, |
17179 | { (char *)"HtmlBookRecord_GetTitle", (PyCFunction)_wrap_HtmlBookRecord_GetTitle, METH_O, NULL}, | |
17180 | { (char *)"HtmlBookRecord_GetStart", (PyCFunction)_wrap_HtmlBookRecord_GetStart, METH_O, NULL}, | |
17181 | { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction)_wrap_HtmlBookRecord_GetBasePath, METH_O, NULL}, | |
093d3ff1 | 17182 | { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17183 | { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction)_wrap_HtmlBookRecord_GetContentsStart, METH_O, NULL}, |
17184 | { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction)_wrap_HtmlBookRecord_GetContentsEnd, METH_O, NULL}, | |
093d3ff1 RD |
17185 | { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, |
17186 | { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17187 | { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17188 | { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17189 | { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL}, | |
554f62e9 RD |
17190 | { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit, METH_VARARGS, NULL}, |
17191 | { (char *)"HtmlSearchStatus_Search", (PyCFunction)_wrap_HtmlSearchStatus_Search, METH_O, NULL}, | |
17192 | { (char *)"HtmlSearchStatus_IsActive", (PyCFunction)_wrap_HtmlSearchStatus_IsActive, METH_O, NULL}, | |
17193 | { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetCurIndex, METH_O, NULL}, | |
17194 | { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetMaxIndex, METH_O, NULL}, | |
17195 | { (char *)"HtmlSearchStatus_GetName", (PyCFunction)_wrap_HtmlSearchStatus_GetName, METH_O, NULL}, | |
093d3ff1 | 17196 | { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL}, |
554f62e9 RD |
17197 | { (char *)"new_HtmlHelpData", (PyCFunction)_wrap_new_HtmlHelpData, METH_NOARGS, NULL}, |
17198 | { (char *)"delete_HtmlHelpData", (PyCFunction)_wrap_delete_HtmlHelpData, METH_O, NULL}, | |
093d3ff1 RD |
17199 | { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL}, |
17200 | { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17201 | { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17202 | { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17203 | { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction)_wrap_HtmlHelpData_GetBookRecArray, METH_O, NULL}, |
093d3ff1 | 17204 | { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17205 | { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit, METH_VARARGS, NULL}, |
7449af73 RD |
17206 | { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
17207 | { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17208 | { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17209 | { (char *)"HtmlHelpWindow_GetData", (PyCFunction)_wrap_HtmlHelpWindow_GetData, METH_O, NULL}, |
17210 | { (char *)"HtmlHelpWindow_GetController", (PyCFunction)_wrap_HtmlHelpWindow_GetController, METH_O, NULL}, | |
7449af73 RD |
17211 | { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, |
17212 | { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17213 | { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17214 | { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction)_wrap_HtmlHelpWindow_DisplayContents, METH_O, NULL}, |
17215 | { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction)_wrap_HtmlHelpWindow_DisplayIndex, METH_O, NULL}, | |
7449af73 RD |
17216 | { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, |
17217 | { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17218 | { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17219 | { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17220 | { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction)_wrap_HtmlHelpWindow_NotifyPageChanged, METH_O, NULL}, |
17221 | { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction)_wrap_HtmlHelpWindow_RefreshLists, METH_O, NULL}, | |
17222 | { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetHtmlWindow, METH_O, NULL}, | |
17223 | { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetSplitterWindow, METH_O, NULL}, | |
17224 | { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction)_wrap_HtmlHelpWindow_GetToolBar, METH_O, NULL}, | |
17225 | { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction)_wrap_HtmlHelpWindow_GetCfgData, METH_O, NULL}, | |
17226 | { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction)_wrap_HtmlHelpWindow_GetTreeCtrl, METH_O, NULL}, | |
7449af73 | 17227 | { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17228 | { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit, METH_VARARGS, NULL}, |
7449af73 RD |
17229 | { (char *)"new_HtmlWindowEvent", (PyCFunction) _wrap_new_HtmlWindowEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
17230 | { (char *)"HtmlWindowEvent_SetURL", (PyCFunction) _wrap_HtmlWindowEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17231 | { (char *)"HtmlWindowEvent_GetURL", (PyCFunction)_wrap_HtmlWindowEvent_GetURL, METH_O, NULL}, |
7449af73 | 17232 | { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17233 | { (char *)"HtmlWindowEvent_swiginit", HtmlWindowEvent_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 17234 | { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
7449af73 RD |
17235 | { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
17236 | { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17237 | { (char *)"HtmlHelpFrame_GetData", (PyCFunction)_wrap_HtmlHelpFrame_GetData, METH_O, NULL}, |
093d3ff1 | 17238 | { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17239 | { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction)_wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_O, NULL}, |
17240 | { (char *)"HtmlHelpFrame_GetController", (PyCFunction)_wrap_HtmlHelpFrame_GetController, METH_O, NULL}, | |
7449af73 | 17241 | { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17242 | { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpFrame_GetHelpWindow, METH_O, NULL}, |
093d3ff1 | 17243 | { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17244 | { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit, METH_VARARGS, NULL}, |
7449af73 RD |
17245 | { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL}, |
17246 | { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17247 | { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17248 | { (char *)"HtmlHelpDialog_GetData", (PyCFunction)_wrap_HtmlHelpDialog_GetData, METH_O, NULL}, |
17249 | { (char *)"HtmlHelpDialog_GetController", (PyCFunction)_wrap_HtmlHelpDialog_GetController, METH_O, NULL}, | |
7449af73 | 17250 | { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17251 | { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpDialog_GetHelpWindow, METH_O, NULL}, |
7449af73 RD |
17252 | { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, |
17253 | { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17254 | { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit, METH_VARARGS, NULL}, |
7449af73 RD |
17255 | { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL}, |
17256 | { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17257 | { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17258 | { (char *)"HelpControllerBase_DisplayContents", (PyCFunction)_wrap_HelpControllerBase_DisplayContents, METH_O, NULL}, |
7449af73 RD |
17259 | { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL}, |
17260 | { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17261 | { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL}, | |
17262 | { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17263 | { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17264 | { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17265 | { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17266 | { (char *)"HelpControllerBase_Quit", (PyCFunction)_wrap_HelpControllerBase_Quit, METH_O, NULL}, |
17267 | { (char *)"HelpControllerBase_OnQuit", (PyCFunction)_wrap_HelpControllerBase_OnQuit, METH_O, NULL}, | |
7449af73 | 17268 | { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17269 | { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction)_wrap_HelpControllerBase_GetParentWindow, METH_O, NULL}, |
7449af73 | 17270 | { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL}, |
093d3ff1 | 17271 | { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17272 | { (char *)"delete_HtmlHelpController", (PyCFunction)_wrap_delete_HtmlHelpController, METH_O, NULL}, |
17273 | { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpController_GetHelpWindow, METH_O, NULL}, | |
7449af73 | 17274 | { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17275 | { (char *)"HtmlHelpController_GetFrame", (PyCFunction)_wrap_HtmlHelpController_GetFrame, METH_O, NULL}, |
17276 | { (char *)"HtmlHelpController_GetDialog", (PyCFunction)_wrap_HtmlHelpController_GetDialog, METH_O, NULL}, | |
093d3ff1 RD |
17277 | { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, |
17278 | { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17279 | { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17280 | { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17281 | { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17282 | { (char *)"HtmlHelpController_DisplayContents", (PyCFunction)_wrap_HtmlHelpController_DisplayContents, METH_O, NULL}, |
17283 | { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction)_wrap_HtmlHelpController_DisplayIndex, METH_O, NULL}, | |
093d3ff1 RD |
17284 | { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, |
17285 | { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17286 | { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17287 | { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17288 | { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction)_wrap_HtmlHelpController_MakeModalIfNeeded, METH_O, NULL}, |
17289 | { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction)_wrap_HtmlHelpController_FindTopLevelWindow, METH_O, NULL}, | |
093d3ff1 | 17290 | { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17291 | { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit, METH_VARARGS, NULL}, |
7449af73 RD |
17292 | { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL}, |
17293 | { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17294 | { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit, METH_VARARGS, NULL}, |
c32bde28 | 17295 | { NULL, NULL, 0, NULL } |
d14a1e28 RD |
17296 | }; |
17297 | ||
17298 | ||
17299 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
17300 | ||
17301 | static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) { | |
17302 | return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x)); | |
17303 | } | |
7449af73 RD |
17304 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
17305 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
d14a1e28 | 17306 | } |
7449af73 RD |
17307 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { |
17308 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
d14a1e28 | 17309 | } |
7449af73 RD |
17310 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { |
17311 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
a2482628 | 17312 | } |
7449af73 RD |
17313 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { |
17314 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
d14a1e28 | 17315 | } |
7449af73 RD |
17316 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { |
17317 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
d14a1e28 | 17318 | } |
7449af73 RD |
17319 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { |
17320 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
d14a1e28 | 17321 | } |
7449af73 RD |
17322 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { |
17323 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
d14a1e28 | 17324 | } |
7449af73 RD |
17325 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { |
17326 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
d14a1e28 | 17327 | } |
7449af73 RD |
17328 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { |
17329 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
d14a1e28 | 17330 | } |
7449af73 RD |
17331 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { |
17332 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
17333 | } | |
17334 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
17335 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
17336 | } | |
17337 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
17338 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17339 | } | |
17340 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
17341 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
17342 | } | |
17343 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
17344 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
17345 | } | |
17346 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
17347 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17348 | } | |
17349 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
17350 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
17351 | } | |
17352 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
17353 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
17354 | } | |
17355 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
17356 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
17357 | } | |
17358 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
17359 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
17360 | } | |
17361 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
17362 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
17363 | } | |
17364 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
17365 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
17366 | } | |
17367 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
17368 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
17369 | } | |
17370 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
17371 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
17372 | } | |
17373 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
17374 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
17375 | } | |
17376 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
17377 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17378 | } | |
17379 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
17380 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
17381 | } | |
17382 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
17383 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
17384 | } | |
17385 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
17386 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
17387 | } | |
17388 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
17389 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
17390 | } | |
17391 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
17392 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
17393 | } | |
17394 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
17395 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
17396 | } | |
17397 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
17398 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17399 | } | |
17400 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
17401 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
17402 | } | |
17403 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
17404 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
17405 | } | |
17406 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
17407 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
17408 | } | |
17409 | static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x) { | |
17410 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x)); | |
17411 | } | |
17412 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
17413 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
17414 | } | |
17415 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
17416 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17417 | } | |
17418 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
17419 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17420 | } | |
17421 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
17422 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
17423 | } | |
17424 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
17425 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
17426 | } | |
17427 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
17428 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
17429 | } | |
17430 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
17431 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
17432 | } | |
17433 | static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) { | |
17434 | return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
17435 | } | |
17436 | static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) { | |
17437 | return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
17438 | } | |
17439 | static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) { | |
17440 | return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
17441 | } | |
17442 | static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) { | |
17443 | return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
17444 | } | |
17445 | static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) { | |
17446 | return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
17447 | } | |
17448 | static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x) { | |
17449 | return (void *)((wxNotifyEvent *) ((wxHtmlWindowEvent *) x)); | |
17450 | } | |
17451 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
17452 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
17453 | } | |
17454 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
17455 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
17456 | } | |
17457 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
17458 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
17459 | } | |
17460 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
17461 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
17462 | } | |
17463 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
17464 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
17465 | } | |
17466 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
17467 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
17468 | } | |
17469 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
17470 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
17471 | } | |
17472 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
17473 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
17474 | } | |
17475 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { | |
17476 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
17477 | } | |
17478 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
17479 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
17480 | } | |
17481 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
17482 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
17483 | } | |
17484 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
17485 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
17486 | } | |
17487 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
17488 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
17489 | } | |
17490 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
17491 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
17492 | } | |
17493 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
17494 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
17495 | } | |
17496 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
17497 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
17498 | } | |
17499 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
17500 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
17501 | } | |
17502 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
17503 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
17504 | } | |
17505 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
17506 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
17507 | } | |
17508 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
17509 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
17510 | } | |
17511 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
17512 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
17513 | } | |
17514 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
17515 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
17516 | } | |
17517 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
17518 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
d14a1e28 | 17519 | } |
7449af73 RD |
17520 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { |
17521 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
a2482628 | 17522 | } |
7449af73 RD |
17523 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { |
17524 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
d14a1e28 | 17525 | } |
7449af73 RD |
17526 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { |
17527 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
d14a1e28 | 17528 | } |
7449af73 RD |
17529 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { |
17530 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
d14a1e28 | 17531 | } |
7449af73 RD |
17532 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { |
17533 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 17534 | } |
7449af73 RD |
17535 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { |
17536 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
d14a1e28 | 17537 | } |
7449af73 RD |
17538 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { |
17539 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
d14a1e28 | 17540 | } |
7449af73 RD |
17541 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { |
17542 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 17543 | } |
7449af73 RD |
17544 | static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) { |
17545 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 17546 | } |
7449af73 RD |
17547 | static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) { |
17548 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x)); | |
d14a1e28 | 17549 | } |
7449af73 RD |
17550 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { |
17551 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
c1cb24a4 | 17552 | } |
7449af73 RD |
17553 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { |
17554 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 17555 | } |
7449af73 RD |
17556 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { |
17557 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 17558 | } |
7449af73 RD |
17559 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { |
17560 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 17561 | } |
7449af73 RD |
17562 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { |
17563 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
d14a1e28 | 17564 | } |
7449af73 RD |
17565 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { |
17566 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
d14a1e28 | 17567 | } |
7449af73 RD |
17568 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { |
17569 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
d14a1e28 | 17570 | } |
7449af73 RD |
17571 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { |
17572 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 17573 | } |
7449af73 RD |
17574 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { |
17575 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 17576 | } |
7449af73 RD |
17577 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { |
17578 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 17579 | } |
7449af73 RD |
17580 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { |
17581 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
d14a1e28 | 17582 | } |
7449af73 RD |
17583 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { |
17584 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
d14a1e28 | 17585 | } |
7449af73 RD |
17586 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { |
17587 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d14a1e28 | 17588 | } |
7449af73 RD |
17589 | static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) { |
17590 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 17591 | } |
7449af73 RD |
17592 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { |
17593 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 | 17594 | } |
7449af73 RD |
17595 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { |
17596 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 17597 | } |
7449af73 RD |
17598 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { |
17599 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 17600 | } |
7449af73 RD |
17601 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { |
17602 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
c1cb24a4 | 17603 | } |
7449af73 RD |
17604 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { |
17605 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
a2482628 | 17606 | } |
7449af73 RD |
17607 | static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) { |
17608 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 17609 | } |
7449af73 RD |
17610 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
17611 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 17612 | } |
7449af73 RD |
17613 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) { |
17614 | return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
d14a1e28 | 17615 | } |
7449af73 RD |
17616 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { |
17617 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 17618 | } |
7449af73 RD |
17619 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { |
17620 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
d14a1e28 | 17621 | } |
7449af73 RD |
17622 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { |
17623 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 17624 | } |
7449af73 RD |
17625 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { |
17626 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 17627 | } |
7449af73 RD |
17628 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { |
17629 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 17630 | } |
7449af73 RD |
17631 | static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) { |
17632 | return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 17633 | } |
7449af73 RD |
17634 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { |
17635 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 17636 | } |
7449af73 RD |
17637 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { |
17638 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 17639 | } |
7449af73 RD |
17640 | static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) { |
17641 | return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
d14a1e28 | 17642 | } |
7449af73 RD |
17643 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { |
17644 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
d14a1e28 | 17645 | } |
7449af73 RD |
17646 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { |
17647 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 17648 | } |
7449af73 RD |
17649 | static void *_p_wxEventTo_p_wxObject(void *x) { |
17650 | return (void *)((wxObject *) ((wxEvent *) x)); | |
d14a1e28 | 17651 | } |
7449af73 RD |
17652 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { |
17653 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
d14a1e28 | 17654 | } |
7449af73 RD |
17655 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { |
17656 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
d14a1e28 | 17657 | } |
7449af73 RD |
17658 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { |
17659 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
c1cb24a4 | 17660 | } |
7449af73 RD |
17661 | static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) { |
17662 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
d14a1e28 | 17663 | } |
7449af73 RD |
17664 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { |
17665 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 17666 | } |
7449af73 RD |
17667 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { |
17668 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 17669 | } |
7449af73 RD |
17670 | static void *_p_wxHtmlTagTo_p_wxObject(void *x) { |
17671 | return (void *)((wxObject *) ((wxHtmlTag *) x)); | |
d14a1e28 | 17672 | } |
7449af73 RD |
17673 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { |
17674 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
c1cb24a4 | 17675 | } |
7449af73 RD |
17676 | static void *_p_wxImageTo_p_wxObject(void *x) { |
17677 | return (void *)((wxObject *) ((wxImage *) x)); | |
d14a1e28 | 17678 | } |
7449af73 RD |
17679 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
17680 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
d14a1e28 | 17681 | } |
7449af73 RD |
17682 | static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) { |
17683 | return (void *)((wxObject *) ((wxPyHtmlFilter *) x)); | |
2f91e3df | 17684 | } |
7449af73 RD |
17685 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
17686 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
2f91e3df | 17687 | } |
7449af73 RD |
17688 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { |
17689 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
2f91e3df | 17690 | } |
7449af73 RD |
17691 | static void *_p_wxPyAppTo_p_wxObject(void *x) { |
17692 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
2f91e3df | 17693 | } |
7449af73 RD |
17694 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { |
17695 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
2f91e3df | 17696 | } |
7449af73 RD |
17697 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { |
17698 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
2f91e3df | 17699 | } |
7449af73 RD |
17700 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { |
17701 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
2f91e3df | 17702 | } |
7449af73 RD |
17703 | static void *_p_wxValidatorTo_p_wxObject(void *x) { |
17704 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
2f91e3df | 17705 | } |
7449af73 RD |
17706 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { |
17707 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
2f91e3df | 17708 | } |
7449af73 RD |
17709 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { |
17710 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
2f91e3df | 17711 | } |
7449af73 RD |
17712 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { |
17713 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
2f91e3df | 17714 | } |
7449af73 RD |
17715 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { |
17716 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
2f91e3df | 17717 | } |
7449af73 RD |
17718 | static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) { |
17719 | return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x)); | |
2f91e3df | 17720 | } |
7449af73 RD |
17721 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
17722 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
2f91e3df | 17723 | } |
7449af73 RD |
17724 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { |
17725 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
d14a1e28 | 17726 | } |
7449af73 RD |
17727 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { |
17728 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
d14a1e28 | 17729 | } |
7449af73 RD |
17730 | static void *_p_wxPrinterTo_p_wxObject(void *x) { |
17731 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
d14a1e28 | 17732 | } |
7449af73 RD |
17733 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { |
17734 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
d14a1e28 | 17735 | } |
7449af73 RD |
17736 | static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) { |
17737 | return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
d14a1e28 | 17738 | } |
7449af73 RD |
17739 | static void *_p_wxHtmlParserTo_p_wxObject(void *x) { |
17740 | return (void *)((wxObject *) ((wxHtmlParser *) x)); | |
d14a1e28 | 17741 | } |
7449af73 RD |
17742 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { |
17743 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
d14a1e28 | 17744 | } |
7449af73 RD |
17745 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { |
17746 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
d14a1e28 | 17747 | } |
7449af73 RD |
17748 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
17749 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
d14a1e28 | 17750 | } |
7449af73 RD |
17751 | static void *_p_wxControlTo_p_wxObject(void *x) { |
17752 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
d14a1e28 | 17753 | } |
7449af73 RD |
17754 | static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) { |
17755 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 17756 | } |
7449af73 RD |
17757 | static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) { |
17758 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
d14a1e28 | 17759 | } |
7449af73 RD |
17760 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
17761 | return (void *)((wxObject *) ((wxColourData *) x)); | |
d14a1e28 | 17762 | } |
7449af73 RD |
17763 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { |
17764 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
d14a1e28 | 17765 | } |
7449af73 RD |
17766 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { |
17767 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
d14a1e28 | 17768 | } |
7449af73 RD |
17769 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { |
17770 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
d14a1e28 | 17771 | } |
7449af73 RD |
17772 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { |
17773 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
d14a1e28 | 17774 | } |
7449af73 RD |
17775 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { |
17776 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
d14a1e28 | 17777 | } |
7449af73 RD |
17778 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { |
17779 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
d14a1e28 | 17780 | } |
7449af73 RD |
17781 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { |
17782 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
d14a1e28 | 17783 | } |
7449af73 RD |
17784 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { |
17785 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
d14a1e28 | 17786 | } |
7449af73 RD |
17787 | static void *_p_wxDateEventTo_p_wxObject(void *x) { |
17788 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
d14a1e28 | 17789 | } |
7449af73 RD |
17790 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
17791 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
d14a1e28 | 17792 | } |
7449af73 RD |
17793 | static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) { |
17794 | return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
d14a1e28 | 17795 | } |
7449af73 RD |
17796 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { |
17797 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
d14a1e28 | 17798 | } |
7449af73 RD |
17799 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { |
17800 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 17801 | } |
7449af73 RD |
17802 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
17803 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
d14a1e28 | 17804 | } |
7449af73 RD |
17805 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { |
17806 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
d14a1e28 | 17807 | } |
7449af73 RD |
17808 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { |
17809 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
d14a1e28 | 17810 | } |
7449af73 RD |
17811 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
17812 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
d14a1e28 | 17813 | } |
7449af73 RD |
17814 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
17815 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
d14a1e28 | 17816 | } |
7449af73 RD |
17817 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { |
17818 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 17819 | } |
7449af73 RD |
17820 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { |
17821 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 17822 | } |
7449af73 RD |
17823 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { |
17824 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
d14a1e28 | 17825 | } |
7449af73 RD |
17826 | static void *_p_wxFontDataTo_p_wxObject(void *x) { |
17827 | return (void *)((wxObject *) ((wxFontData *) x)); | |
d14a1e28 | 17828 | } |
7449af73 RD |
17829 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
17830 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 17831 | } |
7449af73 RD |
17832 | static void *_p_wxFrameTo_p_wxObject(void *x) { |
17833 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 | 17834 | } |
7449af73 RD |
17835 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { |
17836 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
d14a1e28 | 17837 | } |
7449af73 RD |
17838 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { |
17839 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
d14a1e28 | 17840 | } |
7449af73 RD |
17841 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { |
17842 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 17843 | } |
7449af73 RD |
17844 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { |
17845 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
d14a1e28 | 17846 | } |
7449af73 RD |
17847 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { |
17848 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
d14a1e28 | 17849 | } |
7449af73 RD |
17850 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { |
17851 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
d14a1e28 | 17852 | } |
7449af73 RD |
17853 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { |
17854 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
d14a1e28 | 17855 | } |
7449af73 RD |
17856 | static void *_p_wxSizerTo_p_wxObject(void *x) { |
17857 | return (void *)((wxObject *) ((wxSizer *) x)); | |
d14a1e28 | 17858 | } |
7449af73 RD |
17859 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { |
17860 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
d14a1e28 | 17861 | } |
7449af73 RD |
17862 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { |
17863 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
d14a1e28 | 17864 | } |
7449af73 RD |
17865 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { |
17866 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
d14a1e28 | 17867 | } |
7449af73 RD |
17868 | static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) { |
17869 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
d14a1e28 | 17870 | } |
7449af73 RD |
17871 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { |
17872 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
d14a1e28 | 17873 | } |
7449af73 RD |
17874 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { |
17875 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
d14a1e28 | 17876 | } |
7449af73 RD |
17877 | static void *_p_wxFSFileTo_p_wxObject(void *x) { |
17878 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
d14a1e28 | 17879 | } |
7449af73 RD |
17880 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { |
17881 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
d14a1e28 | 17882 | } |
7449af73 RD |
17883 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { |
17884 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
d14a1e28 | 17885 | } |
7449af73 RD |
17886 | static void *_p_wxMenuTo_p_wxObject(void *x) { |
17887 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
c1cb24a4 | 17888 | } |
7449af73 RD |
17889 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
17890 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
d14a1e28 | 17891 | } |
7449af73 RD |
17892 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
17893 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
d14a1e28 | 17894 | } |
7449af73 RD |
17895 | static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) { |
17896 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 17897 | } |
7449af73 RD |
17898 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { |
17899 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
d14a1e28 | 17900 | } |
7449af73 RD |
17901 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { |
17902 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
d14a1e28 | 17903 | } |
7449af73 RD |
17904 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { |
17905 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 17906 | } |
7449af73 RD |
17907 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { |
17908 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
53aa7709 | 17909 | } |
7449af73 RD |
17910 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { |
17911 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 17912 | } |
7449af73 RD |
17913 | static void *_p_wxDialogTo_p_wxObject(void *x) { |
17914 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
d14a1e28 | 17915 | } |
7449af73 RD |
17916 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { |
17917 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
d14a1e28 | 17918 | } |
7449af73 RD |
17919 | static void *_p_wxPyEventTo_p_wxObject(void *x) { |
17920 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
d14a1e28 | 17921 | } |
7449af73 RD |
17922 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) { |
17923 | return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
d14a1e28 | 17924 | } |
7449af73 RD |
17925 | static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) { |
17926 | return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x)); | |
d14a1e28 | 17927 | } |
7449af73 RD |
17928 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
17929 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
d14a1e28 | 17930 | } |
7449af73 RD |
17931 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { |
17932 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
d14a1e28 | 17933 | } |
7449af73 RD |
17934 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { |
17935 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
d14a1e28 | 17936 | } |
7449af73 RD |
17937 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { |
17938 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
d14a1e28 | 17939 | } |
7449af73 RD |
17940 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { |
17941 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
d14a1e28 | 17942 | } |
7449af73 RD |
17943 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { |
17944 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
d14a1e28 | 17945 | } |
7449af73 RD |
17946 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { |
17947 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
d14a1e28 | 17948 | } |
7449af73 RD |
17949 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { |
17950 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
d14a1e28 RD |
17951 | } |
17952 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
17953 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
17954 | } | |
7449af73 RD |
17955 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { |
17956 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
d14a1e28 | 17957 | } |
7449af73 RD |
17958 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { |
17959 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
d14a1e28 | 17960 | } |
7449af73 RD |
17961 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { |
17962 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
d14a1e28 | 17963 | } |
7449af73 RD |
17964 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { |
17965 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
9d7dfdff | 17966 | } |
7449af73 RD |
17967 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { |
17968 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
d14a1e28 | 17969 | } |
7449af73 RD |
17970 | static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x) { |
17971 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x)); | |
9d7dfdff | 17972 | } |
7449af73 RD |
17973 | static void *_p_wxShowEventTo_p_wxObject(void *x) { |
17974 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
d14a1e28 | 17975 | } |
7449af73 RD |
17976 | static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) { |
17977 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x)); | |
d14a1e28 | 17978 | } |
7449af73 RD |
17979 | static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) { |
17980 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 17981 | } |
7449af73 RD |
17982 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
17983 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 17984 | } |
7449af73 RD |
17985 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { |
17986 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
d14a1e28 | 17987 | } |
7449af73 RD |
17988 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { |
17989 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
d14a1e28 | 17990 | } |
7449af73 RD |
17991 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { |
17992 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
d14a1e28 | 17993 | } |
7449af73 RD |
17994 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { |
17995 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
51b83b37 | 17996 | } |
7449af73 RD |
17997 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { |
17998 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
d14a1e28 | 17999 | } |
7449af73 RD |
18000 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { |
18001 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
d14a1e28 | 18002 | } |
7449af73 RD |
18003 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { |
18004 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
d14a1e28 | 18005 | } |
7449af73 RD |
18006 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { |
18007 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
d14a1e28 | 18008 | } |
7449af73 RD |
18009 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { |
18010 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
d14a1e28 | 18011 | } |
7449af73 RD |
18012 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
18013 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
d14a1e28 | 18014 | } |
7449af73 RD |
18015 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
18016 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 18017 | } |
7449af73 RD |
18018 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
18019 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
d14a1e28 | 18020 | } |
7449af73 RD |
18021 | static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) { |
18022 | return (void *)((wxObject *) ((wxHelpControllerBase *) x)); | |
d14a1e28 RD |
18023 | } |
18024 | static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) { | |
18025 | return (void *)((wxObject *) ((wxHtmlDCRenderer *) x)); | |
18026 | } | |
7449af73 RD |
18027 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { |
18028 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
d14a1e28 | 18029 | } |
7449af73 RD |
18030 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { |
18031 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
d14a1e28 | 18032 | } |
7449af73 RD |
18033 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
18034 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 18035 | } |
7449af73 RD |
18036 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
18037 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 18038 | } |
7449af73 RD |
18039 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { |
18040 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 18041 | } |
7449af73 RD |
18042 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { |
18043 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 18044 | } |
7449af73 RD |
18045 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { |
18046 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 18047 | } |
7449af73 RD |
18048 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { |
18049 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 18050 | } |
7449af73 RD |
18051 | static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) { |
18052 | return (void *)((wxObject *) ((wxHtmlLinkInfo *) x)); | |
41f1cec7 | 18053 | } |
7449af73 RD |
18054 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { |
18055 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
d14a1e28 | 18056 | } |
7449af73 RD |
18057 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { |
18058 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
d14a1e28 | 18059 | } |
7449af73 RD |
18060 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { |
18061 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
d14a1e28 | 18062 | } |
7449af73 RD |
18063 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { |
18064 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
d14a1e28 | 18065 | } |
7449af73 RD |
18066 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { |
18067 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
d14a1e28 | 18068 | } |
7449af73 RD |
18069 | static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) { |
18070 | return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x)); | |
d14a1e28 | 18071 | } |
7449af73 RD |
18072 | static void *_p_wxPanelTo_p_wxObject(void *x) { |
18073 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
d14a1e28 | 18074 | } |
7449af73 RD |
18075 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { |
18076 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
d14a1e28 | 18077 | } |
7449af73 RD |
18078 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { |
18079 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
d14a1e28 | 18080 | } |
7449af73 RD |
18081 | static void *_p_wxHtmlCellTo_p_wxObject(void *x) { |
18082 | return (void *)((wxObject *) ((wxHtmlCell *) x)); | |
d14a1e28 | 18083 | } |
7449af73 RD |
18084 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { |
18085 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
a2482628 | 18086 | } |
7449af73 RD |
18087 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { |
18088 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
d14a1e28 | 18089 | } |
7449af73 RD |
18090 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { |
18091 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
d14a1e28 | 18092 | } |
7449af73 RD |
18093 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { |
18094 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
d14a1e28 | 18095 | } |
7449af73 RD |
18096 | static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) { |
18097 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
d14a1e28 | 18098 | } |
7449af73 RD |
18099 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
18100 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
d14a1e28 | 18101 | } |
7449af73 RD |
18102 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { |
18103 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
18104 | } | |
18105 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
18106 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
18107 | } | |
18108 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
18109 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
18110 | } | |
18111 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
18112 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 18113 | } |
7449af73 RD |
18114 | static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) { |
18115 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
d14a1e28 | 18116 | } |
7449af73 RD |
18117 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { |
18118 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
d14a1e28 | 18119 | } |
7449af73 RD |
18120 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { |
18121 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 18122 | } |
7449af73 RD |
18123 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { |
18124 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 18125 | } |
7449af73 RD |
18126 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { |
18127 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
d14a1e28 | 18128 | } |
7449af73 RD |
18129 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { |
18130 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
d14a1e28 | 18131 | } |
7449af73 RD |
18132 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { |
18133 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
d14a1e28 | 18134 | } |
7449af73 RD |
18135 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { |
18136 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
d14a1e28 | 18137 | } |
7449af73 RD |
18138 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { |
18139 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 18140 | } |
7449af73 RD |
18141 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
18142 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 18143 | } |
7449af73 RD |
18144 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
18145 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 18146 | } |
7449af73 RD |
18147 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { |
18148 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 18149 | } |
7449af73 RD |
18150 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { |
18151 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 18152 | } |
7449af73 RD |
18153 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { |
18154 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 18155 | } |
7449af73 RD |
18156 | static void *_p_wxPanelTo_p_wxWindow(void *x) { |
18157 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
d14a1e28 | 18158 | } |
7449af73 RD |
18159 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { |
18160 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
d14a1e28 | 18161 | } |
7449af73 RD |
18162 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
18163 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
d14a1e28 | 18164 | } |
7449af73 RD |
18165 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { |
18166 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
d14a1e28 | 18167 | } |
7449af73 RD |
18168 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { |
18169 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
d14a1e28 | 18170 | } |
7449af73 RD |
18171 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { |
18172 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
d14a1e28 | 18173 | } |
7449af73 RD |
18174 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { |
18175 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
d14a1e28 | 18176 | } |
7449af73 RD |
18177 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { |
18178 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 18179 | } |
7449af73 RD |
18180 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { |
18181 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
d14a1e28 | 18182 | } |
7449af73 RD |
18183 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { |
18184 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
d14a1e28 | 18185 | } |
7449af73 RD |
18186 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { |
18187 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
d14a1e28 | 18188 | } |
7449af73 RD |
18189 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { |
18190 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
d14a1e28 | 18191 | } |
7449af73 RD |
18192 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
18193 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
d14a1e28 | 18194 | } |
7449af73 RD |
18195 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
18196 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 18197 | } |
7449af73 RD |
18198 | static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) { |
18199 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 18200 | } |
7449af73 RD |
18201 | static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) { |
18202 | return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x)); | |
d14a1e28 | 18203 | } |
7449af73 RD |
18204 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
18205 | return (void *)((wxWindow *) ((wxControl *) x)); | |
d14a1e28 | 18206 | } |
7449af73 RD |
18207 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { |
18208 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 18209 | } |
7449af73 RD |
18210 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { |
18211 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 18212 | } |
7449af73 RD |
18213 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { |
18214 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 18215 | } |
7449af73 RD |
18216 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { |
18217 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
d14a1e28 | 18218 | } |
7449af73 RD |
18219 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { |
18220 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
d14a1e28 | 18221 | } |
7449af73 RD |
18222 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { |
18223 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 18224 | } |
7449af73 RD |
18225 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
18226 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 18227 | } |
7449af73 RD |
18228 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { |
18229 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 18230 | } |
7449af73 RD |
18231 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
18232 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
d14a1e28 | 18233 | } |
7449af73 RD |
18234 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { |
18235 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
d14a1e28 | 18236 | } |
7449af73 RD |
18237 | static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) { |
18238 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 18239 | } |
7449af73 RD |
18240 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
18241 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 | 18242 | } |
7449af73 RD |
18243 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { |
18244 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 18245 | } |
7449af73 RD |
18246 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { |
18247 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 18248 | } |
7449af73 RD |
18249 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { |
18250 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 18251 | } |
7449af73 RD |
18252 | static void *_p_wxDialogTo_p_wxWindow(void *x) { |
18253 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
a2482628 | 18254 | } |
7449af73 RD |
18255 | static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) { |
18256 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 18257 | } |
7449af73 RD |
18258 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
18259 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 18260 | } |
7449af73 RD |
18261 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
18262 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 18263 | } |
7449af73 RD |
18264 | static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) { |
18265 | return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 18266 | } |
7449af73 RD |
18267 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { |
18268 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 18269 | } |
7449af73 RD |
18270 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
18271 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 | 18272 | } |
7449af73 RD |
18273 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { |
18274 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 18275 | } |
7449af73 RD |
18276 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { |
18277 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 18278 | } |
7449af73 RD |
18279 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { |
18280 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 18281 | } |
7449af73 RD |
18282 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { |
18283 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 18284 | } |
7449af73 RD |
18285 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { |
18286 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
d14a1e28 | 18287 | } |
7449af73 RD |
18288 | static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) { |
18289 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 18290 | } |
7449af73 RD |
18291 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { |
18292 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 18293 | } |
7449af73 RD |
18294 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { |
18295 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 18296 | } |
7449af73 RD |
18297 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { |
18298 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 18299 | } |
7449af73 RD |
18300 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { |
18301 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
d14a1e28 | 18302 | } |
7449af73 RD |
18303 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { |
18304 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 18305 | } |
7449af73 RD |
18306 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { |
18307 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 18308 | } |
7449af73 RD |
18309 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { |
18310 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 18311 | } |
7449af73 RD |
18312 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { |
18313 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
c1cb24a4 | 18314 | } |
7449af73 RD |
18315 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { |
18316 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 18317 | } |
7449af73 RD |
18318 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { |
18319 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 18320 | } |
7449af73 RD |
18321 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { |
18322 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
d14a1e28 | 18323 | } |
7449af73 RD |
18324 | static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) { |
18325 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 18326 | } |
7449af73 RD |
18327 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
18328 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 18329 | } |
7449af73 RD |
18330 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
18331 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 18332 | } |
7449af73 RD |
18333 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { |
18334 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 18335 | } |
7449af73 RD |
18336 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { |
18337 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 18338 | } |
7449af73 RD |
18339 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { |
18340 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 18341 | } |
7449af73 RD |
18342 | static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) { |
18343 | return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 18344 | } |
7449af73 RD |
18345 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { |
18346 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 18347 | } |
7449af73 RD |
18348 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { |
18349 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 18350 | } |
7449af73 RD |
18351 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { |
18352 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 18353 | } |
7449af73 RD |
18354 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { |
18355 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 18356 | } |
7449af73 RD |
18357 | static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) { |
18358 | return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
53aa7709 | 18359 | } |
7449af73 RD |
18360 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { |
18361 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
53aa7709 | 18362 | } |
7449af73 RD |
18363 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { |
18364 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
53aa7709 | 18365 | } |
7449af73 RD |
18366 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { |
18367 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
53aa7709 | 18368 | } |
7449af73 RD |
18369 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { |
18370 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
53aa7709 | 18371 | } |
7449af73 RD |
18372 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
18373 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
53aa7709 | 18374 | } |
7449af73 RD |
18375 | static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) { |
18376 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
53aa7709 | 18377 | } |
7449af73 RD |
18378 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
18379 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
53aa7709 | 18380 | } |
7449af73 RD |
18381 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { |
18382 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
53aa7709 | 18383 | } |
7449af73 RD |
18384 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { |
18385 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
53aa7709 | 18386 | } |
7449af73 RD |
18387 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { |
18388 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
53aa7709 | 18389 | } |
7449af73 RD |
18390 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { |
18391 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
53aa7709 | 18392 | } |
7449af73 RD |
18393 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { |
18394 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
53aa7709 | 18395 | } |
7449af73 RD |
18396 | static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) { |
18397 | return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
d14a1e28 | 18398 | } |
7449af73 RD |
18399 | static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) { |
18400 | return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x)); | |
18401 | } | |
18402 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
18403 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
18404 | } | |
18405 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
18406 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
18407 | } | |
18408 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
18409 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
18410 | } | |
18411 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
18412 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
18413 | } | |
18414 | static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x) { | |
18415 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxHtmlWindowEvent *) x)); | |
18416 | } | |
18417 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
18418 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
18419 | } | |
18420 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
18421 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
18422 | } | |
18423 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
18424 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
18425 | } | |
18426 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
18427 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
18428 | } | |
18429 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
18430 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
18431 | } | |
18432 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
18433 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
18434 | } | |
18435 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
18436 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
18437 | } | |
18438 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
18439 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
18440 | } | |
554f62e9 RD |
18441 | static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0}; |
18442 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; | |
18443 | static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0}; | |
18444 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}; | |
18445 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; | |
18446 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
18447 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
18448 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; | |
18449 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; | |
18450 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; | |
18451 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
18452 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
18453 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
18454 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; | |
18455 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
18456 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
18457 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
18458 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; | |
18459 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; | |
18460 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; | |
18461 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
18462 | static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0}; | |
18463 | static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0}; | |
18464 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; | |
18465 | static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0}; | |
18466 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0}; | |
18467 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
18468 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
18469 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
18470 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
18471 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
18472 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
18473 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
18474 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
18475 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
18476 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
18477 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; | |
18478 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
18479 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; | |
18480 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; | |
18481 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
18482 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
18483 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; | |
18484 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; | |
18485 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; | |
18486 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
18487 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; | |
18488 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
18489 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
18490 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; | |
18491 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; | |
18492 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
18493 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; | |
18494 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
18495 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; | |
18496 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
18497 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
18498 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
18499 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; | |
18500 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; | |
18501 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; | |
18502 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
18503 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; | |
18504 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
18505 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
18506 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
18507 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
18508 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
18509 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
18510 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
18511 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
18512 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; | |
18513 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
18514 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
18515 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
18516 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
18517 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
18518 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
18519 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
18520 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
18521 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
18522 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
18523 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
18524 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
18525 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
18526 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
18527 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0}; | |
18528 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
18529 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
18530 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
18531 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
18532 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
18533 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; | |
18534 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
18535 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
18536 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
18537 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; | |
18538 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; | |
18539 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
18540 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0}; | |
18541 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; | |
18542 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
18543 | static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0}; | |
18544 | static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0}; | |
18545 | static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0}; | |
18546 | static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0}; | |
18547 | static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0}; | |
18548 | static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0}; | |
18549 | static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0}; | |
18550 | static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0}; | |
18551 | static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0}; | |
18552 | static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0}; | |
18553 | static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0}; | |
18554 | static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0}; | |
18555 | static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0}; | |
18556 | static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0}; | |
18557 | static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0}; | |
18558 | static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0}; | |
18559 | static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0}; | |
18560 | static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0}; | |
18561 | static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0}; | |
18562 | static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0}; | |
18563 | static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0}; | |
18564 | static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0}; | |
18565 | static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0}; | |
18566 | static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0}; | |
18567 | static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0}; | |
18568 | static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0}; | |
18569 | static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0}; | |
18570 | static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0}; | |
18571 | static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0}; | |
18572 | static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0}; | |
18573 | static swig_type_info _swigt__p_wxHtmlWindow = {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, (void*)0, 0}; | |
18574 | static swig_type_info _swigt__p_wxHtmlWindowEvent = {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, (void*)0, 0}; | |
18575 | static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0}; | |
18576 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0}; | |
18577 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; | |
18578 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; | |
18579 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
18580 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
18581 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
18582 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
18583 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
18584 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
18585 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
18586 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
18587 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; | |
18588 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; | |
18589 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; | |
18590 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
18591 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; | |
18592 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
18593 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
18594 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
18595 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
18596 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; | |
18597 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0}; | |
18598 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; | |
18599 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
18600 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
18601 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0}; | |
18602 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; | |
18603 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; | |
18604 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
18605 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; | |
18606 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
18607 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
18608 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
18609 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; | |
18610 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
18611 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; | |
18612 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; | |
18613 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; | |
18614 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; | |
18615 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; | |
18616 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
18617 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
18618 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0}; | |
18619 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; | |
18620 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; | |
18621 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
18622 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0}; | |
18623 | static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0}; | |
18624 | static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0}; | |
18625 | static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0}; | |
18626 | static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0}; | |
18627 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0}; | |
18628 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0}; | |
18629 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
18630 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0}; | |
18631 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
18632 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; | |
18633 | static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0}; | |
18634 | static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0}; | |
18635 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
7449af73 RD |
18636 | |
18637 | static swig_type_info *swig_type_initial[] = { | |
18638 | &_swigt__p_bool, | |
18639 | &_swigt__p_char, | |
18640 | &_swigt__p_form_ops_t, | |
18641 | &_swigt__p_int, | |
18642 | &_swigt__p_unsigned_char, | |
18643 | &_swigt__p_unsigned_int, | |
18644 | &_swigt__p_unsigned_long, | |
18645 | &_swigt__p_wxANIHandler, | |
18646 | &_swigt__p_wxAcceleratorTable, | |
18647 | &_swigt__p_wxActivateEvent, | |
18648 | &_swigt__p_wxBMPHandler, | |
18649 | &_swigt__p_wxBitmap, | |
18650 | &_swigt__p_wxBoxSizer, | |
18651 | &_swigt__p_wxCURHandler, | |
18652 | &_swigt__p_wxCalculateLayoutEvent, | |
18653 | &_swigt__p_wxChildFocusEvent, | |
18654 | &_swigt__p_wxCloseEvent, | |
18655 | &_swigt__p_wxColour, | |
18656 | &_swigt__p_wxColourData, | |
18657 | &_swigt__p_wxColourDialog, | |
18658 | &_swigt__p_wxCommandEvent, | |
18659 | &_swigt__p_wxConfigBase, | |
18660 | &_swigt__p_wxContextMenuEvent, | |
18661 | &_swigt__p_wxControl, | |
18662 | &_swigt__p_wxControlWithItems, | |
18663 | &_swigt__p_wxCursor, | |
18664 | &_swigt__p_wxDC, | |
18665 | &_swigt__p_wxDateEvent, | |
18666 | &_swigt__p_wxDefaultHtmlRenderingStyle, | |
18667 | &_swigt__p_wxDialog, | |
18668 | &_swigt__p_wxDirDialog, | |
18669 | &_swigt__p_wxDisplayChangedEvent, | |
18670 | &_swigt__p_wxDropFilesEvent, | |
18671 | &_swigt__p_wxDuplexMode, | |
18672 | &_swigt__p_wxEraseEvent, | |
18673 | &_swigt__p_wxEvent, | |
18674 | &_swigt__p_wxEvtHandler, | |
18675 | &_swigt__p_wxFSFile, | |
18676 | &_swigt__p_wxFileDialog, | |
18677 | &_swigt__p_wxFileSystem, | |
18678 | &_swigt__p_wxFindDialogEvent, | |
18679 | &_swigt__p_wxFindReplaceData, | |
18680 | &_swigt__p_wxFindReplaceDialog, | |
18681 | &_swigt__p_wxFlexGridSizer, | |
18682 | &_swigt__p_wxFocusEvent, | |
18683 | &_swigt__p_wxFont, | |
18684 | &_swigt__p_wxFontData, | |
18685 | &_swigt__p_wxFontDialog, | |
18686 | &_swigt__p_wxFrame, | |
18687 | &_swigt__p_wxGBSizerItem, | |
18688 | &_swigt__p_wxGIFHandler, | |
18689 | &_swigt__p_wxGridBagSizer, | |
18690 | &_swigt__p_wxGridSizer, | |
18691 | &_swigt__p_wxHelpControllerBase, | |
18692 | &_swigt__p_wxHelpSearchMode, | |
18693 | &_swigt__p_wxHtmlBookRecArray, | |
18694 | &_swigt__p_wxHtmlBookRecord, | |
18695 | &_swigt__p_wxHtmlCell, | |
18696 | &_swigt__p_wxHtmlColourCell, | |
18697 | &_swigt__p_wxHtmlContainerCell, | |
18698 | &_swigt__p_wxHtmlDCRenderer, | |
18699 | &_swigt__p_wxHtmlEasyPrinting, | |
18700 | &_swigt__p_wxHtmlFilter, | |
18701 | &_swigt__p_wxHtmlFontCell, | |
18702 | &_swigt__p_wxHtmlHelpController, | |
18703 | &_swigt__p_wxHtmlHelpData, | |
18704 | &_swigt__p_wxHtmlHelpDialog, | |
18705 | &_swigt__p_wxHtmlHelpFrame, | |
18706 | &_swigt__p_wxHtmlHelpFrameCfg, | |
18707 | &_swigt__p_wxHtmlHelpWindow, | |
18708 | &_swigt__p_wxHtmlLinkInfo, | |
18709 | &_swigt__p_wxHtmlModalHelp, | |
18710 | &_swigt__p_wxHtmlParser, | |
18711 | &_swigt__p_wxHtmlPrintout, | |
18712 | &_swigt__p_wxHtmlRenderingInfo, | |
18713 | &_swigt__p_wxHtmlRenderingState, | |
18714 | &_swigt__p_wxHtmlRenderingStyle, | |
18715 | &_swigt__p_wxHtmlSearchStatus, | |
18716 | &_swigt__p_wxHtmlSelection, | |
18717 | &_swigt__p_wxHtmlTag, | |
18718 | &_swigt__p_wxHtmlTagHandler, | |
18719 | &_swigt__p_wxHtmlWidgetCell, | |
18720 | &_swigt__p_wxHtmlWinParser, | |
18721 | &_swigt__p_wxHtmlWindow, | |
18722 | &_swigt__p_wxHtmlWindowEvent, | |
18723 | &_swigt__p_wxHtmlWordCell, | |
18724 | &_swigt__p_wxICOHandler, | |
18725 | &_swigt__p_wxIconizeEvent, | |
18726 | &_swigt__p_wxIdleEvent, | |
18727 | &_swigt__p_wxImage, | |
18728 | &_swigt__p_wxImageHandler, | |
18729 | &_swigt__p_wxIndividualLayoutConstraint, | |
18730 | &_swigt__p_wxInitDialogEvent, | |
18731 | &_swigt__p_wxJPEGHandler, | |
18732 | &_swigt__p_wxKeyEvent, | |
18733 | &_swigt__p_wxLayoutAlgorithm, | |
18734 | &_swigt__p_wxLayoutConstraints, | |
18735 | &_swigt__p_wxMDIChildFrame, | |
18736 | &_swigt__p_wxMDIClientWindow, | |
18737 | &_swigt__p_wxMDIParentFrame, | |
18738 | &_swigt__p_wxMaximizeEvent, | |
18739 | &_swigt__p_wxMenu, | |
18740 | &_swigt__p_wxMenuBar, | |
18741 | &_swigt__p_wxMenuEvent, | |
18742 | &_swigt__p_wxMenuItem, | |
18743 | &_swigt__p_wxMessageDialog, | |
18744 | &_swigt__p_wxMiniFrame, | |
18745 | &_swigt__p_wxMouseCaptureChangedEvent, | |
18746 | &_swigt__p_wxMouseEvent, | |
18747 | &_swigt__p_wxMoveEvent, | |
18748 | &_swigt__p_wxMultiChoiceDialog, | |
18749 | &_swigt__p_wxNavigationKeyEvent, | |
18750 | &_swigt__p_wxNcPaintEvent, | |
18751 | &_swigt__p_wxNotifyEvent, | |
18752 | &_swigt__p_wxObject, | |
18753 | &_swigt__p_wxPCXHandler, | |
18754 | &_swigt__p_wxPNGHandler, | |
18755 | &_swigt__p_wxPNMHandler, | |
18756 | &_swigt__p_wxPageSetupDialog, | |
18757 | &_swigt__p_wxPageSetupDialogData, | |
18758 | &_swigt__p_wxPaintEvent, | |
18759 | &_swigt__p_wxPaletteChangedEvent, | |
18760 | &_swigt__p_wxPanel, | |
18761 | &_swigt__p_wxPaperSize, | |
18762 | &_swigt__p_wxPasswordEntryDialog, | |
18763 | &_swigt__p_wxPoint, | |
18764 | &_swigt__p_wxPopupWindow, | |
18765 | &_swigt__p_wxPreviewCanvas, | |
18766 | &_swigt__p_wxPreviewControlBar, | |
18767 | &_swigt__p_wxPreviewFrame, | |
18768 | &_swigt__p_wxPrintData, | |
18769 | &_swigt__p_wxPrintDialog, | |
18770 | &_swigt__p_wxPrintDialogData, | |
18771 | &_swigt__p_wxPrintPreview, | |
18772 | &_swigt__p_wxPrinter, | |
18773 | &_swigt__p_wxProgressDialog, | |
18774 | &_swigt__p_wxPyApp, | |
18775 | &_swigt__p_wxPyCommandEvent, | |
18776 | &_swigt__p_wxPyEvent, | |
18777 | &_swigt__p_wxPyHtmlFilter, | |
18778 | &_swigt__p_wxPyHtmlListBox, | |
18779 | &_swigt__p_wxPyHtmlTagHandler, | |
18780 | &_swigt__p_wxPyHtmlWinTagHandler, | |
18781 | &_swigt__p_wxPyHtmlWindow, | |
18782 | &_swigt__p_wxPyImageHandler, | |
18783 | &_swigt__p_wxPyPanel, | |
18784 | &_swigt__p_wxPyPopupTransientWindow, | |
18785 | &_swigt__p_wxPyPreviewControlBar, | |
18786 | &_swigt__p_wxPyPreviewFrame, | |
18787 | &_swigt__p_wxPyPrintPreview, | |
18788 | &_swigt__p_wxPyPrintout, | |
18789 | &_swigt__p_wxPyScrolledWindow, | |
18790 | &_swigt__p_wxPySizer, | |
18791 | &_swigt__p_wxPyTaskBarIcon, | |
18792 | &_swigt__p_wxPyVListBox, | |
18793 | &_swigt__p_wxPyVScrolledWindow, | |
18794 | &_swigt__p_wxPyValidator, | |
18795 | &_swigt__p_wxPyWindow, | |
18796 | &_swigt__p_wxQueryLayoutInfoEvent, | |
18797 | &_swigt__p_wxQueryNewPaletteEvent, | |
18798 | &_swigt__p_wxSashEvent, | |
18799 | &_swigt__p_wxSashLayoutWindow, | |
18800 | &_swigt__p_wxSashWindow, | |
18801 | &_swigt__p_wxScrollEvent, | |
18802 | &_swigt__p_wxScrollWinEvent, | |
18803 | &_swigt__p_wxScrolledWindow, | |
18804 | &_swigt__p_wxSetCursorEvent, | |
18805 | &_swigt__p_wxShowEvent, | |
18806 | &_swigt__p_wxSingleChoiceDialog, | |
18807 | &_swigt__p_wxSize, | |
18808 | &_swigt__p_wxSizeEvent, | |
18809 | &_swigt__p_wxSizer, | |
18810 | &_swigt__p_wxSizerItem, | |
18811 | &_swigt__p_wxSplashScreen, | |
18812 | &_swigt__p_wxSplashScreenWindow, | |
18813 | &_swigt__p_wxSplitterEvent, | |
18814 | &_swigt__p_wxSplitterWindow, | |
18815 | &_swigt__p_wxStaticBoxSizer, | |
18816 | &_swigt__p_wxStatusBar, | |
18817 | &_swigt__p_wxStdDialogButtonSizer, | |
18818 | &_swigt__p_wxString, | |
18819 | &_swigt__p_wxSysColourChangedEvent, | |
18820 | &_swigt__p_wxTIFFHandler, | |
18821 | &_swigt__p_wxTaskBarIconEvent, | |
18822 | &_swigt__p_wxTextEntryDialog, | |
18823 | &_swigt__p_wxTipWindow, | |
18824 | &_swigt__p_wxTopLevelWindow, | |
18825 | &_swigt__p_wxTreeCtrl, | |
18826 | &_swigt__p_wxUpdateUIEvent, | |
18827 | &_swigt__p_wxValidator, | |
18828 | &_swigt__p_wxVisualAttributes, | |
18829 | &_swigt__p_wxWindow, | |
18830 | &_swigt__p_wxWindowCreateEvent, | |
18831 | &_swigt__p_wxWindowDestroyEvent, | |
18832 | &_swigt__p_wxXPMHandler, | |
7449af73 RD |
18833 | }; |
18834 | ||
18835 | static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}}; | |
18836 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
18837 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
18838 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
18839 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; | |
18840 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
18841 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
18842 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
18843 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
18844 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18845 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18846 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18847 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18848 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18849 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18850 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18851 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18852 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18853 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18854 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18855 | static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; | |
18856 | static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}}; | |
18857 | static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}}; | |
18858 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; | |
18859 | static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}}; | |
18860 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18861 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18862 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18863 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18864 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18865 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18866 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18867 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18868 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18869 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18870 | static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}}; | |
18871 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; | |
18872 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18873 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18874 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18875 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18876 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18877 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18878 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18879 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18880 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18881 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18882 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18883 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18884 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18885 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18886 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18887 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18888 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18889 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18890 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18891 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18892 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18893 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18894 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18895 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18896 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18897 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18898 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18899 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18900 | static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; | |
18901 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
18902 | static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18903 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
18904 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18905 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
18906 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
18907 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18908 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18909 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18910 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18911 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18912 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18913 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18914 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18915 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18916 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18917 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18918 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18919 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18920 | static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
18921 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18922 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
18923 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
18924 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
18925 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18926 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
18927 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
18928 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18929 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18930 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
18931 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
18932 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18933 | static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; | |
18934 | static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
18935 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; | |
18936 | static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}}; | |
18937 | static swig_cast_info _swigc__p_wxHelpControllerBase[] = { {&_swigt__p_wxHelpControllerBase, 0, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxHelpControllerBase, 0, 0},{0, 0, 0, 0}}; | |
18938 | static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}}; | |
18939 | static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}}; | |
18940 | static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}}; | |
18941 | static swig_cast_info _swigc__p_wxHtmlCell[] = { {&_swigt__p_wxHtmlCell, 0, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxHtmlCell, 0, 0},{0, 0, 0, 0}}; | |
18942 | static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}}; | |
18943 | static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}}; | |
18944 | static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}}; | |
18945 | static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}}; | |
18946 | static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}}; | |
18947 | static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}}; | |
18948 | static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}}; | |
18949 | static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}}; | |
18950 | static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18951 | static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18952 | static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}}; | |
18953 | static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18954 | static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
18955 | static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}}; | |
18956 | static swig_cast_info _swigc__p_wxHtmlParser[] = { {&_swigt__p_wxHtmlParser, 0, 0, 0}, {&_swigt__p_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxHtmlParser, 0, 0},{0, 0, 0, 0}}; | |
18957 | static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
18958 | static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
18959 | static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}}; | |
18960 | static swig_cast_info _swigc__p_wxHtmlRenderingStyle[] = { {&_swigt__p_wxHtmlRenderingStyle, 0, 0, 0}, {&_swigt__p_wxDefaultHtmlRenderingStyle, _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle, 0, 0},{0, 0, 0, 0}}; | |
18961 | static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}}; | |
18962 | static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}}; | |
18963 | static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}}; | |
18964 | static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18965 | static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}}; | |
18966 | static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}}; | |
18967 | static swig_cast_info _swigc__p_wxHtmlWindow[] = { {&_swigt__p_wxHtmlWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18968 | static swig_cast_info _swigc__p_wxHtmlWindowEvent[] = { {&_swigt__p_wxHtmlWindowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18969 | static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}}; | |
18970 | static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18971 | static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18972 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
18973 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
18974 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
18975 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18976 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
18977 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
18978 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
18979 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
18980 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18981 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18982 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
18983 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
18984 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18985 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
18986 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
18987 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
18988 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; | |
18989 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18990 | static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18991 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18992 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18993 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
18994 | static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
18995 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
18996 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18997 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18998 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18999 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19000 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19001 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19002 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19003 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19004 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19005 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19006 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19007 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19008 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19009 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19010 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19011 | static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlTag, _p_wxHtmlTagTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlFilter, _p_wxPyHtmlFilterTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlEasyPrinting, _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxHtmlParser, _p_wxHtmlParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler, _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpControllerBase, _p_wxHelpControllerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlDCRenderer, _p_wxHtmlDCRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkInfo, _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlCell, _p_wxHtmlCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; | |
19012 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
19013 | static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}}; | |
19014 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; | |
19015 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
19016 | static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
19017 | static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}}; | |
19018 | static swig_cast_info _swigc__p_wxPyHtmlTagHandler[] = { {&_swigt__p_wxPyHtmlTagHandler, 0, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler, 0, 0},{0, 0, 0, 0}}; | |
19019 | static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19020 | static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19021 | static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxPyPrintout, 0, 0},{0, 0, 0, 0}}; | |
19022 | static swig_cast_info _swigc__p_wxScrolledWindow[] = { {&_swigt__p_wxScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}}; | |
19023 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
19024 | static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19025 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
19026 | static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; | |
19027 | static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
19028 | static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; | |
19029 | static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; | |
7449af73 RD |
19030 | |
19031 | static swig_cast_info *swig_cast_initial[] = { | |
19032 | _swigc__p_bool, | |
19033 | _swigc__p_char, | |
19034 | _swigc__p_form_ops_t, | |
19035 | _swigc__p_int, | |
19036 | _swigc__p_unsigned_char, | |
19037 | _swigc__p_unsigned_int, | |
19038 | _swigc__p_unsigned_long, | |
19039 | _swigc__p_wxANIHandler, | |
19040 | _swigc__p_wxAcceleratorTable, | |
19041 | _swigc__p_wxActivateEvent, | |
19042 | _swigc__p_wxBMPHandler, | |
19043 | _swigc__p_wxBitmap, | |
19044 | _swigc__p_wxBoxSizer, | |
19045 | _swigc__p_wxCURHandler, | |
19046 | _swigc__p_wxCalculateLayoutEvent, | |
19047 | _swigc__p_wxChildFocusEvent, | |
19048 | _swigc__p_wxCloseEvent, | |
19049 | _swigc__p_wxColour, | |
19050 | _swigc__p_wxColourData, | |
19051 | _swigc__p_wxColourDialog, | |
19052 | _swigc__p_wxCommandEvent, | |
19053 | _swigc__p_wxConfigBase, | |
19054 | _swigc__p_wxContextMenuEvent, | |
19055 | _swigc__p_wxControl, | |
19056 | _swigc__p_wxControlWithItems, | |
19057 | _swigc__p_wxCursor, | |
19058 | _swigc__p_wxDC, | |
19059 | _swigc__p_wxDateEvent, | |
19060 | _swigc__p_wxDefaultHtmlRenderingStyle, | |
19061 | _swigc__p_wxDialog, | |
19062 | _swigc__p_wxDirDialog, | |
19063 | _swigc__p_wxDisplayChangedEvent, | |
19064 | _swigc__p_wxDropFilesEvent, | |
19065 | _swigc__p_wxDuplexMode, | |
19066 | _swigc__p_wxEraseEvent, | |
19067 | _swigc__p_wxEvent, | |
19068 | _swigc__p_wxEvtHandler, | |
19069 | _swigc__p_wxFSFile, | |
19070 | _swigc__p_wxFileDialog, | |
19071 | _swigc__p_wxFileSystem, | |
19072 | _swigc__p_wxFindDialogEvent, | |
19073 | _swigc__p_wxFindReplaceData, | |
19074 | _swigc__p_wxFindReplaceDialog, | |
19075 | _swigc__p_wxFlexGridSizer, | |
19076 | _swigc__p_wxFocusEvent, | |
19077 | _swigc__p_wxFont, | |
19078 | _swigc__p_wxFontData, | |
19079 | _swigc__p_wxFontDialog, | |
19080 | _swigc__p_wxFrame, | |
19081 | _swigc__p_wxGBSizerItem, | |
19082 | _swigc__p_wxGIFHandler, | |
19083 | _swigc__p_wxGridBagSizer, | |
19084 | _swigc__p_wxGridSizer, | |
19085 | _swigc__p_wxHelpControllerBase, | |
19086 | _swigc__p_wxHelpSearchMode, | |
19087 | _swigc__p_wxHtmlBookRecArray, | |
19088 | _swigc__p_wxHtmlBookRecord, | |
19089 | _swigc__p_wxHtmlCell, | |
19090 | _swigc__p_wxHtmlColourCell, | |
19091 | _swigc__p_wxHtmlContainerCell, | |
19092 | _swigc__p_wxHtmlDCRenderer, | |
19093 | _swigc__p_wxHtmlEasyPrinting, | |
19094 | _swigc__p_wxHtmlFilter, | |
19095 | _swigc__p_wxHtmlFontCell, | |
19096 | _swigc__p_wxHtmlHelpController, | |
19097 | _swigc__p_wxHtmlHelpData, | |
19098 | _swigc__p_wxHtmlHelpDialog, | |
19099 | _swigc__p_wxHtmlHelpFrame, | |
19100 | _swigc__p_wxHtmlHelpFrameCfg, | |
19101 | _swigc__p_wxHtmlHelpWindow, | |
19102 | _swigc__p_wxHtmlLinkInfo, | |
19103 | _swigc__p_wxHtmlModalHelp, | |
19104 | _swigc__p_wxHtmlParser, | |
19105 | _swigc__p_wxHtmlPrintout, | |
19106 | _swigc__p_wxHtmlRenderingInfo, | |
19107 | _swigc__p_wxHtmlRenderingState, | |
19108 | _swigc__p_wxHtmlRenderingStyle, | |
19109 | _swigc__p_wxHtmlSearchStatus, | |
19110 | _swigc__p_wxHtmlSelection, | |
19111 | _swigc__p_wxHtmlTag, | |
19112 | _swigc__p_wxHtmlTagHandler, | |
19113 | _swigc__p_wxHtmlWidgetCell, | |
19114 | _swigc__p_wxHtmlWinParser, | |
19115 | _swigc__p_wxHtmlWindow, | |
19116 | _swigc__p_wxHtmlWindowEvent, | |
19117 | _swigc__p_wxHtmlWordCell, | |
19118 | _swigc__p_wxICOHandler, | |
19119 | _swigc__p_wxIconizeEvent, | |
19120 | _swigc__p_wxIdleEvent, | |
19121 | _swigc__p_wxImage, | |
19122 | _swigc__p_wxImageHandler, | |
19123 | _swigc__p_wxIndividualLayoutConstraint, | |
19124 | _swigc__p_wxInitDialogEvent, | |
19125 | _swigc__p_wxJPEGHandler, | |
19126 | _swigc__p_wxKeyEvent, | |
19127 | _swigc__p_wxLayoutAlgorithm, | |
19128 | _swigc__p_wxLayoutConstraints, | |
19129 | _swigc__p_wxMDIChildFrame, | |
19130 | _swigc__p_wxMDIClientWindow, | |
19131 | _swigc__p_wxMDIParentFrame, | |
19132 | _swigc__p_wxMaximizeEvent, | |
19133 | _swigc__p_wxMenu, | |
19134 | _swigc__p_wxMenuBar, | |
19135 | _swigc__p_wxMenuEvent, | |
19136 | _swigc__p_wxMenuItem, | |
19137 | _swigc__p_wxMessageDialog, | |
19138 | _swigc__p_wxMiniFrame, | |
19139 | _swigc__p_wxMouseCaptureChangedEvent, | |
19140 | _swigc__p_wxMouseEvent, | |
19141 | _swigc__p_wxMoveEvent, | |
19142 | _swigc__p_wxMultiChoiceDialog, | |
19143 | _swigc__p_wxNavigationKeyEvent, | |
19144 | _swigc__p_wxNcPaintEvent, | |
19145 | _swigc__p_wxNotifyEvent, | |
19146 | _swigc__p_wxObject, | |
19147 | _swigc__p_wxPCXHandler, | |
19148 | _swigc__p_wxPNGHandler, | |
19149 | _swigc__p_wxPNMHandler, | |
19150 | _swigc__p_wxPageSetupDialog, | |
19151 | _swigc__p_wxPageSetupDialogData, | |
19152 | _swigc__p_wxPaintEvent, | |
19153 | _swigc__p_wxPaletteChangedEvent, | |
19154 | _swigc__p_wxPanel, | |
19155 | _swigc__p_wxPaperSize, | |
19156 | _swigc__p_wxPasswordEntryDialog, | |
19157 | _swigc__p_wxPoint, | |
19158 | _swigc__p_wxPopupWindow, | |
19159 | _swigc__p_wxPreviewCanvas, | |
19160 | _swigc__p_wxPreviewControlBar, | |
19161 | _swigc__p_wxPreviewFrame, | |
19162 | _swigc__p_wxPrintData, | |
19163 | _swigc__p_wxPrintDialog, | |
19164 | _swigc__p_wxPrintDialogData, | |
19165 | _swigc__p_wxPrintPreview, | |
19166 | _swigc__p_wxPrinter, | |
19167 | _swigc__p_wxProgressDialog, | |
19168 | _swigc__p_wxPyApp, | |
19169 | _swigc__p_wxPyCommandEvent, | |
19170 | _swigc__p_wxPyEvent, | |
19171 | _swigc__p_wxPyHtmlFilter, | |
19172 | _swigc__p_wxPyHtmlListBox, | |
19173 | _swigc__p_wxPyHtmlTagHandler, | |
19174 | _swigc__p_wxPyHtmlWinTagHandler, | |
19175 | _swigc__p_wxPyHtmlWindow, | |
19176 | _swigc__p_wxPyImageHandler, | |
19177 | _swigc__p_wxPyPanel, | |
19178 | _swigc__p_wxPyPopupTransientWindow, | |
19179 | _swigc__p_wxPyPreviewControlBar, | |
19180 | _swigc__p_wxPyPreviewFrame, | |
19181 | _swigc__p_wxPyPrintPreview, | |
19182 | _swigc__p_wxPyPrintout, | |
19183 | _swigc__p_wxPyScrolledWindow, | |
19184 | _swigc__p_wxPySizer, | |
19185 | _swigc__p_wxPyTaskBarIcon, | |
19186 | _swigc__p_wxPyVListBox, | |
19187 | _swigc__p_wxPyVScrolledWindow, | |
19188 | _swigc__p_wxPyValidator, | |
19189 | _swigc__p_wxPyWindow, | |
19190 | _swigc__p_wxQueryLayoutInfoEvent, | |
19191 | _swigc__p_wxQueryNewPaletteEvent, | |
19192 | _swigc__p_wxSashEvent, | |
19193 | _swigc__p_wxSashLayoutWindow, | |
19194 | _swigc__p_wxSashWindow, | |
19195 | _swigc__p_wxScrollEvent, | |
19196 | _swigc__p_wxScrollWinEvent, | |
19197 | _swigc__p_wxScrolledWindow, | |
19198 | _swigc__p_wxSetCursorEvent, | |
19199 | _swigc__p_wxShowEvent, | |
19200 | _swigc__p_wxSingleChoiceDialog, | |
19201 | _swigc__p_wxSize, | |
19202 | _swigc__p_wxSizeEvent, | |
19203 | _swigc__p_wxSizer, | |
19204 | _swigc__p_wxSizerItem, | |
19205 | _swigc__p_wxSplashScreen, | |
19206 | _swigc__p_wxSplashScreenWindow, | |
19207 | _swigc__p_wxSplitterEvent, | |
19208 | _swigc__p_wxSplitterWindow, | |
19209 | _swigc__p_wxStaticBoxSizer, | |
19210 | _swigc__p_wxStatusBar, | |
19211 | _swigc__p_wxStdDialogButtonSizer, | |
19212 | _swigc__p_wxString, | |
19213 | _swigc__p_wxSysColourChangedEvent, | |
19214 | _swigc__p_wxTIFFHandler, | |
19215 | _swigc__p_wxTaskBarIconEvent, | |
19216 | _swigc__p_wxTextEntryDialog, | |
19217 | _swigc__p_wxTipWindow, | |
19218 | _swigc__p_wxTopLevelWindow, | |
19219 | _swigc__p_wxTreeCtrl, | |
19220 | _swigc__p_wxUpdateUIEvent, | |
19221 | _swigc__p_wxValidator, | |
19222 | _swigc__p_wxVisualAttributes, | |
19223 | _swigc__p_wxWindow, | |
19224 | _swigc__p_wxWindowCreateEvent, | |
19225 | _swigc__p_wxWindowDestroyEvent, | |
19226 | _swigc__p_wxXPMHandler, | |
d14a1e28 RD |
19227 | }; |
19228 | ||
19229 | ||
19230 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
19231 | ||
19232 | static swig_const_info swig_const_table[] = { | |
c32bde28 | 19233 | {0, 0, 0, 0.0, 0, 0}}; |
d14a1e28 RD |
19234 | |
19235 | #ifdef __cplusplus | |
19236 | } | |
19237 | #endif | |
554f62e9 | 19238 | /* ----------------------------------------------------------------------------- |
7449af73 RD |
19239 | * Type initialization: |
19240 | * This problem is tough by the requirement that no dynamic | |
19241 | * memory is used. Also, since swig_type_info structures store pointers to | |
19242 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
19243 | * to swig_type_info structures, we need some lookup code at initialization. | |
19244 | * The idea is that swig generates all the structures that are needed. | |
19245 | * The runtime then collects these partially filled structures. | |
19246 | * The SWIG_InitializeModule function takes these initial arrays out of | |
19247 | * swig_module, and does all the lookup, filling in the swig_module.types | |
19248 | * array with the correct data and linking the correct swig_cast_info | |
19249 | * structures together. | |
554f62e9 | 19250 | * |
7449af73 RD |
19251 | * The generated swig_type_info structures are assigned staticly to an initial |
19252 | * array. We just loop though that array, and handle each type individually. | |
19253 | * First we lookup if this type has been already loaded, and if so, use the | |
19254 | * loaded structure instead of the generated one. Then we have to fill in the | |
19255 | * cast linked list. The cast data is initially stored in something like a | |
19256 | * two-dimensional array. Each row corresponds to a type (there are the same | |
19257 | * number of rows as there are in the swig_type_initial array). Each entry in | |
19258 | * a column is one of the swig_cast_info structures for that type. | |
19259 | * The cast_initial array is actually an array of arrays, because each row has | |
19260 | * a variable number of columns. So to actually build the cast linked list, | |
19261 | * we find the array of casts associated with the type, and loop through it | |
19262 | * adding the casts to the list. The one last trick we need to do is making | |
19263 | * sure the type pointer in the swig_cast_info struct is correct. | |
554f62e9 | 19264 | * |
7449af73 RD |
19265 | * First off, we lookup the cast->type name to see if it is already loaded. |
19266 | * There are three cases to handle: | |
19267 | * 1) If the cast->type has already been loaded AND the type we are adding | |
19268 | * casting info to has not been loaded (it is in this module), THEN we | |
19269 | * replace the cast->type pointer with the type pointer that has already | |
19270 | * been loaded. | |
19271 | * 2) If BOTH types (the one we are adding casting info to, and the | |
19272 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
19273 | * the previous module so we just ignore it. | |
19274 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
19275 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
19276 | * be correct. | |
554f62e9 | 19277 | * ----------------------------------------------------------------------------- */ |
7449af73 RD |
19278 | |
19279 | #ifdef __cplusplus | |
19280 | extern "C" { | |
19281 | #if 0 | |
19282 | } /* c-mode */ | |
19283 | #endif | |
19284 | #endif | |
19285 | ||
19286 | #if 0 | |
19287 | #define SWIGRUNTIME_DEBUG | |
19288 | #endif | |
19289 | ||
19290 | SWIGRUNTIME void | |
19291 | SWIG_InitializeModule(void *clientdata) { | |
554f62e9 RD |
19292 | size_t i; |
19293 | swig_module_info *module_head; | |
19294 | static int init_run = 0; | |
19295 | ||
19296 | clientdata = clientdata; | |
19297 | ||
19298 | if (init_run) return; | |
19299 | init_run = 1; | |
19300 | ||
19301 | /* Initialize the swig_module */ | |
19302 | swig_module.type_initial = swig_type_initial; | |
19303 | swig_module.cast_initial = swig_cast_initial; | |
19304 | ||
19305 | /* Try and load any already created modules */ | |
19306 | module_head = SWIG_GetModule(clientdata); | |
19307 | if (module_head) { | |
19308 | swig_module.next = module_head->next; | |
19309 | module_head->next = &swig_module; | |
19310 | } else { | |
19311 | /* This is the first module loaded */ | |
19312 | swig_module.next = &swig_module; | |
19313 | SWIG_SetModule(clientdata, &swig_module); | |
19314 | } | |
19315 | ||
19316 | /* Now work on filling in swig_module.types */ | |
7449af73 | 19317 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 19318 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); |
7449af73 | 19319 | #endif |
554f62e9 RD |
19320 | for (i = 0; i < swig_module.size; ++i) { |
19321 | swig_type_info *type = 0; | |
19322 | swig_type_info *ret; | |
19323 | swig_cast_info *cast; | |
19324 | ||
7449af73 | 19325 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 19326 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); |
7449af73 | 19327 | #endif |
554f62e9 RD |
19328 | |
19329 | /* if there is another module already loaded */ | |
19330 | if (swig_module.next != &swig_module) { | |
19331 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
19332 | } | |
19333 | if (type) { | |
19334 | /* Overwrite clientdata field */ | |
7449af73 | 19335 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 19336 | printf("SWIG_InitializeModule: found type %s\n", type->name); |
7449af73 | 19337 | #endif |
554f62e9 RD |
19338 | if (swig_module.type_initial[i]->clientdata) { |
19339 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
7449af73 | 19340 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 19341 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); |
7449af73 | 19342 | #endif |
554f62e9 RD |
19343 | } |
19344 | } else { | |
19345 | type = swig_module.type_initial[i]; | |
19346 | } | |
19347 | ||
19348 | /* Insert casting types */ | |
19349 | cast = swig_module.cast_initial[i]; | |
19350 | while (cast->type) { | |
19351 | /* Don't need to add information already in the list */ | |
19352 | ret = 0; | |
7449af73 | 19353 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 19354 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); |
7449af73 | 19355 | #endif |
554f62e9 RD |
19356 | if (swig_module.next != &swig_module) { |
19357 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
7449af73 | 19358 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 19359 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); |
7449af73 | 19360 | #endif |
554f62e9 RD |
19361 | } |
19362 | if (ret) { | |
19363 | if (type == swig_module.type_initial[i]) { | |
7449af73 | 19364 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 19365 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); |
7449af73 | 19366 | #endif |
554f62e9 RD |
19367 | cast->type = ret; |
19368 | ret = 0; | |
19369 | } else { | |
19370 | /* Check for casting already in the list */ | |
19371 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
7449af73 | 19372 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 19373 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); |
7449af73 | 19374 | #endif |
554f62e9 RD |
19375 | if (!ocast) ret = 0; |
19376 | } | |
19377 | } | |
19378 | ||
19379 | if (!ret) { | |
7449af73 | 19380 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 19381 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); |
7449af73 | 19382 | #endif |
554f62e9 RD |
19383 | if (type->cast) { |
19384 | type->cast->prev = cast; | |
19385 | cast->next = type->cast; | |
7449af73 | 19386 | } |
554f62e9 RD |
19387 | type->cast = cast; |
19388 | } | |
19389 | cast++; | |
7449af73 | 19390 | } |
554f62e9 RD |
19391 | /* Set entry in modules->types array equal to the type */ |
19392 | swig_module.types[i] = type; | |
19393 | } | |
19394 | swig_module.types[i] = 0; | |
19395 | ||
7449af73 | 19396 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 RD |
19397 | printf("**** SWIG_InitializeModule: Cast List ******\n"); |
19398 | for (i = 0; i < swig_module.size; ++i) { | |
19399 | int j = 0; | |
19400 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
19401 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
19402 | while (cast->type) { | |
19403 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
19404 | cast++; | |
19405 | ++j; | |
19406 | } | |
19407 | printf("---- Total casts: %d\n",j); | |
19408 | } | |
19409 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
7449af73 RD |
19410 | #endif |
19411 | } | |
19412 | ||
19413 | /* This function will propagate the clientdata field of type to | |
19414 | * any new swig_type_info structures that have been added into the list | |
19415 | * of equivalent types. It is like calling | |
19416 | * SWIG_TypeClientData(type, clientdata) a second time. | |
19417 | */ | |
19418 | SWIGRUNTIME void | |
19419 | SWIG_PropagateClientData(void) { | |
554f62e9 RD |
19420 | size_t i; |
19421 | swig_cast_info *equiv; | |
19422 | static int init_run = 0; | |
19423 | ||
19424 | if (init_run) return; | |
19425 | init_run = 1; | |
19426 | ||
19427 | for (i = 0; i < swig_module.size; i++) { | |
19428 | if (swig_module.types[i]->clientdata) { | |
19429 | equiv = swig_module.types[i]->cast; | |
19430 | while (equiv) { | |
19431 | if (!equiv->converter) { | |
19432 | if (equiv->type && !equiv->type->clientdata) | |
19433 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
7449af73 | 19434 | } |
554f62e9 RD |
19435 | equiv = equiv->next; |
19436 | } | |
7449af73 | 19437 | } |
554f62e9 | 19438 | } |
7449af73 RD |
19439 | } |
19440 | ||
19441 | #ifdef __cplusplus | |
19442 | #if 0 | |
19443 | { | |
554f62e9 | 19444 | /* c-mode */ |
7449af73 RD |
19445 | #endif |
19446 | } | |
19447 | #endif | |
19448 | ||
d14a1e28 | 19449 | |
093d3ff1 RD |
19450 | |
19451 | #ifdef __cplusplus | |
19452 | extern "C" { | |
19453 | #endif | |
554f62e9 RD |
19454 | |
19455 | /* Python-specific SWIG API */ | |
093d3ff1 RD |
19456 | #define SWIG_newvarlink() SWIG_Python_newvarlink() |
19457 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
19458 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
554f62e9 RD |
19459 | |
19460 | /* ----------------------------------------------------------------------------- | |
19461 | * global variable support code. | |
19462 | * ----------------------------------------------------------------------------- */ | |
19463 | ||
19464 | typedef struct swig_globalvar { | |
19465 | char *name; /* Name of global variable */ | |
19466 | PyObject *(*get_attr)(void); /* Return the current value */ | |
19467 | int (*set_attr)(PyObject *); /* Set the value */ | |
19468 | struct swig_globalvar *next; | |
19469 | } swig_globalvar; | |
19470 | ||
19471 | typedef struct swig_varlinkobject { | |
19472 | PyObject_HEAD | |
19473 | swig_globalvar *vars; | |
19474 | } swig_varlinkobject; | |
19475 | ||
19476 | SWIGINTERN PyObject * | |
19477 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
19478 | return PyString_FromString("<Swig global variables>"); | |
19479 | } | |
19480 | ||
19481 | SWIGINTERN PyObject * | |
19482 | swig_varlink_str(swig_varlinkobject *v) { | |
19483 | PyObject *str = PyString_FromString("("); | |
19484 | swig_globalvar *var; | |
19485 | for (var = v->vars; var; var=var->next) { | |
19486 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
19487 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
19488 | } | |
19489 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
19490 | return str; | |
19491 | } | |
19492 | ||
19493 | SWIGINTERN int | |
19494 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
19495 | PyObject *str = swig_varlink_str(v); | |
19496 | fprintf(fp,"Swig global variables "); | |
19497 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
19498 | Py_DECREF(str); | |
19499 | return 0; | |
19500 | } | |
19501 | ||
19502 | SWIGINTERN void | |
19503 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
19504 | swig_globalvar *var = v->vars; | |
19505 | while (var) { | |
19506 | swig_globalvar *n = var->next; | |
19507 | free(var->name); | |
19508 | free(var); | |
19509 | var = n; | |
093d3ff1 | 19510 | } |
554f62e9 RD |
19511 | } |
19512 | ||
19513 | SWIGINTERN PyObject * | |
19514 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
19515 | PyObject *res = NULL; | |
19516 | swig_globalvar *var = v->vars; | |
19517 | while (var) { | |
19518 | if (strcmp(var->name,n) == 0) { | |
19519 | res = (*var->get_attr)(); | |
19520 | break; | |
19521 | } | |
19522 | var = var->next; | |
093d3ff1 | 19523 | } |
554f62e9 RD |
19524 | if (res == NULL && !PyErr_Occurred()) { |
19525 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
093d3ff1 | 19526 | } |
554f62e9 RD |
19527 | return res; |
19528 | } | |
19529 | ||
19530 | SWIGINTERN int | |
19531 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
19532 | int res = 1; | |
19533 | swig_globalvar *var = v->vars; | |
19534 | while (var) { | |
19535 | if (strcmp(var->name,n) == 0) { | |
19536 | res = (*var->set_attr)(p); | |
19537 | break; | |
19538 | } | |
19539 | var = var->next; | |
093d3ff1 | 19540 | } |
554f62e9 RD |
19541 | if (res == 1 && !PyErr_Occurred()) { |
19542 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
19543 | } | |
19544 | return res; | |
19545 | } | |
19546 | ||
19547 | SWIGINTERN PyTypeObject* | |
19548 | swig_varlink_type(void) { | |
19549 | static char varlink__doc__[] = "Swig var link object"; | |
19550 | static PyTypeObject varlink_type; | |
19551 | static int type_init = 0; | |
19552 | if (!type_init) { | |
19553 | const PyTypeObject tmp | |
19554 | = { | |
19555 | PyObject_HEAD_INIT(NULL) | |
19556 | 0, /* Number of items in variable part (ob_size) */ | |
19557 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
19558 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
19559 | 0, /* Itemsize (tp_itemsize) */ | |
19560 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
19561 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
19562 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
19563 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
19564 | 0, /* tp_compare */ | |
19565 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
19566 | 0, /* tp_as_number */ | |
19567 | 0, /* tp_as_sequence */ | |
19568 | 0, /* tp_as_mapping */ | |
19569 | 0, /* tp_hash */ | |
19570 | 0, /* tp_call */ | |
19571 | (reprfunc)swig_varlink_str, /* tp_str */ | |
19572 | 0, /* tp_getattro */ | |
19573 | 0, /* tp_setattro */ | |
19574 | 0, /* tp_as_buffer */ | |
19575 | 0, /* tp_flags */ | |
19576 | varlink__doc__, /* tp_doc */ | |
19577 | 0, /* tp_traverse */ | |
19578 | 0, /* tp_clear */ | |
19579 | 0, /* tp_richcompare */ | |
19580 | 0, /* tp_weaklistoffset */ | |
093d3ff1 | 19581 | #if PY_VERSION_HEX >= 0x02020000 |
554f62e9 | 19582 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ |
093d3ff1 RD |
19583 | #endif |
19584 | #if PY_VERSION_HEX >= 0x02030000 | |
554f62e9 | 19585 | 0, /* tp_del */ |
093d3ff1 RD |
19586 | #endif |
19587 | #ifdef COUNT_ALLOCS | |
554f62e9 | 19588 | 0,0,0,0 /* tp_alloc -> tp_next */ |
7449af73 | 19589 | #endif |
554f62e9 RD |
19590 | }; |
19591 | varlink_type = tmp; | |
19592 | varlink_type.ob_type = &PyType_Type; | |
19593 | type_init = 1; | |
7449af73 | 19594 | } |
554f62e9 RD |
19595 | return &varlink_type; |
19596 | } | |
19597 | ||
19598 | /* Create a variable linking object for use later */ | |
19599 | SWIGINTERN PyObject * | |
19600 | SWIG_Python_newvarlink(void) { | |
19601 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
19602 | if (result) { | |
19603 | result->vars = 0; | |
19604 | } | |
19605 | return ((PyObject*) result); | |
19606 | } | |
19607 | ||
19608 | SWIGINTERN void | |
19609 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
19610 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
19611 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
19612 | if (gv) { | |
19613 | size_t size = strlen(name)+1; | |
19614 | gv->name = (char *)malloc(size); | |
19615 | if (gv->name) { | |
19616 | strncpy(gv->name,name,size); | |
19617 | gv->get_attr = get_attr; | |
19618 | gv->set_attr = set_attr; | |
19619 | gv->next = v->vars; | |
19620 | } | |
093d3ff1 | 19621 | } |
554f62e9 RD |
19622 | v->vars = gv; |
19623 | } | |
19624 | ||
19625 | SWIGINTERN PyObject * | |
19626 | SWIG_globals() { | |
19627 | static PyObject *_SWIG_globals = 0; | |
19628 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
19629 | return _SWIG_globals; | |
19630 | } | |
19631 | ||
19632 | /* ----------------------------------------------------------------------------- | |
19633 | * constants/methods manipulation | |
19634 | * ----------------------------------------------------------------------------- */ | |
19635 | ||
19636 | /* Install Constants */ | |
19637 | SWIGINTERN void | |
19638 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
19639 | PyObject *obj = 0; | |
19640 | size_t i; | |
19641 | for (i = 0; constants[i].type; ++i) { | |
19642 | switch(constants[i].type) { | |
19643 | case SWIG_PY_POINTER: | |
19644 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
19645 | break; | |
19646 | case SWIG_PY_BINARY: | |
19647 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
19648 | break; | |
19649 | default: | |
19650 | obj = 0; | |
19651 | break; | |
19652 | } | |
19653 | if (obj) { | |
19654 | PyDict_SetItemString(d, constants[i].name, obj); | |
19655 | Py_DECREF(obj); | |
19656 | } | |
093d3ff1 | 19657 | } |
554f62e9 RD |
19658 | } |
19659 | ||
19660 | /* -----------------------------------------------------------------------------*/ | |
19661 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
19662 | /* -----------------------------------------------------------------------------*/ | |
19663 | ||
19664 | SWIGINTERN void | |
19665 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
093d3ff1 RD |
19666 | swig_const_info *const_table, |
19667 | swig_type_info **types, | |
19668 | swig_type_info **types_initial) { | |
554f62e9 RD |
19669 | size_t i; |
19670 | for (i = 0; methods[i].ml_name; ++i) { | |
19671 | char *c = methods[i].ml_doc; | |
19672 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
19673 | int j; | |
19674 | swig_const_info *ci = 0; | |
19675 | char *name = c + 10; | |
19676 | for (j = 0; const_table[j].type; ++j) { | |
19677 | if (strncmp(const_table[j].name, name, | |
19678 | strlen(const_table[j].name)) == 0) { | |
19679 | ci = &(const_table[j]); | |
19680 | break; | |
19681 | } | |
19682 | } | |
19683 | if (ci) { | |
19684 | size_t shift = (ci->ptype) - types; | |
19685 | swig_type_info *ty = types_initial[shift]; | |
19686 | size_t ldoc = (c - methods[i].ml_doc); | |
19687 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
19688 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
19689 | if (ndoc) { | |
19690 | char *buff = ndoc; | |
19691 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
19692 | if (ptr) { | |
19693 | strncpy(buff, methods[i].ml_doc, ldoc); | |
19694 | buff += ldoc; | |
19695 | strncpy(buff, "swig_ptr: ", 10); | |
19696 | buff += 10; | |
19697 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
19698 | methods[i].ml_doc = ndoc; | |
093d3ff1 | 19699 | } |
554f62e9 | 19700 | } |
093d3ff1 | 19701 | } |
554f62e9 | 19702 | } |
093d3ff1 | 19703 | } |
554f62e9 RD |
19704 | } |
19705 | ||
093d3ff1 RD |
19706 | #ifdef __cplusplus |
19707 | } | |
19708 | #endif | |
19709 | ||
19710 | /* -----------------------------------------------------------------------------* | |
19711 | * Partial Init method | |
19712 | * -----------------------------------------------------------------------------*/ | |
19713 | ||
d14a1e28 RD |
19714 | #ifdef __cplusplus |
19715 | extern "C" | |
19716 | #endif | |
7449af73 | 19717 | SWIGEXPORT void SWIG_init(void) { |
554f62e9 RD |
19718 | PyObject *m, *d; |
19719 | ||
19720 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
19721 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
19722 | ||
19723 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
19724 | d = PyModule_GetDict(m); | |
19725 | ||
19726 | SWIG_InitializeModule(0); | |
19727 | SWIG_InstallConstants(d,swig_const_table); | |
19728 | ||
19729 | ||
19730 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
19731 | SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get, HtmlWindowNameStr_set); | |
19732 | SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get, HtmlPrintoutTitleStr_set); | |
19733 | SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get, HtmlPrintingTitleStr_set); | |
19734 | SWIG_Python_SetConstant(d, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT))); | |
19735 | SWIG_Python_SetConstant(d, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER))); | |
19736 | SWIG_Python_SetConstant(d, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT))); | |
19737 | SWIG_Python_SetConstant(d, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM))); | |
19738 | SWIG_Python_SetConstant(d, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP))); | |
19739 | SWIG_Python_SetConstant(d, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND))); | |
19740 | SWIG_Python_SetConstant(d, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND))); | |
19741 | SWIG_Python_SetConstant(d, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS))); | |
19742 | SWIG_Python_SetConstant(d, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT))); | |
19743 | SWIG_Python_SetConstant(d, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT))); | |
19744 | SWIG_Python_SetConstant(d, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT))); | |
19745 | SWIG_Python_SetConstant(d, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP))); | |
19746 | SWIG_Python_SetConstant(d, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM))); | |
19747 | SWIG_Python_SetConstant(d, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL))); | |
19748 | SWIG_Python_SetConstant(d, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL))); | |
19749 | SWIG_Python_SetConstant(d, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL))); | |
19750 | SWIG_Python_SetConstant(d, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR))); | |
19751 | SWIG_Python_SetConstant(d, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP))); | |
19752 | SWIG_Python_SetConstant(d, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER))); | |
19753 | SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_1",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_1))); | |
19754 | SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_2",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_2))); | |
19755 | SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_3",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_3))); | |
19756 | SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_4",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_4))); | |
19757 | SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_5",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_5))); | |
19758 | SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_6",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_6))); | |
19759 | SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_7",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_7))); | |
19760 | SWIG_Python_SetConstant(d, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER))); | |
19761 | SWIG_Python_SetConstant(d, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO))); | |
19762 | SWIG_Python_SetConstant(d, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION))); | |
19763 | SWIG_Python_SetConstant(d, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE))); | |
19764 | SWIG_Python_SetConstant(d, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN))); | |
19765 | SWIG_Python_SetConstant(d, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK))); | |
19766 | SWIG_Python_SetConstant(d, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT))); | |
19767 | SWIG_Python_SetConstant(d, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE))); | |
19768 | SWIG_Python_SetConstant(d, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE))); | |
19769 | SWIG_Python_SetConstant(d, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER))); | |
19770 | SWIG_Python_SetConstant(d, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT))); | |
19771 | SWIG_Python_SetConstant(d, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN))); | |
19772 | SWIG_Python_SetConstant(d, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING))); | |
19773 | SWIG_Python_SetConstant(d, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT))); | |
19774 | SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE))); | |
19775 | SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER))); | |
19776 | SWIG_Python_SetConstant(d, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD))); | |
19777 | SWIG_Python_SetConstant(d, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN))); | |
19778 | SWIG_Python_SetConstant(d, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL))); | |
19779 | SWIG_Python_SetConstant(d, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR))); | |
19780 | SWIG_Python_SetConstant(d, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS))); | |
19781 | SWIG_Python_SetConstant(d, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX))); | |
19782 | SWIG_Python_SetConstant(d, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH))); | |
19783 | SWIG_Python_SetConstant(d, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS))); | |
19784 | SWIG_Python_SetConstant(d, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES))); | |
19785 | SWIG_Python_SetConstant(d, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT))); | |
19786 | SWIG_Python_SetConstant(d, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR))); | |
19787 | SWIG_Python_SetConstant(d, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS))); | |
19788 | SWIG_Python_SetConstant(d, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK))); | |
19789 | SWIG_Python_SetConstant(d, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER))); | |
19790 | SWIG_Python_SetConstant(d, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER))); | |
19791 | SWIG_Python_SetConstant(d, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE))); | |
19792 | SWIG_Python_SetConstant(d, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED))); | |
19793 | SWIG_Python_SetConstant(d, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG))); | |
19794 | SWIG_Python_SetConstant(d, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME))); | |
19795 | SWIG_Python_SetConstant(d, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL))); | |
19796 | SWIG_Python_SetConstant(d, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL))); | |
19797 | SWIG_Python_SetConstant(d, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK))); | |
19798 | SWIG_Python_SetConstant(d, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD))); | |
19799 | SWIG_Python_SetConstant(d, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE))); | |
19800 | SWIG_Python_SetConstant(d, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP))); | |
19801 | SWIG_Python_SetConstant(d, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN))); | |
19802 | SWIG_Python_SetConstant(d, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT))); | |
19803 | SWIG_Python_SetConstant(d, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE))); | |
19804 | SWIG_Python_SetConstant(d, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS))); | |
19805 | SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST))); | |
19806 | SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD))); | |
19807 | SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE))); | |
19808 | SWIG_Python_SetConstant(d, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL))); | |
19809 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE))); | |
19810 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST))); | |
19811 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT))); | |
19812 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON))); | |
19813 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL))); | |
19814 | SWIG_Python_SetConstant(d, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK))); | |
19815 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE))); | |
19816 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT))); | |
19817 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST))); | |
19818 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON))); | |
19819 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE))); | |
19820 | SWIG_Python_SetConstant(d, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO))); | |
19821 | ||
19822 | wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); | |
19823 | wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler"); | |
19824 | wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow"); | |
19825 | wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter"); | |
19826 | ||
d14a1e28 RD |
19827 | } |
19828 |