]>
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 | |
96221a45 RD |
988 | #if PY_VERSION_HEX < 0x02050000 |
989 | typedef int Py_ssize_t; | |
990 | #endif | |
991 | ||
554f62e9 RD |
992 | /* for raw pointers */ |
993 | #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) | |
994 | #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags) | |
995 | #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) | |
996 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags) | |
997 | #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty) | |
998 | #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src) | |
999 | #define swig_owntype int | |
d14a1e28 | 1000 | |
554f62e9 RD |
1001 | /* for raw packed data */ |
1002 | #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) | |
1003 | #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
d14a1e28 | 1004 | |
554f62e9 RD |
1005 | /* for class or struct pointers */ |
1006 | #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags) | |
1007 | #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags) | |
d14a1e28 | 1008 | |
554f62e9 RD |
1009 | /* for C or C++ function pointers */ |
1010 | #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type) | |
1011 | #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0) | |
d14a1e28 | 1012 | |
554f62e9 RD |
1013 | /* for C++ member pointers, ie, member methods */ |
1014 | #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) | |
1015 | #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
7449af73 | 1016 | |
093d3ff1 | 1017 | |
554f62e9 | 1018 | /* Runtime API */ |
093d3ff1 | 1019 | |
554f62e9 RD |
1020 | #define SWIG_GetModule(clientdata) SWIG_Python_GetModule() |
1021 | #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) | |
1022 | #define SWIG_NewClientData(obj) PySwigClientData_New(obj) | |
7449af73 | 1023 | |
554f62e9 RD |
1024 | #define SWIG_SetErrorObj SWIG_Python_SetErrorObj |
1025 | #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg | |
1026 | #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code) | |
1027 | #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) | |
1028 | #define SWIG_fail goto fail | |
7449af73 | 1029 | |
093d3ff1 | 1030 | |
554f62e9 | 1031 | /* Runtime API implementation */ |
093d3ff1 | 1032 | |
554f62e9 | 1033 | /* Error manipulation */ |
093d3ff1 | 1034 | |
554f62e9 RD |
1035 | SWIGINTERN void |
1036 | SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) { | |
1037 | SWIG_PYTHON_THREAD_BEGIN_BLOCK; | |
1038 | PyErr_SetObject(errtype, obj); | |
1039 | Py_DECREF(obj); | |
1040 | SWIG_PYTHON_THREAD_END_BLOCK; | |
093d3ff1 RD |
1041 | } |
1042 | ||
554f62e9 RD |
1043 | SWIGINTERN void |
1044 | SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) { | |
1045 | SWIG_PYTHON_THREAD_BEGIN_BLOCK; | |
1046 | PyErr_SetString(errtype, (char *) msg); | |
1047 | SWIG_PYTHON_THREAD_END_BLOCK; | |
d14a1e28 | 1048 | } |
093d3ff1 | 1049 | |
554f62e9 | 1050 | #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) |
7449af73 | 1051 | |
554f62e9 | 1052 | /* Set a constant value */ |
093d3ff1 | 1053 | |
554f62e9 RD |
1054 | SWIGINTERN void |
1055 | SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) { | |
1056 | PyDict_SetItemString(d, (char*) name, obj); | |
1057 | Py_DECREF(obj); | |
093d3ff1 RD |
1058 | } |
1059 | ||
554f62e9 | 1060 | /* Append a value to the result obj */ |
093d3ff1 | 1061 | |
554f62e9 RD |
1062 | SWIGINTERN PyObject* |
1063 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { | |
1064 | #if !defined(SWIG_PYTHON_OUTPUT_TUPLE) | |
1065 | if (!result) { | |
1066 | result = obj; | |
1067 | } else if (result == Py_None) { | |
1068 | Py_DECREF(result); | |
1069 | result = obj; | |
1070 | } else { | |
1071 | if (!PyList_Check(result)) { | |
1072 | PyObject *o2 = result; | |
1073 | result = PyList_New(1); | |
1074 | PyList_SetItem(result, 0, o2); | |
1075 | } | |
1076 | PyList_Append(result,obj); | |
1077 | Py_DECREF(obj); | |
1078 | } | |
1079 | return result; | |
1080 | #else | |
1081 | PyObject* o2; | |
1082 | PyObject* o3; | |
1083 | if (!result) { | |
1084 | result = obj; | |
1085 | } else if (result == Py_None) { | |
1086 | Py_DECREF(result); | |
1087 | result = obj; | |
093d3ff1 | 1088 | } else { |
554f62e9 RD |
1089 | if (!PyTuple_Check(result)) { |
1090 | o2 = result; | |
1091 | result = PyTuple_New(1); | |
1092 | PyTuple_SET_ITEM(result, 0, o2); | |
1093 | } | |
1094 | o3 = PyTuple_New(1); | |
1095 | PyTuple_SET_ITEM(o3, 0, obj); | |
1096 | o2 = result; | |
1097 | result = PySequence_Concat(o2, o3); | |
1098 | Py_DECREF(o2); | |
1099 | Py_DECREF(o3); | |
093d3ff1 | 1100 | } |
554f62e9 RD |
1101 | return result; |
1102 | #endif | |
093d3ff1 RD |
1103 | } |
1104 | ||
554f62e9 | 1105 | /* Unpack the argument tuple */ |
093d3ff1 | 1106 | |
554f62e9 RD |
1107 | SWIGINTERN int |
1108 | SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs) | |
1109 | { | |
1110 | if (!args) { | |
1111 | if (!min && !max) { | |
1112 | return 1; | |
1113 | } else { | |
1114 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", | |
1115 | name, (min == max ? "" : "at least "), min); | |
1116 | return 0; | |
1117 | } | |
1118 | } | |
1119 | if (!PyTuple_Check(args)) { | |
1120 | PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple"); | |
1121 | return 0; | |
1122 | } else { | |
1123 | register int l = PyTuple_GET_SIZE(args); | |
1124 | if (l < min) { | |
1125 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", | |
1126 | name, (min == max ? "" : "at least "), min, l); | |
1127 | return 0; | |
1128 | } else if (l > max) { | |
1129 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", | |
1130 | name, (min == max ? "" : "at most "), max, l); | |
1131 | return 0; | |
1132 | } else { | |
1133 | register int i; | |
1134 | for (i = 0; i < l; ++i) { | |
1135 | objs[i] = PyTuple_GET_ITEM(args, i); | |
1136 | } | |
1137 | for (; l < max; ++l) { | |
1138 | objs[l] = 0; | |
1139 | } | |
1140 | return i + 1; | |
1141 | } | |
1142 | } | |
1143 | } | |
1144 | ||
1145 | /* A functor is a function object with one single object argument */ | |
1146 | #if PY_VERSION_HEX >= 0x02020000 | |
1147 | #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL); | |
1148 | #else | |
1149 | #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj); | |
1150 | #endif | |
1151 | ||
1152 | /* | |
1153 | Helper for static pointer initialization for both C and C++ code, for example | |
1154 | static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); | |
1155 | */ | |
1156 | #ifdef __cplusplus | |
1157 | #define SWIG_STATIC_POINTER(var) var | |
1158 | #else | |
1159 | #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var | |
1160 | #endif | |
1161 | ||
1162 | /* ----------------------------------------------------------------------------- | |
1163 | * Pointer declarations | |
1164 | * ----------------------------------------------------------------------------- */ | |
1165 | ||
1166 | /* Flags for new pointer objects */ | |
1167 | #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1) | |
1168 | #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) | |
1169 | ||
1170 | #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1) | |
1171 | ||
1172 | #ifdef __cplusplus | |
1173 | extern "C" { | |
1174 | #if 0 | |
1175 | } /* cc-mode */ | |
1176 | #endif | |
1177 | #endif | |
1178 | ||
1179 | /* How to access Py_None */ | |
1180 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
1181 | # ifndef SWIG_PYTHON_NO_BUILD_NONE | |
1182 | # ifndef SWIG_PYTHON_BUILD_NONE | |
1183 | # define SWIG_PYTHON_BUILD_NONE | |
1184 | # endif | |
1185 | # endif | |
1186 | #endif | |
1187 | ||
1188 | #ifdef SWIG_PYTHON_BUILD_NONE | |
1189 | # ifdef Py_None | |
1190 | # undef Py_None | |
1191 | # define Py_None SWIG_Py_None() | |
1192 | # endif | |
1193 | SWIGRUNTIMEINLINE PyObject * | |
1194 | _SWIG_Py_None(void) | |
1195 | { | |
1196 | PyObject *none = Py_BuildValue(""); | |
1197 | Py_DECREF(none); | |
1198 | return none; | |
1199 | } | |
1200 | SWIGRUNTIME PyObject * | |
1201 | SWIG_Py_None(void) | |
1202 | { | |
1203 | static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None(); | |
1204 | return none; | |
1205 | } | |
1206 | #endif | |
1207 | ||
1208 | /* The python void return value */ | |
1209 | ||
1210 | SWIGRUNTIMEINLINE PyObject * | |
1211 | SWIG_Py_Void(void) | |
1212 | { | |
1213 | PyObject *none = Py_None; | |
1214 | Py_INCREF(none); | |
1215 | return none; | |
1216 | } | |
1217 | ||
1218 | /* PySwigClientData */ | |
1219 | ||
1220 | typedef struct { | |
1221 | PyObject *klass; | |
1222 | PyObject *newraw; | |
1223 | PyObject *newargs; | |
1224 | PyObject *destroy; | |
1225 | int delargs; | |
1226 | int implicitconv; | |
1227 | } PySwigClientData; | |
1228 | ||
1229 | SWIGRUNTIMEINLINE int | |
1230 | SWIG_Python_CheckImplicit(swig_type_info *ty) | |
1231 | { | |
1232 | PySwigClientData *data = (PySwigClientData *)ty->clientdata; | |
1233 | return data ? data->implicitconv : 0; | |
1234 | } | |
1235 | ||
1236 | SWIGRUNTIMEINLINE PyObject * | |
1237 | SWIG_Python_ExceptionType(swig_type_info *desc) { | |
1238 | PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0; | |
1239 | PyObject *klass = data ? data->klass : 0; | |
1240 | return (klass ? klass : PyExc_RuntimeError); | |
1241 | } | |
1242 | ||
1243 | ||
1244 | SWIGRUNTIME PySwigClientData * | |
1245 | PySwigClientData_New(PyObject* obj) | |
1246 | { | |
1247 | if (!obj) { | |
1248 | return 0; | |
1249 | } else { | |
1250 | PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData)); | |
1251 | /* the klass element */ | |
1252 | data->klass = obj; | |
1253 | Py_INCREF(data->klass); | |
1254 | /* the newraw method and newargs arguments used to create a new raw instance */ | |
1255 | if (PyClass_Check(obj)) { | |
1256 | data->newraw = 0; | |
1257 | data->newargs = obj; | |
1258 | Py_INCREF(obj); | |
1259 | } else { | |
1260 | #if (PY_VERSION_HEX < 0x02020000) | |
1261 | data->newraw = 0; | |
1262 | #else | |
1263 | data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__"); | |
1264 | #endif | |
1265 | if (data->newraw) { | |
1266 | Py_INCREF(data->newraw); | |
1267 | data->newargs = PyTuple_New(1); | |
1268 | PyTuple_SetItem(data->newargs, 0, obj); | |
1269 | } else { | |
1270 | data->newargs = obj; | |
1271 | } | |
1272 | Py_INCREF(data->newargs); | |
1273 | } | |
1274 | /* the destroy method, aka as the C++ delete method */ | |
1275 | data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__"); | |
1276 | if (PyErr_Occurred()) { | |
1277 | PyErr_Clear(); | |
1278 | data->destroy = 0; | |
1279 | } | |
1280 | if (data->destroy) { | |
1281 | int flags; | |
1282 | Py_INCREF(data->destroy); | |
1283 | flags = PyCFunction_GET_FLAGS(data->destroy); | |
1284 | #ifdef METH_O | |
1285 | data->delargs = !(flags & (METH_O)); | |
1286 | #else | |
1287 | data->delargs = 0; | |
1288 | #endif | |
1289 | } else { | |
1290 | data->delargs = 0; | |
1291 | } | |
1292 | data->implicitconv = 0; | |
1293 | return data; | |
1294 | } | |
1295 | } | |
1296 | ||
1297 | SWIGRUNTIME void | |
1298 | PySwigClientData_Del(PySwigClientData* data) | |
1299 | { | |
1300 | Py_XDECREF(data->newraw); | |
1301 | Py_XDECREF(data->newargs); | |
1302 | Py_XDECREF(data->destroy); | |
1303 | } | |
1304 | ||
1305 | /* =============== PySwigObject =====================*/ | |
1306 | ||
1307 | typedef struct { | |
1308 | PyObject_HEAD | |
1309 | void *ptr; | |
1310 | swig_type_info *ty; | |
1311 | int own; | |
1312 | PyObject *next; | |
1313 | } PySwigObject; | |
1314 | ||
1315 | SWIGRUNTIME PyObject * | |
1316 | PySwigObject_long(PySwigObject *v) | |
1317 | { | |
1318 | return PyLong_FromVoidPtr(v->ptr); | |
1319 | } | |
1320 | ||
1321 | SWIGRUNTIME PyObject * | |
1322 | PySwigObject_format(const char* fmt, PySwigObject *v) | |
1323 | { | |
1324 | PyObject *res = NULL; | |
1325 | PyObject *args = PyTuple_New(1); | |
1326 | if (args) { | |
1327 | if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) { | |
1328 | PyObject *ofmt = PyString_FromString(fmt); | |
1329 | if (ofmt) { | |
1330 | res = PyString_Format(ofmt,args); | |
1331 | Py_DECREF(ofmt); | |
1332 | } | |
1333 | Py_DECREF(args); | |
1334 | } | |
1335 | } | |
1336 | return res; | |
1337 | } | |
1338 | ||
1339 | SWIGRUNTIME PyObject * | |
1340 | PySwigObject_oct(PySwigObject *v) | |
1341 | { | |
1342 | return PySwigObject_format("%o",v); | |
1343 | } | |
1344 | ||
1345 | SWIGRUNTIME PyObject * | |
1346 | PySwigObject_hex(PySwigObject *v) | |
1347 | { | |
1348 | return PySwigObject_format("%x",v); | |
1349 | } | |
1350 | ||
1351 | SWIGRUNTIME PyObject * | |
1352 | #ifdef METH_NOARGS | |
1353 | PySwigObject_repr(PySwigObject *v) | |
1354 | #else | |
1355 | PySwigObject_repr(PySwigObject *v, PyObject *args) | |
1356 | #endif | |
1357 | { | |
1358 | const char *name = SWIG_TypePrettyName(v->ty); | |
1359 | PyObject *hex = PySwigObject_hex(v); | |
1360 | PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex)); | |
1361 | Py_DECREF(hex); | |
1362 | if (v->next) { | |
1363 | #ifdef METH_NOARGS | |
1364 | PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next); | |
1365 | #else | |
1366 | PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args); | |
1367 | #endif | |
1368 | PyString_ConcatAndDel(&repr,nrep); | |
1369 | } | |
1370 | return repr; | |
1371 | } | |
1372 | ||
1373 | SWIGRUNTIME int | |
1374 | PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) | |
1375 | { | |
1376 | #ifdef METH_NOARGS | |
1377 | PyObject *repr = PySwigObject_repr(v); | |
1378 | #else | |
1379 | PyObject *repr = PySwigObject_repr(v, NULL); | |
1380 | #endif | |
1381 | if (repr) { | |
1382 | fputs(PyString_AsString(repr), fp); | |
1383 | Py_DECREF(repr); | |
1384 | return 0; | |
1385 | } else { | |
1386 | return 1; | |
1387 | } | |
1388 | } | |
1389 | ||
1390 | SWIGRUNTIME PyObject * | |
1391 | PySwigObject_str(PySwigObject *v) | |
1392 | { | |
1393 | char result[SWIG_BUFFER_SIZE]; | |
1394 | return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ? | |
1395 | PyString_FromString(result) : 0; | |
1396 | } | |
1397 | ||
1398 | SWIGRUNTIME int | |
1399 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
1400 | { | |
1401 | void *i = v->ptr; | |
1402 | void *j = w->ptr; | |
1403 | return (i < j) ? -1 : ((i > j) ? 1 : 0); | |
1404 | } | |
1405 | ||
1406 | SWIGRUNTIME PyTypeObject* _PySwigObject_type(void); | |
1407 | ||
1408 | SWIGRUNTIME PyTypeObject* | |
1409 | PySwigObject_type(void) { | |
1410 | static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type(); | |
1411 | return type; | |
1412 | } | |
1413 | ||
1414 | SWIGRUNTIMEINLINE int | |
1415 | PySwigObject_Check(PyObject *op) { | |
1416 | return ((op)->ob_type == PySwigObject_type()) | |
1417 | || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); | |
1418 | } | |
1419 | ||
1420 | SWIGRUNTIME PyObject * | |
1421 | PySwigObject_New(void *ptr, swig_type_info *ty, int own); | |
1422 | ||
1423 | SWIGRUNTIME void | |
1424 | PySwigObject_dealloc(PyObject *v) | |
1425 | { | |
1426 | PySwigObject *sobj = (PySwigObject *) v; | |
1427 | PyObject *next = sobj->next; | |
1428 | if (sobj->own) { | |
1429 | swig_type_info *ty = sobj->ty; | |
1430 | PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; | |
1431 | PyObject *destroy = data ? data->destroy : 0; | |
1432 | if (destroy) { | |
1433 | /* destroy is always a VARARGS method */ | |
1434 | PyObject *res; | |
1435 | if (data->delargs) { | |
1436 | /* we need to create a temporal object to carry the destroy operation */ | |
1437 | PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0); | |
1438 | res = SWIG_Python_CallFunctor(destroy, tmp); | |
1439 | Py_DECREF(tmp); | |
1440 | } else { | |
1441 | PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); | |
1442 | PyObject *mself = PyCFunction_GET_SELF(destroy); | |
1443 | res = ((*meth)(mself, v)); | |
1444 | } | |
1445 | Py_XDECREF(res); | |
1446 | } else { | |
1447 | const char *name = SWIG_TypePrettyName(ty); | |
1448 | #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) | |
1449 | printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name); | |
1450 | #endif | |
1451 | } | |
1452 | } | |
1453 | Py_XDECREF(next); | |
1454 | PyObject_DEL(v); | |
1455 | } | |
1456 | ||
1457 | SWIGRUNTIME PyObject* | |
1458 | PySwigObject_append(PyObject* v, PyObject* next) | |
1459 | { | |
1460 | PySwigObject *sobj = (PySwigObject *) v; | |
1461 | #ifndef METH_O | |
1462 | PyObject *tmp = 0; | |
1463 | if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL; | |
1464 | next = tmp; | |
1465 | #endif | |
1466 | if (!PySwigObject_Check(next)) { | |
1467 | return NULL; | |
1468 | } | |
1469 | sobj->next = next; | |
1470 | Py_INCREF(next); | |
1471 | return SWIG_Py_Void(); | |
1472 | } | |
1473 | ||
1474 | SWIGRUNTIME PyObject* | |
1475 | #ifdef METH_NOARGS | |
1476 | PySwigObject_next(PyObject* v) | |
1477 | #else | |
1478 | PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1479 | #endif | |
1480 | { | |
1481 | PySwigObject *sobj = (PySwigObject *) v; | |
1482 | if (sobj->next) { | |
1483 | Py_INCREF(sobj->next); | |
1484 | return sobj->next; | |
1485 | } else { | |
1486 | return SWIG_Py_Void(); | |
1487 | } | |
1488 | } | |
1489 | ||
1490 | SWIGINTERN PyObject* | |
1491 | #ifdef METH_NOARGS | |
1492 | PySwigObject_disown(PyObject *v) | |
1493 | #else | |
1494 | PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1495 | #endif | |
1496 | { | |
1497 | PySwigObject *sobj = (PySwigObject *)v; | |
1498 | sobj->own = 0; | |
1499 | return SWIG_Py_Void(); | |
1500 | } | |
1501 | ||
1502 | SWIGINTERN PyObject* | |
1503 | #ifdef METH_NOARGS | |
1504 | PySwigObject_acquire(PyObject *v) | |
1505 | #else | |
1506 | PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1507 | #endif | |
1508 | { | |
1509 | PySwigObject *sobj = (PySwigObject *)v; | |
1510 | sobj->own = SWIG_POINTER_OWN; | |
1511 | return SWIG_Py_Void(); | |
1512 | } | |
1513 | ||
1514 | SWIGINTERN PyObject* | |
1515 | PySwigObject_own(PyObject *v, PyObject *args) | |
1516 | { | |
1517 | PyObject *val = 0; | |
1518 | #if (PY_VERSION_HEX < 0x02020000) | |
1519 | if (!PyArg_ParseTuple(args,(char *)"|O:own",&val)) | |
1520 | #else | |
1521 | if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) | |
1522 | #endif | |
1523 | { | |
1524 | return NULL; | |
1525 | } | |
1526 | else | |
1527 | { | |
1528 | PySwigObject *sobj = (PySwigObject *)v; | |
1529 | PyObject *obj = PyBool_FromLong(sobj->own); | |
1530 | if (val) { | |
1531 | #ifdef METH_NOARGS | |
1532 | if (PyObject_IsTrue(val)) { | |
1533 | PySwigObject_acquire(v); | |
1534 | } else { | |
1535 | PySwigObject_disown(v); | |
1536 | } | |
1537 | #else | |
1538 | if (PyObject_IsTrue(val)) { | |
1539 | PySwigObject_acquire(v,args); | |
1540 | } else { | |
1541 | PySwigObject_disown(v,args); | |
1542 | } | |
1543 | #endif | |
1544 | } | |
1545 | return obj; | |
1546 | } | |
1547 | } | |
1548 | ||
1549 | #ifdef METH_O | |
1550 | static PyMethodDef | |
1551 | swigobject_methods[] = { | |
1552 | {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"}, | |
1553 | {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"}, | |
1554 | {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, | |
1555 | {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"}, | |
1556 | {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"}, | |
1557 | {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"}, | |
1558 | {0, 0, 0, 0} | |
1559 | }; | |
1560 | #else | |
1561 | static PyMethodDef | |
1562 | swigobject_methods[] = { | |
1563 | {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"}, | |
1564 | {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"}, | |
1565 | {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, | |
1566 | {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"}, | |
1567 | {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"}, | |
1568 | {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"}, | |
1569 | {0, 0, 0, 0} | |
1570 | }; | |
1571 | #endif | |
1572 | ||
1573 | #if PY_VERSION_HEX < 0x02020000 | |
1574 | SWIGINTERN PyObject * | |
1575 | PySwigObject_getattr(PySwigObject *sobj,char *name) | |
1576 | { | |
1577 | return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name); | |
1578 | } | |
1579 | #endif | |
1580 | ||
1581 | SWIGRUNTIME PyTypeObject* | |
1582 | _PySwigObject_type(void) { | |
1583 | static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer"; | |
1584 | ||
1585 | static PyNumberMethods PySwigObject_as_number = { | |
1586 | (binaryfunc)0, /*nb_add*/ | |
1587 | (binaryfunc)0, /*nb_subtract*/ | |
1588 | (binaryfunc)0, /*nb_multiply*/ | |
1589 | (binaryfunc)0, /*nb_divide*/ | |
1590 | (binaryfunc)0, /*nb_remainder*/ | |
093d3ff1 RD |
1591 | (binaryfunc)0, /*nb_divmod*/ |
1592 | (ternaryfunc)0,/*nb_power*/ | |
1593 | (unaryfunc)0, /*nb_negative*/ | |
1594 | (unaryfunc)0, /*nb_positive*/ | |
1595 | (unaryfunc)0, /*nb_absolute*/ | |
1596 | (inquiry)0, /*nb_nonzero*/ | |
1597 | 0, /*nb_invert*/ | |
1598 | 0, /*nb_lshift*/ | |
1599 | 0, /*nb_rshift*/ | |
1600 | 0, /*nb_and*/ | |
1601 | 0, /*nb_xor*/ | |
1602 | 0, /*nb_or*/ | |
1603 | (coercion)0, /*nb_coerce*/ | |
1604 | (unaryfunc)PySwigObject_long, /*nb_int*/ | |
1605 | (unaryfunc)PySwigObject_long, /*nb_long*/ | |
1606 | (unaryfunc)0, /*nb_float*/ | |
1607 | (unaryfunc)PySwigObject_oct, /*nb_oct*/ | |
1608 | (unaryfunc)PySwigObject_hex, /*nb_hex*/ | |
7449af73 | 1609 | #if PY_VERSION_HEX >= 0x02020000 |
093d3ff1 | 1610 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ |
7449af73 RD |
1611 | #elif PY_VERSION_HEX >= 0x02000000 |
1612 | 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ | |
093d3ff1 RD |
1613 | #endif |
1614 | }; | |
1615 | ||
554f62e9 | 1616 | static PyTypeObject pyswigobject_type; |
7449af73 | 1617 | static int type_init = 0; |
093d3ff1 | 1618 | if (!type_init) { |
554f62e9 RD |
1619 | const PyTypeObject tmp |
1620 | = { | |
1621 | PyObject_HEAD_INIT(NULL) | |
1622 | 0, /* ob_size */ | |
1623 | (char *)"PySwigObject", /* tp_name */ | |
1624 | sizeof(PySwigObject), /* tp_basicsize */ | |
1625 | 0, /* tp_itemsize */ | |
1626 | (destructor)PySwigObject_dealloc, /* tp_dealloc */ | |
1627 | (printfunc)PySwigObject_print, /* tp_print */ | |
1628 | #if PY_VERSION_HEX < 0x02020000 | |
1629 | (getattrfunc)PySwigObject_getattr, /* tp_getattr */ | |
1630 | #else | |
1631 | (getattrfunc)0, /* tp_getattr */ | |
093d3ff1 | 1632 | #endif |
554f62e9 RD |
1633 | (setattrfunc)0, /* tp_setattr */ |
1634 | (cmpfunc)PySwigObject_compare, /* tp_compare */ | |
1635 | (reprfunc)PySwigObject_repr, /* tp_repr */ | |
1636 | &PySwigObject_as_number, /* tp_as_number */ | |
1637 | 0, /* tp_as_sequence */ | |
1638 | 0, /* tp_as_mapping */ | |
1639 | (hashfunc)0, /* tp_hash */ | |
1640 | (ternaryfunc)0, /* tp_call */ | |
1641 | (reprfunc)PySwigObject_str, /* tp_str */ | |
1642 | PyObject_GenericGetAttr, /* tp_getattro */ | |
1643 | 0, /* tp_setattro */ | |
1644 | 0, /* tp_as_buffer */ | |
1645 | Py_TPFLAGS_DEFAULT, /* tp_flags */ | |
1646 | swigobject_doc, /* tp_doc */ | |
1647 | 0, /* tp_traverse */ | |
1648 | 0, /* tp_clear */ | |
1649 | 0, /* tp_richcompare */ | |
1650 | 0, /* tp_weaklistoffset */ | |
093d3ff1 | 1651 | #if PY_VERSION_HEX >= 0x02020000 |
554f62e9 RD |
1652 | 0, /* tp_iter */ |
1653 | 0, /* tp_iternext */ | |
1654 | swigobject_methods, /* tp_methods */ | |
1655 | 0, /* tp_members */ | |
1656 | 0, /* tp_getset */ | |
1657 | 0, /* tp_base */ | |
1658 | 0, /* tp_dict */ | |
1659 | 0, /* tp_descr_get */ | |
1660 | 0, /* tp_descr_set */ | |
1661 | 0, /* tp_dictoffset */ | |
1662 | 0, /* tp_init */ | |
1663 | 0, /* tp_alloc */ | |
1664 | 0, /* tp_new */ | |
1665 | 0, /* tp_free */ | |
1666 | 0, /* tp_is_gc */ | |
1667 | 0, /* tp_bases */ | |
1668 | 0, /* tp_mro */ | |
1669 | 0, /* tp_cache */ | |
1670 | 0, /* tp_subclasses */ | |
1671 | 0, /* tp_weaklist */ | |
093d3ff1 RD |
1672 | #endif |
1673 | #if PY_VERSION_HEX >= 0x02030000 | |
554f62e9 | 1674 | 0, /* tp_del */ |
d14a1e28 | 1675 | #endif |
093d3ff1 | 1676 | #ifdef COUNT_ALLOCS |
554f62e9 | 1677 | 0,0,0,0 /* tp_alloc -> tp_next */ |
093d3ff1 | 1678 | #endif |
554f62e9 | 1679 | }; |
7449af73 | 1680 | pyswigobject_type = tmp; |
554f62e9 | 1681 | pyswigobject_type.ob_type = &PyType_Type; |
093d3ff1 RD |
1682 | type_init = 1; |
1683 | } | |
7449af73 | 1684 | return &pyswigobject_type; |
093d3ff1 | 1685 | } |
c32bde28 | 1686 | |
093d3ff1 | 1687 | SWIGRUNTIME PyObject * |
554f62e9 | 1688 | PySwigObject_New(void *ptr, swig_type_info *ty, int own) |
093d3ff1 | 1689 | { |
554f62e9 RD |
1690 | PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type()); |
1691 | if (sobj) { | |
1692 | sobj->ptr = ptr; | |
1693 | sobj->ty = ty; | |
1694 | sobj->own = own; | |
1695 | sobj->next = 0; | |
7449af73 | 1696 | } |
554f62e9 | 1697 | return (PyObject *)sobj; |
093d3ff1 | 1698 | } |
d14a1e28 | 1699 | |
093d3ff1 RD |
1700 | /* ----------------------------------------------------------------------------- |
1701 | * Implements a simple Swig Packed type, and use it instead of string | |
1702 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 1703 | |
093d3ff1 RD |
1704 | typedef struct { |
1705 | PyObject_HEAD | |
1706 | void *pack; | |
554f62e9 | 1707 | swig_type_info *ty; |
093d3ff1 RD |
1708 | size_t size; |
1709 | } PySwigPacked; | |
d14a1e28 | 1710 | |
093d3ff1 | 1711 | SWIGRUNTIME int |
554f62e9 | 1712 | PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags)) |
093d3ff1 RD |
1713 | { |
1714 | char result[SWIG_BUFFER_SIZE]; | |
1715 | fputs("<Swig Packed ", fp); | |
1716 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
1717 | fputs("at ", fp); | |
1718 | fputs(result, fp); | |
1719 | } | |
554f62e9 | 1720 | fputs(v->ty->name,fp); |
093d3ff1 RD |
1721 | fputs(">", fp); |
1722 | return 0; | |
1723 | } | |
9d7dfdff | 1724 | |
093d3ff1 RD |
1725 | SWIGRUNTIME PyObject * |
1726 | PySwigPacked_repr(PySwigPacked *v) | |
1727 | { | |
1728 | char result[SWIG_BUFFER_SIZE]; | |
1729 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
554f62e9 | 1730 | return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name); |
093d3ff1 | 1731 | } else { |
554f62e9 | 1732 | return PyString_FromFormat("<Swig Packed %s>", v->ty->name); |
093d3ff1 RD |
1733 | } |
1734 | } | |
c32bde28 | 1735 | |
093d3ff1 RD |
1736 | SWIGRUNTIME PyObject * |
1737 | PySwigPacked_str(PySwigPacked *v) | |
1738 | { | |
1739 | char result[SWIG_BUFFER_SIZE]; | |
1740 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ | |
554f62e9 | 1741 | return PyString_FromFormat("%s%s", result, v->ty->name); |
093d3ff1 | 1742 | } else { |
554f62e9 | 1743 | return PyString_FromString(v->ty->name); |
093d3ff1 RD |
1744 | } |
1745 | } | |
1746 | ||
1747 | SWIGRUNTIME int | |
1748 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
1749 | { | |
554f62e9 RD |
1750 | size_t i = v->size; |
1751 | size_t j = w->size; | |
1752 | int s = (i < j) ? -1 : ((i > j) ? 1 : 0); | |
1753 | return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); | |
093d3ff1 RD |
1754 | } |
1755 | ||
554f62e9 | 1756 | SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void); |
093d3ff1 RD |
1757 | |
1758 | SWIGRUNTIME PyTypeObject* | |
7449af73 | 1759 | PySwigPacked_type(void) { |
554f62e9 RD |
1760 | static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type(); |
1761 | return type; | |
1762 | } | |
1763 | ||
1764 | SWIGRUNTIMEINLINE int | |
1765 | PySwigPacked_Check(PyObject *op) { | |
1766 | return ((op)->ob_type == _PySwigPacked_type()) | |
1767 | || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); | |
1768 | } | |
1769 | ||
1770 | SWIGRUNTIME void | |
1771 | PySwigPacked_dealloc(PyObject *v) | |
1772 | { | |
1773 | if (PySwigPacked_Check(v)) { | |
1774 | PySwigPacked *sobj = (PySwigPacked *) v; | |
1775 | free(sobj->pack); | |
1776 | } | |
1777 | PyObject_DEL(v); | |
1778 | } | |
1779 | ||
1780 | SWIGRUNTIME PyTypeObject* | |
1781 | _PySwigPacked_type(void) { | |
1782 | static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer"; | |
1783 | static PyTypeObject pyswigpacked_type; | |
1784 | static int type_init = 0; | |
1785 | if (!type_init) { | |
1786 | const PyTypeObject tmp | |
1787 | = { | |
1788 | PyObject_HEAD_INIT(NULL) | |
1789 | 0, /* ob_size */ | |
1790 | (char *)"PySwigPacked", /* tp_name */ | |
1791 | sizeof(PySwigPacked), /* tp_basicsize */ | |
1792 | 0, /* tp_itemsize */ | |
1793 | (destructor)PySwigPacked_dealloc, /* tp_dealloc */ | |
1794 | (printfunc)PySwigPacked_print, /* tp_print */ | |
1795 | (getattrfunc)0, /* tp_getattr */ | |
1796 | (setattrfunc)0, /* tp_setattr */ | |
1797 | (cmpfunc)PySwigPacked_compare, /* tp_compare */ | |
1798 | (reprfunc)PySwigPacked_repr, /* tp_repr */ | |
1799 | 0, /* tp_as_number */ | |
1800 | 0, /* tp_as_sequence */ | |
1801 | 0, /* tp_as_mapping */ | |
1802 | (hashfunc)0, /* tp_hash */ | |
1803 | (ternaryfunc)0, /* tp_call */ | |
1804 | (reprfunc)PySwigPacked_str, /* tp_str */ | |
1805 | PyObject_GenericGetAttr, /* tp_getattro */ | |
1806 | 0, /* tp_setattro */ | |
1807 | 0, /* tp_as_buffer */ | |
1808 | Py_TPFLAGS_DEFAULT, /* tp_flags */ | |
1809 | swigpacked_doc, /* tp_doc */ | |
1810 | 0, /* tp_traverse */ | |
1811 | 0, /* tp_clear */ | |
1812 | 0, /* tp_richcompare */ | |
1813 | 0, /* tp_weaklistoffset */ | |
1814 | #if PY_VERSION_HEX >= 0x02020000 | |
1815 | 0, /* tp_iter */ | |
1816 | 0, /* tp_iternext */ | |
1817 | 0, /* tp_methods */ | |
1818 | 0, /* tp_members */ | |
1819 | 0, /* tp_getset */ | |
1820 | 0, /* tp_base */ | |
1821 | 0, /* tp_dict */ | |
1822 | 0, /* tp_descr_get */ | |
1823 | 0, /* tp_descr_set */ | |
1824 | 0, /* tp_dictoffset */ | |
1825 | 0, /* tp_init */ | |
1826 | 0, /* tp_alloc */ | |
1827 | 0, /* tp_new */ | |
1828 | 0, /* tp_free */ | |
1829 | 0, /* tp_is_gc */ | |
1830 | 0, /* tp_bases */ | |
1831 | 0, /* tp_mro */ | |
1832 | 0, /* tp_cache */ | |
1833 | 0, /* tp_subclasses */ | |
1834 | 0, /* tp_weaklist */ | |
093d3ff1 RD |
1835 | #endif |
1836 | #if PY_VERSION_HEX >= 0x02030000 | |
554f62e9 | 1837 | 0, /* tp_del */ |
093d3ff1 RD |
1838 | #endif |
1839 | #ifdef COUNT_ALLOCS | |
554f62e9 | 1840 | 0,0,0,0 /* tp_alloc -> tp_next */ |
093d3ff1 | 1841 | #endif |
554f62e9 | 1842 | }; |
7449af73 | 1843 | pyswigpacked_type = tmp; |
554f62e9 | 1844 | pyswigpacked_type.ob_type = &PyType_Type; |
093d3ff1 RD |
1845 | type_init = 1; |
1846 | } | |
7449af73 | 1847 | return &pyswigpacked_type; |
093d3ff1 RD |
1848 | } |
1849 | ||
1850 | SWIGRUNTIME PyObject * | |
554f62e9 | 1851 | PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty) |
093d3ff1 | 1852 | { |
554f62e9 RD |
1853 | PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type()); |
1854 | if (sobj) { | |
093d3ff1 | 1855 | void *pack = malloc(size); |
7449af73 RD |
1856 | if (pack) { |
1857 | memcpy(pack, ptr, size); | |
554f62e9 RD |
1858 | sobj->pack = pack; |
1859 | sobj->ty = ty; | |
1860 | sobj->size = size; | |
1861 | } else { | |
1862 | PyObject_DEL((PyObject *) sobj); | |
1863 | sobj = 0; | |
7449af73 | 1864 | } |
093d3ff1 | 1865 | } |
554f62e9 | 1866 | return (PyObject *) sobj; |
093d3ff1 RD |
1867 | } |
1868 | ||
554f62e9 | 1869 | SWIGRUNTIME swig_type_info * |
093d3ff1 RD |
1870 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) |
1871 | { | |
554f62e9 RD |
1872 | if (PySwigPacked_Check(obj)) { |
1873 | PySwigPacked *sobj = (PySwigPacked *)obj; | |
1874 | if (sobj->size != size) return 0; | |
1875 | memcpy(ptr, sobj->pack, size); | |
1876 | return sobj->ty; | |
1877 | } else { | |
1878 | return 0; | |
1879 | } | |
093d3ff1 RD |
1880 | } |
1881 | ||
093d3ff1 | 1882 | /* ----------------------------------------------------------------------------- |
554f62e9 | 1883 | * pointers/data manipulation |
093d3ff1 RD |
1884 | * ----------------------------------------------------------------------------- */ |
1885 | ||
554f62e9 RD |
1886 | SWIGRUNTIMEINLINE PyObject * |
1887 | _SWIG_This(void) | |
1888 | { | |
1889 | return PyString_FromString("this"); | |
1890 | } | |
093d3ff1 | 1891 | |
554f62e9 RD |
1892 | SWIGRUNTIME PyObject * |
1893 | SWIG_This(void) | |
1894 | { | |
1895 | static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This(); | |
1896 | return swig_this; | |
1897 | } | |
093d3ff1 | 1898 | |
554f62e9 | 1899 | /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ |
093d3ff1 | 1900 | |
554f62e9 RD |
1901 | SWIGRUNTIME PySwigObject * |
1902 | SWIG_Python_GetSwigThis(PyObject *pyobj) | |
093d3ff1 | 1903 | { |
554f62e9 RD |
1904 | if (PySwigObject_Check(pyobj)) { |
1905 | return (PySwigObject *) pyobj; | |
1906 | } else { | |
1907 | PyObject *obj = 0; | |
1908 | #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) | |
1909 | if (PyInstance_Check(pyobj)) { | |
1910 | obj = _PyInstance_Lookup(pyobj, SWIG_This()); | |
1911 | } else { | |
1912 | PyObject **dictptr = _PyObject_GetDictPtr(pyobj); | |
1913 | if (dictptr != NULL) { | |
1914 | PyObject *dict = *dictptr; | |
1915 | obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0; | |
1916 | } else { | |
1917 | #ifdef PyWeakref_CheckProxy | |
1918 | if (PyWeakref_CheckProxy(pyobj)) { | |
1919 | PyObject *wobj = PyWeakref_GET_OBJECT(pyobj); | |
1920 | return wobj ? SWIG_Python_GetSwigThis(wobj) : 0; | |
1921 | } | |
1922 | #endif | |
1923 | obj = PyObject_GetAttr(pyobj,SWIG_This()); | |
1924 | if (obj) { | |
1925 | Py_DECREF(obj); | |
093d3ff1 | 1926 | } else { |
554f62e9 RD |
1927 | if (PyErr_Occurred()) PyErr_Clear(); |
1928 | return 0; | |
093d3ff1 | 1929 | } |
093d3ff1 | 1930 | } |
554f62e9 RD |
1931 | } |
1932 | #else | |
1933 | obj = PyObject_GetAttr(pyobj,SWIG_This()); | |
1934 | if (obj) { | |
1935 | Py_DECREF(obj); | |
1936 | } else { | |
1937 | if (PyErr_Occurred()) PyErr_Clear(); | |
1938 | return 0; | |
1939 | } | |
1940 | #endif | |
1941 | if (obj && !PySwigObject_Check(obj)) { | |
1942 | /* a PyObject is called 'this', try to get the 'real this' | |
1943 | PySwigObject from it */ | |
1944 | return SWIG_Python_GetSwigThis(obj); | |
1945 | } | |
1946 | return (PySwigObject *)obj; | |
093d3ff1 RD |
1947 | } |
1948 | } | |
1949 | ||
554f62e9 RD |
1950 | /* Acquire a pointer value */ |
1951 | ||
1952 | SWIGRUNTIME int | |
1953 | SWIG_Python_AcquirePtr(PyObject *obj, int own) { | |
1954 | if (own) { | |
1955 | PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); | |
1956 | if (sobj) { | |
1957 | int oldown = sobj->own; | |
1958 | sobj->own = own; | |
1959 | return oldown; | |
1960 | } | |
093d3ff1 | 1961 | } |
554f62e9 | 1962 | return 0; |
093d3ff1 RD |
1963 | } |
1964 | ||
554f62e9 RD |
1965 | /* Convert a pointer value */ |
1966 | ||
093d3ff1 | 1967 | SWIGRUNTIME int |
554f62e9 RD |
1968 | SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) { |
1969 | if (!obj) return SWIG_ERROR; | |
1970 | if (obj == Py_None) { | |
1971 | if (ptr) *ptr = 0; | |
1972 | return SWIG_OK; | |
1973 | } else { | |
1974 | PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); | |
1975 | while (sobj) { | |
1976 | void *vptr = sobj->ptr; | |
1977 | if (ty) { | |
1978 | swig_type_info *to = sobj->ty; | |
1979 | if (to == ty) { | |
1980 | /* no type cast needed */ | |
1981 | if (ptr) *ptr = vptr; | |
1982 | break; | |
1983 | } else { | |
1984 | swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); | |
1985 | if (!tc) { | |
1986 | sobj = (PySwigObject *)sobj->next; | |
1987 | } else { | |
1988 | if (ptr) *ptr = SWIG_TypeCast(tc,vptr); | |
1989 | break; | |
1990 | } | |
1991 | } | |
093d3ff1 | 1992 | } else { |
554f62e9 RD |
1993 | if (ptr) *ptr = vptr; |
1994 | break; | |
093d3ff1 | 1995 | } |
093d3ff1 | 1996 | } |
554f62e9 RD |
1997 | if (sobj) { |
1998 | if (own) *own = sobj->own; | |
1999 | if (flags & SWIG_POINTER_DISOWN) { | |
2000 | sobj->own = 0; | |
2001 | } | |
2002 | return SWIG_OK; | |
2003 | } else { | |
2004 | int res = SWIG_ERROR; | |
2005 | if (flags & SWIG_POINTER_IMPLICIT_CONV) { | |
2006 | PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; | |
2007 | if (data && !data->implicitconv) { | |
2008 | PyObject *klass = data->klass; | |
2009 | if (klass) { | |
2010 | PyObject *impconv; | |
2011 | data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/ | |
2012 | impconv = SWIG_Python_CallFunctor(klass, obj); | |
2013 | data->implicitconv = 0; | |
2014 | if (PyErr_Occurred()) { | |
2015 | PyErr_Clear(); | |
2016 | impconv = 0; | |
2017 | } | |
2018 | if (impconv) { | |
2019 | PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv); | |
2020 | if (iobj) { | |
2021 | void *vptr; | |
2022 | res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0); | |
2023 | if (SWIG_IsOK(res)) { | |
2024 | if (ptr) { | |
2025 | *ptr = vptr; | |
2026 | /* transfer the ownership to 'ptr' */ | |
2027 | iobj->own = 0; | |
2028 | res = SWIG_AddCast(res); | |
2029 | res = SWIG_AddNewMask(res); | |
2030 | } else { | |
2031 | res = SWIG_AddCast(res); | |
2032 | } | |
2033 | } | |
2034 | } | |
2035 | Py_DECREF(impconv); | |
2036 | } | |
2037 | } | |
2038 | } | |
2039 | } | |
2040 | return res; | |
2041 | } | |
093d3ff1 RD |
2042 | } |
2043 | } | |
2044 | ||
554f62e9 RD |
2045 | /* Convert a function ptr value */ |
2046 | ||
093d3ff1 | 2047 | SWIGRUNTIME int |
554f62e9 RD |
2048 | SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) { |
2049 | if (!PyCFunction_Check(obj)) { | |
2050 | return SWIG_ConvertPtr(obj, ptr, ty, 0); | |
093d3ff1 | 2051 | } else { |
554f62e9 RD |
2052 | void *vptr = 0; |
2053 | ||
2054 | /* here we get the method pointer for callbacks */ | |
96221a45 | 2055 | const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); |
554f62e9 RD |
2056 | const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; |
2057 | if (desc) { | |
2058 | desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0; | |
2059 | if (!desc) return SWIG_ERROR; | |
2060 | } | |
2061 | if (ty) { | |
2062 | swig_cast_info *tc = SWIG_TypeCheck(desc,ty); | |
2063 | if (!tc) return SWIG_ERROR; | |
2064 | *ptr = SWIG_TypeCast(tc,vptr); | |
2065 | } else { | |
2066 | *ptr = vptr; | |
2067 | } | |
2068 | return SWIG_OK; | |
093d3ff1 RD |
2069 | } |
2070 | } | |
2071 | ||
554f62e9 | 2072 | /* Convert a packed value value */ |
093d3ff1 | 2073 | |
093d3ff1 | 2074 | SWIGRUNTIME int |
554f62e9 RD |
2075 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) { |
2076 | swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz); | |
2077 | if (!to) return SWIG_ERROR; | |
2078 | if (ty) { | |
2079 | if (to != ty) { | |
2080 | /* check type cast? */ | |
2081 | swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); | |
2082 | if (!tc) return SWIG_ERROR; | |
2083 | } | |
093d3ff1 | 2084 | } |
554f62e9 RD |
2085 | return SWIG_OK; |
2086 | } | |
093d3ff1 | 2087 | |
554f62e9 RD |
2088 | /* ----------------------------------------------------------------------------- |
2089 | * Create a new pointer object | |
2090 | * ----------------------------------------------------------------------------- */ | |
093d3ff1 | 2091 | |
554f62e9 RD |
2092 | /* |
2093 | Create a new instance object, whitout calling __init__, and set the | |
2094 | 'this' attribute. | |
2095 | */ | |
093d3ff1 | 2096 | |
554f62e9 RD |
2097 | SWIGRUNTIME PyObject* |
2098 | SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this) | |
2099 | { | |
2100 | #if (PY_VERSION_HEX >= 0x02020000) | |
2101 | PyObject *inst = 0; | |
2102 | PyObject *newraw = data->newraw; | |
2103 | if (newraw) { | |
2104 | inst = PyObject_Call(newraw, data->newargs, NULL); | |
2105 | if (inst) { | |
2106 | #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) | |
2107 | PyObject **dictptr = _PyObject_GetDictPtr(inst); | |
2108 | if (dictptr != NULL) { | |
2109 | PyObject *dict = *dictptr; | |
2110 | if (dict == NULL) { | |
2111 | dict = PyDict_New(); | |
2112 | *dictptr = dict; | |
2113 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2114 | } | |
093d3ff1 | 2115 | } |
554f62e9 RD |
2116 | #else |
2117 | PyObject *key = SWIG_This(); | |
2118 | PyObject_SetAttr(inst, key, swig_this); | |
2119 | #endif | |
093d3ff1 | 2120 | } |
554f62e9 RD |
2121 | } else { |
2122 | PyObject *dict = PyDict_New(); | |
2123 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2124 | inst = PyInstance_NewRaw(data->newargs, dict); | |
2125 | Py_DECREF(dict); | |
093d3ff1 | 2126 | } |
554f62e9 RD |
2127 | return inst; |
2128 | #else | |
2129 | #if (PY_VERSION_HEX >= 0x02010000) | |
2130 | PyObject *inst; | |
2131 | PyObject *dict = PyDict_New(); | |
2132 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2133 | inst = PyInstance_NewRaw(data->newargs, dict); | |
2134 | Py_DECREF(dict); | |
2135 | return (PyObject *) inst; | |
2136 | #else | |
2137 | PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type); | |
2138 | if (inst == NULL) { | |
2139 | return NULL; | |
093d3ff1 | 2140 | } |
554f62e9 RD |
2141 | inst->in_class = (PyClassObject *)data->newargs; |
2142 | Py_INCREF(inst->in_class); | |
2143 | inst->in_dict = PyDict_New(); | |
2144 | if (inst->in_dict == NULL) { | |
2145 | Py_DECREF(inst); | |
2146 | return NULL; | |
093d3ff1 | 2147 | } |
554f62e9 RD |
2148 | #ifdef Py_TPFLAGS_HAVE_WEAKREFS |
2149 | inst->in_weakreflist = NULL; | |
2150 | #endif | |
2151 | #ifdef Py_TPFLAGS_GC | |
2152 | PyObject_GC_Init(inst); | |
2153 | #endif | |
2154 | PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this); | |
2155 | return (PyObject *) inst; | |
2156 | #endif | |
2157 | #endif | |
093d3ff1 RD |
2158 | } |
2159 | ||
554f62e9 RD |
2160 | SWIGRUNTIME void |
2161 | SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) | |
2162 | { | |
2163 | PyObject *dict; | |
2164 | #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) | |
2165 | PyObject **dictptr = _PyObject_GetDictPtr(inst); | |
2166 | if (dictptr != NULL) { | |
2167 | dict = *dictptr; | |
2168 | if (dict == NULL) { | |
2169 | dict = PyDict_New(); | |
2170 | *dictptr = dict; | |
2171 | } | |
2172 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2173 | return; | |
2174 | } | |
093d3ff1 | 2175 | #endif |
554f62e9 RD |
2176 | dict = PyObject_GetAttrString(inst, "__dict__"); |
2177 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2178 | Py_DECREF(dict); | |
2179 | } | |
093d3ff1 | 2180 | |
554f62e9 RD |
2181 | |
2182 | SWIGINTERN PyObject * | |
2183 | SWIG_Python_InitShadowInstance(PyObject *args) { | |
2184 | PyObject *obj[2]; | |
2185 | if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) { | |
2186 | return NULL; | |
2187 | } else { | |
2188 | PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]); | |
2189 | if (sthis) { | |
2190 | PySwigObject_append((PyObject*) sthis, obj[1]); | |
093d3ff1 | 2191 | } else { |
554f62e9 | 2192 | SWIG_Python_SetSwigThis(obj[0], obj[1]); |
093d3ff1 | 2193 | } |
554f62e9 | 2194 | return SWIG_Py_Void(); |
093d3ff1 | 2195 | } |
554f62e9 RD |
2196 | } |
2197 | ||
2198 | /* Create a new pointer object */ | |
093d3ff1 | 2199 | |
093d3ff1 | 2200 | SWIGRUNTIME PyObject * |
554f62e9 | 2201 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) { |
093d3ff1 | 2202 | if (!ptr) { |
554f62e9 RD |
2203 | return SWIG_Py_Void(); |
2204 | } else { | |
2205 | int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0; | |
2206 | PyObject *robj = PySwigObject_New(ptr, type, own); | |
2207 | PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0; | |
2208 | if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) { | |
2209 | PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj); | |
2210 | if (inst) { | |
2211 | Py_DECREF(robj); | |
2212 | robj = inst; | |
093d3ff1 | 2213 | } |
093d3ff1 | 2214 | } |
554f62e9 | 2215 | return robj; |
093d3ff1 | 2216 | } |
093d3ff1 RD |
2217 | } |
2218 | ||
554f62e9 RD |
2219 | /* Create a new packed object */ |
2220 | ||
2221 | SWIGRUNTIMEINLINE PyObject * | |
093d3ff1 | 2222 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { |
554f62e9 | 2223 | return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void(); |
093d3ff1 RD |
2224 | } |
2225 | ||
2226 | /* -----------------------------------------------------------------------------* | |
2227 | * Get type list | |
2228 | * -----------------------------------------------------------------------------*/ | |
2229 | ||
2230 | #ifdef SWIG_LINK_RUNTIME | |
2231 | void *SWIG_ReturnGlobalTypeList(void *); | |
2232 | #endif | |
2233 | ||
7449af73 RD |
2234 | SWIGRUNTIME swig_module_info * |
2235 | SWIG_Python_GetModule(void) { | |
093d3ff1 RD |
2236 | static void *type_pointer = (void *)0; |
2237 | /* first check if module already created */ | |
2238 | if (!type_pointer) { | |
2239 | #ifdef SWIG_LINK_RUNTIME | |
2240 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
2241 | #else | |
2242 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
2243 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
2244 | if (PyErr_Occurred()) { | |
2245 | PyErr_Clear(); | |
2246 | type_pointer = (void *)0; | |
2247 | } | |
093d3ff1 | 2248 | #endif |
7449af73 RD |
2249 | } |
2250 | return (swig_module_info *) type_pointer; | |
093d3ff1 RD |
2251 | } |
2252 | ||
7449af73 RD |
2253 | #if PY_MAJOR_VERSION < 2 |
2254 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
554f62e9 | 2255 | is copied out of Python/modsupport.c in python version 2.3.4 */ |
7449af73 RD |
2256 | SWIGINTERN int |
2257 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
2258 | { | |
2259 | PyObject *dict; | |
2260 | if (!PyModule_Check(m)) { | |
2261 | PyErr_SetString(PyExc_TypeError, | |
2262 | "PyModule_AddObject() needs module as first arg"); | |
554f62e9 | 2263 | return SWIG_ERROR; |
7449af73 RD |
2264 | } |
2265 | if (!o) { | |
2266 | PyErr_SetString(PyExc_TypeError, | |
2267 | "PyModule_AddObject() needs non-NULL value"); | |
554f62e9 | 2268 | return SWIG_ERROR; |
7449af73 RD |
2269 | } |
2270 | ||
2271 | dict = PyModule_GetDict(m); | |
2272 | if (dict == NULL) { | |
2273 | /* Internal error -- modules must have a dict! */ | |
2274 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
2275 | PyModule_GetName(m)); | |
554f62e9 | 2276 | return SWIG_ERROR; |
7449af73 RD |
2277 | } |
2278 | if (PyDict_SetItemString(dict, name, o)) | |
554f62e9 | 2279 | return SWIG_ERROR; |
7449af73 | 2280 | Py_DECREF(o); |
554f62e9 | 2281 | return SWIG_OK; |
093d3ff1 | 2282 | } |
7449af73 | 2283 | #endif |
093d3ff1 | 2284 | |
554f62e9 RD |
2285 | SWIGRUNTIME void |
2286 | SWIG_Python_DestroyModule(void *vptr) | |
2287 | { | |
2288 | swig_module_info *swig_module = (swig_module_info *) vptr; | |
2289 | swig_type_info **types = swig_module->types; | |
2290 | size_t i; | |
2291 | for (i =0; i < swig_module->size; ++i) { | |
2292 | swig_type_info *ty = types[i]; | |
2293 | if (ty->owndata) { | |
2294 | PySwigClientData *data = (PySwigClientData *) ty->clientdata; | |
2295 | if (data) PySwigClientData_Del(data); | |
2296 | } | |
2297 | } | |
2298 | Py_DECREF(SWIG_This()); | |
2299 | } | |
2300 | ||
7449af73 RD |
2301 | SWIGRUNTIME void |
2302 | SWIG_Python_SetModule(swig_module_info *swig_module) { | |
2303 | static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ | |
2304 | ||
2305 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
2306 | swig_empty_runtime_method_table); | |
554f62e9 | 2307 | PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule); |
7449af73 RD |
2308 | if (pointer && module) { |
2309 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
554f62e9 RD |
2310 | } else { |
2311 | Py_XDECREF(pointer); | |
7449af73 RD |
2312 | } |
2313 | } | |
8edf1c75 | 2314 | |
554f62e9 RD |
2315 | /* The python cached type query */ |
2316 | SWIGRUNTIME PyObject * | |
2317 | SWIG_Python_TypeCache() { | |
2318 | static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New(); | |
2319 | return cache; | |
093d3ff1 | 2320 | } |
554f62e9 RD |
2321 | |
2322 | SWIGRUNTIME swig_type_info * | |
2323 | SWIG_Python_TypeQuery(const char *type) | |
2324 | { | |
2325 | PyObject *cache = SWIG_Python_TypeCache(); | |
2326 | PyObject *key = PyString_FromString(type); | |
2327 | PyObject *obj = PyDict_GetItem(cache, key); | |
2328 | swig_type_info *descriptor; | |
2329 | if (obj) { | |
2330 | descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj); | |
2331 | } else { | |
2332 | swig_module_info *swig_module = SWIG_Python_GetModule(); | |
2333 | descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type); | |
2334 | if (descriptor) { | |
2335 | obj = PyCObject_FromVoidPtr(descriptor, NULL); | |
2336 | PyDict_SetItem(cache, key, obj); | |
2337 | Py_DECREF(obj); | |
2338 | } | |
2339 | } | |
2340 | Py_DECREF(key); | |
2341 | return descriptor; | |
2342 | } | |
2343 | ||
2344 | /* | |
2345 | For backward compatibility only | |
2346 | */ | |
2347 | #define SWIG_POINTER_EXCEPTION 0 | |
2348 | #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) | |
2349 | #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
2350 | ||
2351 | SWIGRUNTIME int | |
2352 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
2353 | { | |
2354 | if (PyErr_Occurred()) { | |
2355 | PyObject *type = 0; | |
2356 | PyObject *value = 0; | |
2357 | PyObject *traceback = 0; | |
2358 | PyErr_Fetch(&type, &value, &traceback); | |
2359 | if (value) { | |
2360 | PyObject *old_str = PyObject_Str(value); | |
2361 | Py_XINCREF(type); | |
2362 | PyErr_Clear(); | |
2363 | if (infront) { | |
2364 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
2365 | } else { | |
2366 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
2367 | } | |
2368 | Py_DECREF(old_str); | |
2369 | } | |
2370 | return 1; | |
2371 | } else { | |
2372 | return 0; | |
2373 | } | |
2374 | } | |
2375 | ||
2376 | SWIGRUNTIME int | |
2377 | SWIG_Python_ArgFail(int argnum) | |
2378 | { | |
2379 | if (PyErr_Occurred()) { | |
2380 | /* add information about failing argument */ | |
2381 | char mesg[256]; | |
2382 | PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); | |
2383 | return SWIG_Python_AddErrMesg(mesg, 1); | |
2384 | } else { | |
2385 | return 0; | |
2386 | } | |
2387 | } | |
2388 | ||
2389 | SWIGRUNTIMEINLINE const char * | |
2390 | PySwigObject_GetDesc(PyObject *self) | |
2391 | { | |
2392 | PySwigObject *v = (PySwigObject *)self; | |
2393 | swig_type_info *ty = v ? v->ty : 0; | |
2394 | return ty ? ty->str : (char*)""; | |
2395 | } | |
2396 | ||
2397 | SWIGRUNTIME void | |
2398 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
2399 | { | |
2400 | if (type) { | |
2401 | #if defined(SWIG_COBJECT_TYPES) | |
2402 | if (obj && PySwigObject_Check(obj)) { | |
2403 | const char *otype = (const char *) PySwigObject_GetDesc(obj); | |
2404 | if (otype) { | |
2405 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", | |
2406 | type, otype); | |
2407 | return; | |
2408 | } | |
2409 | } else | |
2410 | #endif | |
2411 | { | |
2412 | const char *otype = (obj ? obj->ob_type->tp_name : 0); | |
2413 | if (otype) { | |
2414 | PyObject *str = PyObject_Str(obj); | |
2415 | const char *cstr = str ? PyString_AsString(str) : 0; | |
2416 | if (cstr) { | |
2417 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", | |
2418 | type, otype, cstr); | |
2419 | } else { | |
2420 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", | |
2421 | type, otype); | |
2422 | } | |
2423 | Py_XDECREF(str); | |
2424 | return; | |
2425 | } | |
2426 | } | |
2427 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
2428 | } else { | |
2429 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
2430 | } | |
2431 | } | |
2432 | ||
2433 | ||
2434 | /* Convert a pointer value, signal an exception on a type mismatch */ | |
2435 | SWIGRUNTIME void * | |
2436 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
2437 | void *result; | |
2438 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
2439 | PyErr_Clear(); | |
2440 | if (flags & SWIG_POINTER_EXCEPTION) { | |
2441 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
2442 | SWIG_Python_ArgFail(argnum); | |
2443 | } | |
2444 | } | |
2445 | return result; | |
2446 | } | |
2447 | ||
2448 | ||
2449 | #ifdef __cplusplus | |
2450 | #if 0 | |
2451 | { /* cc-mode */ | |
2452 | #endif | |
2453 | } | |
2454 | #endif | |
2455 | ||
2456 | ||
2457 | ||
2458 | #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) | |
2459 | ||
2460 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else | |
2461 | ||
2462 | ||
2463 | ||
2464 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
2f4c0a16 | 2465 | |
7449af73 RD |
2466 | #define SWIGTYPE_p_bool swig_types[0] |
2467 | #define SWIGTYPE_p_char swig_types[1] | |
2468 | #define SWIGTYPE_p_form_ops_t swig_types[2] | |
2469 | #define SWIGTYPE_p_int swig_types[3] | |
2470 | #define SWIGTYPE_p_unsigned_char swig_types[4] | |
2471 | #define SWIGTYPE_p_unsigned_int swig_types[5] | |
2472 | #define SWIGTYPE_p_unsigned_long swig_types[6] | |
2473 | #define SWIGTYPE_p_wxANIHandler swig_types[7] | |
2474 | #define SWIGTYPE_p_wxAcceleratorTable swig_types[8] | |
2475 | #define SWIGTYPE_p_wxActivateEvent swig_types[9] | |
704eda0c RD |
2476 | #define SWIGTYPE_p_wxArrayInt swig_types[10] |
2477 | #define SWIGTYPE_p_wxBMPHandler swig_types[11] | |
2478 | #define SWIGTYPE_p_wxBitmap swig_types[12] | |
2479 | #define SWIGTYPE_p_wxBoxSizer swig_types[13] | |
2480 | #define SWIGTYPE_p_wxCURHandler swig_types[14] | |
2481 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15] | |
2482 | #define SWIGTYPE_p_wxChildFocusEvent swig_types[16] | |
2483 | #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17] | |
2484 | #define SWIGTYPE_p_wxCloseEvent swig_types[18] | |
2485 | #define SWIGTYPE_p_wxColour swig_types[19] | |
2486 | #define SWIGTYPE_p_wxColourData swig_types[20] | |
2487 | #define SWIGTYPE_p_wxColourDialog swig_types[21] | |
2488 | #define SWIGTYPE_p_wxCommandEvent swig_types[22] | |
2489 | #define SWIGTYPE_p_wxConfigBase swig_types[23] | |
2490 | #define SWIGTYPE_p_wxContextMenuEvent swig_types[24] | |
2491 | #define SWIGTYPE_p_wxControl swig_types[25] | |
2492 | #define SWIGTYPE_p_wxControlWithItems swig_types[26] | |
2493 | #define SWIGTYPE_p_wxCursor swig_types[27] | |
2494 | #define SWIGTYPE_p_wxDC swig_types[28] | |
2495 | #define SWIGTYPE_p_wxDateEvent swig_types[29] | |
2496 | #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[30] | |
2497 | #define SWIGTYPE_p_wxDialog swig_types[31] | |
2498 | #define SWIGTYPE_p_wxDirDialog swig_types[32] | |
2499 | #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[33] | |
2500 | #define SWIGTYPE_p_wxDropFilesEvent swig_types[34] | |
2501 | #define SWIGTYPE_p_wxDuplexMode swig_types[35] | |
2502 | #define SWIGTYPE_p_wxEraseEvent swig_types[36] | |
2503 | #define SWIGTYPE_p_wxEvent swig_types[37] | |
2504 | #define SWIGTYPE_p_wxEvtHandler swig_types[38] | |
2505 | #define SWIGTYPE_p_wxFSFile swig_types[39] | |
2506 | #define SWIGTYPE_p_wxFileDialog swig_types[40] | |
2507 | #define SWIGTYPE_p_wxFileSystem swig_types[41] | |
2508 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[42] | |
2509 | #define SWIGTYPE_p_wxFindReplaceData swig_types[43] | |
2510 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[44] | |
2511 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[45] | |
2512 | #define SWIGTYPE_p_wxFocusEvent swig_types[46] | |
2513 | #define SWIGTYPE_p_wxFont swig_types[47] | |
2514 | #define SWIGTYPE_p_wxFontData swig_types[48] | |
2515 | #define SWIGTYPE_p_wxFontDialog swig_types[49] | |
2516 | #define SWIGTYPE_p_wxFrame swig_types[50] | |
2517 | #define SWIGTYPE_p_wxGBSizerItem swig_types[51] | |
2518 | #define SWIGTYPE_p_wxGIFHandler swig_types[52] | |
2519 | #define SWIGTYPE_p_wxGridBagSizer swig_types[53] | |
2520 | #define SWIGTYPE_p_wxGridSizer swig_types[54] | |
2521 | #define SWIGTYPE_p_wxHelpControllerBase swig_types[55] | |
2522 | #define SWIGTYPE_p_wxHelpSearchMode swig_types[56] | |
2523 | #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[57] | |
2524 | #define SWIGTYPE_p_wxHtmlBookRecord swig_types[58] | |
2525 | #define SWIGTYPE_p_wxHtmlCell swig_types[59] | |
8f514ab4 RD |
2526 | #define SWIGTYPE_p_wxHtmlCellEvent swig_types[60] |
2527 | #define SWIGTYPE_p_wxHtmlColourCell swig_types[61] | |
2528 | #define SWIGTYPE_p_wxHtmlContainerCell swig_types[62] | |
2529 | #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[63] | |
2530 | #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[64] | |
2531 | #define SWIGTYPE_p_wxHtmlFilter swig_types[65] | |
2532 | #define SWIGTYPE_p_wxHtmlFontCell swig_types[66] | |
2533 | #define SWIGTYPE_p_wxHtmlHelpController swig_types[67] | |
2534 | #define SWIGTYPE_p_wxHtmlHelpData swig_types[68] | |
2535 | #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[69] | |
2536 | #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[70] | |
2537 | #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[71] | |
2538 | #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[72] | |
2539 | #define SWIGTYPE_p_wxHtmlLinkEvent swig_types[73] | |
2540 | #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[74] | |
2541 | #define SWIGTYPE_p_wxHtmlModalHelp swig_types[75] | |
2542 | #define SWIGTYPE_p_wxHtmlParser swig_types[76] | |
2543 | #define SWIGTYPE_p_wxHtmlPrintout swig_types[77] | |
2544 | #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[78] | |
2545 | #define SWIGTYPE_p_wxHtmlRenderingState swig_types[79] | |
2546 | #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[80] | |
2547 | #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[81] | |
2548 | #define SWIGTYPE_p_wxHtmlSelection swig_types[82] | |
2549 | #define SWIGTYPE_p_wxHtmlTag swig_types[83] | |
2550 | #define SWIGTYPE_p_wxHtmlTagHandler swig_types[84] | |
2551 | #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[85] | |
2552 | #define SWIGTYPE_p_wxHtmlWinParser swig_types[86] | |
b6df5cf9 RD |
2553 | #define SWIGTYPE_p_wxHtmlWindowInterface swig_types[87] |
2554 | #define SWIGTYPE_p_wxHtmlWordCell swig_types[88] | |
2555 | #define SWIGTYPE_p_wxICOHandler swig_types[89] | |
2556 | #define SWIGTYPE_p_wxIconizeEvent swig_types[90] | |
2557 | #define SWIGTYPE_p_wxIdleEvent swig_types[91] | |
2558 | #define SWIGTYPE_p_wxImage swig_types[92] | |
2559 | #define SWIGTYPE_p_wxImageHandler swig_types[93] | |
2560 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[94] | |
2561 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[95] | |
2562 | #define SWIGTYPE_p_wxJPEGHandler swig_types[96] | |
2563 | #define SWIGTYPE_p_wxKeyEvent swig_types[97] | |
2564 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[98] | |
2565 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[99] | |
2566 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[100] | |
2567 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[101] | |
2568 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[102] | |
2569 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[103] | |
2570 | #define SWIGTYPE_p_wxMenu swig_types[104] | |
2571 | #define SWIGTYPE_p_wxMenuBar swig_types[105] | |
2572 | #define SWIGTYPE_p_wxMenuEvent swig_types[106] | |
2573 | #define SWIGTYPE_p_wxMenuItem swig_types[107] | |
2574 | #define SWIGTYPE_p_wxMessageDialog swig_types[108] | |
2575 | #define SWIGTYPE_p_wxMiniFrame swig_types[109] | |
2576 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[110] | |
2577 | #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[111] | |
2578 | #define SWIGTYPE_p_wxMouseEvent swig_types[112] | |
2579 | #define SWIGTYPE_p_wxMoveEvent swig_types[113] | |
2580 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[114] | |
2581 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[115] | |
2582 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[116] | |
2583 | #define SWIGTYPE_p_wxNotifyEvent swig_types[117] | |
2584 | #define SWIGTYPE_p_wxNumberEntryDialog swig_types[118] | |
2585 | #define SWIGTYPE_p_wxObject swig_types[119] | |
2586 | #define SWIGTYPE_p_wxPCXHandler swig_types[120] | |
2587 | #define SWIGTYPE_p_wxPNGHandler swig_types[121] | |
2588 | #define SWIGTYPE_p_wxPNMHandler swig_types[122] | |
2589 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[123] | |
2590 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[124] | |
2591 | #define SWIGTYPE_p_wxPaintEvent swig_types[125] | |
2592 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[126] | |
2593 | #define SWIGTYPE_p_wxPanel swig_types[127] | |
2594 | #define SWIGTYPE_p_wxPaperSize swig_types[128] | |
2595 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[129] | |
2596 | #define SWIGTYPE_p_wxPoint swig_types[130] | |
2597 | #define SWIGTYPE_p_wxPopupWindow swig_types[131] | |
2598 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[132] | |
2599 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[133] | |
2600 | #define SWIGTYPE_p_wxPreviewFrame swig_types[134] | |
2601 | #define SWIGTYPE_p_wxPrintData swig_types[135] | |
2602 | #define SWIGTYPE_p_wxPrintDialog swig_types[136] | |
2603 | #define SWIGTYPE_p_wxPrintDialogData swig_types[137] | |
2604 | #define SWIGTYPE_p_wxPrintPreview swig_types[138] | |
2605 | #define SWIGTYPE_p_wxPrinter swig_types[139] | |
2606 | #define SWIGTYPE_p_wxProgressDialog swig_types[140] | |
2607 | #define SWIGTYPE_p_wxPyApp swig_types[141] | |
2608 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[142] | |
2609 | #define SWIGTYPE_p_wxPyEvent swig_types[143] | |
2610 | #define SWIGTYPE_p_wxPyHtmlFilter swig_types[144] | |
2611 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[145] | |
2612 | #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[146] | |
2613 | #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[147] | |
2614 | #define SWIGTYPE_p_wxPyHtmlWindow swig_types[148] | |
2615 | #define SWIGTYPE_p_wxPyImageHandler swig_types[149] | |
2616 | #define SWIGTYPE_p_wxPyPanel swig_types[150] | |
2617 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[151] | |
2618 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[152] | |
2619 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[153] | |
2620 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[154] | |
2621 | #define SWIGTYPE_p_wxPyPrintout swig_types[155] | |
2622 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[156] | |
2623 | #define SWIGTYPE_p_wxPySizer swig_types[157] | |
2624 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[158] | |
2625 | #define SWIGTYPE_p_wxPyVListBox swig_types[159] | |
2626 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[160] | |
2627 | #define SWIGTYPE_p_wxPyValidator swig_types[161] | |
2628 | #define SWIGTYPE_p_wxPyWindow swig_types[162] | |
2629 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[163] | |
2630 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[164] | |
2631 | #define SWIGTYPE_p_wxSashEvent swig_types[165] | |
2632 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[166] | |
2633 | #define SWIGTYPE_p_wxSashWindow swig_types[167] | |
2634 | #define SWIGTYPE_p_wxScrollEvent swig_types[168] | |
2635 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[169] | |
2636 | #define SWIGTYPE_p_wxScrolledWindow swig_types[170] | |
2637 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[171] | |
2638 | #define SWIGTYPE_p_wxShowEvent swig_types[172] | |
2639 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[173] | |
2640 | #define SWIGTYPE_p_wxSize swig_types[174] | |
2641 | #define SWIGTYPE_p_wxSizeEvent swig_types[175] | |
2642 | #define SWIGTYPE_p_wxSizer swig_types[176] | |
2643 | #define SWIGTYPE_p_wxSizerItem swig_types[177] | |
2644 | #define SWIGTYPE_p_wxSplashScreen swig_types[178] | |
2645 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[179] | |
2646 | #define SWIGTYPE_p_wxSplitterEvent swig_types[180] | |
2647 | #define SWIGTYPE_p_wxSplitterWindow swig_types[181] | |
2648 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[182] | |
2649 | #define SWIGTYPE_p_wxStatusBar swig_types[183] | |
2650 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[184] | |
2651 | #define SWIGTYPE_p_wxString swig_types[185] | |
2652 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[186] | |
2653 | #define SWIGTYPE_p_wxTGAHandler swig_types[187] | |
2654 | #define SWIGTYPE_p_wxTIFFHandler swig_types[188] | |
2655 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[189] | |
2656 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[190] | |
2657 | #define SWIGTYPE_p_wxTipWindow swig_types[191] | |
2658 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[192] | |
2659 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[193] | |
2660 | #define SWIGTYPE_p_wxValidator swig_types[194] | |
2661 | #define SWIGTYPE_p_wxVisualAttributes swig_types[195] | |
2662 | #define SWIGTYPE_p_wxWindow swig_types[196] | |
2663 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[197] | |
2664 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[198] | |
2665 | #define SWIGTYPE_p_wxXPMHandler swig_types[199] | |
2666 | static swig_type_info *swig_types[201]; | |
2667 | static swig_module_info swig_module = {swig_types, 200, 0, 0, 0, 0}; | |
7449af73 RD |
2668 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
2669 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
8edf1c75 | 2670 | |
093d3ff1 | 2671 | /* -------- TYPES TABLE (END) -------- */ |
8edf1c75 | 2672 | |
554f62e9 RD |
2673 | #if (PY_VERSION_HEX <= 0x02000000) |
2674 | # if !defined(SWIG_PYTHON_CLASSIC) | |
2675 | # error "This python version requires to use swig with the '-classic' option" | |
2676 | # endif | |
2677 | #endif | |
2678 | #if (PY_VERSION_HEX <= 0x02020000) | |
2679 | # error "This python version requires to use swig with the '-nomodern' option" | |
2680 | #endif | |
2681 | #if (PY_VERSION_HEX <= 0x02020000) | |
2682 | # error "This python version requires to use swig with the '-nomodernargs' option" | |
2683 | #endif | |
2684 | #ifndef METH_O | |
2685 | # error "This python version requires to use swig with the '-nofastunpack' option" | |
2686 | #endif | |
8edf1c75 | 2687 | |
093d3ff1 RD |
2688 | /*----------------------------------------------- |
2689 | @(target):= _html.so | |
2690 | ------------------------------------------------*/ | |
2691 | #define SWIG_init init_html | |
2692 | ||
2693 | #define SWIG_name "_html" | |
8edf1c75 | 2694 | |
554f62e9 RD |
2695 | #define SWIGVERSION 0x010329 |
2696 | ||
2697 | ||
2698 | #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) | |
2699 | #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) | |
2700 | ||
2701 | ||
2702 | #include <stdexcept> | |
2703 | ||
2704 | ||
2705 | namespace swig { | |
2706 | class PyObject_ptr { | |
2707 | protected: | |
2708 | PyObject *_obj; | |
2709 | ||
2710 | public: | |
2711 | PyObject_ptr() :_obj(0) | |
2712 | { | |
2713 | } | |
2714 | ||
2715 | PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) | |
2716 | { | |
2717 | Py_XINCREF(_obj); | |
2718 | } | |
2719 | ||
2720 | PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) | |
2721 | { | |
2722 | if (initial_ref) Py_XINCREF(_obj); | |
2723 | } | |
2724 | ||
2725 | PyObject_ptr & operator=(const PyObject_ptr& item) | |
2726 | { | |
2727 | Py_XINCREF(item._obj); | |
2728 | Py_XDECREF(_obj); | |
2729 | _obj = item._obj; | |
2730 | return *this; | |
2731 | } | |
2732 | ||
2733 | ~PyObject_ptr() | |
2734 | { | |
2735 | Py_XDECREF(_obj); | |
2736 | } | |
2737 | ||
2738 | operator PyObject *() const | |
2739 | { | |
2740 | return _obj; | |
2741 | } | |
2742 | ||
2743 | PyObject *operator->() const | |
2744 | { | |
2745 | return _obj; | |
2746 | } | |
2747 | }; | |
2748 | } | |
2749 | ||
2750 | ||
2751 | namespace swig { | |
2752 | struct PyObject_var : PyObject_ptr { | |
2753 | PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } | |
2754 | ||
2755 | PyObject_var & operator = (PyObject* obj) | |
2756 | { | |
2757 | Py_XDECREF(_obj); | |
2758 | _obj = obj; | |
2759 | return *this; | |
2760 | } | |
2761 | }; | |
2762 | } | |
2763 | ||
2764 | ||
d14a1e28 RD |
2765 | #include "wx/wxPython/wxPython.h" |
2766 | #include "wx/wxPython/pyclasses.h" | |
2767 | #include "wx/wxPython/pyistream.h" | |
2768 | #include "wx/wxPython/printfw.h" | |
2769 | ||
2770 | #include <wx/html/htmlwin.h> | |
2771 | #include <wx/html/htmprint.h> | |
2772 | #include <wx/html/helpctrl.h> | |
7449af73 RD |
2773 | #include <wx/html/helpwnd.h> |
2774 | #include <wx/html/helpfrm.h> | |
2775 | #include <wx/html/helpdlg.h> | |
d14a1e28 RD |
2776 | |
2777 | ||
d03fd34d RD |
2778 | static const wxString wxPyEmptyString(wxEmptyString); |
2779 | static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow")); | |
2780 | static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout")); | |
2781 | static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing")); | |
8edf1c75 | 2782 | |
554f62e9 | 2783 | #define SWIG_From_long PyInt_FromLong |
093d3ff1 RD |
2784 | |
2785 | ||
554f62e9 RD |
2786 | SWIGINTERNINLINE PyObject * |
2787 | SWIG_From_int (int value) | |
2788 | { | |
2789 | return SWIG_From_long (value); | |
2790 | } | |
2f4c0a16 RD |
2791 | |
2792 | ||
554f62e9 RD |
2793 | #include <limits.h> |
2794 | #ifndef LLONG_MIN | |
2795 | # define LLONG_MIN LONG_LONG_MIN | |
2796 | #endif | |
2797 | #ifndef LLONG_MAX | |
2798 | # define LLONG_MAX LONG_LONG_MAX | |
2799 | #endif | |
2800 | #ifndef ULLONG_MAX | |
2801 | # define ULLONG_MAX ULONG_LONG_MAX | |
2802 | #endif | |
2f4c0a16 RD |
2803 | |
2804 | ||
093d3ff1 | 2805 | SWIGINTERN int |
554f62e9 | 2806 | SWIG_AsVal_long (PyObject* obj, long* val) |
2f4c0a16 | 2807 | { |
c32bde28 RD |
2808 | if (PyNumber_Check(obj)) { |
2809 | if (val) *val = PyInt_AsLong(obj); | |
554f62e9 | 2810 | return SWIG_OK; |
c32bde28 | 2811 | } |
554f62e9 | 2812 | return SWIG_TypeError; |
2f4c0a16 RD |
2813 | } |
2814 | ||
2815 | ||
093d3ff1 | 2816 | SWIGINTERN int |
554f62e9 RD |
2817 | SWIG_AsVal_int (PyObject * obj, int *val) |
2818 | { | |
c32bde28 | 2819 | long v; |
554f62e9 RD |
2820 | int res = SWIG_AsVal_long (obj, &v); |
2821 | if (SWIG_IsOK(res)) { | |
2822 | if ((v < INT_MIN || v > INT_MAX)) { | |
2823 | return SWIG_OverflowError; | |
c32bde28 | 2824 | } else { |
554f62e9 | 2825 | if (val) *val = static_cast< int >(v); |
c32bde28 | 2826 | } |
554f62e9 RD |
2827 | } |
2828 | return res; | |
8edf1c75 RD |
2829 | } |
2830 | ||
554f62e9 | 2831 | SWIGINTERN void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
2832 | int* temp = NULL; |
2833 | if (sizes) temp = int_LIST_helper(sizes); | |
2834 | self->SetFonts(normal_face, fixed_face, temp); | |
2835 | if (temp) | |
2836 | delete [] temp; | |
2837 | } | |
2838 | ||
2839 | class wxPyHtmlTagHandler : public wxHtmlTagHandler { | |
7449af73 | 2840 | DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler) |
d14a1e28 RD |
2841 | public: |
2842 | wxPyHtmlTagHandler() : wxHtmlTagHandler() {}; | |
2843 | ||
2844 | wxHtmlParser* GetParser() { return m_Parser; } | |
2845 | void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); } | |
2846 | ||
2847 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
2848 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
2849 | ||
2850 | PYPRIVATE; | |
2851 | }; | |
2852 | ||
2853 | IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler); | |
2854 | ||
2855 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags); | |
2856 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag); | |
2857 | ||
2858 | ||
2859 | class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler { | |
7449af73 | 2860 | DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler) |
d14a1e28 RD |
2861 | public: |
2862 | wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {}; | |
2863 | ||
2864 | wxHtmlWinParser* GetParser() { return m_WParser; } | |
2865 | void ParseInner(const wxHtmlTag& tag) | |
2866 | { wxHtmlWinTagHandler::ParseInner(tag); } | |
2867 | ||
2868 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
2869 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
2870 | ||
2871 | PYPRIVATE; | |
2872 | }; | |
2873 | ||
2874 | IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler); | |
2875 | ||
2876 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags); | |
2877 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag); | |
2878 | ||
2879 | ||
2880 | ||
2881 | class wxPyHtmlTagsModule : public wxHtmlTagsModule { | |
2882 | public: | |
2883 | wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() { | |
2884 | m_tagHandlerClass = thc; | |
2885 | Py_INCREF(m_tagHandlerClass); | |
2886 | RegisterModule(this); | |
2887 | wxHtmlWinParser::AddModule(this); | |
2888 | } | |
2889 | ||
2890 | void OnExit() { | |
5a446332 | 2891 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
2892 | Py_DECREF(m_tagHandlerClass); |
2893 | m_tagHandlerClass = NULL; | |
2894 | for (size_t x=0; x < m_objArray.GetCount(); x++) { | |
2895 | PyObject* obj = (PyObject*)m_objArray.Item(x); | |
2896 | Py_DECREF(obj); | |
2897 | } | |
4f89f6a3 | 2898 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
2899 | }; |
2900 | ||
2901 | void FillHandlersTable(wxHtmlWinParser *parser) { | |
2902 | // Wave our magic wand... (if it works it's a miracle! ;-) | |
2903 | ||
2904 | // First, make a new instance of the tag handler | |
5a446332 | 2905 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
fb757066 RD |
2906 | PyObject* arg = PyTuple_New(0); |
2907 | PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg); | |
d14a1e28 | 2908 | Py_DECREF(arg); |
7449af73 | 2909 | |
d14a1e28 RD |
2910 | // now figure out where it's C++ object is... |
2911 | wxPyHtmlWinTagHandler* thPtr; | |
fb757066 | 2912 | if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) { |
4f89f6a3 | 2913 | wxPyEndBlockThreads(blocked); |
d14a1e28 | 2914 | return; |
fb757066 | 2915 | } |
4f89f6a3 | 2916 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
2917 | |
2918 | // add it, | |
2919 | parser->AddTagHandler(thPtr); | |
2920 | ||
2921 | // and track it. | |
2922 | m_objArray.Add(obj); | |
2923 | } | |
2924 | ||
2925 | private: | |
2926 | PyObject* m_tagHandlerClass; | |
2927 | wxArrayPtrVoid m_objArray; | |
2928 | ||
2929 | }; | |
2930 | ||
2931 | ||
2932 | void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) { | |
2933 | // Dynamically create a new wxModule. Refcounts tagHandlerClass | |
2934 | // and adds itself to the wxModules list and to the wxHtmlWinParser. | |
2935 | new wxPyHtmlTagsModule(tagHandlerClass); | |
2936 | } | |
2937 | ||
2938 | ||
7449af73 | 2939 | SWIGINTERNINLINE PyObject* |
554f62e9 | 2940 | SWIG_From_bool (bool value) |
093d3ff1 | 2941 | { |
554f62e9 | 2942 | return PyBool_FromLong(value ? 1 : 0); |
093d3ff1 RD |
2943 | } |
2944 | ||
2945 | ||
093d3ff1 | 2946 | SWIGINTERN int |
554f62e9 | 2947 | SWIG_AsVal_bool (PyObject *obj, bool *val) |
2f4c0a16 | 2948 | { |
c32bde28 RD |
2949 | if (obj == Py_True) { |
2950 | if (val) *val = true; | |
554f62e9 RD |
2951 | return SWIG_OK; |
2952 | } else if (obj == Py_False) { | |
c32bde28 | 2953 | if (val) *val = false; |
554f62e9 | 2954 | return SWIG_OK; |
093d3ff1 | 2955 | } else { |
554f62e9 RD |
2956 | long v = 0; |
2957 | int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0)); | |
2958 | if (SWIG_IsOK(res) && val) *val = v ? true : false; | |
2959 | return res; | |
2f4c0a16 | 2960 | } |
c32bde28 RD |
2961 | } |
2962 | ||
c32bde28 | 2963 | |
093d3ff1 | 2964 | SWIGINTERN int |
554f62e9 | 2965 | SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) |
c32bde28 RD |
2966 | { |
2967 | long v = 0; | |
2968 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
554f62e9 | 2969 | return SWIG_TypeError; |
c32bde28 RD |
2970 | } |
2971 | else if (val) | |
2972 | *val = (unsigned long)v; | |
554f62e9 | 2973 | return SWIG_OK; |
2f4c0a16 RD |
2974 | } |
2975 | ||
2976 | ||
093d3ff1 | 2977 | SWIGINTERN int |
554f62e9 RD |
2978 | SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val) |
2979 | { | |
c32bde28 | 2980 | unsigned long v; |
554f62e9 RD |
2981 | int res = SWIG_AsVal_unsigned_SS_long (obj, &v); |
2982 | if (SWIG_IsOK(res)) { | |
2983 | if ((v > UINT_MAX)) { | |
2984 | return SWIG_OverflowError; | |
2985 | } else { | |
2986 | if (val) *val = static_cast< unsigned int >(v); | |
c32bde28 | 2987 | } |
554f62e9 RD |
2988 | } |
2989 | return res; | |
c32bde28 | 2990 | } |
8edf1c75 RD |
2991 | |
2992 | ||
554f62e9 RD |
2993 | SWIGINTERNINLINE PyObject* |
2994 | SWIG_From_unsigned_SS_long (unsigned long value) | |
8edf1c75 | 2995 | { |
554f62e9 RD |
2996 | return (value > LONG_MAX) ? |
2997 | PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); | |
c32bde28 RD |
2998 | } |
2999 | ||
554f62e9 RD |
3000 | |
3001 | SWIGINTERNINLINE PyObject * | |
3002 | SWIG_From_unsigned_SS_int (unsigned int value) | |
3003 | { | |
3004 | return SWIG_From_unsigned_SS_long (value); | |
2f4c0a16 RD |
3005 | } |
3006 | ||
d14a1e28 RD |
3007 | // here's the C++ version |
3008 | class wxPyHtmlFilter : public wxHtmlFilter { | |
7449af73 | 3009 | DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter) |
d14a1e28 RD |
3010 | public: |
3011 | wxPyHtmlFilter() : wxHtmlFilter() {} | |
3012 | ||
423f194a | 3013 | // returns True if this filter is able to open&read given file |
d14a1e28 | 3014 | virtual bool CanRead(const wxFSFile& file) const { |
ae8162c8 | 3015 | bool rval = false; |
d14a1e28 | 3016 | bool found; |
5a446332 | 3017 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 | 3018 | if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) { |
412d302d | 3019 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const |
d14a1e28 RD |
3020 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); |
3021 | Py_DECREF(obj); | |
3022 | } | |
4f89f6a3 | 3023 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3024 | return rval; |
3025 | } | |
3026 | ||
3027 | ||
3028 | // Reads given file and returns HTML document. | |
3029 | // Returns empty string if opening failed | |
3030 | virtual wxString ReadFile(const wxFSFile& file) const { | |
3031 | wxString rval; | |
3032 | bool found; | |
5a446332 | 3033 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 | 3034 | if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) { |
412d302d | 3035 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const |
d14a1e28 RD |
3036 | PyObject* ro; |
3037 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj)); | |
3038 | Py_DECREF(obj); | |
3039 | if (ro) { | |
3040 | rval = Py2wxString(ro); | |
3041 | Py_DECREF(ro); | |
3042 | } | |
3043 | } | |
4f89f6a3 | 3044 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3045 | return rval; |
3046 | } | |
3047 | ||
3048 | PYPRIVATE; | |
3049 | }; | |
3050 | ||
3051 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter); | |
3052 | ||
3053 | ||
3054 | class wxPyHtmlWindow : public wxHtmlWindow { | |
7449af73 | 3055 | DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow) |
d14a1e28 RD |
3056 | public: |
3057 | wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1, | |
3058 | const wxPoint& pos = wxDefaultPosition, | |
3059 | const wxSize& size = wxDefaultSize, | |
3060 | long style = wxHW_DEFAULT_STYLE, | |
3061 | const wxString& name = wxPyHtmlWindowNameStr) | |
3062 | : wxHtmlWindow(parent, id, pos, size, style, name) {}; | |
3063 | wxPyHtmlWindow() : wxHtmlWindow() {}; | |
3064 | ||
3065 | bool ScrollToAnchor(const wxString& anchor) { | |
3066 | return wxHtmlWindow::ScrollToAnchor(anchor); | |
3067 | } | |
3068 | ||
3069 | bool HasAnchor(const wxString& anchor) { | |
3070 | const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor); | |
3071 | return c!=NULL; | |
3072 | } | |
3073 | ||
3074 | void OnLinkClicked(const wxHtmlLinkInfo& link); | |
d14a1e28 RD |
3075 | |
3076 | wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type, | |
3077 | const wxString& url, | |
3078 | wxString *redirect) const; | |
3079 | ||
3080 | DEC_PYCALLBACK__STRING(OnSetTitle); | |
3081 | DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover); | |
e9d6f3a4 RD |
3082 | DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked); |
3083 | ||
d14a1e28 RD |
3084 | PYPRIVATE; |
3085 | }; | |
3086 | ||
3087 | IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow ); | |
3088 | IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle); | |
3089 | IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover); | |
e9d6f3a4 | 3090 | IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked); |
d14a1e28 RD |
3091 | |
3092 | ||
3093 | void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) { | |
3094 | bool found; | |
5a446332 | 3095 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
3096 | if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) { |
3097 | PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0); | |
3098 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
3099 | Py_DECREF(obj); | |
3100 | } | |
4f89f6a3 | 3101 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3102 | if (! found) |
3103 | wxHtmlWindow::OnLinkClicked(link); | |
3104 | } | |
d14a1e28 RD |
3105 | |
3106 | ||
3107 | wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type, | |
3108 | const wxString& url, | |
3109 | wxString *redirect) const { | |
3110 | bool found; | |
3111 | wxHtmlOpeningStatus rval; | |
5a446332 | 3112 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
3113 | if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) { |
3114 | PyObject* ro; | |
3115 | PyObject* s = wx2PyString(url); | |
3116 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s)); | |
3117 | Py_DECREF(s); | |
3118 | if (PyString_Check(ro) | |
3119 | #if PYTHON_API_VERSION >= 1009 | |
3120 | || PyUnicode_Check(ro) | |
3121 | #endif | |
3122 | ) { | |
3123 | *redirect = Py2wxString(ro); | |
3124 | rval = wxHTML_REDIRECT; | |
3125 | } | |
3126 | else { | |
3127 | PyObject* num = PyNumber_Int(ro); | |
3128 | rval = (wxHtmlOpeningStatus)PyInt_AsLong(num); | |
3129 | Py_DECREF(num); | |
3130 | } | |
3131 | Py_DECREF(ro); | |
3132 | } | |
4f89f6a3 | 3133 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3134 | if (! found) |
3135 | rval = wxHtmlWindow::OnOpeningURL(type, url, redirect); | |
3136 | return rval; | |
3137 | } | |
3138 | ||
3139 | ||
3140 | ||
554f62e9 | 3141 | SWIGINTERN void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3142 | int* temp = NULL; |
3143 | if (sizes) temp = int_LIST_helper(sizes); | |
3144 | self->SetFonts(normal_face, fixed_face, temp); | |
3145 | if (temp) | |
3146 | delete [] temp; | |
3147 | } | |
554f62e9 | 3148 | SWIGINTERN void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3149 | int* temp = NULL; |
3150 | if (sizes) temp = int_LIST_helper(sizes); | |
3151 | self->SetFonts(normal_face, fixed_face, temp); | |
3152 | if (temp) | |
3153 | delete [] temp; | |
3154 | } | |
554f62e9 | 3155 | SWIGINTERN void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3156 | int* temp = NULL; |
3157 | if (sizes) temp = int_LIST_helper(sizes); | |
3158 | self->SetFonts(normal_face, fixed_face, temp); | |
3159 | if (temp) | |
3160 | delete [] temp; | |
3161 | } | |
8edf1c75 | 3162 | |
2f4c0a16 | 3163 | #include <float.h> |
2f4c0a16 RD |
3164 | |
3165 | ||
093d3ff1 | 3166 | SWIGINTERN int |
554f62e9 | 3167 | SWIG_AsVal_double (PyObject *obj, double* val) |
8edf1c75 | 3168 | { |
c32bde28 RD |
3169 | if (PyNumber_Check(obj)) { |
3170 | if (val) *val = PyFloat_AsDouble(obj); | |
554f62e9 | 3171 | return SWIG_OK; |
69223c70 | 3172 | } |
554f62e9 | 3173 | return SWIG_TypeError; |
c32bde28 RD |
3174 | } |
3175 | ||
3176 | ||
093d3ff1 | 3177 | SWIGINTERN int |
554f62e9 | 3178 | SWIG_AsVal_float (PyObject * obj, float *val) |
c32bde28 | 3179 | { |
c32bde28 | 3180 | double v; |
554f62e9 RD |
3181 | int res = SWIG_AsVal_double (obj, &v); |
3182 | if (SWIG_IsOK(res)) { | |
3183 | if ((v < -FLT_MAX || v > FLT_MAX)) { | |
3184 | return SWIG_OverflowError; | |
c32bde28 | 3185 | } else { |
554f62e9 | 3186 | if (val) *val = static_cast< float >(v); |
c32bde28 | 3187 | } |
554f62e9 RD |
3188 | } |
3189 | return res; | |
8edf1c75 RD |
3190 | } |
3191 | ||
554f62e9 | 3192 | SWIGINTERN void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3193 | int* temp = NULL; |
3194 | if (sizes) temp = int_LIST_helper(sizes); | |
3195 | self->SetFonts(normal_face, fixed_face, temp); | |
3196 | if (temp) | |
3197 | delete [] temp; | |
3198 | } | |
10044bf1 RD |
3199 | |
3200 | typedef wxTreeCtrl wxPyTreeCtrl; | |
3201 | ||
d14a1e28 RD |
3202 | #ifdef __cplusplus |
3203 | extern "C" { | |
3204 | #endif | |
554f62e9 RD |
3205 | SWIGINTERN int HtmlWindowNameStr_set(PyObject *) { |
3206 | SWIG_Error(SWIG_AttributeError,"Variable HtmlWindowNameStr is read-only."); | |
3207 | return 1; | |
d03fd34d RD |
3208 | } |
3209 | ||
3210 | ||
554f62e9 RD |
3211 | SWIGINTERN PyObject *HtmlWindowNameStr_get(void) { |
3212 | PyObject *pyobj = 0; | |
3213 | ||
3214 | { | |
d03fd34d | 3215 | #if wxUSE_UNICODE |
554f62e9 | 3216 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); |
d03fd34d | 3217 | #else |
554f62e9 | 3218 | pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); |
d03fd34d | 3219 | #endif |
554f62e9 RD |
3220 | } |
3221 | return pyobj; | |
d03fd34d RD |
3222 | } |
3223 | ||
3224 | ||
554f62e9 RD |
3225 | SWIGINTERN int HtmlPrintoutTitleStr_set(PyObject *) { |
3226 | SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintoutTitleStr is read-only."); | |
3227 | return 1; | |
d03fd34d RD |
3228 | } |
3229 | ||
3230 | ||
554f62e9 RD |
3231 | SWIGINTERN PyObject *HtmlPrintoutTitleStr_get(void) { |
3232 | PyObject *pyobj = 0; | |
3233 | ||
3234 | { | |
d03fd34d | 3235 | #if wxUSE_UNICODE |
554f62e9 | 3236 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); |
d03fd34d | 3237 | #else |
554f62e9 | 3238 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); |
d03fd34d | 3239 | #endif |
554f62e9 RD |
3240 | } |
3241 | return pyobj; | |
d03fd34d RD |
3242 | } |
3243 | ||
3244 | ||
554f62e9 RD |
3245 | SWIGINTERN int HtmlPrintingTitleStr_set(PyObject *) { |
3246 | SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintingTitleStr is read-only."); | |
3247 | return 1; | |
d03fd34d RD |
3248 | } |
3249 | ||
3250 | ||
554f62e9 RD |
3251 | SWIGINTERN PyObject *HtmlPrintingTitleStr_get(void) { |
3252 | PyObject *pyobj = 0; | |
3253 | ||
3254 | { | |
d03fd34d | 3255 | #if wxUSE_UNICODE |
554f62e9 | 3256 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); |
d03fd34d | 3257 | #else |
554f62e9 | 3258 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); |
d03fd34d | 3259 | #endif |
554f62e9 RD |
3260 | } |
3261 | return pyobj; | |
3262 | } | |
3263 | ||
3264 | ||
3265 | SWIGINTERN PyObject *_wrap_new_HtmlLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3266 | PyObject *resultobj = 0; | |
3267 | wxString *arg1 = 0 ; | |
3268 | wxString const &arg2_defvalue = wxPyEmptyString ; | |
3269 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
3270 | wxHtmlLinkInfo *result = 0 ; | |
3271 | bool temp1 = false ; | |
3272 | bool temp2 = false ; | |
3273 | PyObject * obj0 = 0 ; | |
3274 | PyObject * obj1 = 0 ; | |
3275 | char * kwnames[] = { | |
3276 | (char *) "href",(char *) "target", NULL | |
3277 | }; | |
3278 | ||
3279 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) SWIG_fail; | |
3280 | { | |
3281 | arg1 = wxString_in_helper(obj0); | |
3282 | if (arg1 == NULL) SWIG_fail; | |
3283 | temp1 = true; | |
3284 | } | |
3285 | if (obj1) { | |
d14a1e28 | 3286 | { |
554f62e9 RD |
3287 | arg2 = wxString_in_helper(obj1); |
3288 | if (arg2 == NULL) SWIG_fail; | |
3289 | temp2 = true; | |
d14a1e28 | 3290 | } |
554f62e9 RD |
3291 | } |
3292 | { | |
3293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3294 | result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2); | |
3295 | wxPyEndAllowThreads(__tstate); | |
3296 | if (PyErr_Occurred()) SWIG_fail; | |
3297 | } | |
3298 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_NEW | 0 ); | |
3299 | { | |
3300 | if (temp1) | |
3301 | delete arg1; | |
3302 | } | |
3303 | { | |
3304 | if (temp2) | |
3305 | delete arg2; | |
3306 | } | |
3307 | return resultobj; | |
3308 | fail: | |
3309 | { | |
3310 | if (temp1) | |
3311 | delete arg1; | |
3312 | } | |
3313 | { | |
3314 | if (temp2) | |
3315 | delete arg2; | |
3316 | } | |
3317 | return NULL; | |
d14a1e28 RD |
3318 | } |
3319 | ||
3320 | ||
554f62e9 RD |
3321 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3322 | PyObject *resultobj = 0; | |
3323 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3324 | wxString result; | |
3325 | void *argp1 = 0 ; | |
3326 | int res1 = 0 ; | |
3327 | PyObject *swig_obj[1] ; | |
3328 | ||
3329 | if (!args) SWIG_fail; | |
3330 | swig_obj[0] = args; | |
3331 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3332 | if (!SWIG_IsOK(res1)) { | |
3333 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3334 | } | |
3335 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3336 | { | |
3337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3338 | result = (arg1)->GetHref(); | |
3339 | wxPyEndAllowThreads(__tstate); | |
3340 | if (PyErr_Occurred()) SWIG_fail; | |
3341 | } | |
3342 | { | |
d14a1e28 | 3343 | #if wxUSE_UNICODE |
554f62e9 | 3344 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3345 | #else |
554f62e9 | 3346 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3347 | #endif |
554f62e9 RD |
3348 | } |
3349 | return resultobj; | |
3350 | fail: | |
3351 | return NULL; | |
d14a1e28 RD |
3352 | } |
3353 | ||
3354 | ||
554f62e9 RD |
3355 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3356 | PyObject *resultobj = 0; | |
3357 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3358 | wxString result; | |
3359 | void *argp1 = 0 ; | |
3360 | int res1 = 0 ; | |
3361 | PyObject *swig_obj[1] ; | |
3362 | ||
3363 | if (!args) SWIG_fail; | |
3364 | swig_obj[0] = args; | |
3365 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3366 | if (!SWIG_IsOK(res1)) { | |
3367 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3368 | } | |
3369 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3370 | { | |
3371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3372 | result = (arg1)->GetTarget(); | |
3373 | wxPyEndAllowThreads(__tstate); | |
3374 | if (PyErr_Occurred()) SWIG_fail; | |
3375 | } | |
3376 | { | |
d14a1e28 | 3377 | #if wxUSE_UNICODE |
554f62e9 | 3378 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3379 | #else |
554f62e9 | 3380 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3381 | #endif |
554f62e9 RD |
3382 | } |
3383 | return resultobj; | |
3384 | fail: | |
3385 | return NULL; | |
d14a1e28 RD |
3386 | } |
3387 | ||
3388 | ||
554f62e9 RD |
3389 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3390 | PyObject *resultobj = 0; | |
3391 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3392 | wxMouseEvent *result = 0 ; | |
3393 | void *argp1 = 0 ; | |
3394 | int res1 = 0 ; | |
3395 | PyObject *swig_obj[1] ; | |
3396 | ||
3397 | if (!args) SWIG_fail; | |
3398 | swig_obj[0] = args; | |
3399 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3400 | if (!SWIG_IsOK(res1)) { | |
3401 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3402 | } | |
3403 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3404 | { | |
3405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3406 | result = (wxMouseEvent *)(arg1)->GetEvent(); | |
3407 | wxPyEndAllowThreads(__tstate); | |
3408 | if (PyErr_Occurred()) SWIG_fail; | |
3409 | } | |
3410 | { | |
3ecece7e | 3411 | resultobj = wxPyMake_wxObject(result, 0); |
554f62e9 RD |
3412 | } |
3413 | return resultobj; | |
3414 | fail: | |
3415 | return NULL; | |
d14a1e28 RD |
3416 | } |
3417 | ||
3418 | ||
554f62e9 RD |
3419 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3420 | PyObject *resultobj = 0; | |
3421 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3422 | wxHtmlCell *result = 0 ; | |
3423 | void *argp1 = 0 ; | |
3424 | int res1 = 0 ; | |
3425 | PyObject *swig_obj[1] ; | |
3426 | ||
3427 | if (!args) SWIG_fail; | |
3428 | swig_obj[0] = args; | |
3429 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3430 | if (!SWIG_IsOK(res1)) { | |
3431 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3432 | } | |
3433 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3434 | { | |
3435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3436 | result = (wxHtmlCell *)(arg1)->GetHtmlCell(); | |
3437 | wxPyEndAllowThreads(__tstate); | |
3438 | if (PyErr_Occurred()) SWIG_fail; | |
3439 | } | |
3440 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
3441 | return resultobj; | |
3442 | fail: | |
3443 | return NULL; | |
3444 | } | |
3445 | ||
3446 | ||
3447 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3448 | PyObject *resultobj = 0; | |
3449 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3450 | wxMouseEvent *arg2 = (wxMouseEvent *) 0 ; | |
3451 | void *argp1 = 0 ; | |
3452 | int res1 = 0 ; | |
3453 | void *argp2 = 0 ; | |
3454 | int res2 = 0 ; | |
3455 | PyObject * obj0 = 0 ; | |
3456 | PyObject * obj1 = 0 ; | |
3457 | char * kwnames[] = { | |
3458 | (char *) "self",(char *) "e", NULL | |
3459 | }; | |
3460 | ||
3461 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
3462 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3463 | if (!SWIG_IsOK(res1)) { | |
3464 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3465 | } | |
3466 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3467 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMouseEvent, 0 | 0 ); | |
3468 | if (!SWIG_IsOK(res2)) { | |
3469 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'"); | |
3470 | } | |
3471 | arg2 = reinterpret_cast< wxMouseEvent * >(argp2); | |
3472 | { | |
3473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3474 | (arg1)->SetEvent((wxMouseEvent const *)arg2); | |
3475 | wxPyEndAllowThreads(__tstate); | |
3476 | if (PyErr_Occurred()) SWIG_fail; | |
3477 | } | |
3478 | resultobj = SWIG_Py_Void(); | |
3479 | return resultobj; | |
3480 | fail: | |
3481 | return NULL; | |
3482 | } | |
3483 | ||
3484 | ||
3485 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3486 | PyObject *resultobj = 0; | |
3487 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3488 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
3489 | void *argp1 = 0 ; | |
3490 | int res1 = 0 ; | |
3491 | void *argp2 = 0 ; | |
3492 | int res2 = 0 ; | |
3493 | PyObject * obj0 = 0 ; | |
3494 | PyObject * obj1 = 0 ; | |
3495 | char * kwnames[] = { | |
3496 | (char *) "self",(char *) "e", NULL | |
3497 | }; | |
3498 | ||
3499 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
3500 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3501 | if (!SWIG_IsOK(res1)) { | |
3502 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3503 | } | |
3504 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3505 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
3506 | if (!SWIG_IsOK(res2)) { | |
3507 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'"); | |
3508 | } | |
3509 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
3510 | { | |
3511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3512 | (arg1)->SetHtmlCell((wxHtmlCell const *)arg2); | |
3513 | wxPyEndAllowThreads(__tstate); | |
3514 | if (PyErr_Occurred()) SWIG_fail; | |
3515 | } | |
3516 | resultobj = SWIG_Py_Void(); | |
3517 | return resultobj; | |
3518 | fail: | |
3519 | return NULL; | |
d14a1e28 RD |
3520 | } |
3521 | ||
3522 | ||
554f62e9 RD |
3523 | SWIGINTERN PyObject *HtmlLinkInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3524 | PyObject *obj; | |
3525 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
3526 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo, SWIG_NewClientData(obj)); | |
3527 | return SWIG_Py_Void(); | |
d14a1e28 RD |
3528 | } |
3529 | ||
554f62e9 RD |
3530 | SWIGINTERN PyObject *HtmlLinkInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3531 | return SWIG_Python_InitShadowInstance(args); | |
3532 | } | |
d14a1e28 | 3533 | |
554f62e9 RD |
3534 | SWIGINTERN PyObject *_wrap_HtmlTag_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3535 | PyObject *resultobj = 0; | |
3536 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3537 | wxString result; | |
3538 | void *argp1 = 0 ; | |
3539 | int res1 = 0 ; | |
3540 | PyObject *swig_obj[1] ; | |
3541 | ||
3542 | if (!args) SWIG_fail; | |
3543 | swig_obj[0] = args; | |
3544 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3545 | if (!SWIG_IsOK(res1)) { | |
3546 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3547 | } | |
3548 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3549 | { | |
3550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3551 | result = (arg1)->GetName(); | |
3552 | wxPyEndAllowThreads(__tstate); | |
3553 | if (PyErr_Occurred()) SWIG_fail; | |
3554 | } | |
3555 | { | |
3556 | #if wxUSE_UNICODE | |
3557 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3558 | #else | |
3559 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3560 | #endif | |
3561 | } | |
3562 | return resultobj; | |
3563 | fail: | |
3564 | return NULL; | |
3565 | } | |
3566 | ||
3567 | ||
3568 | SWIGINTERN PyObject *_wrap_HtmlTag_HasParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3569 | PyObject *resultobj = 0; | |
3570 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3571 | wxString *arg2 = 0 ; | |
3572 | bool result; | |
3573 | void *argp1 = 0 ; | |
3574 | int res1 = 0 ; | |
3575 | bool temp2 = false ; | |
3576 | PyObject * obj0 = 0 ; | |
3577 | PyObject * obj1 = 0 ; | |
3578 | char * kwnames[] = { | |
3579 | (char *) "self",(char *) "par", NULL | |
3580 | }; | |
3581 | ||
3582 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) SWIG_fail; | |
3583 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3584 | if (!SWIG_IsOK(res1)) { | |
3585 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3586 | } | |
3587 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3588 | { | |
3589 | arg2 = wxString_in_helper(obj1); | |
3590 | if (arg2 == NULL) SWIG_fail; | |
3591 | temp2 = true; | |
3592 | } | |
3593 | { | |
3594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3595 | result = (bool)(arg1)->HasParam((wxString const &)*arg2); | |
3596 | wxPyEndAllowThreads(__tstate); | |
3597 | if (PyErr_Occurred()) SWIG_fail; | |
3598 | } | |
3599 | { | |
3600 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3601 | } | |
3602 | { | |
3603 | if (temp2) | |
3604 | delete arg2; | |
3605 | } | |
3606 | return resultobj; | |
3607 | fail: | |
3608 | { | |
3609 | if (temp2) | |
3610 | delete arg2; | |
3611 | } | |
3612 | return NULL; | |
3613 | } | |
3614 | ||
3615 | ||
3616 | SWIGINTERN PyObject *_wrap_HtmlTag_GetParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3617 | PyObject *resultobj = 0; | |
3618 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3619 | wxString *arg2 = 0 ; | |
3620 | int arg3 = (int) false ; | |
3621 | wxString result; | |
3622 | void *argp1 = 0 ; | |
3623 | int res1 = 0 ; | |
3624 | bool temp2 = false ; | |
3625 | int val3 ; | |
3626 | int ecode3 = 0 ; | |
3627 | PyObject * obj0 = 0 ; | |
3628 | PyObject * obj1 = 0 ; | |
3629 | PyObject * obj2 = 0 ; | |
3630 | char * kwnames[] = { | |
3631 | (char *) "self",(char *) "par",(char *) "with_commas", NULL | |
3632 | }; | |
3633 | ||
3634 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
3635 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3636 | if (!SWIG_IsOK(res1)) { | |
3637 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3638 | } | |
3639 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3640 | { | |
3641 | arg2 = wxString_in_helper(obj1); | |
3642 | if (arg2 == NULL) SWIG_fail; | |
3643 | temp2 = true; | |
3644 | } | |
3645 | if (obj2) { | |
3646 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
3647 | if (!SWIG_IsOK(ecode3)) { | |
3648 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'"); | |
3649 | } | |
3650 | arg3 = static_cast< int >(val3); | |
3651 | } | |
3652 | { | |
3653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3654 | result = (arg1)->GetParam((wxString const &)*arg2,arg3); | |
3655 | wxPyEndAllowThreads(__tstate); | |
3656 | if (PyErr_Occurred()) SWIG_fail; | |
3657 | } | |
3658 | { | |
3659 | #if wxUSE_UNICODE | |
3660 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3661 | #else | |
3662 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3663 | #endif | |
3664 | } | |
3665 | { | |
3666 | if (temp2) | |
3667 | delete arg2; | |
3668 | } | |
3669 | return resultobj; | |
3670 | fail: | |
3671 | { | |
3672 | if (temp2) | |
3673 | delete arg2; | |
3674 | } | |
3675 | return NULL; | |
d14a1e28 RD |
3676 | } |
3677 | ||
3678 | ||
554f62e9 RD |
3679 | SWIGINTERN PyObject *_wrap_HtmlTag_GetAllParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3680 | PyObject *resultobj = 0; | |
3681 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3682 | wxString result; | |
3683 | void *argp1 = 0 ; | |
3684 | int res1 = 0 ; | |
3685 | PyObject *swig_obj[1] ; | |
3686 | ||
3687 | if (!args) SWIG_fail; | |
3688 | swig_obj[0] = args; | |
3689 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3690 | if (!SWIG_IsOK(res1)) { | |
3691 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3692 | } | |
3693 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3694 | { | |
3695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3696 | result = (arg1)->GetAllParams(); | |
3697 | wxPyEndAllowThreads(__tstate); | |
3698 | if (PyErr_Occurred()) SWIG_fail; | |
3699 | } | |
3700 | { | |
d14a1e28 | 3701 | #if wxUSE_UNICODE |
554f62e9 | 3702 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3703 | #else |
554f62e9 | 3704 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3705 | #endif |
554f62e9 RD |
3706 | } |
3707 | return resultobj; | |
3708 | fail: | |
3709 | return NULL; | |
d14a1e28 RD |
3710 | } |
3711 | ||
3712 | ||
554f62e9 RD |
3713 | SWIGINTERN PyObject *_wrap_HtmlTag_HasEnding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3714 | PyObject *resultobj = 0; | |
3715 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3716 | bool result; | |
3717 | void *argp1 = 0 ; | |
3718 | int res1 = 0 ; | |
3719 | PyObject *swig_obj[1] ; | |
3720 | ||
3721 | if (!args) SWIG_fail; | |
3722 | swig_obj[0] = args; | |
3723 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3724 | if (!SWIG_IsOK(res1)) { | |
3725 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3726 | } | |
3727 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3728 | { | |
3729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3730 | result = (bool)(arg1)->HasEnding(); | |
3731 | wxPyEndAllowThreads(__tstate); | |
3732 | if (PyErr_Occurred()) SWIG_fail; | |
3733 | } | |
3734 | { | |
3735 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3736 | } | |
3737 | return resultobj; | |
3738 | fail: | |
3739 | return NULL; | |
d14a1e28 RD |
3740 | } |
3741 | ||
3742 | ||
554f62e9 RD |
3743 | SWIGINTERN PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3744 | PyObject *resultobj = 0; | |
3745 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3746 | int result; | |
3747 | void *argp1 = 0 ; | |
3748 | int res1 = 0 ; | |
3749 | PyObject *swig_obj[1] ; | |
3750 | ||
3751 | if (!args) SWIG_fail; | |
3752 | swig_obj[0] = args; | |
3753 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3754 | if (!SWIG_IsOK(res1)) { | |
3755 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3756 | } | |
3757 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3758 | { | |
3759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3760 | result = (int)(arg1)->GetBeginPos(); | |
3761 | wxPyEndAllowThreads(__tstate); | |
3762 | if (PyErr_Occurred()) SWIG_fail; | |
3763 | } | |
3764 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
3765 | return resultobj; | |
3766 | fail: | |
3767 | return NULL; | |
d14a1e28 RD |
3768 | } |
3769 | ||
3770 | ||
554f62e9 RD |
3771 | SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3772 | PyObject *resultobj = 0; | |
3773 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3774 | int result; | |
3775 | void *argp1 = 0 ; | |
3776 | int res1 = 0 ; | |
3777 | PyObject *swig_obj[1] ; | |
3778 | ||
3779 | if (!args) SWIG_fail; | |
3780 | swig_obj[0] = args; | |
3781 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3782 | if (!SWIG_IsOK(res1)) { | |
3783 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3784 | } | |
3785 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3786 | { | |
3787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3788 | result = (int)(arg1)->GetEndPos1(); | |
3789 | wxPyEndAllowThreads(__tstate); | |
3790 | if (PyErr_Occurred()) SWIG_fail; | |
3791 | } | |
3792 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
3793 | return resultobj; | |
3794 | fail: | |
3795 | return NULL; | |
d14a1e28 RD |
3796 | } |
3797 | ||
3798 | ||
554f62e9 RD |
3799 | SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3800 | PyObject *resultobj = 0; | |
3801 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3802 | int result; | |
3803 | void *argp1 = 0 ; | |
3804 | int res1 = 0 ; | |
3805 | PyObject *swig_obj[1] ; | |
3806 | ||
3807 | if (!args) SWIG_fail; | |
3808 | swig_obj[0] = args; | |
3809 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3810 | if (!SWIG_IsOK(res1)) { | |
3811 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3812 | } | |
3813 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3814 | { | |
3815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3816 | result = (int)(arg1)->GetEndPos2(); | |
3817 | wxPyEndAllowThreads(__tstate); | |
3818 | if (PyErr_Occurred()) SWIG_fail; | |
3819 | } | |
3820 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
3821 | return resultobj; | |
3822 | fail: | |
3823 | return NULL; | |
3824 | } | |
3825 | ||
3826 | ||
3827 | SWIGINTERN PyObject *HtmlTag_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3828 | PyObject *obj; | |
3829 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
3830 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag, SWIG_NewClientData(obj)); | |
3831 | return SWIG_Py_Void(); | |
3832 | } | |
3833 | ||
3834 | SWIGINTERN PyObject *_wrap_HtmlParser_SetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3835 | PyObject *resultobj = 0; | |
3836 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3837 | wxFileSystem *arg2 = (wxFileSystem *) 0 ; | |
3838 | void *argp1 = 0 ; | |
3839 | int res1 = 0 ; | |
3840 | void *argp2 = 0 ; | |
3841 | int res2 = 0 ; | |
3842 | PyObject * obj0 = 0 ; | |
3843 | PyObject * obj1 = 0 ; | |
3844 | char * kwnames[] = { | |
3845 | (char *) "self",(char *) "fs", NULL | |
3846 | }; | |
3847 | ||
3848 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) SWIG_fail; | |
3849 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3850 | if (!SWIG_IsOK(res1)) { | |
3851 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3852 | } | |
3853 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3854 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFileSystem, 0 | 0 ); | |
3855 | if (!SWIG_IsOK(res2)) { | |
3856 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'"); | |
3857 | } | |
3858 | arg2 = reinterpret_cast< wxFileSystem * >(argp2); | |
3859 | { | |
3860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3861 | (arg1)->SetFS(arg2); | |
3862 | wxPyEndAllowThreads(__tstate); | |
3863 | if (PyErr_Occurred()) SWIG_fail; | |
3864 | } | |
3865 | resultobj = SWIG_Py_Void(); | |
3866 | return resultobj; | |
3867 | fail: | |
3868 | return NULL; | |
d14a1e28 RD |
3869 | } |
3870 | ||
3871 | ||
554f62e9 RD |
3872 | SWIGINTERN PyObject *_wrap_HtmlParser_GetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3873 | PyObject *resultobj = 0; | |
3874 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3875 | wxFileSystem *result = 0 ; | |
3876 | void *argp1 = 0 ; | |
3877 | int res1 = 0 ; | |
3878 | PyObject *swig_obj[1] ; | |
3879 | ||
3880 | if (!args) SWIG_fail; | |
3881 | swig_obj[0] = args; | |
3882 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3883 | if (!SWIG_IsOK(res1)) { | |
3884 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3885 | } | |
3886 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3887 | { | |
3888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3889 | result = (wxFileSystem *)(arg1)->GetFS(); | |
3890 | wxPyEndAllowThreads(__tstate); | |
3891 | if (PyErr_Occurred()) SWIG_fail; | |
3892 | } | |
3893 | { | |
3ecece7e | 3894 | resultobj = wxPyMake_wxObject(result, 0); |
554f62e9 RD |
3895 | } |
3896 | return resultobj; | |
3897 | fail: | |
3898 | return NULL; | |
3899 | } | |
3900 | ||
3901 | ||
3902 | SWIGINTERN PyObject *_wrap_HtmlParser_Parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3903 | PyObject *resultobj = 0; | |
3904 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3905 | wxString *arg2 = 0 ; | |
3906 | wxObject *result = 0 ; | |
3907 | void *argp1 = 0 ; | |
3908 | int res1 = 0 ; | |
3909 | bool temp2 = false ; | |
3910 | PyObject * obj0 = 0 ; | |
3911 | PyObject * obj1 = 0 ; | |
3912 | char * kwnames[] = { | |
3913 | (char *) "self",(char *) "source", NULL | |
3914 | }; | |
3915 | ||
3916 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) SWIG_fail; | |
3917 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3918 | if (!SWIG_IsOK(res1)) { | |
3919 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3920 | } | |
3921 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3922 | { | |
3923 | arg2 = wxString_in_helper(obj1); | |
3924 | if (arg2 == NULL) SWIG_fail; | |
3925 | temp2 = true; | |
3926 | } | |
3927 | { | |
3928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3929 | result = (wxObject *)(arg1)->Parse((wxString const &)*arg2); | |
3930 | wxPyEndAllowThreads(__tstate); | |
3931 | if (PyErr_Occurred()) SWIG_fail; | |
3932 | } | |
3933 | { | |
3934 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
3935 | } | |
3936 | { | |
3937 | if (temp2) | |
3938 | delete arg2; | |
3939 | } | |
3940 | return resultobj; | |
3941 | fail: | |
3942 | { | |
3943 | if (temp2) | |
3944 | delete arg2; | |
3945 | } | |
3946 | return NULL; | |
d14a1e28 RD |
3947 | } |
3948 | ||
3949 | ||
554f62e9 RD |
3950 | SWIGINTERN PyObject *_wrap_HtmlParser_InitParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
3951 | PyObject *resultobj = 0; | |
3952 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3953 | wxString *arg2 = 0 ; | |
3954 | void *argp1 = 0 ; | |
3955 | int res1 = 0 ; | |
3956 | bool temp2 = false ; | |
3957 | PyObject * obj0 = 0 ; | |
3958 | PyObject * obj1 = 0 ; | |
3959 | char * kwnames[] = { | |
3960 | (char *) "self",(char *) "source", NULL | |
3961 | }; | |
3962 | ||
3963 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) SWIG_fail; | |
3964 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3965 | if (!SWIG_IsOK(res1)) { | |
3966 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3967 | } | |
3968 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3969 | { | |
3970 | arg2 = wxString_in_helper(obj1); | |
3971 | if (arg2 == NULL) SWIG_fail; | |
3972 | temp2 = true; | |
3973 | } | |
3974 | { | |
3975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3976 | (arg1)->InitParser((wxString const &)*arg2); | |
3977 | wxPyEndAllowThreads(__tstate); | |
3978 | if (PyErr_Occurred()) SWIG_fail; | |
3979 | } | |
3980 | resultobj = SWIG_Py_Void(); | |
3981 | { | |
3982 | if (temp2) | |
3983 | delete arg2; | |
3984 | } | |
3985 | return resultobj; | |
3986 | fail: | |
3987 | { | |
3988 | if (temp2) | |
3989 | delete arg2; | |
3990 | } | |
3991 | return NULL; | |
d14a1e28 RD |
3992 | } |
3993 | ||
3994 | ||
554f62e9 RD |
3995 | SWIGINTERN PyObject *_wrap_HtmlParser_DoneParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3996 | PyObject *resultobj = 0; | |
3997 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3998 | void *argp1 = 0 ; | |
3999 | int res1 = 0 ; | |
4000 | PyObject *swig_obj[1] ; | |
4001 | ||
4002 | if (!args) SWIG_fail; | |
4003 | swig_obj[0] = args; | |
4004 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4005 | if (!SWIG_IsOK(res1)) { | |
4006 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4007 | } | |
4008 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4009 | { | |
4010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4011 | (arg1)->DoneParser(); | |
4012 | wxPyEndAllowThreads(__tstate); | |
4013 | if (PyErr_Occurred()) SWIG_fail; | |
4014 | } | |
4015 | resultobj = SWIG_Py_Void(); | |
4016 | return resultobj; | |
4017 | fail: | |
4018 | return NULL; | |
4019 | } | |
4020 | ||
4021 | ||
4022 | SWIGINTERN PyObject *_wrap_HtmlParser_DoParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4023 | PyObject *resultobj = 0; | |
4024 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4025 | int arg2 ; | |
4026 | int arg3 ; | |
4027 | void *argp1 = 0 ; | |
4028 | int res1 = 0 ; | |
4029 | int val2 ; | |
4030 | int ecode2 = 0 ; | |
4031 | int val3 ; | |
4032 | int ecode3 = 0 ; | |
4033 | PyObject * obj0 = 0 ; | |
4034 | PyObject * obj1 = 0 ; | |
4035 | PyObject * obj2 = 0 ; | |
4036 | char * kwnames[] = { | |
4037 | (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL | |
4038 | }; | |
4039 | ||
4040 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
4041 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4042 | if (!SWIG_IsOK(res1)) { | |
4043 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4044 | } | |
4045 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4046 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4047 | if (!SWIG_IsOK(ecode2)) { | |
4048 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'"); | |
4049 | } | |
4050 | arg2 = static_cast< int >(val2); | |
4051 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
4052 | if (!SWIG_IsOK(ecode3)) { | |
4053 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'"); | |
4054 | } | |
4055 | arg3 = static_cast< int >(val3); | |
4056 | { | |
4057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4058 | (arg1)->DoParsing(arg2,arg3); | |
4059 | wxPyEndAllowThreads(__tstate); | |
4060 | if (PyErr_Occurred()) SWIG_fail; | |
4061 | } | |
4062 | resultobj = SWIG_Py_Void(); | |
4063 | return resultobj; | |
4064 | fail: | |
4065 | return NULL; | |
d14a1e28 RD |
4066 | } |
4067 | ||
4068 | ||
554f62e9 RD |
4069 | SWIGINTERN PyObject *_wrap_HtmlParser_StopParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4070 | PyObject *resultobj = 0; | |
4071 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4072 | void *argp1 = 0 ; | |
4073 | int res1 = 0 ; | |
4074 | PyObject *swig_obj[1] ; | |
4075 | ||
4076 | if (!args) SWIG_fail; | |
4077 | swig_obj[0] = args; | |
4078 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4079 | if (!SWIG_IsOK(res1)) { | |
4080 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4081 | } | |
4082 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4083 | { | |
4084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4085 | (arg1)->StopParsing(); | |
4086 | wxPyEndAllowThreads(__tstate); | |
4087 | if (PyErr_Occurred()) SWIG_fail; | |
4088 | } | |
4089 | resultobj = SWIG_Py_Void(); | |
4090 | return resultobj; | |
4091 | fail: | |
4092 | return NULL; | |
4093 | } | |
4094 | ||
4095 | ||
4096 | SWIGINTERN PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4097 | PyObject *resultobj = 0; | |
4098 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4099 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
4100 | void *argp1 = 0 ; | |
4101 | int res1 = 0 ; | |
4102 | void *argp2 = 0 ; | |
4103 | int res2 = 0 ; | |
4104 | PyObject * obj0 = 0 ; | |
4105 | PyObject * obj1 = 0 ; | |
4106 | char * kwnames[] = { | |
4107 | (char *) "self",(char *) "handler", NULL | |
4108 | }; | |
4109 | ||
4110 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) SWIG_fail; | |
4111 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4112 | if (!SWIG_IsOK(res1)) { | |
4113 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4114 | } | |
4115 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4116 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 ); | |
4117 | if (!SWIG_IsOK(res2)) { | |
4118 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'"); | |
4119 | } | |
4120 | arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2); | |
4121 | { | |
4122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4123 | (arg1)->AddTagHandler(arg2); | |
4124 | wxPyEndAllowThreads(__tstate); | |
4125 | if (PyErr_Occurred()) SWIG_fail; | |
4126 | } | |
4127 | resultobj = SWIG_Py_Void(); | |
4128 | return resultobj; | |
4129 | fail: | |
4130 | return NULL; | |
d14a1e28 RD |
4131 | } |
4132 | ||
4133 | ||
554f62e9 RD |
4134 | SWIGINTERN PyObject *_wrap_HtmlParser_GetSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4135 | PyObject *resultobj = 0; | |
4136 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4137 | wxString *result = 0 ; | |
4138 | void *argp1 = 0 ; | |
4139 | int res1 = 0 ; | |
4140 | PyObject *swig_obj[1] ; | |
4141 | ||
4142 | if (!args) SWIG_fail; | |
4143 | swig_obj[0] = args; | |
4144 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4145 | if (!SWIG_IsOK(res1)) { | |
4146 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4147 | } | |
4148 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4149 | { | |
4150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4151 | result = (wxString *)(arg1)->GetSource(); | |
4152 | wxPyEndAllowThreads(__tstate); | |
4153 | if (PyErr_Occurred()) SWIG_fail; | |
4154 | } | |
4155 | { | |
4156 | #if wxUSE_UNICODE | |
4157 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
4158 | #else | |
4159 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
4160 | #endif | |
4161 | } | |
4162 | return resultobj; | |
4163 | fail: | |
4164 | return NULL; | |
4165 | } | |
4166 | ||
4167 | ||
4168 | SWIGINTERN PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4169 | PyObject *resultobj = 0; | |
4170 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4171 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
4172 | wxString arg3 ; | |
4173 | void *argp1 = 0 ; | |
4174 | int res1 = 0 ; | |
4175 | void *argp2 = 0 ; | |
4176 | int res2 = 0 ; | |
4177 | PyObject * obj0 = 0 ; | |
4178 | PyObject * obj1 = 0 ; | |
4179 | PyObject * obj2 = 0 ; | |
4180 | char * kwnames[] = { | |
4181 | (char *) "self",(char *) "handler",(char *) "tags", NULL | |
4182 | }; | |
4183 | ||
4184 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
4185 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4186 | if (!SWIG_IsOK(res1)) { | |
4187 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4188 | } | |
4189 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4190 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 ); | |
4191 | if (!SWIG_IsOK(res2)) { | |
4192 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'"); | |
4193 | } | |
4194 | arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2); | |
4195 | { | |
4196 | wxString* sptr = wxString_in_helper(obj2); | |
4197 | if (sptr == NULL) SWIG_fail; | |
4198 | arg3 = *sptr; | |
4199 | delete sptr; | |
4200 | } | |
4201 | { | |
4202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4203 | (arg1)->PushTagHandler(arg2,arg3); | |
4204 | wxPyEndAllowThreads(__tstate); | |
4205 | if (PyErr_Occurred()) SWIG_fail; | |
4206 | } | |
4207 | resultobj = SWIG_Py_Void(); | |
4208 | return resultobj; | |
4209 | fail: | |
4210 | return NULL; | |
d14a1e28 RD |
4211 | } |
4212 | ||
4213 | ||
554f62e9 RD |
4214 | SWIGINTERN PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4215 | PyObject *resultobj = 0; | |
4216 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4217 | void *argp1 = 0 ; | |
4218 | int res1 = 0 ; | |
4219 | PyObject *swig_obj[1] ; | |
4220 | ||
4221 | if (!args) SWIG_fail; | |
4222 | swig_obj[0] = args; | |
4223 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4224 | if (!SWIG_IsOK(res1)) { | |
4225 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4226 | } | |
4227 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4228 | { | |
4229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4230 | (arg1)->PopTagHandler(); | |
4231 | wxPyEndAllowThreads(__tstate); | |
4232 | if (PyErr_Occurred()) SWIG_fail; | |
4233 | } | |
4234 | resultobj = SWIG_Py_Void(); | |
4235 | return resultobj; | |
4236 | fail: | |
4237 | return NULL; | |
d14a1e28 RD |
4238 | } |
4239 | ||
4240 | ||
e9d6f3a4 RD |
4241 | SWIGINTERN PyObject *_wrap_HtmlParser_GetInnerSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
4242 | PyObject *resultobj = 0; | |
4243 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4244 | wxHtmlTag *arg2 = 0 ; | |
4245 | wxString result; | |
4246 | void *argp1 = 0 ; | |
4247 | int res1 = 0 ; | |
4248 | void *argp2 = 0 ; | |
4249 | int res2 = 0 ; | |
4250 | PyObject * obj0 = 0 ; | |
4251 | PyObject * obj1 = 0 ; | |
4252 | char * kwnames[] = { | |
4253 | (char *) "self",(char *) "tag", NULL | |
4254 | }; | |
4255 | ||
4256 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_GetInnerSource",kwnames,&obj0,&obj1)) SWIG_fail; | |
4257 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4258 | if (!SWIG_IsOK(res1)) { | |
4259 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4260 | } | |
4261 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4262 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
4263 | if (!SWIG_IsOK(res2)) { | |
4264 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
4265 | } | |
4266 | if (!argp2) { | |
4267 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
4268 | } | |
4269 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
4270 | { | |
4271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4272 | result = (arg1)->GetInnerSource((wxHtmlTag const &)*arg2); | |
4273 | wxPyEndAllowThreads(__tstate); | |
4274 | if (PyErr_Occurred()) SWIG_fail; | |
4275 | } | |
4276 | { | |
4277 | #if wxUSE_UNICODE | |
4278 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4279 | #else | |
4280 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4281 | #endif | |
4282 | } | |
4283 | return resultobj; | |
4284 | fail: | |
4285 | return NULL; | |
4286 | } | |
4287 | ||
4288 | ||
554f62e9 RD |
4289 | SWIGINTERN PyObject *HtmlParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4290 | PyObject *obj; | |
4291 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
4292 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser, SWIG_NewClientData(obj)); | |
4293 | return SWIG_Py_Void(); | |
d14a1e28 RD |
4294 | } |
4295 | ||
554f62e9 RD |
4296 | SWIGINTERN PyObject *_wrap_new_HtmlWinParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
4297 | PyObject *resultobj = 0; | |
4298 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ; | |
4299 | wxHtmlWinParser *result = 0 ; | |
4300 | void *argp1 = 0 ; | |
4301 | int res1 = 0 ; | |
4302 | PyObject * obj0 = 0 ; | |
4303 | char * kwnames[] = { | |
4304 | (char *) "wnd", NULL | |
4305 | }; | |
4306 | ||
4307 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) SWIG_fail; | |
4308 | if (obj0) { | |
4309 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
4310 | if (!SWIG_IsOK(res1)) { | |
4311 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
d14a1e28 | 4312 | } |
554f62e9 RD |
4313 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); |
4314 | } | |
4315 | { | |
4316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4317 | result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1); | |
4318 | wxPyEndAllowThreads(__tstate); | |
4319 | if (PyErr_Occurred()) SWIG_fail; | |
4320 | } | |
4321 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_NEW | 0 ); | |
4322 | return resultobj; | |
4323 | fail: | |
4324 | return NULL; | |
4325 | } | |
4326 | ||
4327 | ||
4328 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4329 | PyObject *resultobj = 0; | |
4330 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4331 | wxDC *arg2 = (wxDC *) 0 ; | |
4332 | void *argp1 = 0 ; | |
4333 | int res1 = 0 ; | |
4334 | void *argp2 = 0 ; | |
4335 | int res2 = 0 ; | |
4336 | PyObject * obj0 = 0 ; | |
4337 | PyObject * obj1 = 0 ; | |
4338 | char * kwnames[] = { | |
4339 | (char *) "self",(char *) "dc", NULL | |
4340 | }; | |
4341 | ||
4342 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) SWIG_fail; | |
4343 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4344 | if (!SWIG_IsOK(res1)) { | |
4345 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4346 | } | |
4347 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4348 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); | |
4349 | if (!SWIG_IsOK(res2)) { | |
4350 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); | |
4351 | } | |
4352 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
4353 | { | |
4354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4355 | (arg1)->SetDC(arg2); | |
4356 | wxPyEndAllowThreads(__tstate); | |
4357 | if (PyErr_Occurred()) SWIG_fail; | |
4358 | } | |
4359 | resultobj = SWIG_Py_Void(); | |
4360 | return resultobj; | |
4361 | fail: | |
4362 | return NULL; | |
d14a1e28 RD |
4363 | } |
4364 | ||
4365 | ||
554f62e9 RD |
4366 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4367 | PyObject *resultobj = 0; | |
4368 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4369 | wxDC *result = 0 ; | |
4370 | void *argp1 = 0 ; | |
4371 | int res1 = 0 ; | |
4372 | PyObject *swig_obj[1] ; | |
4373 | ||
4374 | if (!args) SWIG_fail; | |
4375 | swig_obj[0] = args; | |
4376 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4377 | if (!SWIG_IsOK(res1)) { | |
4378 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4379 | } | |
4380 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4381 | { | |
4382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4383 | result = (wxDC *)(arg1)->GetDC(); | |
4384 | wxPyEndAllowThreads(__tstate); | |
4385 | if (PyErr_Occurred()) SWIG_fail; | |
4386 | } | |
4387 | { | |
4388 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
4389 | } | |
4390 | return resultobj; | |
4391 | fail: | |
4392 | return NULL; | |
d14a1e28 RD |
4393 | } |
4394 | ||
4395 | ||
554f62e9 RD |
4396 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4397 | PyObject *resultobj = 0; | |
4398 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4399 | int result; | |
4400 | void *argp1 = 0 ; | |
4401 | int res1 = 0 ; | |
4402 | PyObject *swig_obj[1] ; | |
4403 | ||
4404 | if (!args) SWIG_fail; | |
4405 | swig_obj[0] = args; | |
4406 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4407 | if (!SWIG_IsOK(res1)) { | |
4408 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4409 | } | |
4410 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4411 | { | |
4412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4413 | result = (int)(arg1)->GetCharHeight(); | |
4414 | wxPyEndAllowThreads(__tstate); | |
4415 | if (PyErr_Occurred()) SWIG_fail; | |
4416 | } | |
4417 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4418 | return resultobj; | |
4419 | fail: | |
4420 | return NULL; | |
d14a1e28 RD |
4421 | } |
4422 | ||
4423 | ||
554f62e9 RD |
4424 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4425 | PyObject *resultobj = 0; | |
4426 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4427 | int result; | |
4428 | void *argp1 = 0 ; | |
4429 | int res1 = 0 ; | |
4430 | PyObject *swig_obj[1] ; | |
4431 | ||
4432 | if (!args) SWIG_fail; | |
4433 | swig_obj[0] = args; | |
4434 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4435 | if (!SWIG_IsOK(res1)) { | |
4436 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4437 | } | |
4438 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4439 | { | |
4440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4441 | result = (int)(arg1)->GetCharWidth(); | |
4442 | wxPyEndAllowThreads(__tstate); | |
4443 | if (PyErr_Occurred()) SWIG_fail; | |
4444 | } | |
4445 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4446 | return resultobj; | |
4447 | fail: | |
4448 | return NULL; | |
d14a1e28 RD |
4449 | } |
4450 | ||
4451 | ||
554f62e9 RD |
4452 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4453 | PyObject *resultobj = 0; | |
4454 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4455 | wxPyHtmlWindow *result = 0 ; | |
4456 | void *argp1 = 0 ; | |
4457 | int res1 = 0 ; | |
4458 | PyObject *swig_obj[1] ; | |
4459 | ||
4460 | if (!args) SWIG_fail; | |
4461 | swig_obj[0] = args; | |
4462 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4463 | if (!SWIG_IsOK(res1)) { | |
4464 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4465 | } | |
4466 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4467 | { | |
4468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4469 | result = (wxPyHtmlWindow *)(arg1)->GetWindow(); | |
4470 | wxPyEndAllowThreads(__tstate); | |
4471 | if (PyErr_Occurred()) SWIG_fail; | |
4472 | } | |
4473 | { | |
4474 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
4475 | } | |
4476 | return resultobj; | |
4477 | fail: | |
4478 | return NULL; | |
4479 | } | |
4480 | ||
4481 | ||
e9d6f3a4 RD |
4482 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4483 | PyObject *resultobj = 0; | |
4484 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4485 | wxHtmlWindowInterface *result = 0 ; | |
4486 | void *argp1 = 0 ; | |
4487 | int res1 = 0 ; | |
4488 | PyObject *swig_obj[1] ; | |
4489 | ||
4490 | if (!args) SWIG_fail; | |
4491 | swig_obj[0] = args; | |
4492 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4493 | if (!SWIG_IsOK(res1)) { | |
4494 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4495 | } | |
4496 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4497 | { | |
4498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4499 | result = (wxHtmlWindowInterface *)(arg1)->GetWindowInterface(); | |
4500 | wxPyEndAllowThreads(__tstate); | |
4501 | if (PyErr_Occurred()) SWIG_fail; | |
4502 | } | |
4503 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
4504 | return resultobj; | |
4505 | fail: | |
4506 | return NULL; | |
4507 | } | |
4508 | ||
4509 | ||
554f62e9 RD |
4510 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
4511 | PyObject *resultobj = 0; | |
4512 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4513 | wxString arg2 ; | |
4514 | wxString arg3 ; | |
4515 | PyObject *arg4 = (PyObject *) NULL ; | |
4516 | void *argp1 = 0 ; | |
4517 | int res1 = 0 ; | |
4518 | PyObject * obj0 = 0 ; | |
4519 | PyObject * obj1 = 0 ; | |
4520 | PyObject * obj2 = 0 ; | |
4521 | PyObject * obj3 = 0 ; | |
4522 | char * kwnames[] = { | |
4523 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
4524 | }; | |
4525 | ||
4526 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
4527 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4528 | if (!SWIG_IsOK(res1)) { | |
4529 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4530 | } | |
4531 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4532 | { | |
4533 | wxString* sptr = wxString_in_helper(obj1); | |
4534 | if (sptr == NULL) SWIG_fail; | |
4535 | arg2 = *sptr; | |
4536 | delete sptr; | |
4537 | } | |
4538 | { | |
4539 | wxString* sptr = wxString_in_helper(obj2); | |
4540 | if (sptr == NULL) SWIG_fail; | |
4541 | arg3 = *sptr; | |
4542 | delete sptr; | |
4543 | } | |
4544 | if (obj3) { | |
4545 | arg4 = obj3; | |
4546 | } | |
4547 | { | |
4548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4549 | wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4); | |
4550 | wxPyEndAllowThreads(__tstate); | |
4551 | if (PyErr_Occurred()) SWIG_fail; | |
4552 | } | |
4553 | resultobj = SWIG_Py_Void(); | |
4554 | return resultobj; | |
4555 | fail: | |
4556 | return NULL; | |
4557 | } | |
4558 | ||
4559 | ||
4560 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4561 | PyObject *resultobj = 0; | |
4562 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4563 | int arg2 = (int) -1 ; | |
4564 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4565 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
4566 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4567 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
4568 | void *argp1 = 0 ; | |
4569 | int res1 = 0 ; | |
4570 | int val2 ; | |
4571 | int ecode2 = 0 ; | |
4572 | bool temp3 = false ; | |
4573 | bool temp4 = false ; | |
4574 | PyObject * obj0 = 0 ; | |
4575 | PyObject * obj1 = 0 ; | |
4576 | PyObject * obj2 = 0 ; | |
4577 | PyObject * obj3 = 0 ; | |
4578 | char * kwnames[] = { | |
4579 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
4580 | }; | |
4581 | ||
4582 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
4583 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4584 | if (!SWIG_IsOK(res1)) { | |
4585 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4586 | } | |
4587 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4588 | if (obj1) { | |
4589 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4590 | if (!SWIG_IsOK(ecode2)) { | |
4591 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
4592 | } | |
4593 | arg2 = static_cast< int >(val2); | |
4594 | } | |
4595 | if (obj2) { | |
d14a1e28 | 4596 | { |
554f62e9 RD |
4597 | arg3 = wxString_in_helper(obj2); |
4598 | if (arg3 == NULL) SWIG_fail; | |
4599 | temp3 = true; | |
d14a1e28 | 4600 | } |
554f62e9 RD |
4601 | } |
4602 | if (obj3) { | |
d14a1e28 | 4603 | { |
554f62e9 RD |
4604 | arg4 = wxString_in_helper(obj3); |
4605 | if (arg4 == NULL) SWIG_fail; | |
4606 | temp4 = true; | |
d14a1e28 | 4607 | } |
554f62e9 RD |
4608 | } |
4609 | { | |
4610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4611 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
4612 | wxPyEndAllowThreads(__tstate); | |
4613 | if (PyErr_Occurred()) SWIG_fail; | |
4614 | } | |
4615 | resultobj = SWIG_Py_Void(); | |
4616 | { | |
4617 | if (temp3) | |
4618 | delete arg3; | |
4619 | } | |
4620 | { | |
4621 | if (temp4) | |
4622 | delete arg4; | |
4623 | } | |
4624 | return resultobj; | |
4625 | fail: | |
4626 | { | |
4627 | if (temp3) | |
4628 | delete arg3; | |
4629 | } | |
4630 | { | |
4631 | if (temp4) | |
4632 | delete arg4; | |
4633 | } | |
4634 | return NULL; | |
d14a1e28 RD |
4635 | } |
4636 | ||
4637 | ||
554f62e9 RD |
4638 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4639 | PyObject *resultobj = 0; | |
4640 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4641 | wxHtmlContainerCell *result = 0 ; | |
4642 | void *argp1 = 0 ; | |
4643 | int res1 = 0 ; | |
4644 | PyObject *swig_obj[1] ; | |
4645 | ||
4646 | if (!args) SWIG_fail; | |
4647 | swig_obj[0] = args; | |
4648 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4649 | if (!SWIG_IsOK(res1)) { | |
4650 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4651 | } | |
4652 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4653 | { | |
4654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4655 | result = (wxHtmlContainerCell *)(arg1)->GetContainer(); | |
4656 | wxPyEndAllowThreads(__tstate); | |
4657 | if (PyErr_Occurred()) SWIG_fail; | |
4658 | } | |
4659 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4660 | return resultobj; | |
4661 | fail: | |
4662 | return NULL; | |
d14a1e28 RD |
4663 | } |
4664 | ||
4665 | ||
554f62e9 RD |
4666 | SWIGINTERN PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4667 | PyObject *resultobj = 0; | |
4668 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4669 | wxHtmlContainerCell *result = 0 ; | |
4670 | void *argp1 = 0 ; | |
4671 | int res1 = 0 ; | |
4672 | PyObject *swig_obj[1] ; | |
4673 | ||
4674 | if (!args) SWIG_fail; | |
4675 | swig_obj[0] = args; | |
4676 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4677 | if (!SWIG_IsOK(res1)) { | |
4678 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4679 | } | |
4680 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4681 | { | |
4682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4683 | result = (wxHtmlContainerCell *)(arg1)->OpenContainer(); | |
4684 | wxPyEndAllowThreads(__tstate); | |
4685 | if (PyErr_Occurred()) SWIG_fail; | |
4686 | } | |
4687 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4688 | return resultobj; | |
4689 | fail: | |
4690 | return NULL; | |
4691 | } | |
4692 | ||
4693 | ||
4694 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4695 | PyObject *resultobj = 0; | |
4696 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4697 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
4698 | wxHtmlContainerCell *result = 0 ; | |
4699 | void *argp1 = 0 ; | |
4700 | int res1 = 0 ; | |
4701 | void *argp2 = 0 ; | |
4702 | int res2 = 0 ; | |
4703 | PyObject * obj0 = 0 ; | |
4704 | PyObject * obj1 = 0 ; | |
4705 | char * kwnames[] = { | |
4706 | (char *) "self",(char *) "c", NULL | |
4707 | }; | |
4708 | ||
4709 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) SWIG_fail; | |
4710 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4711 | if (!SWIG_IsOK(res1)) { | |
4712 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4713 | } | |
4714 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4715 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4716 | if (!SWIG_IsOK(res2)) { | |
4717 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'"); | |
4718 | } | |
4719 | arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2); | |
4720 | { | |
4721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4722 | result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2); | |
4723 | wxPyEndAllowThreads(__tstate); | |
4724 | if (PyErr_Occurred()) SWIG_fail; | |
4725 | } | |
4726 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4727 | return resultobj; | |
4728 | fail: | |
4729 | return NULL; | |
d14a1e28 RD |
4730 | } |
4731 | ||
4732 | ||
554f62e9 RD |
4733 | SWIGINTERN PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4734 | PyObject *resultobj = 0; | |
4735 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4736 | wxHtmlContainerCell *result = 0 ; | |
4737 | void *argp1 = 0 ; | |
4738 | int res1 = 0 ; | |
4739 | PyObject *swig_obj[1] ; | |
4740 | ||
4741 | if (!args) SWIG_fail; | |
4742 | swig_obj[0] = args; | |
4743 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4744 | if (!SWIG_IsOK(res1)) { | |
4745 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4746 | } | |
4747 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4748 | { | |
4749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4750 | result = (wxHtmlContainerCell *)(arg1)->CloseContainer(); | |
4751 | wxPyEndAllowThreads(__tstate); | |
4752 | if (PyErr_Occurred()) SWIG_fail; | |
4753 | } | |
4754 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4755 | return resultobj; | |
4756 | fail: | |
4757 | return NULL; | |
d14a1e28 RD |
4758 | } |
4759 | ||
4760 | ||
554f62e9 RD |
4761 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4762 | PyObject *resultobj = 0; | |
4763 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4764 | int result; | |
4765 | void *argp1 = 0 ; | |
4766 | int res1 = 0 ; | |
4767 | PyObject *swig_obj[1] ; | |
4768 | ||
4769 | if (!args) SWIG_fail; | |
4770 | swig_obj[0] = args; | |
4771 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4772 | if (!SWIG_IsOK(res1)) { | |
4773 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4774 | } | |
4775 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4776 | { | |
4777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4778 | result = (int)(arg1)->GetFontSize(); | |
4779 | wxPyEndAllowThreads(__tstate); | |
4780 | if (PyErr_Occurred()) SWIG_fail; | |
4781 | } | |
4782 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4783 | return resultobj; | |
4784 | fail: | |
4785 | return NULL; | |
4786 | } | |
4787 | ||
4788 | ||
4789 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4790 | PyObject *resultobj = 0; | |
4791 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4792 | int arg2 ; | |
4793 | void *argp1 = 0 ; | |
4794 | int res1 = 0 ; | |
4795 | int val2 ; | |
4796 | int ecode2 = 0 ; | |
4797 | PyObject * obj0 = 0 ; | |
4798 | PyObject * obj1 = 0 ; | |
4799 | char * kwnames[] = { | |
4800 | (char *) "self",(char *) "s", NULL | |
4801 | }; | |
4802 | ||
4803 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
4804 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4805 | if (!SWIG_IsOK(res1)) { | |
4806 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4807 | } | |
4808 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4809 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4810 | if (!SWIG_IsOK(ecode2)) { | |
4811 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'"); | |
4812 | } | |
4813 | arg2 = static_cast< int >(val2); | |
4814 | { | |
4815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4816 | (arg1)->SetFontSize(arg2); | |
4817 | wxPyEndAllowThreads(__tstate); | |
4818 | if (PyErr_Occurred()) SWIG_fail; | |
4819 | } | |
4820 | resultobj = SWIG_Py_Void(); | |
4821 | return resultobj; | |
4822 | fail: | |
4823 | return NULL; | |
d14a1e28 RD |
4824 | } |
4825 | ||
4826 | ||
554f62e9 RD |
4827 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4828 | PyObject *resultobj = 0; | |
4829 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4830 | int result; | |
4831 | void *argp1 = 0 ; | |
4832 | int res1 = 0 ; | |
4833 | PyObject *swig_obj[1] ; | |
4834 | ||
4835 | if (!args) SWIG_fail; | |
4836 | swig_obj[0] = args; | |
4837 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4838 | if (!SWIG_IsOK(res1)) { | |
4839 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4840 | } | |
4841 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4842 | { | |
4843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4844 | result = (int)(arg1)->GetFontBold(); | |
4845 | wxPyEndAllowThreads(__tstate); | |
4846 | if (PyErr_Occurred()) SWIG_fail; | |
4847 | } | |
4848 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4849 | return resultobj; | |
4850 | fail: | |
4851 | return NULL; | |
4852 | } | |
4853 | ||
4854 | ||
4855 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4856 | PyObject *resultobj = 0; | |
4857 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4858 | int arg2 ; | |
4859 | void *argp1 = 0 ; | |
4860 | int res1 = 0 ; | |
4861 | int val2 ; | |
4862 | int ecode2 = 0 ; | |
4863 | PyObject * obj0 = 0 ; | |
4864 | PyObject * obj1 = 0 ; | |
4865 | char * kwnames[] = { | |
4866 | (char *) "self",(char *) "x", NULL | |
4867 | }; | |
4868 | ||
4869 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) SWIG_fail; | |
4870 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4871 | if (!SWIG_IsOK(res1)) { | |
4872 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4873 | } | |
4874 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4875 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4876 | if (!SWIG_IsOK(ecode2)) { | |
4877 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'"); | |
4878 | } | |
4879 | arg2 = static_cast< int >(val2); | |
4880 | { | |
4881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4882 | (arg1)->SetFontBold(arg2); | |
4883 | wxPyEndAllowThreads(__tstate); | |
4884 | if (PyErr_Occurred()) SWIG_fail; | |
4885 | } | |
4886 | resultobj = SWIG_Py_Void(); | |
4887 | return resultobj; | |
4888 | fail: | |
4889 | return NULL; | |
d14a1e28 RD |
4890 | } |
4891 | ||
4892 | ||
554f62e9 RD |
4893 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4894 | PyObject *resultobj = 0; | |
4895 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4896 | int result; | |
4897 | void *argp1 = 0 ; | |
4898 | int res1 = 0 ; | |
4899 | PyObject *swig_obj[1] ; | |
4900 | ||
4901 | if (!args) SWIG_fail; | |
4902 | swig_obj[0] = args; | |
4903 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4904 | if (!SWIG_IsOK(res1)) { | |
4905 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4906 | } | |
4907 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4908 | { | |
4909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4910 | result = (int)(arg1)->GetFontItalic(); | |
4911 | wxPyEndAllowThreads(__tstate); | |
4912 | if (PyErr_Occurred()) SWIG_fail; | |
4913 | } | |
4914 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4915 | return resultobj; | |
4916 | fail: | |
4917 | return NULL; | |
4918 | } | |
4919 | ||
4920 | ||
4921 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4922 | PyObject *resultobj = 0; | |
4923 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4924 | int arg2 ; | |
4925 | void *argp1 = 0 ; | |
4926 | int res1 = 0 ; | |
4927 | int val2 ; | |
4928 | int ecode2 = 0 ; | |
4929 | PyObject * obj0 = 0 ; | |
4930 | PyObject * obj1 = 0 ; | |
4931 | char * kwnames[] = { | |
4932 | (char *) "self",(char *) "x", NULL | |
4933 | }; | |
4934 | ||
4935 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) SWIG_fail; | |
4936 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4937 | if (!SWIG_IsOK(res1)) { | |
4938 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4939 | } | |
4940 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4941 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4942 | if (!SWIG_IsOK(ecode2)) { | |
4943 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'"); | |
4944 | } | |
4945 | arg2 = static_cast< int >(val2); | |
4946 | { | |
4947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4948 | (arg1)->SetFontItalic(arg2); | |
4949 | wxPyEndAllowThreads(__tstate); | |
4950 | if (PyErr_Occurred()) SWIG_fail; | |
4951 | } | |
4952 | resultobj = SWIG_Py_Void(); | |
4953 | return resultobj; | |
4954 | fail: | |
4955 | return NULL; | |
d14a1e28 RD |
4956 | } |
4957 | ||
4958 | ||
554f62e9 RD |
4959 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4960 | PyObject *resultobj = 0; | |
4961 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4962 | int result; | |
4963 | void *argp1 = 0 ; | |
4964 | int res1 = 0 ; | |
4965 | PyObject *swig_obj[1] ; | |
4966 | ||
4967 | if (!args) SWIG_fail; | |
4968 | swig_obj[0] = args; | |
4969 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4970 | if (!SWIG_IsOK(res1)) { | |
4971 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4972 | } | |
4973 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4974 | { | |
4975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4976 | result = (int)(arg1)->GetFontUnderlined(); | |
4977 | wxPyEndAllowThreads(__tstate); | |
4978 | if (PyErr_Occurred()) SWIG_fail; | |
4979 | } | |
4980 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4981 | return resultobj; | |
4982 | fail: | |
4983 | return NULL; | |
4984 | } | |
4985 | ||
4986 | ||
4987 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4988 | PyObject *resultobj = 0; | |
4989 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4990 | int arg2 ; | |
4991 | void *argp1 = 0 ; | |
4992 | int res1 = 0 ; | |
4993 | int val2 ; | |
4994 | int ecode2 = 0 ; | |
4995 | PyObject * obj0 = 0 ; | |
4996 | PyObject * obj1 = 0 ; | |
4997 | char * kwnames[] = { | |
4998 | (char *) "self",(char *) "x", NULL | |
4999 | }; | |
5000 | ||
5001 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail; | |
5002 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5003 | if (!SWIG_IsOK(res1)) { | |
5004 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5005 | } | |
5006 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5007 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5008 | if (!SWIG_IsOK(ecode2)) { | |
5009 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'"); | |
5010 | } | |
5011 | arg2 = static_cast< int >(val2); | |
5012 | { | |
5013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5014 | (arg1)->SetFontUnderlined(arg2); | |
5015 | wxPyEndAllowThreads(__tstate); | |
5016 | if (PyErr_Occurred()) SWIG_fail; | |
5017 | } | |
5018 | resultobj = SWIG_Py_Void(); | |
5019 | return resultobj; | |
5020 | fail: | |
5021 | return NULL; | |
d14a1e28 RD |
5022 | } |
5023 | ||
5024 | ||
554f62e9 RD |
5025 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5026 | PyObject *resultobj = 0; | |
5027 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5028 | int result; | |
5029 | void *argp1 = 0 ; | |
5030 | int res1 = 0 ; | |
5031 | PyObject *swig_obj[1] ; | |
5032 | ||
5033 | if (!args) SWIG_fail; | |
5034 | swig_obj[0] = args; | |
5035 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5036 | if (!SWIG_IsOK(res1)) { | |
5037 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5038 | } | |
5039 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5040 | { | |
5041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5042 | result = (int)(arg1)->GetFontFixed(); | |
5043 | wxPyEndAllowThreads(__tstate); | |
5044 | if (PyErr_Occurred()) SWIG_fail; | |
5045 | } | |
5046 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5047 | return resultobj; | |
5048 | fail: | |
5049 | return NULL; | |
5050 | } | |
5051 | ||
5052 | ||
5053 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5054 | PyObject *resultobj = 0; | |
5055 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5056 | int arg2 ; | |
5057 | void *argp1 = 0 ; | |
5058 | int res1 = 0 ; | |
5059 | int val2 ; | |
5060 | int ecode2 = 0 ; | |
5061 | PyObject * obj0 = 0 ; | |
5062 | PyObject * obj1 = 0 ; | |
5063 | char * kwnames[] = { | |
5064 | (char *) "self",(char *) "x", NULL | |
5065 | }; | |
5066 | ||
5067 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) SWIG_fail; | |
5068 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5069 | if (!SWIG_IsOK(res1)) { | |
5070 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5071 | } | |
5072 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5073 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5074 | if (!SWIG_IsOK(ecode2)) { | |
5075 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'"); | |
5076 | } | |
5077 | arg2 = static_cast< int >(val2); | |
5078 | { | |
5079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5080 | (arg1)->SetFontFixed(arg2); | |
5081 | wxPyEndAllowThreads(__tstate); | |
5082 | if (PyErr_Occurred()) SWIG_fail; | |
5083 | } | |
5084 | resultobj = SWIG_Py_Void(); | |
5085 | return resultobj; | |
5086 | fail: | |
5087 | return NULL; | |
30ee79f7 RD |
5088 | } |
5089 | ||
5090 | ||
554f62e9 RD |
5091 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5092 | PyObject *resultobj = 0; | |
5093 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5094 | int result; | |
5095 | void *argp1 = 0 ; | |
5096 | int res1 = 0 ; | |
5097 | PyObject *swig_obj[1] ; | |
5098 | ||
5099 | if (!args) SWIG_fail; | |
5100 | swig_obj[0] = args; | |
5101 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5102 | if (!SWIG_IsOK(res1)) { | |
5103 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5104 | } | |
5105 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5106 | { | |
5107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5108 | result = (int)(arg1)->GetAlign(); | |
5109 | wxPyEndAllowThreads(__tstate); | |
5110 | if (PyErr_Occurred()) SWIG_fail; | |
5111 | } | |
5112 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5113 | return resultobj; | |
5114 | fail: | |
5115 | return NULL; | |
5116 | } | |
5117 | ||
5118 | ||
5119 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5120 | PyObject *resultobj = 0; | |
5121 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5122 | int arg2 ; | |
5123 | void *argp1 = 0 ; | |
5124 | int res1 = 0 ; | |
5125 | int val2 ; | |
5126 | int ecode2 = 0 ; | |
5127 | PyObject * obj0 = 0 ; | |
5128 | PyObject * obj1 = 0 ; | |
5129 | char * kwnames[] = { | |
5130 | (char *) "self",(char *) "a", NULL | |
5131 | }; | |
5132 | ||
5133 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail; | |
5134 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5135 | if (!SWIG_IsOK(res1)) { | |
5136 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5137 | } | |
5138 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5139 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5140 | if (!SWIG_IsOK(ecode2)) { | |
5141 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'"); | |
5142 | } | |
5143 | arg2 = static_cast< int >(val2); | |
5144 | { | |
5145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5146 | (arg1)->SetAlign(arg2); | |
5147 | wxPyEndAllowThreads(__tstate); | |
5148 | if (PyErr_Occurred()) SWIG_fail; | |
5149 | } | |
5150 | resultobj = SWIG_Py_Void(); | |
5151 | return resultobj; | |
5152 | fail: | |
5153 | return NULL; | |
d14a1e28 RD |
5154 | } |
5155 | ||
5156 | ||
554f62e9 RD |
5157 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5158 | PyObject *resultobj = 0; | |
5159 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5160 | wxColour result; | |
5161 | void *argp1 = 0 ; | |
5162 | int res1 = 0 ; | |
5163 | PyObject *swig_obj[1] ; | |
5164 | ||
5165 | if (!args) SWIG_fail; | |
5166 | swig_obj[0] = args; | |
5167 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5168 | if (!SWIG_IsOK(res1)) { | |
5169 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5170 | } | |
5171 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5172 | { | |
5173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5174 | result = (arg1)->GetLinkColor(); | |
5175 | wxPyEndAllowThreads(__tstate); | |
5176 | if (PyErr_Occurred()) SWIG_fail; | |
5177 | } | |
5178 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
5179 | return resultobj; | |
5180 | fail: | |
5181 | return NULL; | |
5182 | } | |
5183 | ||
5184 | ||
5185 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5186 | PyObject *resultobj = 0; | |
5187 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5188 | wxColour *arg2 = 0 ; | |
5189 | void *argp1 = 0 ; | |
5190 | int res1 = 0 ; | |
5191 | wxColour temp2 ; | |
5192 | PyObject * obj0 = 0 ; | |
5193 | PyObject * obj1 = 0 ; | |
5194 | char * kwnames[] = { | |
5195 | (char *) "self",(char *) "clr", NULL | |
5196 | }; | |
5197 | ||
5198 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) SWIG_fail; | |
5199 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5200 | if (!SWIG_IsOK(res1)) { | |
5201 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5202 | } | |
5203 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5204 | { | |
5205 | arg2 = &temp2; | |
5206 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5207 | } | |
5208 | { | |
5209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5210 | (arg1)->SetLinkColor((wxColour const &)*arg2); | |
5211 | wxPyEndAllowThreads(__tstate); | |
5212 | if (PyErr_Occurred()) SWIG_fail; | |
5213 | } | |
5214 | resultobj = SWIG_Py_Void(); | |
5215 | return resultobj; | |
5216 | fail: | |
5217 | return NULL; | |
d14a1e28 RD |
5218 | } |
5219 | ||
5220 | ||
554f62e9 RD |
5221 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5222 | PyObject *resultobj = 0; | |
5223 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5224 | wxColour result; | |
5225 | void *argp1 = 0 ; | |
5226 | int res1 = 0 ; | |
5227 | PyObject *swig_obj[1] ; | |
5228 | ||
5229 | if (!args) SWIG_fail; | |
5230 | swig_obj[0] = args; | |
5231 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5232 | if (!SWIG_IsOK(res1)) { | |
5233 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5234 | } | |
5235 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5236 | { | |
5237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5238 | result = (arg1)->GetActualColor(); | |
5239 | wxPyEndAllowThreads(__tstate); | |
5240 | if (PyErr_Occurred()) SWIG_fail; | |
5241 | } | |
5242 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
5243 | return resultobj; | |
5244 | fail: | |
5245 | return NULL; | |
5246 | } | |
5247 | ||
5248 | ||
5249 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5250 | PyObject *resultobj = 0; | |
5251 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5252 | wxColour *arg2 = 0 ; | |
5253 | void *argp1 = 0 ; | |
5254 | int res1 = 0 ; | |
5255 | wxColour temp2 ; | |
5256 | PyObject * obj0 = 0 ; | |
5257 | PyObject * obj1 = 0 ; | |
5258 | char * kwnames[] = { | |
5259 | (char *) "self",(char *) "clr", NULL | |
5260 | }; | |
5261 | ||
5262 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) SWIG_fail; | |
5263 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5264 | if (!SWIG_IsOK(res1)) { | |
5265 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5266 | } | |
5267 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5268 | { | |
5269 | arg2 = &temp2; | |
5270 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5271 | } | |
5272 | { | |
5273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5274 | (arg1)->SetActualColor((wxColour const &)*arg2); | |
5275 | wxPyEndAllowThreads(__tstate); | |
5276 | if (PyErr_Occurred()) SWIG_fail; | |
5277 | } | |
5278 | resultobj = SWIG_Py_Void(); | |
5279 | return resultobj; | |
5280 | fail: | |
5281 | return NULL; | |
5282 | } | |
5283 | ||
5284 | ||
5285 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5286 | PyObject *resultobj = 0; | |
5287 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5288 | wxString *arg2 = 0 ; | |
5289 | void *argp1 = 0 ; | |
5290 | int res1 = 0 ; | |
5291 | bool temp2 = false ; | |
5292 | PyObject * obj0 = 0 ; | |
5293 | PyObject * obj1 = 0 ; | |
5294 | char * kwnames[] = { | |
5295 | (char *) "self",(char *) "link", NULL | |
5296 | }; | |
5297 | ||
5298 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) SWIG_fail; | |
5299 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5300 | if (!SWIG_IsOK(res1)) { | |
5301 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5302 | } | |
5303 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5304 | { | |
5305 | arg2 = wxString_in_helper(obj1); | |
5306 | if (arg2 == NULL) SWIG_fail; | |
5307 | temp2 = true; | |
5308 | } | |
5309 | { | |
5310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5311 | (arg1)->SetLink((wxString const &)*arg2); | |
5312 | wxPyEndAllowThreads(__tstate); | |
5313 | if (PyErr_Occurred()) SWIG_fail; | |
5314 | } | |
5315 | resultobj = SWIG_Py_Void(); | |
5316 | { | |
5317 | if (temp2) | |
5318 | delete arg2; | |
5319 | } | |
5320 | return resultobj; | |
5321 | fail: | |
5322 | { | |
5323 | if (temp2) | |
5324 | delete arg2; | |
5325 | } | |
5326 | return NULL; | |
d14a1e28 RD |
5327 | } |
5328 | ||
5329 | ||
554f62e9 RD |
5330 | SWIGINTERN PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5331 | PyObject *resultobj = 0; | |
5332 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5333 | wxFont *result = 0 ; | |
5334 | void *argp1 = 0 ; | |
5335 | int res1 = 0 ; | |
5336 | PyObject *swig_obj[1] ; | |
5337 | ||
5338 | if (!args) SWIG_fail; | |
5339 | swig_obj[0] = args; | |
5340 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5341 | if (!SWIG_IsOK(res1)) { | |
5342 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5343 | } | |
5344 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5345 | { | |
5346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5347 | result = (wxFont *)(arg1)->CreateCurrentFont(); | |
5348 | wxPyEndAllowThreads(__tstate); | |
5349 | if (PyErr_Occurred()) SWIG_fail; | |
5350 | } | |
5351 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 ); | |
5352 | return resultobj; | |
5353 | fail: | |
5354 | return NULL; | |
d14a1e28 RD |
5355 | } |
5356 | ||
5357 | ||
554f62e9 RD |
5358 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5359 | PyObject *resultobj = 0; | |
5360 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5361 | SwigValueWrapper<wxHtmlLinkInfo > result; | |
5362 | void *argp1 = 0 ; | |
5363 | int res1 = 0 ; | |
5364 | PyObject *swig_obj[1] ; | |
5365 | ||
5366 | if (!args) SWIG_fail; | |
5367 | swig_obj[0] = args; | |
5368 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5369 | if (!SWIG_IsOK(res1)) { | |
5370 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5371 | } | |
5372 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5373 | { | |
5374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5375 | result = (arg1)->GetLink(); | |
5376 | wxPyEndAllowThreads(__tstate); | |
5377 | if (PyErr_Occurred()) SWIG_fail; | |
5378 | } | |
5379 | resultobj = SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo& >(result))), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_OWN | 0 ); | |
5380 | return resultobj; | |
5381 | fail: | |
5382 | return NULL; | |
d14a1e28 RD |
5383 | } |
5384 | ||
5385 | ||
554f62e9 RD |
5386 | SWIGINTERN PyObject *HtmlWinParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5387 | PyObject *obj; | |
5388 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5389 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser, SWIG_NewClientData(obj)); | |
5390 | return SWIG_Py_Void(); | |
d14a1e28 RD |
5391 | } |
5392 | ||
554f62e9 RD |
5393 | SWIGINTERN PyObject *HtmlWinParser_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5394 | return SWIG_Python_InitShadowInstance(args); | |
d14a1e28 RD |
5395 | } |
5396 | ||
554f62e9 RD |
5397 | SWIGINTERN PyObject *_wrap_new_HtmlTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5398 | PyObject *resultobj = 0; | |
5399 | wxPyHtmlTagHandler *result = 0 ; | |
5400 | ||
5401 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlTagHandler",0,0,0)) SWIG_fail; | |
5402 | { | |
5403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5404 | result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler(); | |
5405 | wxPyEndAllowThreads(__tstate); | |
5406 | if (PyErr_Occurred()) SWIG_fail; | |
5407 | } | |
5408 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_NEW | 0 ); | |
5409 | return resultobj; | |
5410 | fail: | |
5411 | return NULL; | |
5412 | } | |
5413 | ||
5414 | ||
5415 | SWIGINTERN PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5416 | PyObject *resultobj = 0; | |
5417 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5418 | PyObject *arg2 = (PyObject *) 0 ; | |
5419 | PyObject *arg3 = (PyObject *) 0 ; | |
5420 | void *argp1 = 0 ; | |
5421 | int res1 = 0 ; | |
5422 | PyObject * obj0 = 0 ; | |
5423 | PyObject * obj1 = 0 ; | |
5424 | PyObject * obj2 = 0 ; | |
5425 | char * kwnames[] = { | |
5426 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5427 | }; | |
5428 | ||
5429 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5430 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5431 | if (!SWIG_IsOK(res1)) { | |
5432 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5433 | } | |
5434 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5435 | arg2 = obj1; | |
5436 | arg3 = obj2; | |
5437 | { | |
5438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5439 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5440 | wxPyEndAllowThreads(__tstate); | |
5441 | if (PyErr_Occurred()) SWIG_fail; | |
5442 | } | |
5443 | resultobj = SWIG_Py_Void(); | |
5444 | return resultobj; | |
5445 | fail: | |
5446 | return NULL; | |
5447 | } | |
5448 | ||
5449 | ||
5450 | SWIGINTERN PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5451 | PyObject *resultobj = 0; | |
5452 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5453 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
5454 | void *argp1 = 0 ; | |
5455 | int res1 = 0 ; | |
5456 | void *argp2 = 0 ; | |
5457 | int res2 = 0 ; | |
5458 | PyObject * obj0 = 0 ; | |
5459 | PyObject * obj1 = 0 ; | |
5460 | char * kwnames[] = { | |
5461 | (char *) "self",(char *) "parser", NULL | |
5462 | }; | |
5463 | ||
5464 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail; | |
5465 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5466 | if (!SWIG_IsOK(res1)) { | |
5467 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5468 | } | |
5469 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5470 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
5471 | if (!SWIG_IsOK(res2)) { | |
5472 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'"); | |
5473 | } | |
5474 | arg2 = reinterpret_cast< wxHtmlParser * >(argp2); | |
5475 | { | |
5476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5477 | (arg1)->SetParser(arg2); | |
5478 | wxPyEndAllowThreads(__tstate); | |
5479 | if (PyErr_Occurred()) SWIG_fail; | |
5480 | } | |
5481 | resultobj = SWIG_Py_Void(); | |
5482 | return resultobj; | |
5483 | fail: | |
5484 | return NULL; | |
d14a1e28 RD |
5485 | } |
5486 | ||
5487 | ||
554f62e9 RD |
5488 | SWIGINTERN PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5489 | PyObject *resultobj = 0; | |
5490 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5491 | wxHtmlParser *result = 0 ; | |
5492 | void *argp1 = 0 ; | |
5493 | int res1 = 0 ; | |
5494 | PyObject *swig_obj[1] ; | |
5495 | ||
5496 | if (!args) SWIG_fail; | |
5497 | swig_obj[0] = args; | |
5498 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5499 | if (!SWIG_IsOK(res1)) { | |
5500 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5501 | } | |
5502 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5503 | { | |
5504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5505 | result = (wxHtmlParser *)(arg1)->GetParser(); | |
5506 | wxPyEndAllowThreads(__tstate); | |
5507 | if (PyErr_Occurred()) SWIG_fail; | |
5508 | } | |
5509 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
5510 | return resultobj; | |
5511 | fail: | |
5512 | return NULL; | |
5513 | } | |
5514 | ||
5515 | ||
5516 | SWIGINTERN PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5517 | PyObject *resultobj = 0; | |
5518 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5519 | wxHtmlTag *arg2 = 0 ; | |
5520 | void *argp1 = 0 ; | |
5521 | int res1 = 0 ; | |
5522 | void *argp2 = 0 ; | |
5523 | int res2 = 0 ; | |
5524 | PyObject * obj0 = 0 ; | |
5525 | PyObject * obj1 = 0 ; | |
5526 | char * kwnames[] = { | |
5527 | (char *) "self",(char *) "tag", NULL | |
5528 | }; | |
5529 | ||
5530 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail; | |
5531 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5532 | if (!SWIG_IsOK(res1)) { | |
5533 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5534 | } | |
5535 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5536 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
5537 | if (!SWIG_IsOK(res2)) { | |
5538 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5539 | } | |
5540 | if (!argp2) { | |
5541 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5542 | } | |
5543 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
5544 | { | |
5545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5546 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
5547 | wxPyEndAllowThreads(__tstate); | |
5548 | if (PyErr_Occurred()) SWIG_fail; | |
5549 | } | |
5550 | resultobj = SWIG_Py_Void(); | |
5551 | return resultobj; | |
5552 | fail: | |
5553 | return NULL; | |
d14a1e28 RD |
5554 | } |
5555 | ||
5556 | ||
554f62e9 RD |
5557 | SWIGINTERN PyObject *HtmlTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5558 | PyObject *obj; | |
5559 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5560 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_NewClientData(obj)); | |
5561 | return SWIG_Py_Void(); | |
d14a1e28 RD |
5562 | } |
5563 | ||
554f62e9 RD |
5564 | SWIGINTERN PyObject *HtmlTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5565 | return SWIG_Python_InitShadowInstance(args); | |
5566 | } | |
d14a1e28 | 5567 | |
554f62e9 RD |
5568 | SWIGINTERN PyObject *_wrap_new_HtmlWinTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5569 | PyObject *resultobj = 0; | |
5570 | wxPyHtmlWinTagHandler *result = 0 ; | |
5571 | ||
5572 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail; | |
5573 | { | |
5574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5575 | result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler(); | |
5576 | wxPyEndAllowThreads(__tstate); | |
5577 | if (PyErr_Occurred()) SWIG_fail; | |
5578 | } | |
5579 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_NEW | 0 ); | |
5580 | return resultobj; | |
5581 | fail: | |
5582 | return NULL; | |
5583 | } | |
5584 | ||
5585 | ||
5586 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5587 | PyObject *resultobj = 0; | |
5588 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5589 | PyObject *arg2 = (PyObject *) 0 ; | |
5590 | PyObject *arg3 = (PyObject *) 0 ; | |
5591 | void *argp1 = 0 ; | |
5592 | int res1 = 0 ; | |
5593 | PyObject * obj0 = 0 ; | |
5594 | PyObject * obj1 = 0 ; | |
5595 | PyObject * obj2 = 0 ; | |
5596 | char * kwnames[] = { | |
5597 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5598 | }; | |
5599 | ||
5600 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5601 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5602 | if (!SWIG_IsOK(res1)) { | |
5603 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5604 | } | |
5605 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5606 | arg2 = obj1; | |
5607 | arg3 = obj2; | |
5608 | { | |
5609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5610 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5611 | wxPyEndAllowThreads(__tstate); | |
5612 | if (PyErr_Occurred()) SWIG_fail; | |
5613 | } | |
5614 | resultobj = SWIG_Py_Void(); | |
5615 | return resultobj; | |
5616 | fail: | |
5617 | return NULL; | |
5618 | } | |
5619 | ||
5620 | ||
5621 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5622 | PyObject *resultobj = 0; | |
5623 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5624 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
5625 | void *argp1 = 0 ; | |
5626 | int res1 = 0 ; | |
5627 | void *argp2 = 0 ; | |
5628 | int res2 = 0 ; | |
5629 | PyObject * obj0 = 0 ; | |
5630 | PyObject * obj1 = 0 ; | |
5631 | char * kwnames[] = { | |
5632 | (char *) "self",(char *) "parser", NULL | |
5633 | }; | |
5634 | ||
5635 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail; | |
5636 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5637 | if (!SWIG_IsOK(res1)) { | |
5638 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5639 | } | |
5640 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5641 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
5642 | if (!SWIG_IsOK(res2)) { | |
5643 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'"); | |
5644 | } | |
5645 | arg2 = reinterpret_cast< wxHtmlParser * >(argp2); | |
5646 | { | |
5647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5648 | (arg1)->SetParser(arg2); | |
5649 | wxPyEndAllowThreads(__tstate); | |
5650 | if (PyErr_Occurred()) SWIG_fail; | |
5651 | } | |
5652 | resultobj = SWIG_Py_Void(); | |
5653 | return resultobj; | |
5654 | fail: | |
5655 | return NULL; | |
d14a1e28 RD |
5656 | } |
5657 | ||
5658 | ||
554f62e9 RD |
5659 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5660 | PyObject *resultobj = 0; | |
5661 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5662 | wxHtmlWinParser *result = 0 ; | |
5663 | void *argp1 = 0 ; | |
5664 | int res1 = 0 ; | |
5665 | PyObject *swig_obj[1] ; | |
5666 | ||
5667 | if (!args) SWIG_fail; | |
5668 | swig_obj[0] = args; | |
5669 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5670 | if (!SWIG_IsOK(res1)) { | |
5671 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5672 | } | |
5673 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5674 | { | |
5675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5676 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
5677 | wxPyEndAllowThreads(__tstate); | |
5678 | if (PyErr_Occurred()) SWIG_fail; | |
5679 | } | |
5680 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5681 | return resultobj; | |
5682 | fail: | |
5683 | return NULL; | |
5684 | } | |
5685 | ||
5686 | ||
5687 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5688 | PyObject *resultobj = 0; | |
5689 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5690 | wxHtmlTag *arg2 = 0 ; | |
5691 | void *argp1 = 0 ; | |
5692 | int res1 = 0 ; | |
5693 | void *argp2 = 0 ; | |
5694 | int res2 = 0 ; | |
5695 | PyObject * obj0 = 0 ; | |
5696 | PyObject * obj1 = 0 ; | |
5697 | char * kwnames[] = { | |
5698 | (char *) "self",(char *) "tag", NULL | |
5699 | }; | |
5700 | ||
5701 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail; | |
5702 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5703 | if (!SWIG_IsOK(res1)) { | |
5704 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5705 | } | |
5706 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5707 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
5708 | if (!SWIG_IsOK(res2)) { | |
5709 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5710 | } | |
5711 | if (!argp2) { | |
5712 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5713 | } | |
5714 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
5715 | { | |
5716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5717 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
5718 | wxPyEndAllowThreads(__tstate); | |
5719 | if (PyErr_Occurred()) SWIG_fail; | |
5720 | } | |
5721 | resultobj = SWIG_Py_Void(); | |
5722 | return resultobj; | |
5723 | fail: | |
5724 | return NULL; | |
d14a1e28 RD |
5725 | } |
5726 | ||
5727 | ||
554f62e9 RD |
5728 | SWIGINTERN PyObject *HtmlWinTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5729 | PyObject *obj; | |
5730 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5731 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_NewClientData(obj)); | |
5732 | return SWIG_Py_Void(); | |
d14a1e28 RD |
5733 | } |
5734 | ||
554f62e9 RD |
5735 | SWIGINTERN PyObject *HtmlWinTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5736 | return SWIG_Python_InitShadowInstance(args); | |
5737 | } | |
d14a1e28 | 5738 | |
554f62e9 RD |
5739 | SWIGINTERN PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5740 | PyObject *resultobj = 0; | |
5741 | PyObject *arg1 = (PyObject *) 0 ; | |
5742 | PyObject * obj0 = 0 ; | |
5743 | char * kwnames[] = { | |
5744 | (char *) "tagHandlerClass", NULL | |
5745 | }; | |
5746 | ||
5747 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) SWIG_fail; | |
5748 | arg1 = obj0; | |
5749 | { | |
5750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5751 | wxHtmlWinParser_AddTagHandler(arg1); | |
5752 | wxPyEndAllowThreads(__tstate); | |
5753 | if (PyErr_Occurred()) SWIG_fail; | |
5754 | } | |
5755 | resultobj = SWIG_Py_Void(); | |
5756 | return resultobj; | |
5757 | fail: | |
5758 | return NULL; | |
d14a1e28 RD |
5759 | } |
5760 | ||
5761 | ||
554f62e9 RD |
5762 | SWIGINTERN PyObject *_wrap_new_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5763 | PyObject *resultobj = 0; | |
5764 | wxHtmlSelection *result = 0 ; | |
5765 | ||
5766 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlSelection",0,0,0)) SWIG_fail; | |
5767 | { | |
5768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5769 | result = (wxHtmlSelection *)new wxHtmlSelection(); | |
5770 | wxPyEndAllowThreads(__tstate); | |
5771 | if (PyErr_Occurred()) SWIG_fail; | |
5772 | } | |
5773 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_NEW | 0 ); | |
5774 | return resultobj; | |
5775 | fail: | |
5776 | return NULL; | |
d14a1e28 RD |
5777 | } |
5778 | ||
5779 | ||
554f62e9 RD |
5780 | SWIGINTERN PyObject *_wrap_delete_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5781 | PyObject *resultobj = 0; | |
5782 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5783 | void *argp1 = 0 ; | |
5784 | int res1 = 0 ; | |
5785 | PyObject *swig_obj[1] ; | |
5786 | ||
5787 | if (!args) SWIG_fail; | |
5788 | swig_obj[0] = args; | |
5789 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_DISOWN | 0 ); | |
5790 | if (!SWIG_IsOK(res1)) { | |
5791 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
5792 | } | |
5793 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5794 | { | |
5795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5796 | delete arg1; | |
d14a1e28 | 5797 | |
554f62e9 RD |
5798 | wxPyEndAllowThreads(__tstate); |
5799 | if (PyErr_Occurred()) SWIG_fail; | |
5800 | } | |
5801 | resultobj = SWIG_Py_Void(); | |
5802 | return resultobj; | |
5803 | fail: | |
5804 | return NULL; | |
5805 | } | |
5806 | ||
5807 | ||
5808 | SWIGINTERN PyObject *_wrap_HtmlSelection_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5809 | PyObject *resultobj = 0; | |
5810 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5811 | wxPoint *arg2 = 0 ; | |
5812 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
5813 | wxPoint *arg4 = 0 ; | |
5814 | wxHtmlCell *arg5 = (wxHtmlCell *) 0 ; | |
5815 | void *argp1 = 0 ; | |
5816 | int res1 = 0 ; | |
5817 | wxPoint temp2 ; | |
5818 | void *argp3 = 0 ; | |
5819 | int res3 = 0 ; | |
5820 | wxPoint temp4 ; | |
5821 | void *argp5 = 0 ; | |
5822 | int res5 = 0 ; | |
5823 | PyObject * obj0 = 0 ; | |
5824 | PyObject * obj1 = 0 ; | |
5825 | PyObject * obj2 = 0 ; | |
5826 | PyObject * obj3 = 0 ; | |
5827 | PyObject * obj4 = 0 ; | |
5828 | char * kwnames[] = { | |
5829 | (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL | |
5830 | }; | |
5831 | ||
5832 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
5833 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5834 | if (!SWIG_IsOK(res1)) { | |
5835 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
5836 | } | |
5837 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5838 | { | |
5839 | arg2 = &temp2; | |
5840 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
5841 | } | |
5842 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5843 | if (!SWIG_IsOK(res3)) { | |
5844 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'"); | |
5845 | } | |
5846 | arg3 = reinterpret_cast< wxHtmlCell * >(argp3); | |
5847 | { | |
5848 | arg4 = &temp4; | |
5849 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5850 | } | |
5851 | res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5852 | if (!SWIG_IsOK(res5)) { | |
5853 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'"); | |
5854 | } | |
5855 | arg5 = reinterpret_cast< wxHtmlCell * >(argp5); | |
5856 | { | |
5857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5858 | (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5); | |
5859 | wxPyEndAllowThreads(__tstate); | |
5860 | if (PyErr_Occurred()) SWIG_fail; | |
5861 | } | |
5862 | resultobj = SWIG_Py_Void(); | |
5863 | return resultobj; | |
5864 | fail: | |
5865 | return NULL; | |
5866 | } | |
5867 | ||
5868 | ||
5869 | SWIGINTERN PyObject *_wrap_HtmlSelection_SetCells(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5870 | PyObject *resultobj = 0; | |
5871 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5872 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
5873 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
5874 | void *argp1 = 0 ; | |
5875 | int res1 = 0 ; | |
5876 | void *argp2 = 0 ; | |
5877 | int res2 = 0 ; | |
5878 | void *argp3 = 0 ; | |
5879 | int res3 = 0 ; | |
5880 | PyObject * obj0 = 0 ; | |
5881 | PyObject * obj1 = 0 ; | |
5882 | PyObject * obj2 = 0 ; | |
5883 | char * kwnames[] = { | |
5884 | (char *) "self",(char *) "fromCell",(char *) "toCell", NULL | |
5885 | }; | |
5886 | ||
5887 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5888 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5889 | if (!SWIG_IsOK(res1)) { | |
5890 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
5891 | } | |
5892 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5893 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5894 | if (!SWIG_IsOK(res2)) { | |
5895 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'"); | |
5896 | } | |
5897 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
5898 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5899 | if (!SWIG_IsOK(res3)) { | |
5900 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'"); | |
5901 | } | |
5902 | arg3 = reinterpret_cast< wxHtmlCell * >(argp3); | |
5903 | { | |
5904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5905 | (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3); | |
5906 | wxPyEndAllowThreads(__tstate); | |
5907 | if (PyErr_Occurred()) SWIG_fail; | |
5908 | } | |
5909 | resultobj = SWIG_Py_Void(); | |
5910 | return resultobj; | |
5911 | fail: | |
5912 | return NULL; | |
d14a1e28 RD |
5913 | } |
5914 | ||
5915 | ||
554f62e9 RD |
5916 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5917 | PyObject *resultobj = 0; | |
5918 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5919 | wxHtmlCell *result = 0 ; | |
5920 | void *argp1 = 0 ; | |
5921 | int res1 = 0 ; | |
5922 | PyObject *swig_obj[1] ; | |
5923 | ||
5924 | if (!args) SWIG_fail; | |
5925 | swig_obj[0] = args; | |
5926 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5927 | if (!SWIG_IsOK(res1)) { | |
5928 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5929 | } | |
5930 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5931 | { | |
5932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5933 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell(); | |
5934 | wxPyEndAllowThreads(__tstate); | |
5935 | if (PyErr_Occurred()) SWIG_fail; | |
5936 | } | |
5937 | { | |
5938 | resultobj = wxPyMake_wxObject(result, 0); | |
5939 | } | |
5940 | return resultobj; | |
5941 | fail: | |
5942 | return NULL; | |
d14a1e28 RD |
5943 | } |
5944 | ||
5945 | ||
554f62e9 RD |
5946 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetToCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5947 | PyObject *resultobj = 0; | |
5948 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5949 | wxHtmlCell *result = 0 ; | |
5950 | void *argp1 = 0 ; | |
5951 | int res1 = 0 ; | |
5952 | PyObject *swig_obj[1] ; | |
5953 | ||
5954 | if (!args) SWIG_fail; | |
5955 | swig_obj[0] = args; | |
5956 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5957 | if (!SWIG_IsOK(res1)) { | |
5958 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5959 | } | |
5960 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5961 | { | |
5962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5963 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell(); | |
5964 | wxPyEndAllowThreads(__tstate); | |
5965 | if (PyErr_Occurred()) SWIG_fail; | |
5966 | } | |
5967 | { | |
5968 | resultobj = wxPyMake_wxObject(result, 0); | |
5969 | } | |
5970 | return resultobj; | |
5971 | fail: | |
5972 | return NULL; | |
d14a1e28 RD |
5973 | } |
5974 | ||
5975 | ||
554f62e9 RD |
5976 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5977 | PyObject *resultobj = 0; | |
5978 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5979 | wxPoint *result = 0 ; | |
5980 | void *argp1 = 0 ; | |
5981 | int res1 = 0 ; | |
5982 | PyObject *swig_obj[1] ; | |
5983 | ||
5984 | if (!args) SWIG_fail; | |
5985 | swig_obj[0] = args; | |
5986 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5987 | if (!SWIG_IsOK(res1)) { | |
5988 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5989 | } | |
5990 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5991 | { | |
5992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 5993 | { |
554f62e9 RD |
5994 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos(); |
5995 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 5996 | } |
554f62e9 RD |
5997 | wxPyEndAllowThreads(__tstate); |
5998 | if (PyErr_Occurred()) SWIG_fail; | |
5999 | } | |
6000 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6001 | return resultobj; | |
6002 | fail: | |
6003 | return NULL; | |
d14a1e28 RD |
6004 | } |
6005 | ||
6006 | ||
554f62e9 RD |
6007 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6008 | PyObject *resultobj = 0; | |
6009 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6010 | wxPoint *result = 0 ; | |
6011 | void *argp1 = 0 ; | |
6012 | int res1 = 0 ; | |
6013 | PyObject *swig_obj[1] ; | |
6014 | ||
6015 | if (!args) SWIG_fail; | |
6016 | swig_obj[0] = args; | |
6017 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6018 | if (!SWIG_IsOK(res1)) { | |
6019 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
6020 | } | |
6021 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6022 | { | |
6023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6024 | { |
554f62e9 RD |
6025 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos(); |
6026 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 6027 | } |
554f62e9 RD |
6028 | wxPyEndAllowThreads(__tstate); |
6029 | if (PyErr_Occurred()) SWIG_fail; | |
6030 | } | |
6031 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6032 | return resultobj; | |
6033 | fail: | |
6034 | return NULL; | |
d14a1e28 RD |
6035 | } |
6036 | ||
6037 | ||
554f62e9 RD |
6038 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6039 | PyObject *resultobj = 0; | |
6040 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6041 | wxPoint *result = 0 ; | |
6042 | void *argp1 = 0 ; | |
6043 | int res1 = 0 ; | |
6044 | PyObject *swig_obj[1] ; | |
6045 | ||
6046 | if (!args) SWIG_fail; | |
6047 | swig_obj[0] = args; | |
6048 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6049 | if (!SWIG_IsOK(res1)) { | |
6050 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
6051 | } | |
6052 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6053 | { | |
6054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6055 | { |
554f62e9 RD |
6056 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos(); |
6057 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 6058 | } |
554f62e9 RD |
6059 | wxPyEndAllowThreads(__tstate); |
6060 | if (PyErr_Occurred()) SWIG_fail; | |
6061 | } | |
6062 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6063 | return resultobj; | |
6064 | fail: | |
6065 | return NULL; | |
d14a1e28 RD |
6066 | } |
6067 | ||
6068 | ||
554f62e9 RD |
6069 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6070 | PyObject *resultobj = 0; | |
6071 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6072 | wxPoint *result = 0 ; | |
6073 | void *argp1 = 0 ; | |
6074 | int res1 = 0 ; | |
6075 | PyObject *swig_obj[1] ; | |
6076 | ||
6077 | if (!args) SWIG_fail; | |
6078 | swig_obj[0] = args; | |
6079 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6080 | if (!SWIG_IsOK(res1)) { | |
6081 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
6082 | } | |
6083 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6084 | { | |
6085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6086 | { |
554f62e9 RD |
6087 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos(); |
6088 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 6089 | } |
554f62e9 RD |
6090 | wxPyEndAllowThreads(__tstate); |
6091 | if (PyErr_Occurred()) SWIG_fail; | |
6092 | } | |
6093 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6094 | return resultobj; | |
6095 | fail: | |
6096 | return NULL; | |
6097 | } | |
6098 | ||
6099 | ||
6100 | SWIGINTERN PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6101 | PyObject *resultobj = 0; | |
6102 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6103 | wxPoint *arg2 = 0 ; | |
6104 | void *argp1 = 0 ; | |
6105 | int res1 = 0 ; | |
6106 | wxPoint temp2 ; | |
6107 | PyObject * obj0 = 0 ; | |
6108 | PyObject * obj1 = 0 ; | |
6109 | char * kwnames[] = { | |
6110 | (char *) "self",(char *) "pos", NULL | |
6111 | }; | |
6112 | ||
6113 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) SWIG_fail; | |
6114 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6115 | if (!SWIG_IsOK(res1)) { | |
6116 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
6117 | } | |
6118 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6119 | { | |
6120 | arg2 = &temp2; | |
6121 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
6122 | } | |
6123 | { | |
6124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6125 | (arg1)->SetFromPrivPos((wxPoint const &)*arg2); | |
6126 | wxPyEndAllowThreads(__tstate); | |
6127 | if (PyErr_Occurred()) SWIG_fail; | |
6128 | } | |
6129 | resultobj = SWIG_Py_Void(); | |
6130 | return resultobj; | |
6131 | fail: | |
6132 | return NULL; | |
6133 | } | |
6134 | ||
6135 | ||
6136 | SWIGINTERN PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6137 | PyObject *resultobj = 0; | |
6138 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6139 | wxPoint *arg2 = 0 ; | |
6140 | void *argp1 = 0 ; | |
6141 | int res1 = 0 ; | |
6142 | wxPoint temp2 ; | |
6143 | PyObject * obj0 = 0 ; | |
6144 | PyObject * obj1 = 0 ; | |
6145 | char * kwnames[] = { | |
6146 | (char *) "self",(char *) "pos", NULL | |
6147 | }; | |
6148 | ||
6149 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) SWIG_fail; | |
6150 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6151 | if (!SWIG_IsOK(res1)) { | |
6152 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
6153 | } | |
6154 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6155 | { | |
6156 | arg2 = &temp2; | |
6157 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
6158 | } | |
6159 | { | |
6160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6161 | (arg1)->SetToPrivPos((wxPoint const &)*arg2); | |
6162 | wxPyEndAllowThreads(__tstate); | |
6163 | if (PyErr_Occurred()) SWIG_fail; | |
6164 | } | |
6165 | resultobj = SWIG_Py_Void(); | |
6166 | return resultobj; | |
6167 | fail: | |
6168 | return NULL; | |
d14a1e28 RD |
6169 | } |
6170 | ||
6171 | ||
554f62e9 RD |
6172 | SWIGINTERN PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6173 | PyObject *resultobj = 0; | |
6174 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6175 | void *argp1 = 0 ; | |
6176 | int res1 = 0 ; | |
6177 | PyObject *swig_obj[1] ; | |
6178 | ||
6179 | if (!args) SWIG_fail; | |
6180 | swig_obj[0] = args; | |
6181 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6182 | if (!SWIG_IsOK(res1)) { | |
6183 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
6184 | } | |
6185 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6186 | { | |
6187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6188 | (arg1)->ClearPrivPos(); | |
6189 | wxPyEndAllowThreads(__tstate); | |
6190 | if (PyErr_Occurred()) SWIG_fail; | |
6191 | } | |
6192 | resultobj = SWIG_Py_Void(); | |
6193 | return resultobj; | |
6194 | fail: | |
6195 | return NULL; | |
d14a1e28 RD |
6196 | } |
6197 | ||
6198 | ||
554f62e9 RD |
6199 | SWIGINTERN PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6200 | PyObject *resultobj = 0; | |
6201 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6202 | bool result; | |
6203 | void *argp1 = 0 ; | |
6204 | int res1 = 0 ; | |
6205 | PyObject *swig_obj[1] ; | |
6206 | ||
6207 | if (!args) SWIG_fail; | |
6208 | swig_obj[0] = args; | |
6209 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6210 | if (!SWIG_IsOK(res1)) { | |
6211 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
6212 | } | |
6213 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6214 | { | |
6215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6216 | result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty(); | |
6217 | wxPyEndAllowThreads(__tstate); | |
6218 | if (PyErr_Occurred()) SWIG_fail; | |
6219 | } | |
6220 | resultobj = SWIG_From_bool(static_cast< bool >(result)); | |
6221 | return resultobj; | |
6222 | fail: | |
6223 | return NULL; | |
d14a1e28 RD |
6224 | } |
6225 | ||
6226 | ||
554f62e9 RD |
6227 | SWIGINTERN PyObject *HtmlSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6228 | PyObject *obj; | |
6229 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6230 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection, SWIG_NewClientData(obj)); | |
6231 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6232 | } |
6233 | ||
554f62e9 RD |
6234 | SWIGINTERN PyObject *HtmlSelection_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6235 | return SWIG_Python_InitShadowInstance(args); | |
6236 | } | |
d14a1e28 | 6237 | |
554f62e9 RD |
6238 | SWIGINTERN PyObject *_wrap_new_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6239 | PyObject *resultobj = 0; | |
6240 | wxHtmlRenderingState *result = 0 ; | |
6241 | ||
6242 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingState",0,0,0)) SWIG_fail; | |
6243 | { | |
6244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6245 | result = (wxHtmlRenderingState *)new wxHtmlRenderingState(); | |
6246 | wxPyEndAllowThreads(__tstate); | |
6247 | if (PyErr_Occurred()) SWIG_fail; | |
6248 | } | |
6249 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_NEW | 0 ); | |
6250 | return resultobj; | |
6251 | fail: | |
6252 | return NULL; | |
d14a1e28 RD |
6253 | } |
6254 | ||
6255 | ||
554f62e9 RD |
6256 | SWIGINTERN PyObject *_wrap_delete_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6257 | PyObject *resultobj = 0; | |
6258 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6259 | void *argp1 = 0 ; | |
6260 | int res1 = 0 ; | |
6261 | PyObject *swig_obj[1] ; | |
6262 | ||
6263 | if (!args) SWIG_fail; | |
6264 | swig_obj[0] = args; | |
6265 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_DISOWN | 0 ); | |
6266 | if (!SWIG_IsOK(res1)) { | |
6267 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6268 | } | |
6269 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6270 | { | |
6271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6272 | delete arg1; | |
d14a1e28 | 6273 | |
554f62e9 RD |
6274 | wxPyEndAllowThreads(__tstate); |
6275 | if (PyErr_Occurred()) SWIG_fail; | |
6276 | } | |
6277 | resultobj = SWIG_Py_Void(); | |
6278 | return resultobj; | |
6279 | fail: | |
6280 | return NULL; | |
6281 | } | |
6282 | ||
6283 | ||
6284 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6285 | PyObject *resultobj = 0; | |
6286 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6287 | wxHtmlSelectionState arg2 ; | |
6288 | void *argp1 = 0 ; | |
6289 | int res1 = 0 ; | |
6290 | int val2 ; | |
6291 | int ecode2 = 0 ; | |
6292 | PyObject * obj0 = 0 ; | |
6293 | PyObject * obj1 = 0 ; | |
6294 | char * kwnames[] = { | |
6295 | (char *) "self",(char *) "s", NULL | |
6296 | }; | |
6297 | ||
6298 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) SWIG_fail; | |
6299 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6300 | if (!SWIG_IsOK(res1)) { | |
6301 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6302 | } | |
6303 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6304 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
6305 | if (!SWIG_IsOK(ecode2)) { | |
6306 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'"); | |
6307 | } | |
6308 | arg2 = static_cast< wxHtmlSelectionState >(val2); | |
6309 | { | |
6310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6311 | (arg1)->SetSelectionState(arg2); | |
6312 | wxPyEndAllowThreads(__tstate); | |
6313 | if (PyErr_Occurred()) SWIG_fail; | |
6314 | } | |
6315 | resultobj = SWIG_Py_Void(); | |
6316 | return resultobj; | |
6317 | fail: | |
6318 | return NULL; | |
d14a1e28 RD |
6319 | } |
6320 | ||
6321 | ||
554f62e9 RD |
6322 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6323 | PyObject *resultobj = 0; | |
6324 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6325 | wxHtmlSelectionState result; | |
6326 | void *argp1 = 0 ; | |
6327 | int res1 = 0 ; | |
6328 | PyObject *swig_obj[1] ; | |
6329 | ||
6330 | if (!args) SWIG_fail; | |
6331 | swig_obj[0] = args; | |
6332 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6333 | if (!SWIG_IsOK(res1)) { | |
6334 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); | |
6335 | } | |
6336 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6337 | { | |
6338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6339 | result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState(); | |
6340 | wxPyEndAllowThreads(__tstate); | |
6341 | if (PyErr_Occurred()) SWIG_fail; | |
6342 | } | |
6343 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6344 | return resultobj; | |
6345 | fail: | |
6346 | return NULL; | |
6347 | } | |
6348 | ||
6349 | ||
6350 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6351 | PyObject *resultobj = 0; | |
6352 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6353 | wxColour *arg2 = 0 ; | |
6354 | void *argp1 = 0 ; | |
6355 | int res1 = 0 ; | |
6356 | wxColour temp2 ; | |
6357 | PyObject * obj0 = 0 ; | |
6358 | PyObject * obj1 = 0 ; | |
6359 | char * kwnames[] = { | |
6360 | (char *) "self",(char *) "c", NULL | |
6361 | }; | |
6362 | ||
6363 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6364 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6365 | if (!SWIG_IsOK(res1)) { | |
6366 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6367 | } | |
6368 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6369 | { | |
6370 | arg2 = &temp2; | |
6371 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6372 | } | |
6373 | { | |
6374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6375 | (arg1)->SetFgColour((wxColour const &)*arg2); | |
6376 | wxPyEndAllowThreads(__tstate); | |
6377 | if (PyErr_Occurred()) SWIG_fail; | |
6378 | } | |
6379 | resultobj = SWIG_Py_Void(); | |
6380 | return resultobj; | |
6381 | fail: | |
6382 | return NULL; | |
d14a1e28 RD |
6383 | } |
6384 | ||
6385 | ||
554f62e9 RD |
6386 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6387 | PyObject *resultobj = 0; | |
6388 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6389 | wxColour *result = 0 ; | |
6390 | void *argp1 = 0 ; | |
6391 | int res1 = 0 ; | |
6392 | PyObject *swig_obj[1] ; | |
6393 | ||
6394 | if (!args) SWIG_fail; | |
6395 | swig_obj[0] = args; | |
6396 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6397 | if (!SWIG_IsOK(res1)) { | |
6398 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); | |
6399 | } | |
6400 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6401 | { | |
6402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6403 | { |
554f62e9 RD |
6404 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour(); |
6405 | result = (wxColour *) &_result_ref; | |
d14a1e28 | 6406 | } |
554f62e9 RD |
6407 | wxPyEndAllowThreads(__tstate); |
6408 | if (PyErr_Occurred()) SWIG_fail; | |
6409 | } | |
6410 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); | |
6411 | return resultobj; | |
6412 | fail: | |
6413 | return NULL; | |
6414 | } | |
6415 | ||
6416 | ||
6417 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6418 | PyObject *resultobj = 0; | |
6419 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6420 | wxColour *arg2 = 0 ; | |
6421 | void *argp1 = 0 ; | |
6422 | int res1 = 0 ; | |
6423 | wxColour temp2 ; | |
6424 | PyObject * obj0 = 0 ; | |
6425 | PyObject * obj1 = 0 ; | |
6426 | char * kwnames[] = { | |
6427 | (char *) "self",(char *) "c", NULL | |
6428 | }; | |
6429 | ||
6430 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6431 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6432 | if (!SWIG_IsOK(res1)) { | |
6433 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6434 | } | |
6435 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6436 | { | |
6437 | arg2 = &temp2; | |
6438 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6439 | } | |
6440 | { | |
6441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6442 | (arg1)->SetBgColour((wxColour const &)*arg2); | |
6443 | wxPyEndAllowThreads(__tstate); | |
6444 | if (PyErr_Occurred()) SWIG_fail; | |
6445 | } | |
6446 | resultobj = SWIG_Py_Void(); | |
6447 | return resultobj; | |
6448 | fail: | |
6449 | return NULL; | |
d14a1e28 RD |
6450 | } |
6451 | ||
6452 | ||
554f62e9 RD |
6453 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6454 | PyObject *resultobj = 0; | |
6455 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6456 | wxColour *result = 0 ; | |
6457 | void *argp1 = 0 ; | |
6458 | int res1 = 0 ; | |
6459 | PyObject *swig_obj[1] ; | |
6460 | ||
6461 | if (!args) SWIG_fail; | |
6462 | swig_obj[0] = args; | |
6463 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6464 | if (!SWIG_IsOK(res1)) { | |
6465 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); | |
6466 | } | |
6467 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6468 | { | |
6469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6470 | { |
554f62e9 RD |
6471 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour(); |
6472 | result = (wxColour *) &_result_ref; | |
d14a1e28 | 6473 | } |
554f62e9 RD |
6474 | wxPyEndAllowThreads(__tstate); |
6475 | if (PyErr_Occurred()) SWIG_fail; | |
6476 | } | |
6477 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); | |
6478 | return resultobj; | |
6479 | fail: | |
6480 | return NULL; | |
d14a1e28 RD |
6481 | } |
6482 | ||
6483 | ||
554f62e9 RD |
6484 | SWIGINTERN PyObject *HtmlRenderingState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6485 | PyObject *obj; | |
6486 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6487 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState, SWIG_NewClientData(obj)); | |
6488 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6489 | } |
6490 | ||
554f62e9 RD |
6491 | SWIGINTERN PyObject *HtmlRenderingState_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6492 | return SWIG_Python_InitShadowInstance(args); | |
d14a1e28 RD |
6493 | } |
6494 | ||
554f62e9 RD |
6495 | SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
6496 | PyObject *resultobj = 0; | |
6497 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
6498 | wxColour *arg2 = 0 ; | |
6499 | wxColour result; | |
6500 | void *argp1 = 0 ; | |
6501 | int res1 = 0 ; | |
6502 | wxColour temp2 ; | |
6503 | PyObject * obj0 = 0 ; | |
6504 | PyObject * obj1 = 0 ; | |
6505 | char * kwnames[] = { | |
6506 | (char *) "self",(char *) "clr", NULL | |
6507 | }; | |
6508 | ||
6509 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6510 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6511 | if (!SWIG_IsOK(res1)) { | |
6512 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'"); | |
6513 | } | |
6514 | arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1); | |
6515 | { | |
6516 | arg2 = &temp2; | |
6517 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6518 | } | |
6519 | { | |
6520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6521 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
6522 | wxPyEndAllowThreads(__tstate); | |
6523 | if (PyErr_Occurred()) SWIG_fail; | |
6524 | } | |
6525 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
6526 | return resultobj; | |
6527 | fail: | |
6528 | return NULL; | |
6529 | } | |
6530 | ||
6531 | ||
6532 | SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6533 | PyObject *resultobj = 0; | |
6534 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
6535 | wxColour *arg2 = 0 ; | |
6536 | wxColour result; | |
6537 | void *argp1 = 0 ; | |
6538 | int res1 = 0 ; | |
6539 | wxColour temp2 ; | |
6540 | PyObject * obj0 = 0 ; | |
6541 | PyObject * obj1 = 0 ; | |
6542 | char * kwnames[] = { | |
6543 | (char *) "self",(char *) "clr", NULL | |
6544 | }; | |
6545 | ||
6546 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6547 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6548 | if (!SWIG_IsOK(res1)) { | |
6549 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'"); | |
6550 | } | |
6551 | arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1); | |
6552 | { | |
6553 | arg2 = &temp2; | |
6554 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6555 | } | |
6556 | { | |
6557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6558 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
6559 | wxPyEndAllowThreads(__tstate); | |
6560 | if (PyErr_Occurred()) SWIG_fail; | |
6561 | } | |
6562 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
6563 | return resultobj; | |
6564 | fail: | |
6565 | return NULL; | |
d14a1e28 RD |
6566 | } |
6567 | ||
6568 | ||
554f62e9 RD |
6569 | SWIGINTERN PyObject *HtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6570 | PyObject *obj; | |
6571 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6572 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_NewClientData(obj)); | |
6573 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6574 | } |
6575 | ||
554f62e9 RD |
6576 | SWIGINTERN PyObject *DefaultHtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6577 | PyObject *obj; | |
6578 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6579 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_NewClientData(obj)); | |
6580 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6581 | } |
6582 | ||
554f62e9 RD |
6583 | SWIGINTERN PyObject *_wrap_new_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6584 | PyObject *resultobj = 0; | |
6585 | wxHtmlRenderingInfo *result = 0 ; | |
6586 | ||
6587 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail; | |
6588 | { | |
6589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6590 | result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo(); | |
6591 | wxPyEndAllowThreads(__tstate); | |
6592 | if (PyErr_Occurred()) SWIG_fail; | |
6593 | } | |
6594 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_NEW | 0 ); | |
6595 | return resultobj; | |
6596 | fail: | |
6597 | return NULL; | |
d14a1e28 RD |
6598 | } |
6599 | ||
6600 | ||
554f62e9 RD |
6601 | SWIGINTERN PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6602 | PyObject *resultobj = 0; | |
6603 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6604 | void *argp1 = 0 ; | |
6605 | int res1 = 0 ; | |
6606 | PyObject *swig_obj[1] ; | |
6607 | ||
6608 | if (!args) SWIG_fail; | |
6609 | swig_obj[0] = args; | |
6610 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_DISOWN | 0 ); | |
6611 | if (!SWIG_IsOK(res1)) { | |
6612 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6613 | } | |
6614 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6615 | { | |
6616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6617 | delete arg1; | |
d14a1e28 | 6618 | |
554f62e9 RD |
6619 | wxPyEndAllowThreads(__tstate); |
6620 | if (PyErr_Occurred()) SWIG_fail; | |
6621 | } | |
6622 | resultobj = SWIG_Py_Void(); | |
6623 | return resultobj; | |
6624 | fail: | |
6625 | return NULL; | |
6626 | } | |
6627 | ||
6628 | ||
6629 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6630 | PyObject *resultobj = 0; | |
6631 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6632 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
6633 | void *argp1 = 0 ; | |
6634 | int res1 = 0 ; | |
6635 | void *argp2 = 0 ; | |
6636 | int res2 = 0 ; | |
6637 | PyObject * obj0 = 0 ; | |
6638 | PyObject * obj1 = 0 ; | |
6639 | char * kwnames[] = { | |
6640 | (char *) "self",(char *) "s", NULL | |
6641 | }; | |
6642 | ||
6643 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
6644 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6645 | if (!SWIG_IsOK(res1)) { | |
6646 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6647 | } | |
6648 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6649 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6650 | if (!SWIG_IsOK(res2)) { | |
6651 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); | |
6652 | } | |
6653 | arg2 = reinterpret_cast< wxHtmlSelection * >(argp2); | |
6654 | { | |
6655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6656 | (arg1)->SetSelection(arg2); | |
6657 | wxPyEndAllowThreads(__tstate); | |
6658 | if (PyErr_Occurred()) SWIG_fail; | |
6659 | } | |
6660 | resultobj = SWIG_Py_Void(); | |
6661 | return resultobj; | |
6662 | fail: | |
6663 | return NULL; | |
d14a1e28 RD |
6664 | } |
6665 | ||
6666 | ||
554f62e9 RD |
6667 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6668 | PyObject *resultobj = 0; | |
6669 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6670 | wxHtmlSelection *result = 0 ; | |
6671 | void *argp1 = 0 ; | |
6672 | int res1 = 0 ; | |
6673 | PyObject *swig_obj[1] ; | |
6674 | ||
6675 | if (!args) SWIG_fail; | |
6676 | swig_obj[0] = args; | |
6677 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6678 | if (!SWIG_IsOK(res1)) { | |
6679 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'"); | |
6680 | } | |
6681 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6682 | { | |
6683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6684 | result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection(); | |
6685 | wxPyEndAllowThreads(__tstate); | |
6686 | if (PyErr_Occurred()) SWIG_fail; | |
6687 | } | |
6688 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6689 | return resultobj; | |
6690 | fail: | |
6691 | return NULL; | |
6692 | } | |
6693 | ||
6694 | ||
6695 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6696 | PyObject *resultobj = 0; | |
6697 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6698 | wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; | |
6699 | void *argp1 = 0 ; | |
6700 | int res1 = 0 ; | |
6701 | void *argp2 = 0 ; | |
6702 | int res2 = 0 ; | |
6703 | PyObject * obj0 = 0 ; | |
6704 | PyObject * obj1 = 0 ; | |
6705 | char * kwnames[] = { | |
6706 | (char *) "self",(char *) "style", NULL | |
6707 | }; | |
6708 | ||
6709 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail; | |
6710 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6711 | if (!SWIG_IsOK(res1)) { | |
6712 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6713 | } | |
6714 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6715 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6716 | if (!SWIG_IsOK(res2)) { | |
6717 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'"); | |
6718 | } | |
6719 | arg2 = reinterpret_cast< wxHtmlRenderingStyle * >(argp2); | |
6720 | { | |
6721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6722 | (arg1)->SetStyle(arg2); | |
6723 | wxPyEndAllowThreads(__tstate); | |
6724 | if (PyErr_Occurred()) SWIG_fail; | |
6725 | } | |
6726 | resultobj = SWIG_Py_Void(); | |
6727 | return resultobj; | |
6728 | fail: | |
6729 | return NULL; | |
d14a1e28 RD |
6730 | } |
6731 | ||
6732 | ||
554f62e9 RD |
6733 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6734 | PyObject *resultobj = 0; | |
6735 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6736 | wxHtmlRenderingStyle *result = 0 ; | |
6737 | void *argp1 = 0 ; | |
6738 | int res1 = 0 ; | |
6739 | PyObject *swig_obj[1] ; | |
6740 | ||
6741 | if (!args) SWIG_fail; | |
6742 | swig_obj[0] = args; | |
6743 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6744 | if (!SWIG_IsOK(res1)) { | |
6745 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6746 | } | |
6747 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6748 | { | |
6749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b1fcee84 | 6750 | { |
554f62e9 RD |
6751 | wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle(); |
6752 | result = (wxHtmlRenderingStyle *) &_result_ref; | |
b1fcee84 | 6753 | } |
554f62e9 RD |
6754 | wxPyEndAllowThreads(__tstate); |
6755 | if (PyErr_Occurred()) SWIG_fail; | |
6756 | } | |
6757 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6758 | return resultobj; | |
6759 | fail: | |
6760 | return NULL; | |
d14a1e28 RD |
6761 | } |
6762 | ||
6763 | ||
554f62e9 RD |
6764 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6765 | PyObject *resultobj = 0; | |
6766 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6767 | wxHtmlRenderingState *result = 0 ; | |
6768 | void *argp1 = 0 ; | |
6769 | int res1 = 0 ; | |
6770 | PyObject *swig_obj[1] ; | |
6771 | ||
6772 | if (!args) SWIG_fail; | |
6773 | swig_obj[0] = args; | |
6774 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6775 | if (!SWIG_IsOK(res1)) { | |
6776 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6777 | } | |
6778 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6779 | { | |
6780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b1fcee84 | 6781 | { |
554f62e9 RD |
6782 | wxHtmlRenderingState &_result_ref = (arg1)->GetState(); |
6783 | result = (wxHtmlRenderingState *) &_result_ref; | |
b1fcee84 | 6784 | } |
554f62e9 RD |
6785 | wxPyEndAllowThreads(__tstate); |
6786 | if (PyErr_Occurred()) SWIG_fail; | |
6787 | } | |
6788 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6789 | return resultobj; | |
6790 | fail: | |
6791 | return NULL; | |
d14a1e28 RD |
6792 | } |
6793 | ||
6794 | ||
554f62e9 RD |
6795 | SWIGINTERN PyObject *HtmlRenderingInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6796 | PyObject *obj; | |
6797 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6798 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_NewClientData(obj)); | |
6799 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6800 | } |
6801 | ||
554f62e9 RD |
6802 | SWIGINTERN PyObject *HtmlRenderingInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6803 | return SWIG_Python_InitShadowInstance(args); | |
6804 | } | |
d14a1e28 | 6805 | |
554f62e9 RD |
6806 | SWIGINTERN PyObject *_wrap_new_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6807 | PyObject *resultobj = 0; | |
6808 | wxHtmlCell *result = 0 ; | |
6809 | ||
6810 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlCell",0,0,0)) SWIG_fail; | |
6811 | { | |
6812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6813 | result = (wxHtmlCell *)new wxHtmlCell(); | |
6814 | wxPyEndAllowThreads(__tstate); | |
6815 | if (PyErr_Occurred()) SWIG_fail; | |
6816 | } | |
6817 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_NEW | 0 ); | |
6818 | return resultobj; | |
6819 | fail: | |
6820 | return NULL; | |
d14a1e28 RD |
6821 | } |
6822 | ||
6823 | ||
554f62e9 RD |
6824 | SWIGINTERN PyObject *_wrap_delete_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6825 | PyObject *resultobj = 0; | |
6826 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6827 | void *argp1 = 0 ; | |
6828 | int res1 = 0 ; | |
6829 | PyObject *swig_obj[1] ; | |
6830 | ||
6831 | if (!args) SWIG_fail; | |
6832 | swig_obj[0] = args; | |
6833 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
6834 | if (!SWIG_IsOK(res1)) { | |
6835 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6836 | } | |
6837 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6838 | { | |
6839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6840 | delete arg1; | |
d14a1e28 | 6841 | |
554f62e9 RD |
6842 | wxPyEndAllowThreads(__tstate); |
6843 | if (PyErr_Occurred()) SWIG_fail; | |
6844 | } | |
6845 | resultobj = SWIG_Py_Void(); | |
6846 | return resultobj; | |
6847 | fail: | |
6848 | return NULL; | |
d14a1e28 RD |
6849 | } |
6850 | ||
6851 | ||
554f62e9 RD |
6852 | SWIGINTERN PyObject *_wrap_HtmlCell_GetPosX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6853 | PyObject *resultobj = 0; | |
6854 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6855 | int result; | |
6856 | void *argp1 = 0 ; | |
6857 | int res1 = 0 ; | |
6858 | PyObject *swig_obj[1] ; | |
6859 | ||
6860 | if (!args) SWIG_fail; | |
6861 | swig_obj[0] = args; | |
6862 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6863 | if (!SWIG_IsOK(res1)) { | |
6864 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6865 | } | |
6866 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6867 | { | |
6868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6869 | result = (int)(arg1)->GetPosX(); | |
6870 | wxPyEndAllowThreads(__tstate); | |
6871 | if (PyErr_Occurred()) SWIG_fail; | |
6872 | } | |
6873 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6874 | return resultobj; | |
6875 | fail: | |
6876 | return NULL; | |
d14a1e28 RD |
6877 | } |
6878 | ||
6879 | ||
554f62e9 RD |
6880 | SWIGINTERN PyObject *_wrap_HtmlCell_GetPosY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6881 | PyObject *resultobj = 0; | |
6882 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6883 | int result; | |
6884 | void *argp1 = 0 ; | |
6885 | int res1 = 0 ; | |
6886 | PyObject *swig_obj[1] ; | |
6887 | ||
6888 | if (!args) SWIG_fail; | |
6889 | swig_obj[0] = args; | |
6890 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6891 | if (!SWIG_IsOK(res1)) { | |
6892 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6893 | } | |
6894 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6895 | { | |
6896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6897 | result = (int)(arg1)->GetPosY(); | |
6898 | wxPyEndAllowThreads(__tstate); | |
6899 | if (PyErr_Occurred()) SWIG_fail; | |
6900 | } | |
6901 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6902 | return resultobj; | |
6903 | fail: | |
6904 | return NULL; | |
d14a1e28 RD |
6905 | } |
6906 | ||
6907 | ||
554f62e9 RD |
6908 | SWIGINTERN PyObject *_wrap_HtmlCell_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6909 | PyObject *resultobj = 0; | |
6910 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6911 | int result; | |
6912 | void *argp1 = 0 ; | |
6913 | int res1 = 0 ; | |
6914 | PyObject *swig_obj[1] ; | |
6915 | ||
6916 | if (!args) SWIG_fail; | |
6917 | swig_obj[0] = args; | |
6918 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6919 | if (!SWIG_IsOK(res1)) { | |
6920 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6921 | } | |
6922 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6923 | { | |
6924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6925 | result = (int)(arg1)->GetWidth(); | |
6926 | wxPyEndAllowThreads(__tstate); | |
6927 | if (PyErr_Occurred()) SWIG_fail; | |
6928 | } | |
6929 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6930 | return resultobj; | |
6931 | fail: | |
6932 | return NULL; | |
d14a1e28 RD |
6933 | } |
6934 | ||
6935 | ||
554f62e9 RD |
6936 | SWIGINTERN PyObject *_wrap_HtmlCell_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6937 | PyObject *resultobj = 0; | |
6938 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6939 | int result; | |
6940 | void *argp1 = 0 ; | |
6941 | int res1 = 0 ; | |
6942 | PyObject *swig_obj[1] ; | |
6943 | ||
6944 | if (!args) SWIG_fail; | |
6945 | swig_obj[0] = args; | |
6946 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6947 | if (!SWIG_IsOK(res1)) { | |
6948 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6949 | } | |
6950 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6951 | { | |
6952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6953 | result = (int)(arg1)->GetHeight(); | |
6954 | wxPyEndAllowThreads(__tstate); | |
6955 | if (PyErr_Occurred()) SWIG_fail; | |
6956 | } | |
6957 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6958 | return resultobj; | |
6959 | fail: | |
6960 | return NULL; | |
d14a1e28 RD |
6961 | } |
6962 | ||
6963 | ||
554f62e9 RD |
6964 | SWIGINTERN PyObject *_wrap_HtmlCell_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6965 | PyObject *resultobj = 0; | |
6966 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6967 | int result; | |
6968 | void *argp1 = 0 ; | |
6969 | int res1 = 0 ; | |
6970 | PyObject *swig_obj[1] ; | |
6971 | ||
6972 | if (!args) SWIG_fail; | |
6973 | swig_obj[0] = args; | |
6974 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6975 | if (!SWIG_IsOK(res1)) { | |
6976 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6977 | } | |
6978 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6979 | { | |
6980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6981 | result = (int)(arg1)->GetDescent(); | |
6982 | wxPyEndAllowThreads(__tstate); | |
6983 | if (PyErr_Occurred()) SWIG_fail; | |
6984 | } | |
6985 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6986 | return resultobj; | |
6987 | fail: | |
6988 | return NULL; | |
d14a1e28 RD |
6989 | } |
6990 | ||
6991 | ||
554f62e9 RD |
6992 | SWIGINTERN PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6993 | PyObject *resultobj = 0; | |
6994 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6995 | int result; | |
6996 | void *argp1 = 0 ; | |
6997 | int res1 = 0 ; | |
6998 | PyObject *swig_obj[1] ; | |
6999 | ||
7000 | if (!args) SWIG_fail; | |
7001 | swig_obj[0] = args; | |
7002 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7003 | if (!SWIG_IsOK(res1)) { | |
7004 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7005 | } | |
7006 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7007 | { | |
7008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7009 | result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth(); | |
7010 | wxPyEndAllowThreads(__tstate); | |
7011 | if (PyErr_Occurred()) SWIG_fail; | |
7012 | } | |
7013 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
7014 | return resultobj; | |
7015 | fail: | |
7016 | return NULL; | |
d14a1e28 RD |
7017 | } |
7018 | ||
7019 | ||
554f62e9 RD |
7020 | SWIGINTERN PyObject *_wrap_HtmlCell_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7021 | PyObject *resultobj = 0; | |
7022 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7023 | wxString *result = 0 ; | |
7024 | void *argp1 = 0 ; | |
7025 | int res1 = 0 ; | |
7026 | PyObject *swig_obj[1] ; | |
7027 | ||
7028 | if (!args) SWIG_fail; | |
7029 | swig_obj[0] = args; | |
7030 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7031 | if (!SWIG_IsOK(res1)) { | |
7032 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7033 | } | |
7034 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7035 | { | |
7036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 7037 | { |
554f62e9 RD |
7038 | wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId(); |
7039 | result = (wxString *) &_result_ref; | |
d14a1e28 | 7040 | } |
554f62e9 RD |
7041 | wxPyEndAllowThreads(__tstate); |
7042 | if (PyErr_Occurred()) SWIG_fail; | |
7043 | } | |
7044 | { | |
7045 | #if wxUSE_UNICODE | |
7046 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
7047 | #else | |
7048 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
7049 | #endif | |
7050 | } | |
7051 | return resultobj; | |
7052 | fail: | |
7053 | return NULL; | |
7054 | } | |
7055 | ||
7056 | ||
7057 | SWIGINTERN PyObject *_wrap_HtmlCell_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7058 | PyObject *resultobj = 0; | |
7059 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7060 | wxString *arg2 = 0 ; | |
7061 | void *argp1 = 0 ; | |
7062 | int res1 = 0 ; | |
7063 | bool temp2 = false ; | |
7064 | PyObject * obj0 = 0 ; | |
7065 | PyObject * obj1 = 0 ; | |
7066 | char * kwnames[] = { | |
7067 | (char *) "self",(char *) "id", NULL | |
7068 | }; | |
7069 | ||
7070 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) SWIG_fail; | |
7071 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7072 | if (!SWIG_IsOK(res1)) { | |
7073 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7074 | } | |
7075 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7076 | { | |
7077 | arg2 = wxString_in_helper(obj1); | |
7078 | if (arg2 == NULL) SWIG_fail; | |
7079 | temp2 = true; | |
7080 | } | |
7081 | { | |
7082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7083 | (arg1)->SetId((wxString const &)*arg2); | |
7084 | wxPyEndAllowThreads(__tstate); | |
7085 | if (PyErr_Occurred()) SWIG_fail; | |
7086 | } | |
7087 | resultobj = SWIG_Py_Void(); | |
7088 | { | |
7089 | if (temp2) | |
7090 | delete arg2; | |
7091 | } | |
7092 | return resultobj; | |
7093 | fail: | |
7094 | { | |
7095 | if (temp2) | |
7096 | delete arg2; | |
7097 | } | |
7098 | return NULL; | |
7099 | } | |
7100 | ||
7101 | ||
7102 | SWIGINTERN PyObject *_wrap_HtmlCell_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7103 | PyObject *resultobj = 0; | |
7104 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7105 | int arg2 = (int) 0 ; | |
7106 | int arg3 = (int) 0 ; | |
7107 | wxHtmlLinkInfo *result = 0 ; | |
7108 | void *argp1 = 0 ; | |
7109 | int res1 = 0 ; | |
7110 | int val2 ; | |
7111 | int ecode2 = 0 ; | |
7112 | int val3 ; | |
7113 | int ecode3 = 0 ; | |
7114 | PyObject * obj0 = 0 ; | |
7115 | PyObject * obj1 = 0 ; | |
7116 | PyObject * obj2 = 0 ; | |
7117 | char * kwnames[] = { | |
7118 | (char *) "self",(char *) "x",(char *) "y", NULL | |
7119 | }; | |
7120 | ||
7121 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7122 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7123 | if (!SWIG_IsOK(res1)) { | |
7124 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7125 | } | |
7126 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7127 | if (obj1) { | |
7128 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7129 | if (!SWIG_IsOK(ecode2)) { | |
7130 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'"); | |
7131 | } | |
7132 | arg2 = static_cast< int >(val2); | |
7133 | } | |
7134 | if (obj2) { | |
7135 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7136 | if (!SWIG_IsOK(ecode3)) { | |
7137 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'"); | |
7138 | } | |
7139 | arg3 = static_cast< int >(val3); | |
7140 | } | |
7141 | { | |
7142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7143 | result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3); | |
7144 | wxPyEndAllowThreads(__tstate); | |
7145 | if (PyErr_Occurred()) SWIG_fail; | |
7146 | } | |
7147 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
7148 | return resultobj; | |
7149 | fail: | |
7150 | return NULL; | |
d14a1e28 RD |
7151 | } |
7152 | ||
7153 | ||
554f62e9 RD |
7154 | SWIGINTERN PyObject *_wrap_HtmlCell_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7155 | PyObject *resultobj = 0; | |
7156 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7157 | wxHtmlCell *result = 0 ; | |
7158 | void *argp1 = 0 ; | |
7159 | int res1 = 0 ; | |
7160 | PyObject *swig_obj[1] ; | |
7161 | ||
7162 | if (!args) SWIG_fail; | |
7163 | swig_obj[0] = args; | |
7164 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7165 | if (!SWIG_IsOK(res1)) { | |
7166 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7167 | } | |
7168 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7169 | { | |
7170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7171 | result = (wxHtmlCell *)(arg1)->GetNext(); | |
7172 | wxPyEndAllowThreads(__tstate); | |
7173 | if (PyErr_Occurred()) SWIG_fail; | |
7174 | } | |
7175 | { | |
7176 | resultobj = wxPyMake_wxObject(result, 0); | |
7177 | } | |
7178 | return resultobj; | |
7179 | fail: | |
7180 | return NULL; | |
d14a1e28 RD |
7181 | } |
7182 | ||
7183 | ||
554f62e9 RD |
7184 | SWIGINTERN PyObject *_wrap_HtmlCell_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7185 | PyObject *resultobj = 0; | |
7186 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7187 | wxHtmlContainerCell *result = 0 ; | |
7188 | void *argp1 = 0 ; | |
7189 | int res1 = 0 ; | |
7190 | PyObject *swig_obj[1] ; | |
7191 | ||
7192 | if (!args) SWIG_fail; | |
7193 | swig_obj[0] = args; | |
7194 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7195 | if (!SWIG_IsOK(res1)) { | |
7196 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7197 | } | |
7198 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7199 | { | |
7200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7201 | result = (wxHtmlContainerCell *)(arg1)->GetParent(); | |
7202 | wxPyEndAllowThreads(__tstate); | |
7203 | if (PyErr_Occurred()) SWIG_fail; | |
7204 | } | |
7205 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
7206 | return resultobj; | |
7207 | fail: | |
7208 | return NULL; | |
d14a1e28 RD |
7209 | } |
7210 | ||
7211 | ||
554f62e9 RD |
7212 | SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7213 | PyObject *resultobj = 0; | |
7214 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7215 | wxHtmlCell *result = 0 ; | |
7216 | void *argp1 = 0 ; | |
7217 | int res1 = 0 ; | |
7218 | PyObject *swig_obj[1] ; | |
7219 | ||
7220 | if (!args) SWIG_fail; | |
7221 | swig_obj[0] = args; | |
7222 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7223 | if (!SWIG_IsOK(res1)) { | |
7224 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7225 | } | |
7226 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7227 | { | |
7228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7229 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild(); | |
7230 | wxPyEndAllowThreads(__tstate); | |
7231 | if (PyErr_Occurred()) SWIG_fail; | |
7232 | } | |
7233 | { | |
7234 | resultobj = wxPyMake_wxObject(result, 0); | |
7235 | } | |
7236 | return resultobj; | |
7237 | fail: | |
7238 | return NULL; | |
d14a1e28 RD |
7239 | } |
7240 | ||
7241 | ||
e9d6f3a4 RD |
7242 | SWIGINTERN PyObject *_wrap_HtmlCell_GetMouseCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7243 | PyObject *resultobj = 0; | |
7244 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7245 | wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ; | |
7246 | wxCursor result; | |
7247 | void *argp1 = 0 ; | |
7248 | int res1 = 0 ; | |
7249 | void *argp2 = 0 ; | |
7250 | int res2 = 0 ; | |
7251 | PyObject * obj0 = 0 ; | |
7252 | PyObject * obj1 = 0 ; | |
7253 | char * kwnames[] = { | |
7254 | (char *) "self",(char *) "window", NULL | |
7255 | }; | |
7256 | ||
7257 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_GetMouseCursor",kwnames,&obj0,&obj1)) SWIG_fail; | |
7258 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7259 | if (!SWIG_IsOK(res1)) { | |
7260 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7261 | } | |
7262 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7263 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
7264 | if (!SWIG_IsOK(res2)) { | |
7265 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'"); | |
7266 | } | |
7267 | arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2); | |
7268 | { | |
7269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7270 | result = ((wxHtmlCell const *)arg1)->GetMouseCursor(arg2); | |
7271 | wxPyEndAllowThreads(__tstate); | |
7272 | if (PyErr_Occurred()) SWIG_fail; | |
7273 | } | |
7274 | resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 ); | |
7275 | return resultobj; | |
7276 | fail: | |
7277 | return NULL; | |
7278 | } | |
7279 | ||
7280 | ||
554f62e9 RD |
7281 | SWIGINTERN PyObject *_wrap_HtmlCell_GetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7282 | PyObject *resultobj = 0; | |
7283 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7284 | wxCursor result; | |
7285 | void *argp1 = 0 ; | |
7286 | int res1 = 0 ; | |
7287 | PyObject *swig_obj[1] ; | |
7288 | ||
7289 | if (!args) SWIG_fail; | |
7290 | swig_obj[0] = args; | |
7291 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7292 | if (!SWIG_IsOK(res1)) { | |
7293 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7294 | } | |
7295 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7296 | { | |
7297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7298 | result = ((wxHtmlCell const *)arg1)->GetCursor(); | |
7299 | wxPyEndAllowThreads(__tstate); | |
7300 | if (PyErr_Occurred()) SWIG_fail; | |
7301 | } | |
7302 | resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 ); | |
7303 | return resultobj; | |
7304 | fail: | |
7305 | return NULL; | |
d14a1e28 RD |
7306 | } |
7307 | ||
7308 | ||
554f62e9 RD |
7309 | SWIGINTERN PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7310 | PyObject *resultobj = 0; | |
7311 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7312 | bool result; | |
7313 | void *argp1 = 0 ; | |
7314 | int res1 = 0 ; | |
7315 | PyObject *swig_obj[1] ; | |
7316 | ||
7317 | if (!args) SWIG_fail; | |
7318 | swig_obj[0] = args; | |
7319 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7320 | if (!SWIG_IsOK(res1)) { | |
7321 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7322 | } | |
7323 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7324 | { | |
7325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7326 | result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell(); | |
7327 | wxPyEndAllowThreads(__tstate); | |
7328 | if (PyErr_Occurred()) SWIG_fail; | |
7329 | } | |
7330 | { | |
7331 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7332 | } | |
7333 | return resultobj; | |
7334 | fail: | |
7335 | return NULL; | |
7336 | } | |
7337 | ||
7338 | ||
7339 | SWIGINTERN PyObject *_wrap_HtmlCell_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7340 | PyObject *resultobj = 0; | |
7341 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7342 | wxHtmlLinkInfo *arg2 = 0 ; | |
7343 | void *argp1 = 0 ; | |
7344 | int res1 = 0 ; | |
7345 | void *argp2 = 0 ; | |
7346 | int res2 = 0 ; | |
7347 | PyObject * obj0 = 0 ; | |
7348 | PyObject * obj1 = 0 ; | |
7349 | char * kwnames[] = { | |
7350 | (char *) "self",(char *) "link", NULL | |
7351 | }; | |
7352 | ||
7353 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) SWIG_fail; | |
7354 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7355 | if (!SWIG_IsOK(res1)) { | |
7356 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7357 | } | |
7358 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7359 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0); | |
7360 | if (!SWIG_IsOK(res2)) { | |
7361 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
7362 | } | |
7363 | if (!argp2) { | |
7364 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
7365 | } | |
7366 | arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2); | |
7367 | { | |
7368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7369 | (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2); | |
7370 | wxPyEndAllowThreads(__tstate); | |
7371 | if (PyErr_Occurred()) SWIG_fail; | |
7372 | } | |
7373 | resultobj = SWIG_Py_Void(); | |
7374 | return resultobj; | |
7375 | fail: | |
7376 | return NULL; | |
7377 | } | |
7378 | ||
7379 | ||
7380 | SWIGINTERN PyObject *_wrap_HtmlCell_SetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7381 | PyObject *resultobj = 0; | |
7382 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7383 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
7384 | int res1 = 0 ; | |
7385 | int res2 = 0 ; | |
7386 | PyObject * obj0 = 0 ; | |
7387 | PyObject * obj1 = 0 ; | |
7388 | char * kwnames[] = { | |
7389 | (char *) "self",(char *) "cell", NULL | |
7390 | }; | |
7391 | ||
7392 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) SWIG_fail; | |
7393 | res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
7394 | if (!SWIG_IsOK(res1)) { | |
7395 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7396 | } | |
7397 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
7398 | if (!SWIG_IsOK(res2)) { | |
7399 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
7400 | } | |
7401 | { | |
7402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7403 | (arg1)->SetNext(arg2); | |
7404 | wxPyEndAllowThreads(__tstate); | |
7405 | if (PyErr_Occurred()) SWIG_fail; | |
7406 | } | |
7407 | resultobj = SWIG_Py_Void(); | |
7408 | return resultobj; | |
7409 | fail: | |
7410 | return NULL; | |
7411 | } | |
7412 | ||
7413 | ||
7414 | SWIGINTERN PyObject *_wrap_HtmlCell_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7415 | PyObject *resultobj = 0; | |
7416 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7417 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
7418 | void *argp1 = 0 ; | |
7419 | int res1 = 0 ; | |
7420 | void *argp2 = 0 ; | |
7421 | int res2 = 0 ; | |
7422 | PyObject * obj0 = 0 ; | |
7423 | PyObject * obj1 = 0 ; | |
7424 | char * kwnames[] = { | |
7425 | (char *) "self",(char *) "p", NULL | |
7426 | }; | |
7427 | ||
7428 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) SWIG_fail; | |
7429 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7430 | if (!SWIG_IsOK(res1)) { | |
7431 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7432 | } | |
7433 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7434 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
7435 | if (!SWIG_IsOK(res2)) { | |
7436 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'"); | |
7437 | } | |
7438 | arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2); | |
7439 | { | |
7440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7441 | (arg1)->SetParent(arg2); | |
7442 | wxPyEndAllowThreads(__tstate); | |
7443 | if (PyErr_Occurred()) SWIG_fail; | |
7444 | } | |
7445 | resultobj = SWIG_Py_Void(); | |
7446 | return resultobj; | |
7447 | fail: | |
7448 | return NULL; | |
7449 | } | |
7450 | ||
7451 | ||
7452 | SWIGINTERN PyObject *_wrap_HtmlCell_SetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7453 | PyObject *resultobj = 0; | |
7454 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7455 | int arg2 ; | |
7456 | int arg3 ; | |
7457 | void *argp1 = 0 ; | |
7458 | int res1 = 0 ; | |
7459 | int val2 ; | |
7460 | int ecode2 = 0 ; | |
7461 | int val3 ; | |
7462 | int ecode3 = 0 ; | |
7463 | PyObject * obj0 = 0 ; | |
7464 | PyObject * obj1 = 0 ; | |
7465 | PyObject * obj2 = 0 ; | |
7466 | char * kwnames[] = { | |
7467 | (char *) "self",(char *) "x",(char *) "y", NULL | |
7468 | }; | |
7469 | ||
7470 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7471 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7472 | if (!SWIG_IsOK(res1)) { | |
7473 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7474 | } | |
7475 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7476 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7477 | if (!SWIG_IsOK(ecode2)) { | |
7478 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'"); | |
7479 | } | |
7480 | arg2 = static_cast< int >(val2); | |
7481 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7482 | if (!SWIG_IsOK(ecode3)) { | |
7483 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'"); | |
7484 | } | |
7485 | arg3 = static_cast< int >(val3); | |
7486 | { | |
7487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7488 | (arg1)->SetPos(arg2,arg3); | |
7489 | wxPyEndAllowThreads(__tstate); | |
7490 | if (PyErr_Occurred()) SWIG_fail; | |
7491 | } | |
7492 | resultobj = SWIG_Py_Void(); | |
7493 | return resultobj; | |
7494 | fail: | |
7495 | return NULL; | |
7496 | } | |
7497 | ||
7498 | ||
7499 | SWIGINTERN PyObject *_wrap_HtmlCell_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7500 | PyObject *resultobj = 0; | |
7501 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7502 | int arg2 ; | |
7503 | void *argp1 = 0 ; | |
7504 | int res1 = 0 ; | |
7505 | int val2 ; | |
7506 | int ecode2 = 0 ; | |
7507 | PyObject * obj0 = 0 ; | |
7508 | PyObject * obj1 = 0 ; | |
7509 | char * kwnames[] = { | |
7510 | (char *) "self",(char *) "w", NULL | |
7511 | }; | |
7512 | ||
7513 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) SWIG_fail; | |
7514 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7515 | if (!SWIG_IsOK(res1)) { | |
7516 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7517 | } | |
7518 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7519 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7520 | if (!SWIG_IsOK(ecode2)) { | |
7521 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'"); | |
7522 | } | |
7523 | arg2 = static_cast< int >(val2); | |
7524 | { | |
7525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7526 | (arg1)->Layout(arg2); | |
7527 | wxPyEndAllowThreads(__tstate); | |
7528 | if (PyErr_Occurred()) SWIG_fail; | |
7529 | } | |
7530 | resultobj = SWIG_Py_Void(); | |
7531 | return resultobj; | |
7532 | fail: | |
7533 | return NULL; | |
7534 | } | |
7535 | ||
7536 | ||
7537 | SWIGINTERN PyObject *_wrap_HtmlCell_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7538 | PyObject *resultobj = 0; | |
7539 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7540 | wxDC *arg2 = 0 ; | |
7541 | int arg3 ; | |
7542 | int arg4 ; | |
7543 | int arg5 ; | |
7544 | int arg6 ; | |
7545 | wxHtmlRenderingInfo *arg7 = 0 ; | |
7546 | void *argp1 = 0 ; | |
7547 | int res1 = 0 ; | |
7548 | void *argp2 = 0 ; | |
7549 | int res2 = 0 ; | |
7550 | int val3 ; | |
7551 | int ecode3 = 0 ; | |
7552 | int val4 ; | |
7553 | int ecode4 = 0 ; | |
7554 | int val5 ; | |
7555 | int ecode5 = 0 ; | |
7556 | int val6 ; | |
7557 | int ecode6 = 0 ; | |
7558 | void *argp7 = 0 ; | |
7559 | int res7 = 0 ; | |
7560 | PyObject * obj0 = 0 ; | |
7561 | PyObject * obj1 = 0 ; | |
7562 | PyObject * obj2 = 0 ; | |
7563 | PyObject * obj3 = 0 ; | |
7564 | PyObject * obj4 = 0 ; | |
7565 | PyObject * obj5 = 0 ; | |
7566 | PyObject * obj6 = 0 ; | |
7567 | char * kwnames[] = { | |
7568 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL | |
7569 | }; | |
7570 | ||
7571 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
7572 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7573 | if (!SWIG_IsOK(res1)) { | |
7574 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7575 | } | |
7576 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7577 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
7578 | if (!SWIG_IsOK(res2)) { | |
7579 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7580 | } | |
7581 | if (!argp2) { | |
7582 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7583 | } | |
7584 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
7585 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7586 | if (!SWIG_IsOK(ecode3)) { | |
7587 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'"); | |
7588 | } | |
7589 | arg3 = static_cast< int >(val3); | |
7590 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7591 | if (!SWIG_IsOK(ecode4)) { | |
7592 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'"); | |
7593 | } | |
7594 | arg4 = static_cast< int >(val4); | |
7595 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
7596 | if (!SWIG_IsOK(ecode5)) { | |
7597 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'"); | |
7598 | } | |
7599 | arg5 = static_cast< int >(val5); | |
7600 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
7601 | if (!SWIG_IsOK(ecode6)) { | |
7602 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'"); | |
7603 | } | |
7604 | arg6 = static_cast< int >(val6); | |
7605 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxHtmlRenderingInfo, 0 ); | |
7606 | if (!SWIG_IsOK(res7)) { | |
7607 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'"); | |
7608 | } | |
7609 | if (!argp7) { | |
7610 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'"); | |
7611 | } | |
7612 | arg7 = reinterpret_cast< wxHtmlRenderingInfo * >(argp7); | |
7613 | { | |
7614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7615 | (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7); | |
7616 | wxPyEndAllowThreads(__tstate); | |
7617 | if (PyErr_Occurred()) SWIG_fail; | |
7618 | } | |
7619 | resultobj = SWIG_Py_Void(); | |
7620 | return resultobj; | |
7621 | fail: | |
7622 | return NULL; | |
7623 | } | |
7624 | ||
7625 | ||
7626 | SWIGINTERN PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7627 | PyObject *resultobj = 0; | |
7628 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7629 | wxDC *arg2 = 0 ; | |
7630 | int arg3 ; | |
7631 | int arg4 ; | |
7632 | wxHtmlRenderingInfo *arg5 = 0 ; | |
7633 | void *argp1 = 0 ; | |
7634 | int res1 = 0 ; | |
7635 | void *argp2 = 0 ; | |
7636 | int res2 = 0 ; | |
7637 | int val3 ; | |
7638 | int ecode3 = 0 ; | |
7639 | int val4 ; | |
7640 | int ecode4 = 0 ; | |
7641 | void *argp5 = 0 ; | |
7642 | int res5 = 0 ; | |
7643 | PyObject * obj0 = 0 ; | |
7644 | PyObject * obj1 = 0 ; | |
7645 | PyObject * obj2 = 0 ; | |
7646 | PyObject * obj3 = 0 ; | |
7647 | PyObject * obj4 = 0 ; | |
7648 | char * kwnames[] = { | |
7649 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL | |
7650 | }; | |
7651 | ||
7652 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
7653 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7654 | if (!SWIG_IsOK(res1)) { | |
7655 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7656 | } | |
7657 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7658 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
7659 | if (!SWIG_IsOK(res2)) { | |
7660 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7661 | } | |
7662 | if (!argp2) { | |
7663 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7664 | } | |
7665 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
7666 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7667 | if (!SWIG_IsOK(ecode3)) { | |
7668 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'"); | |
7669 | } | |
7670 | arg3 = static_cast< int >(val3); | |
7671 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7672 | if (!SWIG_IsOK(ecode4)) { | |
7673 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'"); | |
7674 | } | |
7675 | arg4 = static_cast< int >(val4); | |
7676 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxHtmlRenderingInfo, 0 ); | |
7677 | if (!SWIG_IsOK(res5)) { | |
7678 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'"); | |
7679 | } | |
7680 | if (!argp5) { | |
7681 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'"); | |
7682 | } | |
7683 | arg5 = reinterpret_cast< wxHtmlRenderingInfo * >(argp5); | |
7684 | { | |
7685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7686 | (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5); | |
7687 | wxPyEndAllowThreads(__tstate); | |
7688 | if (PyErr_Occurred()) SWIG_fail; | |
7689 | } | |
7690 | resultobj = SWIG_Py_Void(); | |
7691 | return resultobj; | |
7692 | fail: | |
7693 | return NULL; | |
7694 | } | |
7695 | ||
7696 | ||
7697 | SWIGINTERN PyObject *_wrap_HtmlCell_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7698 | PyObject *resultobj = 0; | |
7699 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7700 | int arg2 ; | |
7701 | void *arg3 = (void *) 0 ; | |
7702 | wxHtmlCell *result = 0 ; | |
7703 | void *argp1 = 0 ; | |
7704 | int res1 = 0 ; | |
7705 | int val2 ; | |
7706 | int ecode2 = 0 ; | |
7707 | int res3 ; | |
7708 | PyObject * obj0 = 0 ; | |
7709 | PyObject * obj1 = 0 ; | |
7710 | PyObject * obj2 = 0 ; | |
7711 | char * kwnames[] = { | |
7712 | (char *) "self",(char *) "condition",(char *) "param", NULL | |
7713 | }; | |
7714 | ||
7715 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7716 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7717 | if (!SWIG_IsOK(res1)) { | |
7718 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7719 | } | |
7720 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7721 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7722 | if (!SWIG_IsOK(ecode2)) { | |
7723 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'"); | |
7724 | } | |
7725 | arg2 = static_cast< int >(val2); | |
7726 | res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); | |
7727 | if (!SWIG_IsOK(res3)) { | |
7728 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'"); | |
7729 | } | |
7730 | { | |
7731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7732 | result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3); | |
7733 | wxPyEndAllowThreads(__tstate); | |
7734 | if (PyErr_Occurred()) SWIG_fail; | |
7735 | } | |
7736 | { | |
7737 | resultobj = wxPyMake_wxObject(result, 0); | |
7738 | } | |
7739 | return resultobj; | |
7740 | fail: | |
7741 | return NULL; | |
7742 | } | |
7743 | ||
7744 | ||
e9d6f3a4 RD |
7745 | SWIGINTERN PyObject *_wrap_HtmlCell_ProcessMouseClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7746 | PyObject *resultobj = 0; | |
7747 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7748 | wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ; | |
7749 | wxPoint *arg3 = 0 ; | |
7750 | wxMouseEvent *arg4 = 0 ; | |
7751 | bool result; | |
7752 | void *argp1 = 0 ; | |
7753 | int res1 = 0 ; | |
7754 | void *argp2 = 0 ; | |
7755 | int res2 = 0 ; | |
7756 | wxPoint temp3 ; | |
7757 | void *argp4 = 0 ; | |
7758 | int res4 = 0 ; | |
7759 | PyObject * obj0 = 0 ; | |
7760 | PyObject * obj1 = 0 ; | |
7761 | PyObject * obj2 = 0 ; | |
7762 | PyObject * obj3 = 0 ; | |
7763 | char * kwnames[] = { | |
7764 | (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL | |
7765 | }; | |
7766 | ||
7767 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7768 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7769 | if (!SWIG_IsOK(res1)) { | |
7770 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7771 | } | |
7772 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7773 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
7774 | if (!SWIG_IsOK(res2)) { | |
7775 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'"); | |
7776 | } | |
7777 | arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2); | |
7778 | { | |
7779 | arg3 = &temp3; | |
7780 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7781 | } | |
7782 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxMouseEvent, 0 | 0); | |
7783 | if (!SWIG_IsOK(res4)) { | |
7784 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'"); | |
7785 | } | |
7786 | if (!argp4) { | |
7787 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'"); | |
7788 | } | |
7789 | arg4 = reinterpret_cast< wxMouseEvent * >(argp4); | |
7790 | { | |
7791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7792 | result = (bool)(arg1)->ProcessMouseClick(arg2,(wxPoint const &)*arg3,(wxMouseEvent const &)*arg4); | |
7793 | wxPyEndAllowThreads(__tstate); | |
7794 | if (PyErr_Occurred()) SWIG_fail; | |
7795 | } | |
7796 | { | |
7797 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7798 | } | |
7799 | return resultobj; | |
7800 | fail: | |
7801 | return NULL; | |
7802 | } | |
7803 | ||
7804 | ||
554f62e9 RD |
7805 | SWIGINTERN PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7806 | PyObject *resultobj = 0; | |
7807 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7808 | bool arg2 ; | |
7809 | void *argp1 = 0 ; | |
7810 | int res1 = 0 ; | |
7811 | bool val2 ; | |
7812 | int ecode2 = 0 ; | |
7813 | PyObject * obj0 = 0 ; | |
7814 | PyObject * obj1 = 0 ; | |
7815 | char * kwnames[] = { | |
7816 | (char *) "self",(char *) "can", NULL | |
7817 | }; | |
7818 | ||
7819 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) SWIG_fail; | |
7820 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7821 | if (!SWIG_IsOK(res1)) { | |
7822 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7823 | } | |
7824 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7825 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
7826 | if (!SWIG_IsOK(ecode2)) { | |
7827 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'"); | |
7828 | } | |
7829 | arg2 = static_cast< bool >(val2); | |
7830 | { | |
7831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7832 | (arg1)->SetCanLiveOnPagebreak(arg2); | |
7833 | wxPyEndAllowThreads(__tstate); | |
7834 | if (PyErr_Occurred()) SWIG_fail; | |
7835 | } | |
7836 | resultobj = SWIG_Py_Void(); | |
7837 | return resultobj; | |
7838 | fail: | |
7839 | return NULL; | |
d14a1e28 RD |
7840 | } |
7841 | ||
7842 | ||
554f62e9 RD |
7843 | SWIGINTERN PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7844 | PyObject *resultobj = 0; | |
7845 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7846 | bool result; | |
7847 | void *argp1 = 0 ; | |
7848 | int res1 = 0 ; | |
7849 | PyObject *swig_obj[1] ; | |
7850 | ||
7851 | if (!args) SWIG_fail; | |
7852 | swig_obj[0] = args; | |
7853 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7854 | if (!SWIG_IsOK(res1)) { | |
7855 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7856 | } | |
7857 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7858 | { | |
7859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7860 | result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed(); | |
7861 | wxPyEndAllowThreads(__tstate); | |
7862 | if (PyErr_Occurred()) SWIG_fail; | |
7863 | } | |
7864 | { | |
7865 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7866 | } | |
7867 | return resultobj; | |
7868 | fail: | |
7869 | return NULL; | |
d14a1e28 RD |
7870 | } |
7871 | ||
7872 | ||
554f62e9 RD |
7873 | SWIGINTERN PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7874 | PyObject *resultobj = 0; | |
7875 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7876 | bool result; | |
7877 | void *argp1 = 0 ; | |
7878 | int res1 = 0 ; | |
7879 | PyObject *swig_obj[1] ; | |
7880 | ||
7881 | if (!args) SWIG_fail; | |
7882 | swig_obj[0] = args; | |
7883 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7884 | if (!SWIG_IsOK(res1)) { | |
7885 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7886 | } | |
7887 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7888 | { | |
7889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7890 | result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell(); | |
7891 | wxPyEndAllowThreads(__tstate); | |
7892 | if (PyErr_Occurred()) SWIG_fail; | |
7893 | } | |
7894 | { | |
7895 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7896 | } | |
7897 | return resultobj; | |
7898 | fail: | |
7899 | return NULL; | |
7900 | } | |
7901 | ||
7902 | ||
7903 | SWIGINTERN PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7904 | PyObject *resultobj = 0; | |
7905 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7906 | int arg2 ; | |
7907 | int arg3 ; | |
7908 | unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; | |
7909 | wxHtmlCell *result = 0 ; | |
7910 | void *argp1 = 0 ; | |
7911 | int res1 = 0 ; | |
7912 | int val2 ; | |
7913 | int ecode2 = 0 ; | |
7914 | int val3 ; | |
7915 | int ecode3 = 0 ; | |
7916 | unsigned int val4 ; | |
7917 | int ecode4 = 0 ; | |
7918 | PyObject * obj0 = 0 ; | |
7919 | PyObject * obj1 = 0 ; | |
7920 | PyObject * obj2 = 0 ; | |
7921 | PyObject * obj3 = 0 ; | |
7922 | char * kwnames[] = { | |
7923 | (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL | |
7924 | }; | |
7925 | ||
7926 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7927 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7928 | if (!SWIG_IsOK(res1)) { | |
7929 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7930 | } | |
7931 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7932 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7933 | if (!SWIG_IsOK(ecode2)) { | |
7934 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'"); | |
7935 | } | |
7936 | arg2 = static_cast< int >(val2); | |
7937 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7938 | if (!SWIG_IsOK(ecode3)) { | |
7939 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'"); | |
7940 | } | |
7941 | arg3 = static_cast< int >(val3); | |
7942 | if (obj3) { | |
7943 | ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); | |
7944 | if (!SWIG_IsOK(ecode4)) { | |
7945 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'"); | |
7946 | } | |
7947 | arg4 = static_cast< unsigned int >(val4); | |
7948 | } | |
7949 | { | |
7950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7951 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4); | |
7952 | wxPyEndAllowThreads(__tstate); | |
7953 | if (PyErr_Occurred()) SWIG_fail; | |
7954 | } | |
7955 | { | |
7956 | resultobj = wxPyMake_wxObject(result, 0); | |
7957 | } | |
7958 | return resultobj; | |
7959 | fail: | |
7960 | return NULL; | |
d14a1e28 RD |
7961 | } |
7962 | ||
7963 | ||
e9d6f3a4 | 7964 | SWIGINTERN PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
554f62e9 RD |
7965 | PyObject *resultobj = 0; |
7966 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
e9d6f3a4 | 7967 | wxHtmlCell *arg2 = (wxHtmlCell *) NULL ; |
554f62e9 RD |
7968 | wxPoint result; |
7969 | void *argp1 = 0 ; | |
7970 | int res1 = 0 ; | |
e9d6f3a4 RD |
7971 | void *argp2 = 0 ; |
7972 | int res2 = 0 ; | |
7973 | PyObject * obj0 = 0 ; | |
7974 | PyObject * obj1 = 0 ; | |
7975 | char * kwnames[] = { | |
7976 | (char *) "self",(char *) "rootCell", NULL | |
7977 | }; | |
7978 | ||
7979 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlCell_GetAbsPos",kwnames,&obj0,&obj1)) SWIG_fail; | |
7980 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7981 | if (!SWIG_IsOK(res1)) { | |
7982 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7983 | } | |
7984 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7985 | if (obj1) { | |
7986 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7987 | if (!SWIG_IsOK(res2)) { | |
7988 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
7989 | } | |
7990 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
7991 | } | |
7992 | { | |
7993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7994 | result = ((wxHtmlCell const *)arg1)->GetAbsPos(arg2); | |
7995 | wxPyEndAllowThreads(__tstate); | |
7996 | if (PyErr_Occurred()) SWIG_fail; | |
7997 | } | |
7998 | resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 ); | |
7999 | return resultobj; | |
8000 | fail: | |
8001 | return NULL; | |
8002 | } | |
8003 | ||
8004 | ||
8005 | SWIGINTERN PyObject *_wrap_HtmlCell_GetRootCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8006 | PyObject *resultobj = 0; | |
8007 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8008 | wxHtmlCell *result = 0 ; | |
8009 | void *argp1 = 0 ; | |
8010 | int res1 = 0 ; | |
554f62e9 RD |
8011 | PyObject *swig_obj[1] ; |
8012 | ||
8013 | if (!args) SWIG_fail; | |
8014 | swig_obj[0] = args; | |
8015 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8016 | if (!SWIG_IsOK(res1)) { | |
e9d6f3a4 | 8017 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); |
554f62e9 RD |
8018 | } |
8019 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8020 | { | |
8021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e9d6f3a4 | 8022 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetRootCell(); |
554f62e9 RD |
8023 | wxPyEndAllowThreads(__tstate); |
8024 | if (PyErr_Occurred()) SWIG_fail; | |
8025 | } | |
e9d6f3a4 RD |
8026 | { |
8027 | resultobj = wxPyMake_wxObject(result, 0); | |
8028 | } | |
554f62e9 RD |
8029 | return resultobj; |
8030 | fail: | |
8031 | return NULL; | |
d14a1e28 RD |
8032 | } |
8033 | ||
8034 | ||
554f62e9 RD |
8035 | SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8036 | PyObject *resultobj = 0; | |
8037 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8038 | wxHtmlCell *result = 0 ; | |
8039 | void *argp1 = 0 ; | |
8040 | int res1 = 0 ; | |
8041 | PyObject *swig_obj[1] ; | |
8042 | ||
8043 | if (!args) SWIG_fail; | |
8044 | swig_obj[0] = args; | |
8045 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8046 | if (!SWIG_IsOK(res1)) { | |
8047 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8048 | } | |
8049 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8050 | { | |
8051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8052 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal(); | |
8053 | wxPyEndAllowThreads(__tstate); | |
8054 | if (PyErr_Occurred()) SWIG_fail; | |
8055 | } | |
8056 | { | |
8057 | resultobj = wxPyMake_wxObject(result, 0); | |
8058 | } | |
8059 | return resultobj; | |
8060 | fail: | |
8061 | return NULL; | |
d14a1e28 RD |
8062 | } |
8063 | ||
8064 | ||
554f62e9 RD |
8065 | SWIGINTERN PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8066 | PyObject *resultobj = 0; | |
8067 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8068 | wxHtmlCell *result = 0 ; | |
8069 | void *argp1 = 0 ; | |
8070 | int res1 = 0 ; | |
8071 | PyObject *swig_obj[1] ; | |
8072 | ||
8073 | if (!args) SWIG_fail; | |
8074 | swig_obj[0] = args; | |
8075 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8076 | if (!SWIG_IsOK(res1)) { | |
8077 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8078 | } | |
8079 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8080 | { | |
8081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8082 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal(); | |
8083 | wxPyEndAllowThreads(__tstate); | |
8084 | if (PyErr_Occurred()) SWIG_fail; | |
8085 | } | |
8086 | { | |
8087 | resultobj = wxPyMake_wxObject(result, 0); | |
8088 | } | |
8089 | return resultobj; | |
8090 | fail: | |
8091 | return NULL; | |
d14a1e28 RD |
8092 | } |
8093 | ||
8094 | ||
554f62e9 RD |
8095 | SWIGINTERN PyObject *_wrap_HtmlCell_GetDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8096 | PyObject *resultobj = 0; | |
8097 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8098 | unsigned int result; | |
8099 | void *argp1 = 0 ; | |
8100 | int res1 = 0 ; | |
8101 | PyObject *swig_obj[1] ; | |
8102 | ||
8103 | if (!args) SWIG_fail; | |
8104 | swig_obj[0] = args; | |
8105 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8106 | if (!SWIG_IsOK(res1)) { | |
8107 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8108 | } | |
8109 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8110 | { | |
8111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8112 | result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth(); | |
8113 | wxPyEndAllowThreads(__tstate); | |
8114 | if (PyErr_Occurred()) SWIG_fail; | |
8115 | } | |
8116 | resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); | |
8117 | return resultobj; | |
8118 | fail: | |
8119 | return NULL; | |
8120 | } | |
8121 | ||
8122 | ||
8123 | SWIGINTERN PyObject *_wrap_HtmlCell_IsBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8124 | PyObject *resultobj = 0; | |
8125 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8126 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
8127 | bool result; | |
8128 | void *argp1 = 0 ; | |
8129 | int res1 = 0 ; | |
8130 | void *argp2 = 0 ; | |
8131 | int res2 = 0 ; | |
8132 | PyObject * obj0 = 0 ; | |
8133 | PyObject * obj1 = 0 ; | |
8134 | char * kwnames[] = { | |
8135 | (char *) "self",(char *) "cell", NULL | |
8136 | }; | |
8137 | ||
8138 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) SWIG_fail; | |
8139 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8140 | if (!SWIG_IsOK(res1)) { | |
8141 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8142 | } | |
8143 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8144 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8145 | if (!SWIG_IsOK(res2)) { | |
8146 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
8147 | } | |
8148 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
8149 | { | |
8150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8151 | result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2); | |
8152 | wxPyEndAllowThreads(__tstate); | |
8153 | if (PyErr_Occurred()) SWIG_fail; | |
8154 | } | |
8155 | { | |
8156 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8157 | } | |
8158 | return resultobj; | |
8159 | fail: | |
8160 | return NULL; | |
8161 | } | |
8162 | ||
8163 | ||
8164 | SWIGINTERN PyObject *_wrap_HtmlCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8165 | PyObject *resultobj = 0; | |
8166 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8167 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
8168 | wxString result; | |
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 *) "sel", NULL | |
8177 | }; | |
8178 | ||
8179 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail; | |
8180 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8181 | if (!SWIG_IsOK(res1)) { | |
8182 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8183 | } | |
8184 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8185 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
8186 | if (!SWIG_IsOK(res2)) { | |
8187 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); | |
8188 | } | |
8189 | arg2 = reinterpret_cast< wxHtmlSelection * >(argp2); | |
8190 | { | |
8191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8192 | result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2); | |
8193 | wxPyEndAllowThreads(__tstate); | |
8194 | if (PyErr_Occurred()) SWIG_fail; | |
8195 | } | |
8196 | { | |
8197 | #if wxUSE_UNICODE | |
8198 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8199 | #else | |
8200 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8201 | #endif | |
8202 | } | |
8203 | return resultobj; | |
8204 | fail: | |
8205 | return NULL; | |
d14a1e28 RD |
8206 | } |
8207 | ||
8208 | ||
554f62e9 RD |
8209 | SWIGINTERN PyObject *HtmlCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8210 | PyObject *obj; | |
8211 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8212 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell, SWIG_NewClientData(obj)); | |
8213 | return SWIG_Py_Void(); | |
d14a1e28 RD |
8214 | } |
8215 | ||
554f62e9 RD |
8216 | SWIGINTERN PyObject *HtmlCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8217 | return SWIG_Python_InitShadowInstance(args); | |
8218 | } | |
d14a1e28 | 8219 | |
554f62e9 RD |
8220 | SWIGINTERN PyObject *_wrap_new_HtmlWordCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8221 | PyObject *resultobj = 0; | |
8222 | wxString *arg1 = 0 ; | |
8223 | wxDC *arg2 = 0 ; | |
8224 | wxHtmlWordCell *result = 0 ; | |
8225 | bool temp1 = false ; | |
8226 | void *argp2 = 0 ; | |
8227 | int res2 = 0 ; | |
8228 | PyObject * obj0 = 0 ; | |
8229 | PyObject * obj1 = 0 ; | |
8230 | char * kwnames[] = { | |
8231 | (char *) "word",(char *) "dc", NULL | |
8232 | }; | |
8233 | ||
8234 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
8235 | { | |
8236 | arg1 = wxString_in_helper(obj0); | |
8237 | if (arg1 == NULL) SWIG_fail; | |
8238 | temp1 = true; | |
8239 | } | |
8240 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
8241 | if (!SWIG_IsOK(res2)) { | |
8242 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'"); | |
8243 | } | |
8244 | if (!argp2) { | |
8245 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'"); | |
8246 | } | |
8247 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8248 | { | |
8249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8250 | result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2); | |
8251 | wxPyEndAllowThreads(__tstate); | |
8252 | if (PyErr_Occurred()) SWIG_fail; | |
8253 | } | |
8254 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_NEW | 0 ); | |
8255 | { | |
8256 | if (temp1) | |
8257 | delete arg1; | |
8258 | } | |
8259 | return resultobj; | |
8260 | fail: | |
8261 | { | |
8262 | if (temp1) | |
8263 | delete arg1; | |
8264 | } | |
8265 | return NULL; | |
8266 | } | |
8267 | ||
8268 | ||
8269 | SWIGINTERN PyObject *_wrap_HtmlWordCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8270 | PyObject *resultobj = 0; | |
8271 | wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ; | |
8272 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
8273 | wxString result; | |
8274 | void *argp1 = 0 ; | |
8275 | int res1 = 0 ; | |
8276 | void *argp2 = 0 ; | |
8277 | int res2 = 0 ; | |
8278 | PyObject * obj0 = 0 ; | |
8279 | PyObject * obj1 = 0 ; | |
8280 | char * kwnames[] = { | |
8281 | (char *) "self",(char *) "sel", NULL | |
8282 | }; | |
8283 | ||
8284 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail; | |
8285 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8286 | if (!SWIG_IsOK(res1)) { | |
8287 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'"); | |
8288 | } | |
8289 | arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1); | |
8290 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
8291 | if (!SWIG_IsOK(res2)) { | |
8292 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); | |
8293 | } | |
8294 | arg2 = reinterpret_cast< wxHtmlSelection * >(argp2); | |
8295 | { | |
8296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8297 | result = ((wxHtmlWordCell const *)arg1)->ConvertToText(arg2); | |
8298 | wxPyEndAllowThreads(__tstate); | |
8299 | if (PyErr_Occurred()) SWIG_fail; | |
8300 | } | |
8301 | { | |
8302 | #if wxUSE_UNICODE | |
8303 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8304 | #else | |
8305 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8306 | #endif | |
8307 | } | |
8308 | return resultobj; | |
8309 | fail: | |
8310 | return NULL; | |
d14a1e28 RD |
8311 | } |
8312 | ||
8313 | ||
554f62e9 RD |
8314 | SWIGINTERN PyObject *_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8315 | PyObject *resultobj = 0; | |
8316 | wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ; | |
8317 | bool result; | |
8318 | void *argp1 = 0 ; | |
8319 | int res1 = 0 ; | |
8320 | PyObject *swig_obj[1] ; | |
8321 | ||
8322 | if (!args) SWIG_fail; | |
8323 | swig_obj[0] = args; | |
8324 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8325 | if (!SWIG_IsOK(res1)) { | |
8326 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'"); | |
8327 | } | |
8328 | arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1); | |
8329 | { | |
8330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8331 | result = (bool)((wxHtmlWordCell const *)arg1)->IsLinebreakAllowed(); | |
8332 | wxPyEndAllowThreads(__tstate); | |
8333 | if (PyErr_Occurred()) SWIG_fail; | |
8334 | } | |
8335 | { | |
8336 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8337 | } | |
8338 | return resultobj; | |
8339 | fail: | |
8340 | return NULL; | |
8341 | } | |
8342 | ||
8343 | ||
8344 | SWIGINTERN PyObject *_wrap_HtmlWordCell_SetPreviousWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8345 | PyObject *resultobj = 0; | |
8346 | wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ; | |
8347 | wxHtmlWordCell *arg2 = (wxHtmlWordCell *) 0 ; | |
8348 | void *argp1 = 0 ; | |
8349 | int res1 = 0 ; | |
8350 | void *argp2 = 0 ; | |
8351 | int res2 = 0 ; | |
8352 | PyObject * obj0 = 0 ; | |
8353 | PyObject * obj1 = 0 ; | |
8354 | char * kwnames[] = { | |
8355 | (char *) "self",(char *) "cell", NULL | |
8356 | }; | |
8357 | ||
8358 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames,&obj0,&obj1)) SWIG_fail; | |
8359 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8360 | if (!SWIG_IsOK(res1)) { | |
8361 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'"); | |
8362 | } | |
8363 | arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1); | |
8364 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8365 | if (!SWIG_IsOK(res2)) { | |
8366 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'"); | |
8367 | } | |
8368 | arg2 = reinterpret_cast< wxHtmlWordCell * >(argp2); | |
8369 | { | |
8370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8371 | (arg1)->SetPreviousWord(arg2); | |
8372 | wxPyEndAllowThreads(__tstate); | |
8373 | if (PyErr_Occurred()) SWIG_fail; | |
8374 | } | |
8375 | resultobj = SWIG_Py_Void(); | |
8376 | return resultobj; | |
8377 | fail: | |
8378 | return NULL; | |
d14a1e28 RD |
8379 | } |
8380 | ||
8381 | ||
554f62e9 RD |
8382 | SWIGINTERN PyObject *HtmlWordCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8383 | PyObject *obj; | |
8384 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8385 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell, SWIG_NewClientData(obj)); | |
8386 | return SWIG_Py_Void(); | |
d14a1e28 RD |
8387 | } |
8388 | ||
554f62e9 RD |
8389 | SWIGINTERN PyObject *HtmlWordCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8390 | return SWIG_Python_InitShadowInstance(args); | |
8391 | } | |
d14a1e28 | 8392 | |
554f62e9 RD |
8393 | SWIGINTERN PyObject *_wrap_new_HtmlContainerCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8394 | PyObject *resultobj = 0; | |
8395 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8396 | wxHtmlContainerCell *result = 0 ; | |
8397 | void *argp1 = 0 ; | |
8398 | int res1 = 0 ; | |
8399 | PyObject * obj0 = 0 ; | |
8400 | char * kwnames[] = { | |
8401 | (char *) "parent", NULL | |
8402 | }; | |
8403 | ||
8404 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) SWIG_fail; | |
8405 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8406 | if (!SWIG_IsOK(res1)) { | |
8407 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8408 | } | |
8409 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8410 | { | |
8411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8412 | result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1); | |
8413 | wxPyEndAllowThreads(__tstate); | |
8414 | if (PyErr_Occurred()) SWIG_fail; | |
8415 | } | |
8416 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_NEW | 0 ); | |
8417 | return resultobj; | |
8418 | fail: | |
8419 | return NULL; | |
8420 | } | |
8421 | ||
8422 | ||
8423 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8424 | PyObject *resultobj = 0; | |
8425 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8426 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
8427 | void *argp1 = 0 ; | |
8428 | int res1 = 0 ; | |
8429 | int res2 = 0 ; | |
8430 | PyObject * obj0 = 0 ; | |
8431 | PyObject * obj1 = 0 ; | |
8432 | char * kwnames[] = { | |
8433 | (char *) "self",(char *) "cell", NULL | |
8434 | }; | |
8435 | ||
8436 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
8437 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8438 | if (!SWIG_IsOK(res1)) { | |
8439 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8440 | } | |
8441 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8442 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
8443 | if (!SWIG_IsOK(res2)) { | |
8444 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
8445 | } | |
8446 | { | |
8447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8448 | (arg1)->InsertCell(arg2); | |
8449 | wxPyEndAllowThreads(__tstate); | |
8450 | if (PyErr_Occurred()) SWIG_fail; | |
8451 | } | |
8452 | resultobj = SWIG_Py_Void(); | |
8453 | return resultobj; | |
8454 | fail: | |
8455 | return NULL; | |
8456 | } | |
8457 | ||
8458 | ||
8459 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8460 | PyObject *resultobj = 0; | |
8461 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8462 | int arg2 ; | |
8463 | void *argp1 = 0 ; | |
8464 | int res1 = 0 ; | |
8465 | int val2 ; | |
8466 | int ecode2 = 0 ; | |
8467 | PyObject * obj0 = 0 ; | |
8468 | PyObject * obj1 = 0 ; | |
8469 | char * kwnames[] = { | |
8470 | (char *) "self",(char *) "al", NULL | |
8471 | }; | |
8472 | ||
8473 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) SWIG_fail; | |
8474 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8475 | if (!SWIG_IsOK(res1)) { | |
8476 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8477 | } | |
8478 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8479 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8480 | if (!SWIG_IsOK(ecode2)) { | |
8481 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'"); | |
8482 | } | |
8483 | arg2 = static_cast< int >(val2); | |
8484 | { | |
8485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8486 | (arg1)->SetAlignHor(arg2); | |
8487 | wxPyEndAllowThreads(__tstate); | |
8488 | if (PyErr_Occurred()) SWIG_fail; | |
8489 | } | |
8490 | resultobj = SWIG_Py_Void(); | |
8491 | return resultobj; | |
8492 | fail: | |
8493 | return NULL; | |
d14a1e28 | 8494 | } |
554f62e9 RD |
8495 | |
8496 | ||
8497 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8498 | PyObject *resultobj = 0; | |
8499 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8500 | int result; | |
8501 | void *argp1 = 0 ; | |
8502 | int res1 = 0 ; | |
8503 | PyObject *swig_obj[1] ; | |
8504 | ||
8505 | if (!args) SWIG_fail; | |
8506 | swig_obj[0] = args; | |
8507 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8508 | if (!SWIG_IsOK(res1)) { | |
8509 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8510 | } | |
8511 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8512 | { | |
8513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8514 | result = (int)(arg1)->GetAlignHor(); | |
8515 | wxPyEndAllowThreads(__tstate); | |
8516 | if (PyErr_Occurred()) SWIG_fail; | |
8517 | } | |
8518 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8519 | return resultobj; | |
8520 | fail: | |
8521 | return NULL; | |
8522 | } | |
8523 | ||
8524 | ||
8525 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8526 | PyObject *resultobj = 0; | |
8527 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8528 | int arg2 ; | |
8529 | void *argp1 = 0 ; | |
8530 | int res1 = 0 ; | |
8531 | int val2 ; | |
8532 | int ecode2 = 0 ; | |
8533 | PyObject * obj0 = 0 ; | |
8534 | PyObject * obj1 = 0 ; | |
8535 | char * kwnames[] = { | |
8536 | (char *) "self",(char *) "al", NULL | |
8537 | }; | |
8538 | ||
8539 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) SWIG_fail; | |
8540 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8541 | if (!SWIG_IsOK(res1)) { | |
8542 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8543 | } | |
8544 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8545 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8546 | if (!SWIG_IsOK(ecode2)) { | |
8547 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'"); | |
8548 | } | |
8549 | arg2 = static_cast< int >(val2); | |
8550 | { | |
8551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8552 | (arg1)->SetAlignVer(arg2); | |
8553 | wxPyEndAllowThreads(__tstate); | |
8554 | if (PyErr_Occurred()) SWIG_fail; | |
8555 | } | |
8556 | resultobj = SWIG_Py_Void(); | |
8557 | return resultobj; | |
8558 | fail: | |
8559 | return NULL; | |
d14a1e28 RD |
8560 | } |
8561 | ||
8562 | ||
554f62e9 RD |
8563 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8564 | PyObject *resultobj = 0; | |
8565 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8566 | int result; | |
8567 | void *argp1 = 0 ; | |
8568 | int res1 = 0 ; | |
8569 | PyObject *swig_obj[1] ; | |
8570 | ||
8571 | if (!args) SWIG_fail; | |
8572 | swig_obj[0] = args; | |
8573 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8574 | if (!SWIG_IsOK(res1)) { | |
8575 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8576 | } | |
8577 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8578 | { | |
8579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8580 | result = (int)(arg1)->GetAlignVer(); | |
8581 | wxPyEndAllowThreads(__tstate); | |
8582 | if (PyErr_Occurred()) SWIG_fail; | |
8583 | } | |
8584 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8585 | return resultobj; | |
8586 | fail: | |
8587 | return NULL; | |
8588 | } | |
8589 | ||
8590 | ||
8591 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8592 | PyObject *resultobj = 0; | |
8593 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8594 | int arg2 ; | |
8595 | int arg3 ; | |
8596 | int arg4 = (int) wxHTML_UNITS_PIXELS ; | |
8597 | void *argp1 = 0 ; | |
8598 | int res1 = 0 ; | |
8599 | int val2 ; | |
8600 | int ecode2 = 0 ; | |
8601 | int val3 ; | |
8602 | int ecode3 = 0 ; | |
8603 | int val4 ; | |
8604 | int ecode4 = 0 ; | |
8605 | PyObject * obj0 = 0 ; | |
8606 | PyObject * obj1 = 0 ; | |
8607 | PyObject * obj2 = 0 ; | |
8608 | PyObject * obj3 = 0 ; | |
8609 | char * kwnames[] = { | |
8610 | (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL | |
8611 | }; | |
8612 | ||
8613 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
8614 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8615 | if (!SWIG_IsOK(res1)) { | |
8616 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8617 | } | |
8618 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8619 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8620 | if (!SWIG_IsOK(ecode2)) { | |
8621 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'"); | |
8622 | } | |
8623 | arg2 = static_cast< int >(val2); | |
8624 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8625 | if (!SWIG_IsOK(ecode3)) { | |
8626 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'"); | |
8627 | } | |
8628 | arg3 = static_cast< int >(val3); | |
8629 | if (obj3) { | |
8630 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
8631 | if (!SWIG_IsOK(ecode4)) { | |
8632 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'"); | |
8633 | } | |
8634 | arg4 = static_cast< int >(val4); | |
8635 | } | |
8636 | { | |
8637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8638 | (arg1)->SetIndent(arg2,arg3,arg4); | |
8639 | wxPyEndAllowThreads(__tstate); | |
8640 | if (PyErr_Occurred()) SWIG_fail; | |
8641 | } | |
8642 | resultobj = SWIG_Py_Void(); | |
8643 | return resultobj; | |
8644 | fail: | |
8645 | return NULL; | |
8646 | } | |
8647 | ||
8648 | ||
8649 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8650 | PyObject *resultobj = 0; | |
8651 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8652 | int arg2 ; | |
8653 | int result; | |
8654 | void *argp1 = 0 ; | |
8655 | int res1 = 0 ; | |
8656 | int val2 ; | |
8657 | int ecode2 = 0 ; | |
8658 | PyObject * obj0 = 0 ; | |
8659 | PyObject * obj1 = 0 ; | |
8660 | char * kwnames[] = { | |
8661 | (char *) "self",(char *) "ind", NULL | |
8662 | }; | |
8663 | ||
8664 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) SWIG_fail; | |
8665 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8666 | if (!SWIG_IsOK(res1)) { | |
8667 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8668 | } | |
8669 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8670 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8671 | if (!SWIG_IsOK(ecode2)) { | |
8672 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'"); | |
8673 | } | |
8674 | arg2 = static_cast< int >(val2); | |
8675 | { | |
8676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8677 | result = (int)(arg1)->GetIndent(arg2); | |
8678 | wxPyEndAllowThreads(__tstate); | |
8679 | if (PyErr_Occurred()) SWIG_fail; | |
8680 | } | |
8681 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8682 | return resultobj; | |
8683 | fail: | |
8684 | return NULL; | |
8685 | } | |
8686 | ||
8687 | ||
8688 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8689 | PyObject *resultobj = 0; | |
8690 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8691 | int arg2 ; | |
8692 | int result; | |
8693 | void *argp1 = 0 ; | |
8694 | int res1 = 0 ; | |
8695 | int val2 ; | |
8696 | int ecode2 = 0 ; | |
8697 | PyObject * obj0 = 0 ; | |
8698 | PyObject * obj1 = 0 ; | |
8699 | char * kwnames[] = { | |
8700 | (char *) "self",(char *) "ind", NULL | |
8701 | }; | |
8702 | ||
8703 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) SWIG_fail; | |
8704 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8705 | if (!SWIG_IsOK(res1)) { | |
8706 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8707 | } | |
8708 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8709 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8710 | if (!SWIG_IsOK(ecode2)) { | |
8711 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'"); | |
8712 | } | |
8713 | arg2 = static_cast< int >(val2); | |
8714 | { | |
8715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8716 | result = (int)(arg1)->GetIndentUnits(arg2); | |
8717 | wxPyEndAllowThreads(__tstate); | |
8718 | if (PyErr_Occurred()) SWIG_fail; | |
8719 | } | |
8720 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8721 | return resultobj; | |
8722 | fail: | |
8723 | return NULL; | |
8724 | } | |
8725 | ||
8726 | ||
8727 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8728 | PyObject *resultobj = 0; | |
8729 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8730 | wxHtmlTag *arg2 = 0 ; | |
8731 | void *argp1 = 0 ; | |
8732 | int res1 = 0 ; | |
8733 | void *argp2 = 0 ; | |
8734 | int res2 = 0 ; | |
8735 | PyObject * obj0 = 0 ; | |
8736 | PyObject * obj1 = 0 ; | |
8737 | char * kwnames[] = { | |
8738 | (char *) "self",(char *) "tag", NULL | |
8739 | }; | |
8740 | ||
8741 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail; | |
8742 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8743 | if (!SWIG_IsOK(res1)) { | |
8744 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8745 | } | |
8746 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8747 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
8748 | if (!SWIG_IsOK(res2)) { | |
8749 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8750 | } | |
8751 | if (!argp2) { | |
8752 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8753 | } | |
8754 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
8755 | { | |
8756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8757 | (arg1)->SetAlign((wxHtmlTag const &)*arg2); | |
8758 | wxPyEndAllowThreads(__tstate); | |
8759 | if (PyErr_Occurred()) SWIG_fail; | |
8760 | } | |
8761 | resultobj = SWIG_Py_Void(); | |
8762 | return resultobj; | |
8763 | fail: | |
8764 | return NULL; | |
8765 | } | |
8766 | ||
8767 | ||
8768 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8769 | PyObject *resultobj = 0; | |
8770 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8771 | int arg2 ; | |
8772 | int arg3 ; | |
8773 | void *argp1 = 0 ; | |
8774 | int res1 = 0 ; | |
8775 | int val2 ; | |
8776 | int ecode2 = 0 ; | |
8777 | int val3 ; | |
8778 | int ecode3 = 0 ; | |
8779 | PyObject * obj0 = 0 ; | |
8780 | PyObject * obj1 = 0 ; | |
8781 | PyObject * obj2 = 0 ; | |
8782 | char * kwnames[] = { | |
8783 | (char *) "self",(char *) "w",(char *) "units", NULL | |
8784 | }; | |
8785 | ||
8786 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8787 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8788 | if (!SWIG_IsOK(res1)) { | |
8789 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8790 | } | |
8791 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8792 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8793 | if (!SWIG_IsOK(ecode2)) { | |
8794 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'"); | |
8795 | } | |
8796 | arg2 = static_cast< int >(val2); | |
8797 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8798 | if (!SWIG_IsOK(ecode3)) { | |
8799 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'"); | |
8800 | } | |
8801 | arg3 = static_cast< int >(val3); | |
8802 | { | |
8803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8804 | (arg1)->SetWidthFloat(arg2,arg3); | |
8805 | wxPyEndAllowThreads(__tstate); | |
8806 | if (PyErr_Occurred()) SWIG_fail; | |
8807 | } | |
8808 | resultobj = SWIG_Py_Void(); | |
8809 | return resultobj; | |
8810 | fail: | |
8811 | return NULL; | |
8812 | } | |
8813 | ||
8814 | ||
8815 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8816 | PyObject *resultobj = 0; | |
8817 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8818 | wxHtmlTag *arg2 = 0 ; | |
8819 | void *argp1 = 0 ; | |
8820 | int res1 = 0 ; | |
8821 | void *argp2 = 0 ; | |
8822 | int res2 = 0 ; | |
8823 | PyObject * obj0 = 0 ; | |
8824 | PyObject * obj1 = 0 ; | |
8825 | char * kwnames[] = { | |
8826 | (char *) "self",(char *) "tag", NULL | |
8827 | }; | |
8828 | ||
8829 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) SWIG_fail; | |
8830 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8831 | if (!SWIG_IsOK(res1)) { | |
8832 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8833 | } | |
8834 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8835 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
8836 | if (!SWIG_IsOK(res2)) { | |
8837 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8838 | } | |
8839 | if (!argp2) { | |
8840 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8841 | } | |
8842 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
8843 | { | |
8844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8845 | (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2); | |
8846 | wxPyEndAllowThreads(__tstate); | |
8847 | if (PyErr_Occurred()) SWIG_fail; | |
8848 | } | |
8849 | resultobj = SWIG_Py_Void(); | |
8850 | return resultobj; | |
8851 | fail: | |
8852 | return NULL; | |
8853 | } | |
8854 | ||
8855 | ||
8856 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8857 | PyObject *resultobj = 0; | |
8858 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8859 | int arg2 ; | |
8860 | int arg3 = (int) wxHTML_ALIGN_TOP ; | |
8861 | void *argp1 = 0 ; | |
8862 | int res1 = 0 ; | |
8863 | int val2 ; | |
8864 | int ecode2 = 0 ; | |
8865 | int val3 ; | |
8866 | int ecode3 = 0 ; | |
8867 | PyObject * obj0 = 0 ; | |
8868 | PyObject * obj1 = 0 ; | |
8869 | PyObject * obj2 = 0 ; | |
8870 | char * kwnames[] = { | |
8871 | (char *) "self",(char *) "h",(char *) "align", NULL | |
8872 | }; | |
8873 | ||
8874 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8875 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8876 | if (!SWIG_IsOK(res1)) { | |
8877 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8878 | } | |
8879 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8880 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8881 | if (!SWIG_IsOK(ecode2)) { | |
8882 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'"); | |
8883 | } | |
8884 | arg2 = static_cast< int >(val2); | |
8885 | if (obj2) { | |
8886 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8887 | if (!SWIG_IsOK(ecode3)) { | |
8888 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'"); | |
8889 | } | |
8890 | arg3 = static_cast< int >(val3); | |
8891 | } | |
8892 | { | |
8893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8894 | (arg1)->SetMinHeight(arg2,arg3); | |
8895 | wxPyEndAllowThreads(__tstate); | |
8896 | if (PyErr_Occurred()) SWIG_fail; | |
8897 | } | |
8898 | resultobj = SWIG_Py_Void(); | |
8899 | return resultobj; | |
8900 | fail: | |
8901 | return NULL; | |
8902 | } | |
8903 | ||
8904 | ||
8905 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8906 | PyObject *resultobj = 0; | |
8907 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8908 | wxColour *arg2 = 0 ; | |
8909 | void *argp1 = 0 ; | |
8910 | int res1 = 0 ; | |
8911 | wxColour temp2 ; | |
8912 | PyObject * obj0 = 0 ; | |
8913 | PyObject * obj1 = 0 ; | |
8914 | char * kwnames[] = { | |
8915 | (char *) "self",(char *) "clr", NULL | |
8916 | }; | |
8917 | ||
8918 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
8919 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8920 | if (!SWIG_IsOK(res1)) { | |
8921 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8922 | } | |
8923 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8924 | { | |
8925 | arg2 = &temp2; | |
8926 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8927 | } | |
8928 | { | |
8929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8930 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); | |
8931 | wxPyEndAllowThreads(__tstate); | |
8932 | if (PyErr_Occurred()) SWIG_fail; | |
8933 | } | |
8934 | resultobj = SWIG_Py_Void(); | |
8935 | return resultobj; | |
8936 | fail: | |
8937 | return NULL; | |
d14a1e28 RD |
8938 | } |
8939 | ||
8940 | ||
554f62e9 RD |
8941 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8942 | PyObject *resultobj = 0; | |
8943 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8944 | wxColour result; | |
8945 | void *argp1 = 0 ; | |
8946 | int res1 = 0 ; | |
8947 | PyObject *swig_obj[1] ; | |
8948 | ||
8949 | if (!args) SWIG_fail; | |
8950 | swig_obj[0] = args; | |
8951 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8952 | if (!SWIG_IsOK(res1)) { | |
8953 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8954 | } | |
8955 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8956 | { | |
8957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8958 | result = (arg1)->GetBackgroundColour(); | |
8959 | wxPyEndAllowThreads(__tstate); | |
8960 | if (PyErr_Occurred()) SWIG_fail; | |
8961 | } | |
8962 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
8963 | return resultobj; | |
8964 | fail: | |
8965 | return NULL; | |
8966 | } | |
8967 | ||
8968 | ||
8969 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8970 | PyObject *resultobj = 0; | |
8971 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8972 | wxColour *arg2 = 0 ; | |
8973 | wxColour *arg3 = 0 ; | |
8974 | void *argp1 = 0 ; | |
8975 | int res1 = 0 ; | |
8976 | wxColour temp2 ; | |
8977 | wxColour temp3 ; | |
8978 | PyObject * obj0 = 0 ; | |
8979 | PyObject * obj1 = 0 ; | |
8980 | PyObject * obj2 = 0 ; | |
8981 | char * kwnames[] = { | |
8982 | (char *) "self",(char *) "clr1",(char *) "clr2", NULL | |
8983 | }; | |
8984 | ||
8985 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8986 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8987 | if (!SWIG_IsOK(res1)) { | |
8988 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8989 | } | |
8990 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8991 | { | |
8992 | arg2 = &temp2; | |
8993 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8994 | } | |
8995 | { | |
8996 | arg3 = &temp3; | |
8997 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
8998 | } | |
8999 | { | |
9000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9001 | (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3); | |
9002 | wxPyEndAllowThreads(__tstate); | |
9003 | if (PyErr_Occurred()) SWIG_fail; | |
9004 | } | |
9005 | resultobj = SWIG_Py_Void(); | |
9006 | return resultobj; | |
9007 | fail: | |
9008 | return NULL; | |
d14a1e28 RD |
9009 | } |
9010 | ||
9011 | ||
554f62e9 RD |
9012 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9013 | PyObject *resultobj = 0; | |
9014 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
9015 | wxHtmlCell *result = 0 ; | |
9016 | void *argp1 = 0 ; | |
9017 | int res1 = 0 ; | |
9018 | PyObject *swig_obj[1] ; | |
9019 | ||
9020 | if (!args) SWIG_fail; | |
9021 | swig_obj[0] = args; | |
9022 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
9023 | if (!SWIG_IsOK(res1)) { | |
9024 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
9025 | } | |
9026 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
9027 | { | |
9028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9029 | result = (wxHtmlCell *)(arg1)->GetFirstChild(); | |
9030 | wxPyEndAllowThreads(__tstate); | |
9031 | if (PyErr_Occurred()) SWIG_fail; | |
9032 | } | |
9033 | { | |
9034 | resultobj = wxPyMake_wxObject(result, 0); | |
9035 | } | |
9036 | return resultobj; | |
9037 | fail: | |
9038 | return NULL; | |
d14a1e28 RD |
9039 | } |
9040 | ||
9041 | ||
554f62e9 RD |
9042 | SWIGINTERN PyObject *HtmlContainerCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9043 | PyObject *obj; | |
9044 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9045 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell, SWIG_NewClientData(obj)); | |
9046 | return SWIG_Py_Void(); | |
d14a1e28 RD |
9047 | } |
9048 | ||
554f62e9 RD |
9049 | SWIGINTERN PyObject *HtmlContainerCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9050 | return SWIG_Python_InitShadowInstance(args); | |
9051 | } | |
d14a1e28 | 9052 | |
554f62e9 RD |
9053 | SWIGINTERN PyObject *_wrap_new_HtmlColourCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9054 | PyObject *resultobj = 0; | |
9055 | wxColour *arg1 = 0 ; | |
9056 | int arg2 = (int) wxHTML_CLR_FOREGROUND ; | |
9057 | wxHtmlColourCell *result = 0 ; | |
9058 | wxColour temp1 ; | |
9059 | int val2 ; | |
9060 | int ecode2 = 0 ; | |
9061 | PyObject * obj0 = 0 ; | |
9062 | PyObject * obj1 = 0 ; | |
9063 | char * kwnames[] = { | |
9064 | (char *) "clr",(char *) "flags", NULL | |
9065 | }; | |
9066 | ||
9067 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
9068 | { | |
9069 | arg1 = &temp1; | |
9070 | if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail; | |
9071 | } | |
9072 | if (obj1) { | |
9073 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9074 | if (!SWIG_IsOK(ecode2)) { | |
9075 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'"); | |
9076 | } | |
9077 | arg2 = static_cast< int >(val2); | |
9078 | } | |
9079 | { | |
9080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9081 | result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2); | |
9082 | wxPyEndAllowThreads(__tstate); | |
9083 | if (PyErr_Occurred()) SWIG_fail; | |
9084 | } | |
9085 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlColourCell, SWIG_POINTER_NEW | 0 ); | |
9086 | return resultobj; | |
9087 | fail: | |
9088 | return NULL; | |
d14a1e28 RD |
9089 | } |
9090 | ||
9091 | ||
554f62e9 RD |
9092 | SWIGINTERN PyObject *HtmlColourCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9093 | PyObject *obj; | |
9094 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9095 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell, SWIG_NewClientData(obj)); | |
9096 | return SWIG_Py_Void(); | |
d00d1b88 RD |
9097 | } |
9098 | ||
554f62e9 RD |
9099 | SWIGINTERN PyObject *HtmlColourCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9100 | return SWIG_Python_InitShadowInstance(args); | |
9101 | } | |
d00d1b88 | 9102 | |
554f62e9 RD |
9103 | SWIGINTERN PyObject *_wrap_new_HtmlFontCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9104 | PyObject *resultobj = 0; | |
9105 | wxFont *arg1 = (wxFont *) 0 ; | |
9106 | wxHtmlFontCell *result = 0 ; | |
9107 | void *argp1 = 0 ; | |
9108 | int res1 = 0 ; | |
9109 | PyObject * obj0 = 0 ; | |
9110 | char * kwnames[] = { | |
9111 | (char *) "font", NULL | |
9112 | }; | |
9113 | ||
9114 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) SWIG_fail; | |
9115 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFont, 0 | 0 ); | |
9116 | if (!SWIG_IsOK(res1)) { | |
9117 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'"); | |
9118 | } | |
9119 | arg1 = reinterpret_cast< wxFont * >(argp1); | |
9120 | { | |
9121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9122 | result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1); | |
9123 | wxPyEndAllowThreads(__tstate); | |
9124 | if (PyErr_Occurred()) SWIG_fail; | |
9125 | } | |
9126 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlFontCell, SWIG_POINTER_NEW | 0 ); | |
9127 | return resultobj; | |
9128 | fail: | |
9129 | return NULL; | |
cbd72d4f RD |
9130 | } |
9131 | ||
9132 | ||
554f62e9 RD |
9133 | SWIGINTERN PyObject *HtmlFontCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9134 | PyObject *obj; | |
9135 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9136 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell, SWIG_NewClientData(obj)); | |
9137 | return SWIG_Py_Void(); | |
cbd72d4f RD |
9138 | } |
9139 | ||
554f62e9 RD |
9140 | SWIGINTERN PyObject *HtmlFontCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9141 | return SWIG_Python_InitShadowInstance(args); | |
9142 | } | |
cbd72d4f | 9143 | |
554f62e9 RD |
9144 | SWIGINTERN PyObject *_wrap_new_HtmlWidgetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9145 | PyObject *resultobj = 0; | |
9146 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9147 | int arg2 = (int) 0 ; | |
9148 | wxHtmlWidgetCell *result = 0 ; | |
9149 | void *argp1 = 0 ; | |
9150 | int res1 = 0 ; | |
9151 | int val2 ; | |
9152 | int ecode2 = 0 ; | |
9153 | PyObject * obj0 = 0 ; | |
9154 | PyObject * obj1 = 0 ; | |
9155 | char * kwnames[] = { | |
9156 | (char *) "wnd",(char *) "w", NULL | |
9157 | }; | |
9158 | ||
9159 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
9160 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
9161 | if (!SWIG_IsOK(res1)) { | |
9162 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
9163 | } | |
9164 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
9165 | if (obj1) { | |
9166 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9167 | if (!SWIG_IsOK(ecode2)) { | |
9168 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'"); | |
9169 | } | |
9170 | arg2 = static_cast< int >(val2); | |
9171 | } | |
9172 | { | |
9173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9174 | result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2); | |
9175 | wxPyEndAllowThreads(__tstate); | |
9176 | if (PyErr_Occurred()) SWIG_fail; | |
9177 | } | |
9178 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWidgetCell, SWIG_POINTER_NEW | 0 ); | |
9179 | return resultobj; | |
9180 | fail: | |
9181 | return NULL; | |
d14a1e28 RD |
9182 | } |
9183 | ||
9184 | ||
554f62e9 RD |
9185 | SWIGINTERN PyObject *HtmlWidgetCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9186 | PyObject *obj; | |
9187 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9188 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell, SWIG_NewClientData(obj)); | |
9189 | return SWIG_Py_Void(); | |
d14a1e28 RD |
9190 | } |
9191 | ||
554f62e9 RD |
9192 | SWIGINTERN PyObject *HtmlWidgetCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9193 | return SWIG_Python_InitShadowInstance(args); | |
9194 | } | |
d14a1e28 | 9195 | |
554f62e9 RD |
9196 | SWIGINTERN PyObject *_wrap_new_HtmlFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9197 | PyObject *resultobj = 0; | |
9198 | wxPyHtmlFilter *result = 0 ; | |
9199 | ||
9200 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlFilter",0,0,0)) SWIG_fail; | |
9201 | { | |
9202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9203 | result = (wxPyHtmlFilter *)new wxPyHtmlFilter(); | |
9204 | wxPyEndAllowThreads(__tstate); | |
9205 | if (PyErr_Occurred()) SWIG_fail; | |
9206 | } | |
9207 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_NEW | 0 ); | |
9208 | return resultobj; | |
9209 | fail: | |
9210 | return NULL; | |
9211 | } | |
9212 | ||
9213 | ||
9214 | SWIGINTERN PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9215 | PyObject *resultobj = 0; | |
9216 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
9217 | PyObject *arg2 = (PyObject *) 0 ; | |
9218 | PyObject *arg3 = (PyObject *) 0 ; | |
9219 | void *argp1 = 0 ; | |
9220 | int res1 = 0 ; | |
9221 | PyObject * obj0 = 0 ; | |
9222 | PyObject * obj1 = 0 ; | |
9223 | PyObject * obj2 = 0 ; | |
9224 | char * kwnames[] = { | |
9225 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9226 | }; | |
9227 | ||
9228 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9229 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 ); | |
9230 | if (!SWIG_IsOK(res1)) { | |
9231 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'"); | |
9232 | } | |
9233 | arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1); | |
9234 | arg2 = obj1; | |
9235 | arg3 = obj2; | |
9236 | { | |
9237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9238 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9239 | wxPyEndAllowThreads(__tstate); | |
9240 | if (PyErr_Occurred()) SWIG_fail; | |
9241 | } | |
9242 | resultobj = SWIG_Py_Void(); | |
9243 | return resultobj; | |
9244 | fail: | |
9245 | return NULL; | |
9246 | } | |
9247 | ||
9248 | ||
9249 | SWIGINTERN PyObject *HtmlFilter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9250 | PyObject *obj; | |
9251 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9252 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter, SWIG_NewClientData(obj)); | |
9253 | return SWIG_Py_Void(); | |
9254 | } | |
9255 | ||
9256 | SWIGINTERN PyObject *HtmlFilter_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9257 | return SWIG_Python_InitShadowInstance(args); | |
9258 | } | |
9259 | ||
e9d6f3a4 RD |
9260 | SWIGINTERN PyObject *_wrap_delete_HtmlWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9261 | PyObject *resultobj = 0; | |
9262 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9263 | void *argp1 = 0 ; | |
9264 | int res1 = 0 ; | |
9265 | PyObject *swig_obj[1] ; | |
9266 | ||
9267 | if (!args) SWIG_fail; | |
9268 | swig_obj[0] = args; | |
9269 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, SWIG_POINTER_DISOWN | 0 ); | |
9270 | if (!SWIG_IsOK(res1)) { | |
9271 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9272 | } | |
9273 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9274 | { | |
9275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9276 | delete arg1; | |
9277 | ||
9278 | wxPyEndAllowThreads(__tstate); | |
9279 | if (PyErr_Occurred()) SWIG_fail; | |
9280 | } | |
9281 | resultobj = SWIG_Py_Void(); | |
9282 | return resultobj; | |
9283 | fail: | |
9284 | return NULL; | |
9285 | } | |
9286 | ||
9287 | ||
9288 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9289 | PyObject *resultobj = 0; | |
9290 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9291 | wxString *arg2 = 0 ; | |
9292 | void *argp1 = 0 ; | |
9293 | int res1 = 0 ; | |
9294 | bool temp2 = false ; | |
9295 | PyObject * obj0 = 0 ; | |
9296 | PyObject * obj1 = 0 ; | |
9297 | char * kwnames[] = { | |
9298 | (char *) "self",(char *) "title", NULL | |
9299 | }; | |
9300 | ||
9301 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames,&obj0,&obj1)) SWIG_fail; | |
9302 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9303 | if (!SWIG_IsOK(res1)) { | |
9304 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9305 | } | |
9306 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9307 | { | |
9308 | arg2 = wxString_in_helper(obj1); | |
9309 | if (arg2 == NULL) SWIG_fail; | |
9310 | temp2 = true; | |
9311 | } | |
9312 | { | |
9313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9314 | (arg1)->SetHTMLWindowTitle((wxString const &)*arg2); | |
9315 | wxPyEndAllowThreads(__tstate); | |
9316 | if (PyErr_Occurred()) SWIG_fail; | |
9317 | } | |
9318 | resultobj = SWIG_Py_Void(); | |
9319 | { | |
9320 | if (temp2) | |
9321 | delete arg2; | |
9322 | } | |
9323 | return resultobj; | |
9324 | fail: | |
9325 | { | |
9326 | if (temp2) | |
9327 | delete arg2; | |
9328 | } | |
9329 | return NULL; | |
9330 | } | |
9331 | ||
9332 | ||
9333 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9334 | PyObject *resultobj = 0; | |
9335 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9336 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
9337 | wxPoint *arg3 = 0 ; | |
9338 | wxPoint result; | |
9339 | void *argp1 = 0 ; | |
9340 | int res1 = 0 ; | |
9341 | void *argp2 = 0 ; | |
9342 | int res2 = 0 ; | |
9343 | wxPoint temp3 ; | |
9344 | PyObject * obj0 = 0 ; | |
9345 | PyObject * obj1 = 0 ; | |
9346 | PyObject * obj2 = 0 ; | |
9347 | char * kwnames[] = { | |
9348 | (char *) "self",(char *) "cell",(char *) "pos", NULL | |
9349 | }; | |
9350 | ||
9351 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9352 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9353 | if (!SWIG_IsOK(res1)) { | |
9354 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'"); | |
9355 | } | |
9356 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9357 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
9358 | if (!SWIG_IsOK(res2)) { | |
9359 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
9360 | } | |
9361 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
9362 | { | |
9363 | arg3 = &temp3; | |
9364 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9365 | } | |
9366 | { | |
9367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9368 | result = ((wxHtmlWindowInterface const *)arg1)->HTMLCoordsToWindow(arg2,(wxPoint const &)*arg3); | |
9369 | wxPyEndAllowThreads(__tstate); | |
9370 | if (PyErr_Occurred()) SWIG_fail; | |
9371 | } | |
9372 | resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 ); | |
9373 | return resultobj; | |
9374 | fail: | |
9375 | return NULL; | |
9376 | } | |
9377 | ||
9378 | ||
9379 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9380 | PyObject *resultobj = 0; | |
9381 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9382 | wxWindow *result = 0 ; | |
9383 | void *argp1 = 0 ; | |
9384 | int res1 = 0 ; | |
9385 | PyObject *swig_obj[1] ; | |
9386 | ||
9387 | if (!args) SWIG_fail; | |
9388 | swig_obj[0] = args; | |
9389 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9390 | if (!SWIG_IsOK(res1)) { | |
9391 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9392 | } | |
9393 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9394 | { | |
9395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9396 | result = (wxWindow *)(arg1)->GetHTMLWindow(); | |
9397 | wxPyEndAllowThreads(__tstate); | |
9398 | if (PyErr_Occurred()) SWIG_fail; | |
9399 | } | |
9400 | { | |
9401 | resultobj = wxPyMake_wxObject(result, 0); | |
9402 | } | |
9403 | return resultobj; | |
9404 | fail: | |
9405 | return NULL; | |
9406 | } | |
9407 | ||
9408 | ||
9409 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9410 | PyObject *resultobj = 0; | |
9411 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9412 | wxColour result; | |
9413 | void *argp1 = 0 ; | |
9414 | int res1 = 0 ; | |
9415 | PyObject *swig_obj[1] ; | |
9416 | ||
9417 | if (!args) SWIG_fail; | |
9418 | swig_obj[0] = args; | |
9419 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9420 | if (!SWIG_IsOK(res1)) { | |
9421 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'"); | |
9422 | } | |
9423 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9424 | { | |
9425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9426 | result = ((wxHtmlWindowInterface const *)arg1)->GetHTMLBackgroundColour(); | |
9427 | wxPyEndAllowThreads(__tstate); | |
9428 | if (PyErr_Occurred()) SWIG_fail; | |
9429 | } | |
9430 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
9431 | return resultobj; | |
9432 | fail: | |
9433 | return NULL; | |
9434 | } | |
9435 | ||
9436 | ||
9437 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9438 | PyObject *resultobj = 0; | |
9439 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9440 | wxColour *arg2 = 0 ; | |
9441 | void *argp1 = 0 ; | |
9442 | int res1 = 0 ; | |
9443 | wxColour temp2 ; | |
9444 | PyObject * obj0 = 0 ; | |
9445 | PyObject * obj1 = 0 ; | |
9446 | char * kwnames[] = { | |
9447 | (char *) "self",(char *) "clr", NULL | |
9448 | }; | |
9449 | ||
9450 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
9451 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9452 | if (!SWIG_IsOK(res1)) { | |
9453 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9454 | } | |
9455 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9456 | { | |
9457 | arg2 = &temp2; | |
9458 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
9459 | } | |
9460 | { | |
9461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9462 | (arg1)->SetHTMLBackgroundColour((wxColour const &)*arg2); | |
9463 | wxPyEndAllowThreads(__tstate); | |
9464 | if (PyErr_Occurred()) SWIG_fail; | |
9465 | } | |
9466 | resultobj = SWIG_Py_Void(); | |
9467 | return resultobj; | |
9468 | fail: | |
9469 | return NULL; | |
9470 | } | |
9471 | ||
9472 | ||
9473 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9474 | PyObject *resultobj = 0; | |
9475 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9476 | wxBitmap *arg2 = 0 ; | |
9477 | void *argp1 = 0 ; | |
9478 | int res1 = 0 ; | |
9479 | void *argp2 = 0 ; | |
9480 | int res2 = 0 ; | |
9481 | PyObject * obj0 = 0 ; | |
9482 | PyObject * obj1 = 0 ; | |
9483 | char * kwnames[] = { | |
9484 | (char *) "self",(char *) "bmpBg", NULL | |
9485 | }; | |
9486 | ||
9487 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9488 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9489 | if (!SWIG_IsOK(res1)) { | |
9490 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9491 | } | |
9492 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9493 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); | |
9494 | if (!SWIG_IsOK(res2)) { | |
9495 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
9496 | } | |
9497 | if (!argp2) { | |
9498 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
9499 | } | |
9500 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
9501 | { | |
9502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9503 | (arg1)->SetHTMLBackgroundImage((wxBitmap const &)*arg2); | |
9504 | wxPyEndAllowThreads(__tstate); | |
9505 | if (PyErr_Occurred()) SWIG_fail; | |
9506 | } | |
9507 | resultobj = SWIG_Py_Void(); | |
9508 | return resultobj; | |
9509 | fail: | |
9510 | return NULL; | |
9511 | } | |
9512 | ||
9513 | ||
9514 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9515 | PyObject *resultobj = 0; | |
9516 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9517 | wxString *arg2 = 0 ; | |
9518 | void *argp1 = 0 ; | |
9519 | int res1 = 0 ; | |
9520 | bool temp2 = false ; | |
9521 | PyObject * obj0 = 0 ; | |
9522 | PyObject * obj1 = 0 ; | |
9523 | char * kwnames[] = { | |
9524 | (char *) "self",(char *) "text", NULL | |
9525 | }; | |
9526 | ||
9527 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames,&obj0,&obj1)) SWIG_fail; | |
9528 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9529 | if (!SWIG_IsOK(res1)) { | |
9530 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9531 | } | |
9532 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9533 | { | |
9534 | arg2 = wxString_in_helper(obj1); | |
9535 | if (arg2 == NULL) SWIG_fail; | |
9536 | temp2 = true; | |
9537 | } | |
9538 | { | |
9539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9540 | (arg1)->SetHTMLStatusText((wxString const &)*arg2); | |
9541 | wxPyEndAllowThreads(__tstate); | |
9542 | if (PyErr_Occurred()) SWIG_fail; | |
9543 | } | |
9544 | resultobj = SWIG_Py_Void(); | |
9545 | { | |
9546 | if (temp2) | |
9547 | delete arg2; | |
9548 | } | |
9549 | return resultobj; | |
9550 | fail: | |
9551 | { | |
9552 | if (temp2) | |
9553 | delete arg2; | |
9554 | } | |
9555 | return NULL; | |
9556 | } | |
9557 | ||
9558 | ||
9559 | SWIGINTERN PyObject *HtmlWindowInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9560 | PyObject *obj; | |
9561 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9562 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface, SWIG_NewClientData(obj)); | |
9563 | return SWIG_Py_Void(); | |
9564 | } | |
9565 | ||
554f62e9 RD |
9566 | SWIGINTERN PyObject *_wrap_new_HtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9567 | PyObject *resultobj = 0; | |
9568 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9569 | int arg2 = (int) -1 ; | |
9570 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
9571 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9572 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9573 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9574 | int arg5 = (int) wxHW_DEFAULT_STYLE ; | |
9575 | wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ; | |
9576 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9577 | wxPyHtmlWindow *result = 0 ; | |
9578 | void *argp1 = 0 ; | |
9579 | int res1 = 0 ; | |
9580 | int val2 ; | |
9581 | int ecode2 = 0 ; | |
9582 | wxPoint temp3 ; | |
9583 | wxSize temp4 ; | |
9584 | int val5 ; | |
9585 | int ecode5 = 0 ; | |
9586 | bool temp6 = false ; | |
9587 | PyObject * obj0 = 0 ; | |
9588 | PyObject * obj1 = 0 ; | |
9589 | PyObject * obj2 = 0 ; | |
9590 | PyObject * obj3 = 0 ; | |
9591 | PyObject * obj4 = 0 ; | |
9592 | PyObject * obj5 = 0 ; | |
9593 | char * kwnames[] = { | |
9594 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9595 | }; | |
9596 | ||
9597 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
9598 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
9599 | if (!SWIG_IsOK(res1)) { | |
9600 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
9601 | } | |
9602 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
9603 | if (obj1) { | |
9604 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9605 | if (!SWIG_IsOK(ecode2)) { | |
9606 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'"); | |
9607 | } | |
9608 | arg2 = static_cast< int >(val2); | |
9609 | } | |
9610 | if (obj2) { | |
d14a1e28 | 9611 | { |
554f62e9 RD |
9612 | arg3 = &temp3; |
9613 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
d14a1e28 | 9614 | } |
554f62e9 RD |
9615 | } |
9616 | if (obj3) { | |
d14a1e28 | 9617 | { |
554f62e9 RD |
9618 | arg4 = &temp4; |
9619 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 9620 | } |
554f62e9 RD |
9621 | } |
9622 | if (obj4) { | |
9623 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
9624 | if (!SWIG_IsOK(ecode5)) { | |
9625 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'"); | |
9626 | } | |
9627 | arg5 = static_cast< int >(val5); | |
9628 | } | |
9629 | if (obj5) { | |
b1fcee84 | 9630 | { |
554f62e9 RD |
9631 | arg6 = wxString_in_helper(obj5); |
9632 | if (arg6 == NULL) SWIG_fail; | |
9633 | temp6 = true; | |
b1fcee84 | 9634 | } |
554f62e9 RD |
9635 | } |
9636 | { | |
9637 | if (!wxPyCheckForApp()) SWIG_fail; | |
9638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9639 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9640 | wxPyEndAllowThreads(__tstate); | |
9641 | if (PyErr_Occurred()) SWIG_fail; | |
9642 | } | |
9643 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_NEW | 0 ); | |
9644 | { | |
9645 | if (temp6) | |
9646 | delete arg6; | |
9647 | } | |
9648 | return resultobj; | |
9649 | fail: | |
9650 | { | |
9651 | if (temp6) | |
9652 | delete arg6; | |
9653 | } | |
9654 | return NULL; | |
d14a1e28 RD |
9655 | } |
9656 | ||
9657 | ||
554f62e9 RD |
9658 | SWIGINTERN PyObject *_wrap_new_PreHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9659 | PyObject *resultobj = 0; | |
9660 | wxPyHtmlWindow *result = 0 ; | |
9661 | ||
9662 | if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlWindow",0,0,0)) SWIG_fail; | |
9663 | { | |
9664 | if (!wxPyCheckForApp()) SWIG_fail; | |
9665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9666 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(); | |
9667 | wxPyEndAllowThreads(__tstate); | |
9668 | if (PyErr_Occurred()) SWIG_fail; | |
9669 | } | |
9670 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_OWN | 0 ); | |
9671 | return resultobj; | |
9672 | fail: | |
9673 | return NULL; | |
9674 | } | |
9675 | ||
9676 | ||
9677 | SWIGINTERN PyObject *_wrap_HtmlWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9678 | PyObject *resultobj = 0; | |
9679 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9680 | wxWindow *arg2 = (wxWindow *) 0 ; | |
9681 | int arg3 = (int) -1 ; | |
9682 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
9683 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9684 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9685 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9686 | int arg6 = (int) wxHW_SCROLLBAR_AUTO ; | |
9687 | wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ; | |
9688 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9689 | bool result; | |
9690 | void *argp1 = 0 ; | |
9691 | int res1 = 0 ; | |
9692 | void *argp2 = 0 ; | |
9693 | int res2 = 0 ; | |
9694 | int val3 ; | |
9695 | int ecode3 = 0 ; | |
9696 | wxPoint temp4 ; | |
9697 | wxSize temp5 ; | |
9698 | int val6 ; | |
9699 | int ecode6 = 0 ; | |
9700 | bool temp7 = false ; | |
9701 | PyObject * obj0 = 0 ; | |
9702 | PyObject * obj1 = 0 ; | |
9703 | PyObject * obj2 = 0 ; | |
9704 | PyObject * obj3 = 0 ; | |
9705 | PyObject * obj4 = 0 ; | |
9706 | PyObject * obj5 = 0 ; | |
9707 | PyObject * obj6 = 0 ; | |
9708 | char * kwnames[] = { | |
9709 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9710 | }; | |
9711 | ||
9712 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
9713 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9714 | if (!SWIG_IsOK(res1)) { | |
9715 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9716 | } | |
9717 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9718 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
9719 | if (!SWIG_IsOK(res2)) { | |
9720 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
9721 | } | |
9722 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
9723 | if (obj2) { | |
9724 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
9725 | if (!SWIG_IsOK(ecode3)) { | |
9726 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'"); | |
9727 | } | |
9728 | arg3 = static_cast< int >(val3); | |
9729 | } | |
9730 | if (obj3) { | |
d14a1e28 | 9731 | { |
554f62e9 RD |
9732 | arg4 = &temp4; |
9733 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 9734 | } |
554f62e9 RD |
9735 | } |
9736 | if (obj4) { | |
d14a1e28 | 9737 | { |
554f62e9 RD |
9738 | arg5 = &temp5; |
9739 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
d14a1e28 | 9740 | } |
554f62e9 RD |
9741 | } |
9742 | if (obj5) { | |
9743 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
9744 | if (!SWIG_IsOK(ecode6)) { | |
9745 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'"); | |
9746 | } | |
9747 | arg6 = static_cast< int >(val6); | |
9748 | } | |
9749 | if (obj6) { | |
4f89f6a3 | 9750 | { |
554f62e9 RD |
9751 | arg7 = wxString_in_helper(obj6); |
9752 | if (arg7 == NULL) SWIG_fail; | |
9753 | temp7 = true; | |
4f89f6a3 | 9754 | } |
554f62e9 RD |
9755 | } |
9756 | { | |
9757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9758 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9759 | wxPyEndAllowThreads(__tstate); | |
9760 | if (PyErr_Occurred()) SWIG_fail; | |
9761 | } | |
9762 | { | |
9763 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9764 | } | |
9765 | { | |
9766 | if (temp7) | |
9767 | delete arg7; | |
9768 | } | |
9769 | return resultobj; | |
9770 | fail: | |
9771 | { | |
9772 | if (temp7) | |
9773 | delete arg7; | |
9774 | } | |
9775 | return NULL; | |
9776 | } | |
9777 | ||
9778 | ||
9779 | SWIGINTERN PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9780 | PyObject *resultobj = 0; | |
9781 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9782 | PyObject *arg2 = (PyObject *) 0 ; | |
9783 | PyObject *arg3 = (PyObject *) 0 ; | |
9784 | void *argp1 = 0 ; | |
9785 | int res1 = 0 ; | |
9786 | PyObject * obj0 = 0 ; | |
9787 | PyObject * obj1 = 0 ; | |
9788 | PyObject * obj2 = 0 ; | |
9789 | char * kwnames[] = { | |
9790 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9791 | }; | |
9792 | ||
9793 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9794 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9795 | if (!SWIG_IsOK(res1)) { | |
9796 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9797 | } | |
9798 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9799 | arg2 = obj1; | |
9800 | arg3 = obj2; | |
9801 | { | |
9802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9803 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9804 | wxPyEndAllowThreads(__tstate); | |
9805 | if (PyErr_Occurred()) SWIG_fail; | |
9806 | } | |
9807 | resultobj = SWIG_Py_Void(); | |
9808 | return resultobj; | |
9809 | fail: | |
9810 | return NULL; | |
9811 | } | |
9812 | ||
9813 | ||
9814 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9815 | PyObject *resultobj = 0; | |
9816 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9817 | wxString *arg2 = 0 ; | |
9818 | bool result; | |
9819 | void *argp1 = 0 ; | |
9820 | int res1 = 0 ; | |
9821 | bool temp2 = false ; | |
9822 | PyObject * obj0 = 0 ; | |
9823 | PyObject * obj1 = 0 ; | |
9824 | char * kwnames[] = { | |
9825 | (char *) "self",(char *) "source", NULL | |
9826 | }; | |
9827 | ||
9828 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9829 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9830 | if (!SWIG_IsOK(res1)) { | |
9831 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9832 | } | |
9833 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9834 | { | |
9835 | arg2 = wxString_in_helper(obj1); | |
9836 | if (arg2 == NULL) SWIG_fail; | |
9837 | temp2 = true; | |
9838 | } | |
9839 | { | |
9840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9841 | result = (bool)(arg1)->SetPage((wxString const &)*arg2); | |
9842 | wxPyEndAllowThreads(__tstate); | |
9843 | if (PyErr_Occurred()) SWIG_fail; | |
9844 | } | |
9845 | { | |
9846 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9847 | } | |
9848 | { | |
9849 | if (temp2) | |
9850 | delete arg2; | |
9851 | } | |
9852 | return resultobj; | |
9853 | fail: | |
9854 | { | |
9855 | if (temp2) | |
9856 | delete arg2; | |
9857 | } | |
9858 | return NULL; | |
9859 | } | |
9860 | ||
9861 | ||
9862 | SWIGINTERN PyObject *_wrap_HtmlWindow_LoadPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9863 | PyObject *resultobj = 0; | |
9864 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9865 | wxString *arg2 = 0 ; | |
9866 | bool result; | |
9867 | void *argp1 = 0 ; | |
9868 | int res1 = 0 ; | |
9869 | bool temp2 = false ; | |
9870 | PyObject * obj0 = 0 ; | |
9871 | PyObject * obj1 = 0 ; | |
9872 | char * kwnames[] = { | |
9873 | (char *) "self",(char *) "location", NULL | |
9874 | }; | |
9875 | ||
9876 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9877 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9878 | if (!SWIG_IsOK(res1)) { | |
9879 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9880 | } | |
9881 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9882 | { | |
9883 | arg2 = wxString_in_helper(obj1); | |
9884 | if (arg2 == NULL) SWIG_fail; | |
9885 | temp2 = true; | |
9886 | } | |
9887 | { | |
9888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9889 | result = (bool)(arg1)->LoadPage((wxString const &)*arg2); | |
9890 | wxPyEndAllowThreads(__tstate); | |
9891 | if (PyErr_Occurred()) SWIG_fail; | |
9892 | } | |
9893 | { | |
9894 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9895 | } | |
9896 | { | |
9897 | if (temp2) | |
9898 | delete arg2; | |
9899 | } | |
9900 | return resultobj; | |
9901 | fail: | |
9902 | { | |
9903 | if (temp2) | |
9904 | delete arg2; | |
9905 | } | |
9906 | return NULL; | |
9907 | } | |
9908 | ||
9909 | ||
9910 | SWIGINTERN PyObject *_wrap_HtmlWindow_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9911 | PyObject *resultobj = 0; | |
9912 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9913 | wxString *arg2 = 0 ; | |
9914 | bool result; | |
9915 | void *argp1 = 0 ; | |
9916 | int res1 = 0 ; | |
9917 | bool temp2 = false ; | |
9918 | PyObject * obj0 = 0 ; | |
9919 | PyObject * obj1 = 0 ; | |
9920 | char * kwnames[] = { | |
9921 | (char *) "self",(char *) "filename", NULL | |
9922 | }; | |
9923 | ||
9924 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
9925 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9926 | if (!SWIG_IsOK(res1)) { | |
9927 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9928 | } | |
9929 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9930 | { | |
9931 | arg2 = wxString_in_helper(obj1); | |
9932 | if (arg2 == NULL) SWIG_fail; | |
9933 | temp2 = true; | |
9934 | } | |
9935 | { | |
9936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9937 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
9938 | wxPyEndAllowThreads(__tstate); | |
9939 | if (PyErr_Occurred()) SWIG_fail; | |
9940 | } | |
9941 | { | |
9942 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9943 | } | |
9944 | { | |
9945 | if (temp2) | |
9946 | delete arg2; | |
9947 | } | |
9948 | return resultobj; | |
9949 | fail: | |
9950 | { | |
9951 | if (temp2) | |
9952 | delete arg2; | |
9953 | } | |
9954 | return NULL; | |
9955 | } | |
9956 | ||
9957 | ||
9958 | SWIGINTERN PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9959 | PyObject *resultobj = 0; | |
9960 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9961 | wxString *arg2 = 0 ; | |
9962 | bool result; | |
9963 | void *argp1 = 0 ; | |
9964 | int res1 = 0 ; | |
9965 | bool temp2 = false ; | |
9966 | PyObject * obj0 = 0 ; | |
9967 | PyObject * obj1 = 0 ; | |
9968 | char * kwnames[] = { | |
9969 | (char *) "self",(char *) "source", NULL | |
9970 | }; | |
9971 | ||
9972 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9973 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9974 | if (!SWIG_IsOK(res1)) { | |
9975 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9976 | } | |
9977 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9978 | { | |
9979 | arg2 = wxString_in_helper(obj1); | |
9980 | if (arg2 == NULL) SWIG_fail; | |
9981 | temp2 = true; | |
9982 | } | |
9983 | { | |
9984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9985 | result = (bool)(arg1)->AppendToPage((wxString const &)*arg2); | |
9986 | wxPyEndAllowThreads(__tstate); | |
9987 | if (PyErr_Occurred()) SWIG_fail; | |
9988 | } | |
9989 | { | |
9990 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9991 | } | |
9992 | { | |
9993 | if (temp2) | |
9994 | delete arg2; | |
9995 | } | |
9996 | return resultobj; | |
9997 | fail: | |
9998 | { | |
9999 | if (temp2) | |
10000 | delete arg2; | |
10001 | } | |
10002 | return NULL; | |
d14a1e28 RD |
10003 | } |
10004 | ||
10005 | ||
554f62e9 RD |
10006 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10007 | PyObject *resultobj = 0; | |
10008 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10009 | wxString result; | |
10010 | void *argp1 = 0 ; | |
10011 | int res1 = 0 ; | |
10012 | PyObject *swig_obj[1] ; | |
10013 | ||
10014 | if (!args) SWIG_fail; | |
10015 | swig_obj[0] = args; | |
10016 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10017 | if (!SWIG_IsOK(res1)) { | |
10018 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10019 | } | |
10020 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10021 | { | |
10022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10023 | result = (arg1)->GetOpenedPage(); | |
10024 | wxPyEndAllowThreads(__tstate); | |
10025 | if (PyErr_Occurred()) SWIG_fail; | |
10026 | } | |
10027 | { | |
10028 | #if wxUSE_UNICODE | |
10029 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10030 | #else | |
10031 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10032 | #endif | |
10033 | } | |
10034 | return resultobj; | |
10035 | fail: | |
10036 | return NULL; | |
d14a1e28 RD |
10037 | } |
10038 | ||
10039 | ||
554f62e9 RD |
10040 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10041 | PyObject *resultobj = 0; | |
10042 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10043 | wxString result; | |
10044 | void *argp1 = 0 ; | |
10045 | int res1 = 0 ; | |
10046 | PyObject *swig_obj[1] ; | |
10047 | ||
10048 | if (!args) SWIG_fail; | |
10049 | swig_obj[0] = args; | |
10050 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10051 | if (!SWIG_IsOK(res1)) { | |
10052 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10053 | } | |
10054 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10055 | { | |
10056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10057 | result = (arg1)->GetOpenedAnchor(); | |
10058 | wxPyEndAllowThreads(__tstate); | |
10059 | if (PyErr_Occurred()) SWIG_fail; | |
10060 | } | |
10061 | { | |
10062 | #if wxUSE_UNICODE | |
10063 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10064 | #else | |
10065 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10066 | #endif | |
10067 | } | |
10068 | return resultobj; | |
10069 | fail: | |
10070 | return NULL; | |
d14a1e28 RD |
10071 | } |
10072 | ||
10073 | ||
554f62e9 RD |
10074 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10075 | PyObject *resultobj = 0; | |
10076 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10077 | wxString result; | |
10078 | void *argp1 = 0 ; | |
10079 | int res1 = 0 ; | |
10080 | PyObject *swig_obj[1] ; | |
10081 | ||
10082 | if (!args) SWIG_fail; | |
10083 | swig_obj[0] = args; | |
10084 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10085 | if (!SWIG_IsOK(res1)) { | |
10086 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10087 | } | |
10088 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10089 | { | |
10090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10091 | result = (arg1)->GetOpenedPageTitle(); | |
10092 | wxPyEndAllowThreads(__tstate); | |
10093 | if (PyErr_Occurred()) SWIG_fail; | |
10094 | } | |
10095 | { | |
10096 | #if wxUSE_UNICODE | |
10097 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10098 | #else | |
10099 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10100 | #endif | |
10101 | } | |
10102 | return resultobj; | |
10103 | fail: | |
10104 | return NULL; | |
10105 | } | |
10106 | ||
10107 | ||
10108 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10109 | PyObject *resultobj = 0; | |
10110 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10111 | wxFrame *arg2 = (wxFrame *) 0 ; | |
10112 | wxString *arg3 = 0 ; | |
10113 | void *argp1 = 0 ; | |
10114 | int res1 = 0 ; | |
10115 | void *argp2 = 0 ; | |
10116 | int res2 = 0 ; | |
10117 | bool temp3 = false ; | |
10118 | PyObject * obj0 = 0 ; | |
10119 | PyObject * obj1 = 0 ; | |
10120 | PyObject * obj2 = 0 ; | |
10121 | char * kwnames[] = { | |
10122 | (char *) "self",(char *) "frame",(char *) "format", NULL | |
10123 | }; | |
10124 | ||
10125 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10126 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10127 | if (!SWIG_IsOK(res1)) { | |
10128 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10129 | } | |
10130 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10131 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 ); | |
10132 | if (!SWIG_IsOK(res2)) { | |
10133 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'"); | |
10134 | } | |
10135 | arg2 = reinterpret_cast< wxFrame * >(argp2); | |
10136 | { | |
10137 | arg3 = wxString_in_helper(obj2); | |
10138 | if (arg3 == NULL) SWIG_fail; | |
10139 | temp3 = true; | |
10140 | } | |
10141 | { | |
10142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10143 | (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3); | |
10144 | wxPyEndAllowThreads(__tstate); | |
10145 | if (PyErr_Occurred()) SWIG_fail; | |
10146 | } | |
10147 | resultobj = SWIG_Py_Void(); | |
10148 | { | |
10149 | if (temp3) | |
10150 | delete arg3; | |
10151 | } | |
10152 | return resultobj; | |
10153 | fail: | |
10154 | { | |
10155 | if (temp3) | |
10156 | delete arg3; | |
10157 | } | |
10158 | return NULL; | |
d14a1e28 RD |
10159 | } |
10160 | ||
10161 | ||
554f62e9 RD |
10162 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10163 | PyObject *resultobj = 0; | |
10164 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10165 | wxFrame *result = 0 ; | |
10166 | void *argp1 = 0 ; | |
10167 | int res1 = 0 ; | |
10168 | PyObject *swig_obj[1] ; | |
10169 | ||
10170 | if (!args) SWIG_fail; | |
10171 | swig_obj[0] = args; | |
10172 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10173 | if (!SWIG_IsOK(res1)) { | |
10174 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10175 | } | |
10176 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10177 | { | |
10178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10179 | result = (wxFrame *)(arg1)->GetRelatedFrame(); | |
10180 | wxPyEndAllowThreads(__tstate); | |
10181 | if (PyErr_Occurred()) SWIG_fail; | |
10182 | } | |
10183 | { | |
10184 | resultobj = wxPyMake_wxObject(result, 0); | |
10185 | } | |
10186 | return resultobj; | |
10187 | fail: | |
10188 | return NULL; | |
10189 | } | |
10190 | ||
10191 | ||
10192 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10193 | PyObject *resultobj = 0; | |
10194 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10195 | int arg2 ; | |
10196 | void *argp1 = 0 ; | |
10197 | int res1 = 0 ; | |
10198 | int val2 ; | |
10199 | int ecode2 = 0 ; | |
10200 | PyObject * obj0 = 0 ; | |
10201 | PyObject * obj1 = 0 ; | |
10202 | char * kwnames[] = { | |
10203 | (char *) "self",(char *) "bar", NULL | |
10204 | }; | |
10205 | ||
10206 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) SWIG_fail; | |
10207 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10208 | if (!SWIG_IsOK(res1)) { | |
10209 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10210 | } | |
10211 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10212 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10213 | if (!SWIG_IsOK(ecode2)) { | |
10214 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'"); | |
10215 | } | |
10216 | arg2 = static_cast< int >(val2); | |
10217 | { | |
10218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10219 | (arg1)->SetRelatedStatusBar(arg2); | |
10220 | wxPyEndAllowThreads(__tstate); | |
10221 | if (PyErr_Occurred()) SWIG_fail; | |
10222 | } | |
10223 | resultobj = SWIG_Py_Void(); | |
10224 | return resultobj; | |
10225 | fail: | |
10226 | return NULL; | |
10227 | } | |
10228 | ||
10229 | ||
10230 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10231 | PyObject *resultobj = 0; | |
10232 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10233 | wxString arg2 ; | |
10234 | wxString arg3 ; | |
10235 | PyObject *arg4 = (PyObject *) NULL ; | |
10236 | void *argp1 = 0 ; | |
10237 | int res1 = 0 ; | |
10238 | PyObject * obj0 = 0 ; | |
10239 | PyObject * obj1 = 0 ; | |
10240 | PyObject * obj2 = 0 ; | |
10241 | PyObject * obj3 = 0 ; | |
10242 | char * kwnames[] = { | |
10243 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
10244 | }; | |
10245 | ||
10246 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
10247 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10248 | if (!SWIG_IsOK(res1)) { | |
10249 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10250 | } | |
10251 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10252 | { | |
10253 | wxString* sptr = wxString_in_helper(obj1); | |
10254 | if (sptr == NULL) SWIG_fail; | |
10255 | arg2 = *sptr; | |
10256 | delete sptr; | |
10257 | } | |
10258 | { | |
10259 | wxString* sptr = wxString_in_helper(obj2); | |
10260 | if (sptr == NULL) SWIG_fail; | |
10261 | arg3 = *sptr; | |
10262 | delete sptr; | |
10263 | } | |
10264 | if (obj3) { | |
10265 | arg4 = obj3; | |
10266 | } | |
10267 | { | |
10268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10269 | wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4); | |
10270 | wxPyEndAllowThreads(__tstate); | |
10271 | if (PyErr_Occurred()) SWIG_fail; | |
10272 | } | |
10273 | resultobj = SWIG_Py_Void(); | |
10274 | return resultobj; | |
10275 | fail: | |
10276 | return NULL; | |
10277 | } | |
10278 | ||
10279 | ||
10280 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10281 | PyObject *resultobj = 0; | |
10282 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10283 | int arg2 = (int) -1 ; | |
10284 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10285 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10286 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
10287 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
10288 | void *argp1 = 0 ; | |
10289 | int res1 = 0 ; | |
10290 | int val2 ; | |
10291 | int ecode2 = 0 ; | |
10292 | bool temp3 = false ; | |
10293 | bool temp4 = false ; | |
10294 | PyObject * obj0 = 0 ; | |
10295 | PyObject * obj1 = 0 ; | |
10296 | PyObject * obj2 = 0 ; | |
10297 | PyObject * obj3 = 0 ; | |
10298 | char * kwnames[] = { | |
10299 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
10300 | }; | |
10301 | ||
10302 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
10303 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10304 | if (!SWIG_IsOK(res1)) { | |
10305 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10306 | } | |
10307 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10308 | if (obj1) { | |
10309 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10310 | if (!SWIG_IsOK(ecode2)) { | |
10311 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
10312 | } | |
10313 | arg2 = static_cast< int >(val2); | |
10314 | } | |
10315 | if (obj2) { | |
093d3ff1 | 10316 | { |
554f62e9 RD |
10317 | arg3 = wxString_in_helper(obj2); |
10318 | if (arg3 == NULL) SWIG_fail; | |
10319 | temp3 = true; | |
093d3ff1 | 10320 | } |
554f62e9 RD |
10321 | } |
10322 | if (obj3) { | |
d14a1e28 | 10323 | { |
554f62e9 RD |
10324 | arg4 = wxString_in_helper(obj3); |
10325 | if (arg4 == NULL) SWIG_fail; | |
10326 | temp4 = true; | |
093d3ff1 | 10327 | } |
554f62e9 RD |
10328 | } |
10329 | { | |
10330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10331 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
10332 | wxPyEndAllowThreads(__tstate); | |
10333 | if (PyErr_Occurred()) SWIG_fail; | |
10334 | } | |
10335 | resultobj = SWIG_Py_Void(); | |
10336 | { | |
10337 | if (temp3) | |
10338 | delete arg3; | |
10339 | } | |
10340 | { | |
10341 | if (temp4) | |
10342 | delete arg4; | |
10343 | } | |
10344 | return resultobj; | |
10345 | fail: | |
10346 | { | |
10347 | if (temp3) | |
10348 | delete arg3; | |
10349 | } | |
10350 | { | |
10351 | if (temp4) | |
10352 | delete arg4; | |
10353 | } | |
10354 | return NULL; | |
10355 | } | |
10356 | ||
10357 | ||
10358 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetBorders(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10359 | PyObject *resultobj = 0; | |
10360 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10361 | int arg2 ; | |
10362 | void *argp1 = 0 ; | |
10363 | int res1 = 0 ; | |
10364 | int val2 ; | |
10365 | int ecode2 = 0 ; | |
10366 | PyObject * obj0 = 0 ; | |
10367 | PyObject * obj1 = 0 ; | |
10368 | char * kwnames[] = { | |
10369 | (char *) "self",(char *) "b", NULL | |
10370 | }; | |
10371 | ||
10372 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) SWIG_fail; | |
10373 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10374 | if (!SWIG_IsOK(res1)) { | |
10375 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10376 | } | |
10377 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10378 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10379 | if (!SWIG_IsOK(ecode2)) { | |
10380 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'"); | |
10381 | } | |
10382 | arg2 = static_cast< int >(val2); | |
10383 | { | |
10384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10385 | (arg1)->SetBorders(arg2); | |
10386 | wxPyEndAllowThreads(__tstate); | |
10387 | if (PyErr_Occurred()) SWIG_fail; | |
10388 | } | |
10389 | resultobj = SWIG_Py_Void(); | |
10390 | return resultobj; | |
10391 | fail: | |
10392 | return NULL; | |
10393 | } | |
10394 | ||
10395 | ||
10396 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10397 | PyObject *resultobj = 0; | |
10398 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10399 | wxBitmap *arg2 = 0 ; | |
10400 | void *argp1 = 0 ; | |
10401 | int res1 = 0 ; | |
10402 | void *argp2 = 0 ; | |
10403 | int res2 = 0 ; | |
10404 | PyObject * obj0 = 0 ; | |
10405 | PyObject * obj1 = 0 ; | |
10406 | char * kwnames[] = { | |
10407 | (char *) "self",(char *) "bmpBg", NULL | |
10408 | }; | |
10409 | ||
10410 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail; | |
10411 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10412 | if (!SWIG_IsOK(res1)) { | |
10413 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10414 | } | |
10415 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10416 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); | |
10417 | if (!SWIG_IsOK(res2)) { | |
10418 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
10419 | } | |
10420 | if (!argp2) { | |
10421 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
10422 | } | |
10423 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
10424 | { | |
10425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10426 | (arg1)->SetBackgroundImage((wxBitmap const &)*arg2); | |
10427 | wxPyEndAllowThreads(__tstate); | |
10428 | if (PyErr_Occurred()) SWIG_fail; | |
10429 | } | |
10430 | resultobj = SWIG_Py_Void(); | |
10431 | return resultobj; | |
10432 | fail: | |
10433 | return NULL; | |
10434 | } | |
10435 | ||
10436 | ||
10437 | SWIGINTERN PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10438 | PyObject *resultobj = 0; | |
10439 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10440 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10441 | wxString arg3 = (wxString) wxPyEmptyString ; | |
10442 | void *argp1 = 0 ; | |
10443 | int res1 = 0 ; | |
10444 | void *argp2 = 0 ; | |
10445 | int res2 = 0 ; | |
10446 | PyObject * obj0 = 0 ; | |
10447 | PyObject * obj1 = 0 ; | |
10448 | PyObject * obj2 = 0 ; | |
10449 | char * kwnames[] = { | |
10450 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10451 | }; | |
10452 | ||
10453 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10454 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10455 | if (!SWIG_IsOK(res1)) { | |
10456 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10457 | } | |
10458 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10459 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
10460 | if (!SWIG_IsOK(res2)) { | |
10461 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
10462 | } | |
10463 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
10464 | if (obj2) { | |
093d3ff1 | 10465 | { |
554f62e9 RD |
10466 | wxString* sptr = wxString_in_helper(obj2); |
10467 | if (sptr == NULL) SWIG_fail; | |
10468 | arg3 = *sptr; | |
10469 | delete sptr; | |
d14a1e28 | 10470 | } |
554f62e9 RD |
10471 | } |
10472 | { | |
10473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10474 | (arg1)->ReadCustomization(arg2,arg3); | |
10475 | wxPyEndAllowThreads(__tstate); | |
10476 | if (PyErr_Occurred()) SWIG_fail; | |
10477 | } | |
10478 | resultobj = SWIG_Py_Void(); | |
10479 | return resultobj; | |
10480 | fail: | |
10481 | return NULL; | |
10482 | } | |
10483 | ||
10484 | ||
10485 | SWIGINTERN PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10486 | PyObject *resultobj = 0; | |
10487 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10488 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10489 | wxString arg3 = (wxString) wxPyEmptyString ; | |
10490 | void *argp1 = 0 ; | |
10491 | int res1 = 0 ; | |
10492 | void *argp2 = 0 ; | |
10493 | int res2 = 0 ; | |
10494 | PyObject * obj0 = 0 ; | |
10495 | PyObject * obj1 = 0 ; | |
10496 | PyObject * obj2 = 0 ; | |
10497 | char * kwnames[] = { | |
10498 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10499 | }; | |
10500 | ||
10501 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10502 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10503 | if (!SWIG_IsOK(res1)) { | |
10504 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10505 | } | |
10506 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10507 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
10508 | if (!SWIG_IsOK(res2)) { | |
10509 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
10510 | } | |
10511 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
10512 | if (obj2) { | |
d14a1e28 | 10513 | { |
554f62e9 RD |
10514 | wxString* sptr = wxString_in_helper(obj2); |
10515 | if (sptr == NULL) SWIG_fail; | |
10516 | arg3 = *sptr; | |
10517 | delete sptr; | |
d14a1e28 | 10518 | } |
554f62e9 RD |
10519 | } |
10520 | { | |
10521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10522 | (arg1)->WriteCustomization(arg2,arg3); | |
10523 | wxPyEndAllowThreads(__tstate); | |
10524 | if (PyErr_Occurred()) SWIG_fail; | |
10525 | } | |
10526 | resultobj = SWIG_Py_Void(); | |
10527 | return resultobj; | |
10528 | fail: | |
10529 | return NULL; | |
d14a1e28 RD |
10530 | } |
10531 | ||
10532 | ||
554f62e9 RD |
10533 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10534 | PyObject *resultobj = 0; | |
10535 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10536 | bool result; | |
10537 | void *argp1 = 0 ; | |
10538 | int res1 = 0 ; | |
10539 | PyObject *swig_obj[1] ; | |
10540 | ||
10541 | if (!args) SWIG_fail; | |
10542 | swig_obj[0] = args; | |
10543 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10544 | if (!SWIG_IsOK(res1)) { | |
10545 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10546 | } | |
10547 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10548 | { | |
10549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10550 | result = (bool)(arg1)->HistoryBack(); | |
10551 | wxPyEndAllowThreads(__tstate); | |
10552 | if (PyErr_Occurred()) SWIG_fail; | |
10553 | } | |
10554 | { | |
10555 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10556 | } | |
10557 | return resultobj; | |
10558 | fail: | |
10559 | return NULL; | |
d14a1e28 RD |
10560 | } |
10561 | ||
10562 | ||
554f62e9 RD |
10563 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10564 | PyObject *resultobj = 0; | |
10565 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10566 | bool result; | |
10567 | void *argp1 = 0 ; | |
10568 | int res1 = 0 ; | |
10569 | PyObject *swig_obj[1] ; | |
10570 | ||
10571 | if (!args) SWIG_fail; | |
10572 | swig_obj[0] = args; | |
10573 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10574 | if (!SWIG_IsOK(res1)) { | |
10575 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10576 | } | |
10577 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10578 | { | |
10579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10580 | result = (bool)(arg1)->HistoryForward(); | |
10581 | wxPyEndAllowThreads(__tstate); | |
10582 | if (PyErr_Occurred()) SWIG_fail; | |
10583 | } | |
10584 | { | |
10585 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10586 | } | |
10587 | return resultobj; | |
10588 | fail: | |
10589 | return NULL; | |
d14a1e28 RD |
10590 | } |
10591 | ||
10592 | ||
554f62e9 RD |
10593 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10594 | PyObject *resultobj = 0; | |
10595 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10596 | bool result; | |
10597 | void *argp1 = 0 ; | |
10598 | int res1 = 0 ; | |
10599 | PyObject *swig_obj[1] ; | |
10600 | ||
10601 | if (!args) SWIG_fail; | |
10602 | swig_obj[0] = args; | |
10603 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10604 | if (!SWIG_IsOK(res1)) { | |
10605 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10606 | } | |
10607 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10608 | { | |
10609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10610 | result = (bool)(arg1)->HistoryCanBack(); | |
10611 | wxPyEndAllowThreads(__tstate); | |
10612 | if (PyErr_Occurred()) SWIG_fail; | |
10613 | } | |
10614 | { | |
10615 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10616 | } | |
10617 | return resultobj; | |
10618 | fail: | |
10619 | return NULL; | |
d14a1e28 RD |
10620 | } |
10621 | ||
10622 | ||
554f62e9 RD |
10623 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10624 | PyObject *resultobj = 0; | |
10625 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10626 | bool result; | |
10627 | void *argp1 = 0 ; | |
10628 | int res1 = 0 ; | |
10629 | PyObject *swig_obj[1] ; | |
10630 | ||
10631 | if (!args) SWIG_fail; | |
10632 | swig_obj[0] = args; | |
10633 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10634 | if (!SWIG_IsOK(res1)) { | |
10635 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10636 | } | |
10637 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10638 | { | |
10639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10640 | result = (bool)(arg1)->HistoryCanForward(); | |
10641 | wxPyEndAllowThreads(__tstate); | |
10642 | if (PyErr_Occurred()) SWIG_fail; | |
10643 | } | |
10644 | { | |
10645 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10646 | } | |
10647 | return resultobj; | |
10648 | fail: | |
10649 | return NULL; | |
d14a1e28 RD |
10650 | } |
10651 | ||
10652 | ||
554f62e9 RD |
10653 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10654 | PyObject *resultobj = 0; | |
10655 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10656 | void *argp1 = 0 ; | |
10657 | int res1 = 0 ; | |
10658 | PyObject *swig_obj[1] ; | |
10659 | ||
10660 | if (!args) SWIG_fail; | |
10661 | swig_obj[0] = args; | |
10662 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10663 | if (!SWIG_IsOK(res1)) { | |
10664 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10665 | } | |
10666 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10667 | { | |
10668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10669 | (arg1)->HistoryClear(); | |
10670 | wxPyEndAllowThreads(__tstate); | |
10671 | if (PyErr_Occurred()) SWIG_fail; | |
10672 | } | |
10673 | resultobj = SWIG_Py_Void(); | |
10674 | return resultobj; | |
10675 | fail: | |
10676 | return NULL; | |
d14a1e28 RD |
10677 | } |
10678 | ||
10679 | ||
554f62e9 RD |
10680 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10681 | PyObject *resultobj = 0; | |
10682 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10683 | wxHtmlContainerCell *result = 0 ; | |
10684 | void *argp1 = 0 ; | |
10685 | int res1 = 0 ; | |
10686 | PyObject *swig_obj[1] ; | |
10687 | ||
10688 | if (!args) SWIG_fail; | |
10689 | swig_obj[0] = args; | |
10690 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10691 | if (!SWIG_IsOK(res1)) { | |
10692 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10693 | } | |
10694 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10695 | { | |
10696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10697 | result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation(); | |
10698 | wxPyEndAllowThreads(__tstate); | |
10699 | if (PyErr_Occurred()) SWIG_fail; | |
10700 | } | |
10701 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
10702 | return resultobj; | |
10703 | fail: | |
10704 | return NULL; | |
d14a1e28 RD |
10705 | } |
10706 | ||
10707 | ||
554f62e9 RD |
10708 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10709 | PyObject *resultobj = 0; | |
10710 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10711 | wxHtmlWinParser *result = 0 ; | |
10712 | void *argp1 = 0 ; | |
10713 | int res1 = 0 ; | |
10714 | PyObject *swig_obj[1] ; | |
10715 | ||
10716 | if (!args) SWIG_fail; | |
10717 | swig_obj[0] = args; | |
10718 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10719 | if (!SWIG_IsOK(res1)) { | |
10720 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10721 | } | |
10722 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10723 | { | |
10724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10725 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
10726 | wxPyEndAllowThreads(__tstate); | |
10727 | if (PyErr_Occurred()) SWIG_fail; | |
10728 | } | |
10729 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
10730 | return resultobj; | |
10731 | fail: | |
10732 | return NULL; | |
10733 | } | |
10734 | ||
10735 | ||
10736 | SWIGINTERN PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10737 | PyObject *resultobj = 0; | |
10738 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10739 | wxString *arg2 = 0 ; | |
10740 | bool result; | |
10741 | void *argp1 = 0 ; | |
10742 | int res1 = 0 ; | |
10743 | bool temp2 = false ; | |
10744 | PyObject * obj0 = 0 ; | |
10745 | PyObject * obj1 = 0 ; | |
10746 | char * kwnames[] = { | |
10747 | (char *) "self",(char *) "anchor", NULL | |
10748 | }; | |
10749 | ||
10750 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) SWIG_fail; | |
10751 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10752 | if (!SWIG_IsOK(res1)) { | |
10753 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10754 | } | |
10755 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10756 | { | |
10757 | arg2 = wxString_in_helper(obj1); | |
10758 | if (arg2 == NULL) SWIG_fail; | |
10759 | temp2 = true; | |
10760 | } | |
10761 | { | |
10762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10763 | result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2); | |
10764 | wxPyEndAllowThreads(__tstate); | |
10765 | if (PyErr_Occurred()) SWIG_fail; | |
10766 | } | |
10767 | { | |
10768 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10769 | } | |
10770 | { | |
10771 | if (temp2) | |
10772 | delete arg2; | |
10773 | } | |
10774 | return resultobj; | |
10775 | fail: | |
10776 | { | |
10777 | if (temp2) | |
10778 | delete arg2; | |
10779 | } | |
10780 | return NULL; | |
10781 | } | |
10782 | ||
10783 | ||
10784 | SWIGINTERN PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10785 | PyObject *resultobj = 0; | |
10786 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10787 | wxString *arg2 = 0 ; | |
10788 | bool result; | |
10789 | void *argp1 = 0 ; | |
10790 | int res1 = 0 ; | |
10791 | bool temp2 = false ; | |
10792 | PyObject * obj0 = 0 ; | |
10793 | PyObject * obj1 = 0 ; | |
10794 | char * kwnames[] = { | |
10795 | (char *) "self",(char *) "anchor", NULL | |
10796 | }; | |
10797 | ||
10798 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) SWIG_fail; | |
10799 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10800 | if (!SWIG_IsOK(res1)) { | |
10801 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10802 | } | |
10803 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10804 | { | |
10805 | arg2 = wxString_in_helper(obj1); | |
10806 | if (arg2 == NULL) SWIG_fail; | |
10807 | temp2 = true; | |
10808 | } | |
10809 | { | |
10810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10811 | result = (bool)(arg1)->HasAnchor((wxString const &)*arg2); | |
10812 | wxPyEndAllowThreads(__tstate); | |
10813 | if (PyErr_Occurred()) SWIG_fail; | |
10814 | } | |
10815 | { | |
10816 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10817 | } | |
10818 | { | |
10819 | if (temp2) | |
10820 | delete arg2; | |
10821 | } | |
10822 | return resultobj; | |
10823 | fail: | |
10824 | { | |
10825 | if (temp2) | |
10826 | delete arg2; | |
10827 | } | |
10828 | return NULL; | |
d14a1e28 RD |
10829 | } |
10830 | ||
10831 | ||
554f62e9 RD |
10832 | SWIGINTERN PyObject *_wrap_HtmlWindow_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10833 | PyObject *resultobj = 0; | |
10834 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
10835 | void *argp1 = 0 ; | |
10836 | int res1 = 0 ; | |
10837 | PyObject * obj0 = 0 ; | |
10838 | char * kwnames[] = { | |
10839 | (char *) "filter", NULL | |
10840 | }; | |
10841 | ||
10842 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) SWIG_fail; | |
10843 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 ); | |
10844 | if (!SWIG_IsOK(res1)) { | |
10845 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'"); | |
10846 | } | |
10847 | arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1); | |
10848 | { | |
10849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10850 | wxPyHtmlWindow::AddFilter(arg1); | |
10851 | wxPyEndAllowThreads(__tstate); | |
10852 | if (PyErr_Occurred()) SWIG_fail; | |
10853 | } | |
10854 | resultobj = SWIG_Py_Void(); | |
10855 | return resultobj; | |
10856 | fail: | |
10857 | return NULL; | |
10858 | } | |
10859 | ||
10860 | ||
10861 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10862 | PyObject *resultobj = 0; | |
10863 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10864 | wxPoint *arg2 = 0 ; | |
10865 | void *argp1 = 0 ; | |
10866 | int res1 = 0 ; | |
10867 | wxPoint temp2 ; | |
10868 | PyObject * obj0 = 0 ; | |
10869 | PyObject * obj1 = 0 ; | |
10870 | char * kwnames[] = { | |
10871 | (char *) "self",(char *) "pos", NULL | |
10872 | }; | |
10873 | ||
10874 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail; | |
10875 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10876 | if (!SWIG_IsOK(res1)) { | |
10877 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10878 | } | |
10879 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10880 | { | |
10881 | arg2 = &temp2; | |
10882 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10883 | } | |
10884 | { | |
10885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10886 | (arg1)->SelectWord((wxPoint const &)*arg2); | |
10887 | wxPyEndAllowThreads(__tstate); | |
10888 | if (PyErr_Occurred()) SWIG_fail; | |
10889 | } | |
10890 | resultobj = SWIG_Py_Void(); | |
10891 | return resultobj; | |
10892 | fail: | |
10893 | return NULL; | |
10894 | } | |
10895 | ||
10896 | ||
10897 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10898 | PyObject *resultobj = 0; | |
10899 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10900 | wxPoint *arg2 = 0 ; | |
10901 | void *argp1 = 0 ; | |
10902 | int res1 = 0 ; | |
10903 | wxPoint temp2 ; | |
10904 | PyObject * obj0 = 0 ; | |
10905 | PyObject * obj1 = 0 ; | |
10906 | char * kwnames[] = { | |
10907 | (char *) "self",(char *) "pos", NULL | |
10908 | }; | |
10909 | ||
10910 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) SWIG_fail; | |
10911 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10912 | if (!SWIG_IsOK(res1)) { | |
10913 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10914 | } | |
10915 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10916 | { | |
10917 | arg2 = &temp2; | |
10918 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10919 | } | |
10920 | { | |
10921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10922 | (arg1)->SelectLine((wxPoint const &)*arg2); | |
10923 | wxPyEndAllowThreads(__tstate); | |
10924 | if (PyErr_Occurred()) SWIG_fail; | |
10925 | } | |
10926 | resultobj = SWIG_Py_Void(); | |
10927 | return resultobj; | |
10928 | fail: | |
10929 | return NULL; | |
d14a1e28 RD |
10930 | } |
10931 | ||
10932 | ||
554f62e9 RD |
10933 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10934 | PyObject *resultobj = 0; | |
10935 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10936 | void *argp1 = 0 ; | |
10937 | int res1 = 0 ; | |
10938 | PyObject *swig_obj[1] ; | |
10939 | ||
10940 | if (!args) SWIG_fail; | |
10941 | swig_obj[0] = args; | |
10942 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10943 | if (!SWIG_IsOK(res1)) { | |
10944 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10945 | } | |
10946 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10947 | { | |
10948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10949 | (arg1)->SelectAll(); | |
10950 | wxPyEndAllowThreads(__tstate); | |
10951 | if (PyErr_Occurred()) SWIG_fail; | |
10952 | } | |
10953 | resultobj = SWIG_Py_Void(); | |
10954 | return resultobj; | |
10955 | fail: | |
10956 | return NULL; | |
d14a1e28 RD |
10957 | } |
10958 | ||
10959 | ||
554f62e9 RD |
10960 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10961 | PyObject *resultobj = 0; | |
10962 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10963 | wxString result; | |
10964 | void *argp1 = 0 ; | |
10965 | int res1 = 0 ; | |
10966 | PyObject *swig_obj[1] ; | |
10967 | ||
10968 | if (!args) SWIG_fail; | |
10969 | swig_obj[0] = args; | |
10970 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10971 | if (!SWIG_IsOK(res1)) { | |
10972 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10973 | } | |
10974 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10975 | { | |
10976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10977 | result = (arg1)->SelectionToText(); | |
10978 | wxPyEndAllowThreads(__tstate); | |
10979 | if (PyErr_Occurred()) SWIG_fail; | |
10980 | } | |
10981 | { | |
10982 | #if wxUSE_UNICODE | |
10983 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10984 | #else | |
10985 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10986 | #endif | |
10987 | } | |
10988 | return resultobj; | |
10989 | fail: | |
10990 | return NULL; | |
d14a1e28 RD |
10991 | } |
10992 | ||
10993 | ||
554f62e9 RD |
10994 | SWIGINTERN PyObject *_wrap_HtmlWindow_ToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10995 | PyObject *resultobj = 0; | |
10996 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10997 | wxString result; | |
10998 | void *argp1 = 0 ; | |
10999 | int res1 = 0 ; | |
11000 | PyObject *swig_obj[1] ; | |
11001 | ||
11002 | if (!args) SWIG_fail; | |
11003 | swig_obj[0] = args; | |
11004 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11005 | if (!SWIG_IsOK(res1)) { | |
11006 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11007 | } | |
11008 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11009 | { | |
11010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11011 | result = (arg1)->ToText(); | |
11012 | wxPyEndAllowThreads(__tstate); | |
11013 | if (PyErr_Occurred()) SWIG_fail; | |
11014 | } | |
11015 | { | |
d14a1e28 | 11016 | #if wxUSE_UNICODE |
554f62e9 | 11017 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 11018 | #else |
554f62e9 | 11019 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 11020 | #endif |
554f62e9 RD |
11021 | } |
11022 | return resultobj; | |
11023 | fail: | |
11024 | return NULL; | |
11025 | } | |
11026 | ||
11027 | ||
11028 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11029 | PyObject *resultobj = 0; | |
11030 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11031 | wxHtmlLinkInfo *arg2 = 0 ; | |
11032 | void *argp1 = 0 ; | |
11033 | int res1 = 0 ; | |
11034 | void *argp2 = 0 ; | |
11035 | int res2 = 0 ; | |
11036 | PyObject * obj0 = 0 ; | |
11037 | PyObject * obj1 = 0 ; | |
11038 | char * kwnames[] = { | |
11039 | (char *) "self",(char *) "link", NULL | |
11040 | }; | |
11041 | ||
11042 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail; | |
11043 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11044 | if (!SWIG_IsOK(res1)) { | |
11045 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11046 | } | |
11047 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11048 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0); | |
11049 | if (!SWIG_IsOK(res2)) { | |
11050 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
11051 | } | |
11052 | if (!argp2) { | |
11053 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
11054 | } | |
11055 | arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2); | |
11056 | { | |
11057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11058 | (arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2); | |
11059 | wxPyEndAllowThreads(__tstate); | |
11060 | if (PyErr_Occurred()) SWIG_fail; | |
11061 | } | |
11062 | resultobj = SWIG_Py_Void(); | |
11063 | return resultobj; | |
11064 | fail: | |
11065 | return NULL; | |
11066 | } | |
11067 | ||
11068 | ||
11069 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11070 | PyObject *resultobj = 0; | |
11071 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11072 | wxString *arg2 = 0 ; | |
11073 | void *argp1 = 0 ; | |
11074 | int res1 = 0 ; | |
11075 | bool temp2 = false ; | |
11076 | PyObject * obj0 = 0 ; | |
11077 | PyObject * obj1 = 0 ; | |
11078 | char * kwnames[] = { | |
11079 | (char *) "self",(char *) "title", NULL | |
11080 | }; | |
11081 | ||
11082 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) SWIG_fail; | |
11083 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11084 | if (!SWIG_IsOK(res1)) { | |
11085 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11086 | } | |
11087 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11088 | { | |
11089 | arg2 = wxString_in_helper(obj1); | |
11090 | if (arg2 == NULL) SWIG_fail; | |
11091 | temp2 = true; | |
11092 | } | |
11093 | { | |
11094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11095 | (arg1)->OnSetTitle((wxString const &)*arg2); | |
11096 | wxPyEndAllowThreads(__tstate); | |
11097 | if (PyErr_Occurred()) SWIG_fail; | |
11098 | } | |
11099 | resultobj = SWIG_Py_Void(); | |
11100 | { | |
11101 | if (temp2) | |
11102 | delete arg2; | |
11103 | } | |
11104 | return resultobj; | |
11105 | fail: | |
11106 | { | |
11107 | if (temp2) | |
11108 | delete arg2; | |
11109 | } | |
11110 | return NULL; | |
11111 | } | |
11112 | ||
11113 | ||
11114 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11115 | PyObject *resultobj = 0; | |
11116 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11117 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
11118 | int arg3 ; | |
11119 | int arg4 ; | |
11120 | void *argp1 = 0 ; | |
11121 | int res1 = 0 ; | |
11122 | void *argp2 = 0 ; | |
11123 | int res2 = 0 ; | |
11124 | int val3 ; | |
11125 | int ecode3 = 0 ; | |
11126 | int val4 ; | |
11127 | int ecode4 = 0 ; | |
11128 | PyObject * obj0 = 0 ; | |
11129 | PyObject * obj1 = 0 ; | |
11130 | PyObject * obj2 = 0 ; | |
11131 | PyObject * obj3 = 0 ; | |
11132 | char * kwnames[] = { | |
11133 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL | |
11134 | }; | |
11135 | ||
11136 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11137 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11138 | if (!SWIG_IsOK(res1)) { | |
11139 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11140 | } | |
11141 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11142 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
11143 | if (!SWIG_IsOK(res2)) { | |
11144 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
11145 | } | |
11146 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
11147 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11148 | if (!SWIG_IsOK(ecode3)) { | |
11149 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'"); | |
11150 | } | |
11151 | arg3 = static_cast< int >(val3); | |
11152 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11153 | if (!SWIG_IsOK(ecode4)) { | |
11154 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'"); | |
11155 | } | |
11156 | arg4 = static_cast< int >(val4); | |
11157 | { | |
11158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11159 | (arg1)->OnCellMouseHover(arg2,arg3,arg4); | |
11160 | wxPyEndAllowThreads(__tstate); | |
11161 | if (PyErr_Occurred()) SWIG_fail; | |
11162 | } | |
11163 | resultobj = SWIG_Py_Void(); | |
11164 | return resultobj; | |
11165 | fail: | |
11166 | return NULL; | |
11167 | } | |
11168 | ||
11169 | ||
11170 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11171 | PyObject *resultobj = 0; | |
11172 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11173 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
11174 | int arg3 ; | |
11175 | int arg4 ; | |
11176 | wxMouseEvent *arg5 = 0 ; | |
e9d6f3a4 | 11177 | bool result; |
554f62e9 RD |
11178 | void *argp1 = 0 ; |
11179 | int res1 = 0 ; | |
11180 | void *argp2 = 0 ; | |
11181 | int res2 = 0 ; | |
11182 | int val3 ; | |
11183 | int ecode3 = 0 ; | |
11184 | int val4 ; | |
11185 | int ecode4 = 0 ; | |
11186 | void *argp5 = 0 ; | |
11187 | int res5 = 0 ; | |
11188 | PyObject * obj0 = 0 ; | |
11189 | PyObject * obj1 = 0 ; | |
11190 | PyObject * obj2 = 0 ; | |
11191 | PyObject * obj3 = 0 ; | |
11192 | PyObject * obj4 = 0 ; | |
11193 | char * kwnames[] = { | |
11194 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL | |
11195 | }; | |
11196 | ||
11197 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
11198 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11199 | if (!SWIG_IsOK(res1)) { | |
11200 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11201 | } | |
11202 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11203 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
11204 | if (!SWIG_IsOK(res2)) { | |
11205 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
11206 | } | |
11207 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
11208 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11209 | if (!SWIG_IsOK(ecode3)) { | |
11210 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'"); | |
11211 | } | |
11212 | arg3 = static_cast< int >(val3); | |
11213 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11214 | if (!SWIG_IsOK(ecode4)) { | |
11215 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'"); | |
11216 | } | |
11217 | arg4 = static_cast< int >(val4); | |
11218 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0); | |
11219 | if (!SWIG_IsOK(res5)) { | |
11220 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); | |
11221 | } | |
11222 | if (!argp5) { | |
11223 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); | |
11224 | } | |
11225 | arg5 = reinterpret_cast< wxMouseEvent * >(argp5); | |
11226 | { | |
11227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e9d6f3a4 | 11228 | result = (bool)(arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5); |
554f62e9 RD |
11229 | wxPyEndAllowThreads(__tstate); |
11230 | if (PyErr_Occurred()) SWIG_fail; | |
11231 | } | |
e9d6f3a4 RD |
11232 | { |
11233 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11234 | } | |
11235 | return resultobj; | |
11236 | fail: | |
11237 | return NULL; | |
11238 | } | |
11239 | ||
11240 | ||
11241 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnOpeningURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11242 | PyObject *resultobj = 0; | |
11243 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11244 | wxHtmlURLType arg2 ; | |
11245 | wxString *arg3 = 0 ; | |
11246 | wxString *arg4 = (wxString *) 0 ; | |
11247 | wxHtmlOpeningStatus result; | |
11248 | void *argp1 = 0 ; | |
11249 | int res1 = 0 ; | |
11250 | int val2 ; | |
11251 | int ecode2 = 0 ; | |
11252 | bool temp3 = false ; | |
11253 | bool temp4 = false ; | |
11254 | PyObject * obj0 = 0 ; | |
11255 | PyObject * obj1 = 0 ; | |
11256 | PyObject * obj2 = 0 ; | |
11257 | PyObject * obj3 = 0 ; | |
11258 | char * kwnames[] = { | |
11259 | (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL | |
11260 | }; | |
11261 | ||
11262 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11263 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11264 | if (!SWIG_IsOK(res1)) { | |
11265 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'"); | |
11266 | } | |
11267 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11268 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11269 | if (!SWIG_IsOK(ecode2)) { | |
11270 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'"); | |
11271 | } | |
11272 | arg2 = static_cast< wxHtmlURLType >(val2); | |
11273 | { | |
11274 | arg3 = wxString_in_helper(obj2); | |
11275 | if (arg3 == NULL) SWIG_fail; | |
11276 | temp3 = true; | |
11277 | } | |
11278 | { | |
11279 | arg4 = wxString_in_helper(obj3); | |
11280 | if (arg4 == NULL) SWIG_fail; | |
11281 | temp4 = true; | |
11282 | } | |
11283 | { | |
11284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11285 | result = (wxHtmlOpeningStatus)((wxPyHtmlWindow const *)arg1)->OnOpeningURL(arg2,(wxString const &)*arg3,arg4); | |
11286 | wxPyEndAllowThreads(__tstate); | |
11287 | if (PyErr_Occurred()) SWIG_fail; | |
11288 | } | |
11289 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11290 | { | |
11291 | if (temp3) | |
11292 | delete arg3; | |
11293 | } | |
11294 | { | |
11295 | if (temp4) | |
11296 | delete arg4; | |
11297 | } | |
554f62e9 RD |
11298 | return resultobj; |
11299 | fail: | |
e9d6f3a4 RD |
11300 | { |
11301 | if (temp3) | |
11302 | delete arg3; | |
11303 | } | |
11304 | { | |
11305 | if (temp4) | |
11306 | delete arg4; | |
11307 | } | |
554f62e9 RD |
11308 | return NULL; |
11309 | } | |
11310 | ||
11311 | ||
11312 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11313 | PyObject *resultobj = 0; | |
11314 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; | |
11315 | SwigValueWrapper<wxVisualAttributes > result; | |
11316 | int val1 ; | |
11317 | int ecode1 = 0 ; | |
11318 | PyObject * obj0 = 0 ; | |
11319 | char * kwnames[] = { | |
11320 | (char *) "variant", NULL | |
11321 | }; | |
11322 | ||
11323 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail; | |
11324 | if (obj0) { | |
11325 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11326 | if (!SWIG_IsOK(ecode1)) { | |
11327 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); | |
11328 | } | |
11329 | arg1 = static_cast< wxWindowVariant >(val1); | |
11330 | } | |
11331 | { | |
11332 | if (!wxPyCheckForApp()) SWIG_fail; | |
11333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11334 | result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1); | |
11335 | wxPyEndAllowThreads(__tstate); | |
11336 | if (PyErr_Occurred()) SWIG_fail; | |
11337 | } | |
11338 | resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 ); | |
11339 | return resultobj; | |
11340 | fail: | |
11341 | return NULL; | |
d14a1e28 RD |
11342 | } |
11343 | ||
11344 | ||
e9d6f3a4 RD |
11345 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11346 | PyObject *resultobj = 0; | |
11347 | wxPyHtmlWindow::HTMLCursor arg1 ; | |
11348 | wxCursor result; | |
11349 | int val1 ; | |
11350 | int ecode1 = 0 ; | |
11351 | PyObject * obj0 = 0 ; | |
11352 | char * kwnames[] = { | |
11353 | (char *) "type", NULL | |
11354 | }; | |
11355 | ||
11356 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames,&obj0)) SWIG_fail; | |
11357 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11358 | if (!SWIG_IsOK(ecode1)) { | |
11359 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'"); | |
11360 | } | |
11361 | arg1 = static_cast< wxPyHtmlWindow::HTMLCursor >(val1); | |
11362 | { | |
11363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11364 | result = wxPyHtmlWindow::GetDefaultHTMLCursor(arg1); | |
11365 | wxPyEndAllowThreads(__tstate); | |
11366 | if (PyErr_Occurred()) SWIG_fail; | |
11367 | } | |
11368 | resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 ); | |
11369 | return resultobj; | |
11370 | fail: | |
11371 | return NULL; | |
11372 | } | |
11373 | ||
11374 | ||
554f62e9 RD |
11375 | SWIGINTERN PyObject *HtmlWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11376 | PyObject *obj; | |
11377 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11378 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow, SWIG_NewClientData(obj)); | |
11379 | return SWIG_Py_Void(); | |
b1fcee84 RD |
11380 | } |
11381 | ||
554f62e9 RD |
11382 | SWIGINTERN PyObject *HtmlWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11383 | return SWIG_Python_InitShadowInstance(args); | |
b1fcee84 RD |
11384 | } |
11385 | ||
554f62e9 RD |
11386 | SWIGINTERN PyObject *_wrap_new_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11387 | PyObject *resultobj = 0; | |
11388 | wxHtmlDCRenderer *result = 0 ; | |
11389 | ||
11390 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlDCRenderer",0,0,0)) SWIG_fail; | |
11391 | { | |
11392 | if (!wxPyCheckForApp()) SWIG_fail; | |
11393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11394 | result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer(); | |
11395 | wxPyEndAllowThreads(__tstate); | |
11396 | if (PyErr_Occurred()) SWIG_fail; | |
11397 | } | |
11398 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_NEW | 0 ); | |
11399 | return resultobj; | |
11400 | fail: | |
11401 | return NULL; | |
b1fcee84 RD |
11402 | } |
11403 | ||
11404 | ||
554f62e9 RD |
11405 | SWIGINTERN PyObject *_wrap_delete_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11406 | PyObject *resultobj = 0; | |
11407 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11408 | void *argp1 = 0 ; | |
11409 | int res1 = 0 ; | |
11410 | PyObject *swig_obj[1] ; | |
11411 | ||
11412 | if (!args) SWIG_fail; | |
11413 | swig_obj[0] = args; | |
11414 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_DISOWN | 0 ); | |
11415 | if (!SWIG_IsOK(res1)) { | |
11416 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11417 | } | |
11418 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11419 | { | |
11420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11421 | delete arg1; | |
d14a1e28 | 11422 | |
554f62e9 RD |
11423 | wxPyEndAllowThreads(__tstate); |
11424 | if (PyErr_Occurred()) SWIG_fail; | |
11425 | } | |
11426 | resultobj = SWIG_Py_Void(); | |
11427 | return resultobj; | |
11428 | fail: | |
11429 | return NULL; | |
11430 | } | |
11431 | ||
11432 | ||
11433 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11434 | PyObject *resultobj = 0; | |
11435 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11436 | wxDC *arg2 = (wxDC *) 0 ; | |
11437 | int arg3 ; | |
11438 | void *argp1 = 0 ; | |
11439 | int res1 = 0 ; | |
11440 | void *argp2 = 0 ; | |
11441 | int res2 = 0 ; | |
11442 | int val3 ; | |
11443 | int ecode3 = 0 ; | |
11444 | PyObject * obj0 = 0 ; | |
11445 | PyObject * obj1 = 0 ; | |
11446 | PyObject * obj2 = 0 ; | |
11447 | char * kwnames[] = { | |
11448 | (char *) "self",(char *) "dc",(char *) "maxwidth", NULL | |
11449 | }; | |
11450 | ||
11451 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
11452 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11453 | if (!SWIG_IsOK(res1)) { | |
11454 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11455 | } | |
11456 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11457 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); | |
11458 | if (!SWIG_IsOK(res2)) { | |
11459 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); | |
11460 | } | |
11461 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
11462 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11463 | if (!SWIG_IsOK(ecode3)) { | |
11464 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'"); | |
11465 | } | |
11466 | arg3 = static_cast< int >(val3); | |
11467 | { | |
11468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11469 | (arg1)->SetDC(arg2,arg3); | |
11470 | wxPyEndAllowThreads(__tstate); | |
11471 | if (PyErr_Occurred()) SWIG_fail; | |
11472 | } | |
11473 | resultobj = SWIG_Py_Void(); | |
11474 | return resultobj; | |
11475 | fail: | |
11476 | return NULL; | |
11477 | } | |
11478 | ||
11479 | ||
11480 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11481 | PyObject *resultobj = 0; | |
11482 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11483 | int arg2 ; | |
11484 | int arg3 ; | |
11485 | void *argp1 = 0 ; | |
11486 | int res1 = 0 ; | |
11487 | int val2 ; | |
11488 | int ecode2 = 0 ; | |
11489 | int val3 ; | |
11490 | int ecode3 = 0 ; | |
11491 | PyObject * obj0 = 0 ; | |
11492 | PyObject * obj1 = 0 ; | |
11493 | PyObject * obj2 = 0 ; | |
11494 | char * kwnames[] = { | |
11495 | (char *) "self",(char *) "width",(char *) "height", NULL | |
11496 | }; | |
11497 | ||
11498 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
11499 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11500 | if (!SWIG_IsOK(res1)) { | |
11501 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11502 | } | |
11503 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11504 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11505 | if (!SWIG_IsOK(ecode2)) { | |
11506 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'"); | |
11507 | } | |
11508 | arg2 = static_cast< int >(val2); | |
11509 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11510 | if (!SWIG_IsOK(ecode3)) { | |
11511 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'"); | |
11512 | } | |
11513 | arg3 = static_cast< int >(val3); | |
11514 | { | |
11515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11516 | (arg1)->SetSize(arg2,arg3); | |
11517 | wxPyEndAllowThreads(__tstate); | |
11518 | if (PyErr_Occurred()) SWIG_fail; | |
11519 | } | |
11520 | resultobj = SWIG_Py_Void(); | |
11521 | return resultobj; | |
11522 | fail: | |
11523 | return NULL; | |
11524 | } | |
11525 | ||
11526 | ||
11527 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11528 | PyObject *resultobj = 0; | |
11529 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11530 | wxString *arg2 = 0 ; | |
11531 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11532 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11533 | bool arg4 = (bool) true ; | |
11534 | void *argp1 = 0 ; | |
11535 | int res1 = 0 ; | |
11536 | bool temp2 = false ; | |
11537 | bool temp3 = false ; | |
11538 | bool val4 ; | |
11539 | int ecode4 = 0 ; | |
11540 | PyObject * obj0 = 0 ; | |
11541 | PyObject * obj1 = 0 ; | |
11542 | PyObject * obj2 = 0 ; | |
11543 | PyObject * obj3 = 0 ; | |
11544 | char * kwnames[] = { | |
11545 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
11546 | }; | |
11547 | ||
11548 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11549 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11550 | if (!SWIG_IsOK(res1)) { | |
11551 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11552 | } | |
11553 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11554 | { | |
11555 | arg2 = wxString_in_helper(obj1); | |
11556 | if (arg2 == NULL) SWIG_fail; | |
11557 | temp2 = true; | |
11558 | } | |
11559 | if (obj2) { | |
d14a1e28 | 11560 | { |
554f62e9 RD |
11561 | arg3 = wxString_in_helper(obj2); |
11562 | if (arg3 == NULL) SWIG_fail; | |
11563 | temp3 = true; | |
d14a1e28 | 11564 | } |
554f62e9 RD |
11565 | } |
11566 | if (obj3) { | |
11567 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
11568 | if (!SWIG_IsOK(ecode4)) { | |
11569 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'"); | |
11570 | } | |
11571 | arg4 = static_cast< bool >(val4); | |
11572 | } | |
11573 | { | |
11574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11575 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
11576 | wxPyEndAllowThreads(__tstate); | |
11577 | if (PyErr_Occurred()) SWIG_fail; | |
11578 | } | |
11579 | resultobj = SWIG_Py_Void(); | |
11580 | { | |
11581 | if (temp2) | |
11582 | delete arg2; | |
11583 | } | |
11584 | { | |
11585 | if (temp3) | |
11586 | delete arg3; | |
11587 | } | |
11588 | return resultobj; | |
11589 | fail: | |
11590 | { | |
11591 | if (temp2) | |
11592 | delete arg2; | |
11593 | } | |
11594 | { | |
11595 | if (temp3) | |
11596 | delete arg3; | |
11597 | } | |
11598 | return NULL; | |
11599 | } | |
11600 | ||
11601 | ||
11602 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11603 | PyObject *resultobj = 0; | |
11604 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11605 | wxString arg2 ; | |
11606 | wxString arg3 ; | |
11607 | PyObject *arg4 = (PyObject *) NULL ; | |
11608 | void *argp1 = 0 ; | |
11609 | int res1 = 0 ; | |
11610 | PyObject * obj0 = 0 ; | |
11611 | PyObject * obj1 = 0 ; | |
11612 | PyObject * obj2 = 0 ; | |
11613 | PyObject * obj3 = 0 ; | |
11614 | char * kwnames[] = { | |
11615 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
11616 | }; | |
11617 | ||
11618 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11619 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11620 | if (!SWIG_IsOK(res1)) { | |
11621 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11622 | } | |
11623 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11624 | { | |
11625 | wxString* sptr = wxString_in_helper(obj1); | |
11626 | if (sptr == NULL) SWIG_fail; | |
11627 | arg2 = *sptr; | |
11628 | delete sptr; | |
11629 | } | |
11630 | { | |
11631 | wxString* sptr = wxString_in_helper(obj2); | |
11632 | if (sptr == NULL) SWIG_fail; | |
11633 | arg3 = *sptr; | |
11634 | delete sptr; | |
11635 | } | |
11636 | if (obj3) { | |
11637 | arg4 = obj3; | |
11638 | } | |
11639 | { | |
11640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11641 | wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4); | |
11642 | wxPyEndAllowThreads(__tstate); | |
11643 | if (PyErr_Occurred()) SWIG_fail; | |
11644 | } | |
11645 | resultobj = SWIG_Py_Void(); | |
11646 | return resultobj; | |
11647 | fail: | |
11648 | return NULL; | |
11649 | } | |
11650 | ||
11651 | ||
11652 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11653 | PyObject *resultobj = 0; | |
11654 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11655 | int arg2 = (int) -1 ; | |
11656 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11657 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11658 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
11659 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
11660 | void *argp1 = 0 ; | |
11661 | int res1 = 0 ; | |
11662 | int val2 ; | |
11663 | int ecode2 = 0 ; | |
11664 | bool temp3 = false ; | |
11665 | bool temp4 = false ; | |
11666 | PyObject * obj0 = 0 ; | |
11667 | PyObject * obj1 = 0 ; | |
11668 | PyObject * obj2 = 0 ; | |
11669 | PyObject * obj3 = 0 ; | |
11670 | char * kwnames[] = { | |
11671 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
11672 | }; | |
11673 | ||
11674 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11675 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11676 | if (!SWIG_IsOK(res1)) { | |
11677 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11678 | } | |
11679 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11680 | if (obj1) { | |
11681 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11682 | if (!SWIG_IsOK(ecode2)) { | |
11683 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
11684 | } | |
11685 | arg2 = static_cast< int >(val2); | |
11686 | } | |
11687 | if (obj2) { | |
d14a1e28 | 11688 | { |
554f62e9 RD |
11689 | arg3 = wxString_in_helper(obj2); |
11690 | if (arg3 == NULL) SWIG_fail; | |
11691 | temp3 = true; | |
d14a1e28 | 11692 | } |
554f62e9 RD |
11693 | } |
11694 | if (obj3) { | |
093d3ff1 | 11695 | { |
554f62e9 RD |
11696 | arg4 = wxString_in_helper(obj3); |
11697 | if (arg4 == NULL) SWIG_fail; | |
11698 | temp4 = true; | |
093d3ff1 | 11699 | } |
554f62e9 RD |
11700 | } |
11701 | { | |
11702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11703 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
11704 | wxPyEndAllowThreads(__tstate); | |
11705 | if (PyErr_Occurred()) SWIG_fail; | |
11706 | } | |
11707 | resultobj = SWIG_Py_Void(); | |
11708 | { | |
11709 | if (temp3) | |
11710 | delete arg3; | |
11711 | } | |
11712 | { | |
11713 | if (temp4) | |
11714 | delete arg4; | |
11715 | } | |
11716 | return resultobj; | |
11717 | fail: | |
11718 | { | |
11719 | if (temp3) | |
11720 | delete arg3; | |
11721 | } | |
11722 | { | |
11723 | if (temp4) | |
11724 | delete arg4; | |
11725 | } | |
11726 | return NULL; | |
11727 | } | |
11728 | ||
11729 | ||
11730 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_Render(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11731 | PyObject *resultobj = 0; | |
11732 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11733 | int arg2 ; | |
11734 | int arg3 ; | |
704eda0c RD |
11735 | wxArrayInt *arg4 = 0 ; |
11736 | int arg5 = (int) 0 ; | |
11737 | int arg6 = (int) FALSE ; | |
11738 | int arg7 = (int) INT_MAX ; | |
554f62e9 RD |
11739 | int result; |
11740 | void *argp1 = 0 ; | |
11741 | int res1 = 0 ; | |
11742 | int val2 ; | |
11743 | int ecode2 = 0 ; | |
11744 | int val3 ; | |
11745 | int ecode3 = 0 ; | |
704eda0c | 11746 | bool temp4 = false ; |
554f62e9 RD |
11747 | int val5 ; |
11748 | int ecode5 = 0 ; | |
11749 | int val6 ; | |
11750 | int ecode6 = 0 ; | |
704eda0c RD |
11751 | int val7 ; |
11752 | int ecode7 = 0 ; | |
554f62e9 RD |
11753 | PyObject * obj0 = 0 ; |
11754 | PyObject * obj1 = 0 ; | |
11755 | PyObject * obj2 = 0 ; | |
11756 | PyObject * obj3 = 0 ; | |
11757 | PyObject * obj4 = 0 ; | |
11758 | PyObject * obj5 = 0 ; | |
11759 | PyObject * obj6 = 0 ; | |
554f62e9 | 11760 | char * kwnames[] = { |
704eda0c | 11761 | (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL |
554f62e9 RD |
11762 | }; |
11763 | ||
704eda0c | 11764 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
554f62e9 RD |
11765 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); |
11766 | if (!SWIG_IsOK(res1)) { | |
11767 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11768 | } | |
11769 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11770 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11771 | if (!SWIG_IsOK(ecode2)) { | |
11772 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'"); | |
11773 | } | |
11774 | arg2 = static_cast< int >(val2); | |
11775 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11776 | if (!SWIG_IsOK(ecode3)) { | |
11777 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'"); | |
11778 | } | |
11779 | arg3 = static_cast< int >(val3); | |
704eda0c RD |
11780 | { |
11781 | if (! PySequence_Check(obj3)) { | |
11782 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
11783 | SWIG_fail; | |
11784 | } | |
11785 | arg4 = new wxArrayInt; | |
11786 | temp4 = true; | |
11787 | int i, len=PySequence_Length(obj3); | |
11788 | for (i=0; i<len; i++) { | |
11789 | PyObject* item = PySequence_GetItem(obj3, i); | |
11790 | PyObject* number = PyNumber_Int(item); | |
11791 | arg4->Add(PyInt_AS_LONG(number)); | |
11792 | Py_DECREF(item); | |
11793 | Py_DECREF(number); | |
11794 | } | |
554f62e9 RD |
11795 | } |
11796 | if (obj4) { | |
11797 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
11798 | if (!SWIG_IsOK(ecode5)) { | |
11799 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'"); | |
11800 | } | |
11801 | arg5 = static_cast< int >(val5); | |
11802 | } | |
11803 | if (obj5) { | |
11804 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
11805 | if (!SWIG_IsOK(ecode6)) { | |
11806 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'"); | |
11807 | } | |
11808 | arg6 = static_cast< int >(val6); | |
11809 | } | |
11810 | if (obj6) { | |
704eda0c RD |
11811 | ecode7 = SWIG_AsVal_int(obj6, &val7); |
11812 | if (!SWIG_IsOK(ecode7)) { | |
11813 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'"); | |
554f62e9 | 11814 | } |
704eda0c | 11815 | arg7 = static_cast< int >(val7); |
554f62e9 RD |
11816 | } |
11817 | { | |
11818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
704eda0c | 11819 | result = (int)(arg1)->Render(arg2,arg3,*arg4,arg5,arg6,arg7); |
554f62e9 RD |
11820 | wxPyEndAllowThreads(__tstate); |
11821 | if (PyErr_Occurred()) SWIG_fail; | |
11822 | } | |
11823 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
704eda0c RD |
11824 | { |
11825 | if (temp4) delete arg4; | |
11826 | } | |
554f62e9 RD |
11827 | return resultobj; |
11828 | fail: | |
704eda0c RD |
11829 | { |
11830 | if (temp4) delete arg4; | |
11831 | } | |
554f62e9 | 11832 | return NULL; |
d14a1e28 RD |
11833 | } |
11834 | ||
11835 | ||
554f62e9 RD |
11836 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11837 | PyObject *resultobj = 0; | |
11838 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11839 | int result; | |
11840 | void *argp1 = 0 ; | |
11841 | int res1 = 0 ; | |
11842 | PyObject *swig_obj[1] ; | |
11843 | ||
11844 | if (!args) SWIG_fail; | |
11845 | swig_obj[0] = args; | |
11846 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11847 | if (!SWIG_IsOK(res1)) { | |
11848 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11849 | } | |
11850 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11851 | { | |
11852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11853 | result = (int)(arg1)->GetTotalHeight(); | |
11854 | wxPyEndAllowThreads(__tstate); | |
11855 | if (PyErr_Occurred()) SWIG_fail; | |
11856 | } | |
11857 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11858 | return resultobj; | |
11859 | fail: | |
11860 | return NULL; | |
d14a1e28 RD |
11861 | } |
11862 | ||
11863 | ||
554f62e9 RD |
11864 | SWIGINTERN PyObject *HtmlDCRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11865 | PyObject *obj; | |
11866 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11867 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer, SWIG_NewClientData(obj)); | |
11868 | return SWIG_Py_Void(); | |
d14a1e28 RD |
11869 | } |
11870 | ||
554f62e9 RD |
11871 | SWIGINTERN PyObject *HtmlDCRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11872 | return SWIG_Python_InitShadowInstance(args); | |
11873 | } | |
d14a1e28 | 11874 | |
554f62e9 RD |
11875 | SWIGINTERN PyObject *_wrap_new_HtmlPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11876 | PyObject *resultobj = 0; | |
11877 | wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; | |
11878 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
11879 | wxHtmlPrintout *result = 0 ; | |
11880 | bool temp1 = false ; | |
11881 | PyObject * obj0 = 0 ; | |
11882 | char * kwnames[] = { | |
11883 | (char *) "title", NULL | |
11884 | }; | |
11885 | ||
11886 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) SWIG_fail; | |
11887 | if (obj0) { | |
d14a1e28 | 11888 | { |
554f62e9 RD |
11889 | arg1 = wxString_in_helper(obj0); |
11890 | if (arg1 == NULL) SWIG_fail; | |
11891 | temp1 = true; | |
d14a1e28 | 11892 | } |
554f62e9 RD |
11893 | } |
11894 | { | |
11895 | if (!wxPyCheckForApp()) SWIG_fail; | |
11896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11897 | result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1); | |
11898 | wxPyEndAllowThreads(__tstate); | |
11899 | if (PyErr_Occurred()) SWIG_fail; | |
11900 | } | |
11901 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_NEW | 0 ); | |
11902 | { | |
11903 | if (temp1) | |
11904 | delete arg1; | |
11905 | } | |
11906 | return resultobj; | |
11907 | fail: | |
11908 | { | |
11909 | if (temp1) | |
11910 | delete arg1; | |
11911 | } | |
11912 | return NULL; | |
11913 | } | |
11914 | ||
11915 | ||
11916 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11917 | PyObject *resultobj = 0; | |
11918 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
11919 | wxString *arg2 = 0 ; | |
11920 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11921 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11922 | bool arg4 = (bool) true ; | |
11923 | void *argp1 = 0 ; | |
11924 | int res1 = 0 ; | |
11925 | bool temp2 = false ; | |
11926 | bool temp3 = false ; | |
11927 | bool val4 ; | |
11928 | int ecode4 = 0 ; | |
11929 | PyObject * obj0 = 0 ; | |
11930 | PyObject * obj1 = 0 ; | |
11931 | PyObject * obj2 = 0 ; | |
11932 | PyObject * obj3 = 0 ; | |
11933 | char * kwnames[] = { | |
11934 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
11935 | }; | |
11936 | ||
11937 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11938 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
11939 | if (!SWIG_IsOK(res1)) { | |
11940 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
11941 | } | |
11942 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
11943 | { | |
11944 | arg2 = wxString_in_helper(obj1); | |
11945 | if (arg2 == NULL) SWIG_fail; | |
11946 | temp2 = true; | |
11947 | } | |
11948 | if (obj2) { | |
093d3ff1 | 11949 | { |
554f62e9 RD |
11950 | arg3 = wxString_in_helper(obj2); |
11951 | if (arg3 == NULL) SWIG_fail; | |
11952 | temp3 = true; | |
093d3ff1 | 11953 | } |
554f62e9 RD |
11954 | } |
11955 | if (obj3) { | |
11956 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
11957 | if (!SWIG_IsOK(ecode4)) { | |
11958 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'"); | |
11959 | } | |
11960 | arg4 = static_cast< bool >(val4); | |
11961 | } | |
11962 | { | |
11963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11964 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
11965 | wxPyEndAllowThreads(__tstate); | |
11966 | if (PyErr_Occurred()) SWIG_fail; | |
11967 | } | |
11968 | resultobj = SWIG_Py_Void(); | |
11969 | { | |
11970 | if (temp2) | |
11971 | delete arg2; | |
11972 | } | |
11973 | { | |
11974 | if (temp3) | |
11975 | delete arg3; | |
11976 | } | |
11977 | return resultobj; | |
11978 | fail: | |
11979 | { | |
11980 | if (temp2) | |
11981 | delete arg2; | |
11982 | } | |
11983 | { | |
11984 | if (temp3) | |
11985 | delete arg3; | |
11986 | } | |
11987 | return NULL; | |
d14a1e28 RD |
11988 | } |
11989 | ||
11990 | ||
554f62e9 RD |
11991 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11992 | PyObject *resultobj = 0; | |
11993 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
11994 | wxString *arg2 = 0 ; | |
11995 | void *argp1 = 0 ; | |
11996 | int res1 = 0 ; | |
11997 | bool temp2 = false ; | |
11998 | PyObject * obj0 = 0 ; | |
11999 | PyObject * obj1 = 0 ; | |
12000 | char * kwnames[] = { | |
12001 | (char *) "self",(char *) "htmlfile", NULL | |
12002 | }; | |
12003 | ||
12004 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
12005 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12006 | if (!SWIG_IsOK(res1)) { | |
12007 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12008 | } | |
12009 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12010 | { | |
12011 | arg2 = wxString_in_helper(obj1); | |
12012 | if (arg2 == NULL) SWIG_fail; | |
12013 | temp2 = true; | |
12014 | } | |
12015 | { | |
12016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12017 | (arg1)->SetHtmlFile((wxString const &)*arg2); | |
12018 | wxPyEndAllowThreads(__tstate); | |
12019 | if (PyErr_Occurred()) SWIG_fail; | |
12020 | } | |
12021 | resultobj = SWIG_Py_Void(); | |
12022 | { | |
12023 | if (temp2) | |
12024 | delete arg2; | |
12025 | } | |
12026 | return resultobj; | |
12027 | fail: | |
12028 | { | |
12029 | if (temp2) | |
12030 | delete arg2; | |
12031 | } | |
12032 | return NULL; | |
12033 | } | |
12034 | ||
12035 | ||
12036 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12037 | PyObject *resultobj = 0; | |
12038 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12039 | wxString *arg2 = 0 ; | |
12040 | int arg3 = (int) wxPAGE_ALL ; | |
12041 | void *argp1 = 0 ; | |
12042 | int res1 = 0 ; | |
12043 | bool temp2 = false ; | |
12044 | int val3 ; | |
12045 | int ecode3 = 0 ; | |
12046 | PyObject * obj0 = 0 ; | |
12047 | PyObject * obj1 = 0 ; | |
12048 | PyObject * obj2 = 0 ; | |
12049 | char * kwnames[] = { | |
12050 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
12051 | }; | |
12052 | ||
12053 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12054 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12055 | if (!SWIG_IsOK(res1)) { | |
12056 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12057 | } | |
12058 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12059 | { | |
12060 | arg2 = wxString_in_helper(obj1); | |
12061 | if (arg2 == NULL) SWIG_fail; | |
12062 | temp2 = true; | |
12063 | } | |
12064 | if (obj2) { | |
12065 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12066 | if (!SWIG_IsOK(ecode3)) { | |
12067 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'"); | |
12068 | } | |
12069 | arg3 = static_cast< int >(val3); | |
12070 | } | |
12071 | { | |
12072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12073 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
12074 | wxPyEndAllowThreads(__tstate); | |
12075 | if (PyErr_Occurred()) SWIG_fail; | |
12076 | } | |
12077 | resultobj = SWIG_Py_Void(); | |
12078 | { | |
12079 | if (temp2) | |
12080 | delete arg2; | |
12081 | } | |
12082 | return resultobj; | |
12083 | fail: | |
12084 | { | |
12085 | if (temp2) | |
12086 | delete arg2; | |
12087 | } | |
12088 | return NULL; | |
12089 | } | |
12090 | ||
12091 | ||
12092 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12093 | PyObject *resultobj = 0; | |
12094 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12095 | wxString *arg2 = 0 ; | |
12096 | int arg3 = (int) wxPAGE_ALL ; | |
12097 | void *argp1 = 0 ; | |
12098 | int res1 = 0 ; | |
12099 | bool temp2 = false ; | |
12100 | int val3 ; | |
12101 | int ecode3 = 0 ; | |
12102 | PyObject * obj0 = 0 ; | |
12103 | PyObject * obj1 = 0 ; | |
12104 | PyObject * obj2 = 0 ; | |
12105 | char * kwnames[] = { | |
12106 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
12107 | }; | |
12108 | ||
12109 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12110 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12111 | if (!SWIG_IsOK(res1)) { | |
12112 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12113 | } | |
12114 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12115 | { | |
12116 | arg2 = wxString_in_helper(obj1); | |
12117 | if (arg2 == NULL) SWIG_fail; | |
12118 | temp2 = true; | |
12119 | } | |
12120 | if (obj2) { | |
12121 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12122 | if (!SWIG_IsOK(ecode3)) { | |
12123 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'"); | |
12124 | } | |
12125 | arg3 = static_cast< int >(val3); | |
12126 | } | |
12127 | { | |
12128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12129 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
12130 | wxPyEndAllowThreads(__tstate); | |
12131 | if (PyErr_Occurred()) SWIG_fail; | |
12132 | } | |
12133 | resultobj = SWIG_Py_Void(); | |
12134 | { | |
12135 | if (temp2) | |
12136 | delete arg2; | |
12137 | } | |
12138 | return resultobj; | |
12139 | fail: | |
12140 | { | |
12141 | if (temp2) | |
12142 | delete arg2; | |
12143 | } | |
12144 | return NULL; | |
12145 | } | |
12146 | ||
12147 | ||
12148 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12149 | PyObject *resultobj = 0; | |
12150 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12151 | wxString arg2 ; | |
12152 | wxString arg3 ; | |
12153 | PyObject *arg4 = (PyObject *) NULL ; | |
12154 | void *argp1 = 0 ; | |
12155 | int res1 = 0 ; | |
12156 | PyObject * obj0 = 0 ; | |
12157 | PyObject * obj1 = 0 ; | |
12158 | PyObject * obj2 = 0 ; | |
12159 | PyObject * obj3 = 0 ; | |
12160 | char * kwnames[] = { | |
12161 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
12162 | }; | |
12163 | ||
12164 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12165 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12166 | if (!SWIG_IsOK(res1)) { | |
12167 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12168 | } | |
12169 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12170 | { | |
12171 | wxString* sptr = wxString_in_helper(obj1); | |
12172 | if (sptr == NULL) SWIG_fail; | |
12173 | arg2 = *sptr; | |
12174 | delete sptr; | |
12175 | } | |
12176 | { | |
12177 | wxString* sptr = wxString_in_helper(obj2); | |
12178 | if (sptr == NULL) SWIG_fail; | |
12179 | arg3 = *sptr; | |
12180 | delete sptr; | |
12181 | } | |
12182 | if (obj3) { | |
12183 | arg4 = obj3; | |
12184 | } | |
12185 | { | |
12186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12187 | wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4); | |
12188 | wxPyEndAllowThreads(__tstate); | |
12189 | if (PyErr_Occurred()) SWIG_fail; | |
12190 | } | |
12191 | resultobj = SWIG_Py_Void(); | |
12192 | return resultobj; | |
12193 | fail: | |
12194 | return NULL; | |
12195 | } | |
12196 | ||
12197 | ||
12198 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12199 | PyObject *resultobj = 0; | |
12200 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12201 | int arg2 = (int) -1 ; | |
12202 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12203 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12204 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12205 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12206 | void *argp1 = 0 ; | |
12207 | int res1 = 0 ; | |
12208 | int val2 ; | |
12209 | int ecode2 = 0 ; | |
12210 | bool temp3 = false ; | |
12211 | bool temp4 = false ; | |
12212 | PyObject * obj0 = 0 ; | |
12213 | PyObject * obj1 = 0 ; | |
12214 | PyObject * obj2 = 0 ; | |
12215 | PyObject * obj3 = 0 ; | |
12216 | char * kwnames[] = { | |
12217 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
12218 | }; | |
12219 | ||
12220 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12221 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12222 | if (!SWIG_IsOK(res1)) { | |
12223 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12224 | } | |
12225 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12226 | if (obj1) { | |
12227 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12228 | if (!SWIG_IsOK(ecode2)) { | |
12229 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
12230 | } | |
12231 | arg2 = static_cast< int >(val2); | |
12232 | } | |
12233 | if (obj2) { | |
12234 | { | |
12235 | arg3 = wxString_in_helper(obj2); | |
12236 | if (arg3 == NULL) SWIG_fail; | |
12237 | temp3 = true; | |
8edf1c75 | 12238 | } |
554f62e9 RD |
12239 | } |
12240 | if (obj3) { | |
d14a1e28 | 12241 | { |
554f62e9 RD |
12242 | arg4 = wxString_in_helper(obj3); |
12243 | if (arg4 == NULL) SWIG_fail; | |
12244 | temp4 = true; | |
d14a1e28 | 12245 | } |
554f62e9 RD |
12246 | } |
12247 | { | |
12248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12249 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
12250 | wxPyEndAllowThreads(__tstate); | |
12251 | if (PyErr_Occurred()) SWIG_fail; | |
12252 | } | |
12253 | resultobj = SWIG_Py_Void(); | |
12254 | { | |
12255 | if (temp3) | |
12256 | delete arg3; | |
12257 | } | |
12258 | { | |
12259 | if (temp4) | |
12260 | delete arg4; | |
12261 | } | |
12262 | return resultobj; | |
12263 | fail: | |
12264 | { | |
12265 | if (temp3) | |
12266 | delete arg3; | |
12267 | } | |
12268 | { | |
12269 | if (temp4) | |
12270 | delete arg4; | |
12271 | } | |
12272 | return NULL; | |
12273 | } | |
12274 | ||
12275 | ||
12276 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12277 | PyObject *resultobj = 0; | |
12278 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12279 | float arg2 = (float) 25.2 ; | |
12280 | float arg3 = (float) 25.2 ; | |
12281 | float arg4 = (float) 25.2 ; | |
12282 | float arg5 = (float) 25.2 ; | |
12283 | float arg6 = (float) 5 ; | |
12284 | void *argp1 = 0 ; | |
12285 | int res1 = 0 ; | |
12286 | float val2 ; | |
12287 | int ecode2 = 0 ; | |
12288 | float val3 ; | |
12289 | int ecode3 = 0 ; | |
12290 | float val4 ; | |
12291 | int ecode4 = 0 ; | |
12292 | float val5 ; | |
12293 | int ecode5 = 0 ; | |
12294 | float val6 ; | |
12295 | int ecode6 = 0 ; | |
12296 | PyObject * obj0 = 0 ; | |
12297 | PyObject * obj1 = 0 ; | |
12298 | PyObject * obj2 = 0 ; | |
12299 | PyObject * obj3 = 0 ; | |
12300 | PyObject * obj4 = 0 ; | |
12301 | PyObject * obj5 = 0 ; | |
12302 | char * kwnames[] = { | |
12303 | (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL | |
12304 | }; | |
12305 | ||
12306 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
12307 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12308 | if (!SWIG_IsOK(res1)) { | |
12309 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12310 | } | |
12311 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12312 | if (obj1) { | |
12313 | ecode2 = SWIG_AsVal_float(obj1, &val2); | |
12314 | if (!SWIG_IsOK(ecode2)) { | |
12315 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'"); | |
12316 | } | |
12317 | arg2 = static_cast< float >(val2); | |
12318 | } | |
12319 | if (obj2) { | |
12320 | ecode3 = SWIG_AsVal_float(obj2, &val3); | |
12321 | if (!SWIG_IsOK(ecode3)) { | |
12322 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'"); | |
12323 | } | |
12324 | arg3 = static_cast< float >(val3); | |
12325 | } | |
12326 | if (obj3) { | |
12327 | ecode4 = SWIG_AsVal_float(obj3, &val4); | |
12328 | if (!SWIG_IsOK(ecode4)) { | |
12329 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'"); | |
12330 | } | |
12331 | arg4 = static_cast< float >(val4); | |
12332 | } | |
12333 | if (obj4) { | |
12334 | ecode5 = SWIG_AsVal_float(obj4, &val5); | |
12335 | if (!SWIG_IsOK(ecode5)) { | |
12336 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'"); | |
12337 | } | |
12338 | arg5 = static_cast< float >(val5); | |
12339 | } | |
12340 | if (obj5) { | |
12341 | ecode6 = SWIG_AsVal_float(obj5, &val6); | |
12342 | if (!SWIG_IsOK(ecode6)) { | |
12343 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'"); | |
12344 | } | |
12345 | arg6 = static_cast< float >(val6); | |
12346 | } | |
12347 | { | |
12348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12349 | (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6); | |
12350 | wxPyEndAllowThreads(__tstate); | |
12351 | if (PyErr_Occurred()) SWIG_fail; | |
12352 | } | |
12353 | resultobj = SWIG_Py_Void(); | |
12354 | return resultobj; | |
12355 | fail: | |
12356 | return NULL; | |
d14a1e28 RD |
12357 | } |
12358 | ||
12359 | ||
554f62e9 RD |
12360 | SWIGINTERN PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12361 | PyObject *resultobj = 0; | |
12362 | wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; | |
12363 | void *argp1 = 0 ; | |
12364 | int res1 = 0 ; | |
12365 | PyObject * obj0 = 0 ; | |
12366 | char * kwnames[] = { | |
12367 | (char *) "filter", NULL | |
12368 | }; | |
12369 | ||
12370 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) SWIG_fail; | |
12371 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlFilter, 0 | 0 ); | |
12372 | if (!SWIG_IsOK(res1)) { | |
12373 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'"); | |
12374 | } | |
12375 | arg1 = reinterpret_cast< wxHtmlFilter * >(argp1); | |
12376 | { | |
12377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12378 | wxHtmlPrintout::AddFilter(arg1); | |
12379 | wxPyEndAllowThreads(__tstate); | |
12380 | if (PyErr_Occurred()) SWIG_fail; | |
12381 | } | |
12382 | resultobj = SWIG_Py_Void(); | |
12383 | return resultobj; | |
12384 | fail: | |
12385 | return NULL; | |
d14a1e28 RD |
12386 | } |
12387 | ||
12388 | ||
554f62e9 RD |
12389 | SWIGINTERN PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12390 | PyObject *resultobj = 0; | |
12391 | ||
12392 | if (!SWIG_Python_UnpackTuple(args,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail; | |
12393 | { | |
12394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12395 | wxHtmlPrintout::CleanUpStatics(); | |
12396 | wxPyEndAllowThreads(__tstate); | |
12397 | if (PyErr_Occurred()) SWIG_fail; | |
12398 | } | |
12399 | resultobj = SWIG_Py_Void(); | |
12400 | return resultobj; | |
12401 | fail: | |
12402 | return NULL; | |
d14a1e28 RD |
12403 | } |
12404 | ||
12405 | ||
554f62e9 RD |
12406 | SWIGINTERN PyObject *HtmlPrintout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12407 | PyObject *obj; | |
12408 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12409 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout, SWIG_NewClientData(obj)); | |
12410 | return SWIG_Py_Void(); | |
d14a1e28 RD |
12411 | } |
12412 | ||
554f62e9 RD |
12413 | SWIGINTERN PyObject *HtmlPrintout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12414 | return SWIG_Python_InitShadowInstance(args); | |
12415 | } | |
d14a1e28 | 12416 | |
554f62e9 RD |
12417 | SWIGINTERN PyObject *_wrap_new_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12418 | PyObject *resultobj = 0; | |
12419 | wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; | |
12420 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
12421 | wxWindow *arg2 = (wxWindow *) NULL ; | |
12422 | wxHtmlEasyPrinting *result = 0 ; | |
12423 | bool temp1 = false ; | |
12424 | void *argp2 = 0 ; | |
12425 | int res2 = 0 ; | |
12426 | PyObject * obj0 = 0 ; | |
12427 | PyObject * obj1 = 0 ; | |
12428 | char * kwnames[] = { | |
12429 | (char *) "name",(char *) "parentWindow", NULL | |
12430 | }; | |
12431 | ||
12432 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) SWIG_fail; | |
12433 | if (obj0) { | |
093d3ff1 | 12434 | { |
554f62e9 RD |
12435 | arg1 = wxString_in_helper(obj0); |
12436 | if (arg1 == NULL) SWIG_fail; | |
12437 | temp1 = true; | |
093d3ff1 | 12438 | } |
554f62e9 RD |
12439 | } |
12440 | if (obj1) { | |
12441 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12442 | if (!SWIG_IsOK(res2)) { | |
12443 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
d14a1e28 | 12444 | } |
554f62e9 RD |
12445 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
12446 | } | |
12447 | { | |
12448 | if (!wxPyCheckForApp()) SWIG_fail; | |
12449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12450 | result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2); | |
12451 | wxPyEndAllowThreads(__tstate); | |
12452 | if (PyErr_Occurred()) SWIG_fail; | |
12453 | } | |
12454 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_NEW | 0 ); | |
12455 | { | |
12456 | if (temp1) | |
12457 | delete arg1; | |
12458 | } | |
12459 | return resultobj; | |
12460 | fail: | |
12461 | { | |
12462 | if (temp1) | |
12463 | delete arg1; | |
12464 | } | |
12465 | return NULL; | |
d14a1e28 RD |
12466 | } |
12467 | ||
12468 | ||
554f62e9 RD |
12469 | SWIGINTERN PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12470 | PyObject *resultobj = 0; | |
12471 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12472 | void *argp1 = 0 ; | |
12473 | int res1 = 0 ; | |
12474 | PyObject *swig_obj[1] ; | |
12475 | ||
12476 | if (!args) SWIG_fail; | |
12477 | swig_obj[0] = args; | |
12478 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_DISOWN | 0 ); | |
12479 | if (!SWIG_IsOK(res1)) { | |
12480 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12481 | } | |
12482 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12483 | { | |
12484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12485 | delete arg1; | |
d14a1e28 | 12486 | |
554f62e9 RD |
12487 | wxPyEndAllowThreads(__tstate); |
12488 | if (PyErr_Occurred()) SWIG_fail; | |
12489 | } | |
12490 | resultobj = SWIG_Py_Void(); | |
12491 | return resultobj; | |
12492 | fail: | |
12493 | return NULL; | |
12494 | } | |
12495 | ||
12496 | ||
12497 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12498 | PyObject *resultobj = 0; | |
12499 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12500 | wxString *arg2 = 0 ; | |
12501 | void *argp1 = 0 ; | |
12502 | int res1 = 0 ; | |
12503 | bool temp2 = false ; | |
12504 | PyObject * obj0 = 0 ; | |
12505 | PyObject * obj1 = 0 ; | |
12506 | char * kwnames[] = { | |
12507 | (char *) "self",(char *) "htmlfile", NULL | |
12508 | }; | |
12509 | ||
12510 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
12511 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12512 | if (!SWIG_IsOK(res1)) { | |
12513 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12514 | } | |
12515 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12516 | { | |
12517 | arg2 = wxString_in_helper(obj1); | |
12518 | if (arg2 == NULL) SWIG_fail; | |
12519 | temp2 = true; | |
12520 | } | |
12521 | { | |
12522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12523 | (arg1)->PreviewFile((wxString const &)*arg2); | |
12524 | wxPyEndAllowThreads(__tstate); | |
12525 | if (PyErr_Occurred()) SWIG_fail; | |
12526 | } | |
12527 | resultobj = SWIG_Py_Void(); | |
12528 | { | |
12529 | if (temp2) | |
12530 | delete arg2; | |
12531 | } | |
12532 | return resultobj; | |
12533 | fail: | |
12534 | { | |
12535 | if (temp2) | |
12536 | delete arg2; | |
12537 | } | |
12538 | return NULL; | |
12539 | } | |
12540 | ||
12541 | ||
12542 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12543 | PyObject *resultobj = 0; | |
12544 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12545 | wxString *arg2 = 0 ; | |
12546 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12547 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12548 | void *argp1 = 0 ; | |
12549 | int res1 = 0 ; | |
12550 | bool temp2 = false ; | |
12551 | bool temp3 = false ; | |
12552 | PyObject * obj0 = 0 ; | |
12553 | PyObject * obj1 = 0 ; | |
12554 | PyObject * obj2 = 0 ; | |
12555 | char * kwnames[] = { | |
12556 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
12557 | }; | |
12558 | ||
12559 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12560 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12561 | if (!SWIG_IsOK(res1)) { | |
12562 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12563 | } | |
12564 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12565 | { | |
12566 | arg2 = wxString_in_helper(obj1); | |
12567 | if (arg2 == NULL) SWIG_fail; | |
12568 | temp2 = true; | |
12569 | } | |
12570 | if (obj2) { | |
d14a1e28 | 12571 | { |
554f62e9 RD |
12572 | arg3 = wxString_in_helper(obj2); |
12573 | if (arg3 == NULL) SWIG_fail; | |
12574 | temp3 = true; | |
d14a1e28 | 12575 | } |
554f62e9 RD |
12576 | } |
12577 | { | |
12578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12579 | (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3); | |
12580 | wxPyEndAllowThreads(__tstate); | |
12581 | if (PyErr_Occurred()) SWIG_fail; | |
12582 | } | |
12583 | resultobj = SWIG_Py_Void(); | |
12584 | { | |
12585 | if (temp2) | |
12586 | delete arg2; | |
12587 | } | |
12588 | { | |
12589 | if (temp3) | |
12590 | delete arg3; | |
12591 | } | |
12592 | return resultobj; | |
12593 | fail: | |
12594 | { | |
12595 | if (temp2) | |
12596 | delete arg2; | |
12597 | } | |
12598 | { | |
12599 | if (temp3) | |
12600 | delete arg3; | |
12601 | } | |
12602 | return NULL; | |
d14a1e28 RD |
12603 | } |
12604 | ||
12605 | ||
554f62e9 RD |
12606 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12607 | PyObject *resultobj = 0; | |
12608 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12609 | wxString *arg2 = 0 ; | |
12610 | void *argp1 = 0 ; | |
12611 | int res1 = 0 ; | |
12612 | bool temp2 = false ; | |
12613 | PyObject * obj0 = 0 ; | |
12614 | PyObject * obj1 = 0 ; | |
12615 | char * kwnames[] = { | |
12616 | (char *) "self",(char *) "htmlfile", NULL | |
12617 | }; | |
12618 | ||
12619 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
12620 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12621 | if (!SWIG_IsOK(res1)) { | |
12622 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12623 | } | |
12624 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12625 | { | |
12626 | arg2 = wxString_in_helper(obj1); | |
12627 | if (arg2 == NULL) SWIG_fail; | |
12628 | temp2 = true; | |
12629 | } | |
12630 | { | |
12631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12632 | (arg1)->PrintFile((wxString const &)*arg2); | |
12633 | wxPyEndAllowThreads(__tstate); | |
12634 | if (PyErr_Occurred()) SWIG_fail; | |
12635 | } | |
12636 | resultobj = SWIG_Py_Void(); | |
12637 | { | |
12638 | if (temp2) | |
12639 | delete arg2; | |
12640 | } | |
12641 | return resultobj; | |
12642 | fail: | |
12643 | { | |
12644 | if (temp2) | |
12645 | delete arg2; | |
12646 | } | |
12647 | return NULL; | |
12648 | } | |
12649 | ||
12650 | ||
12651 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12652 | PyObject *resultobj = 0; | |
12653 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12654 | wxString *arg2 = 0 ; | |
12655 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12656 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12657 | void *argp1 = 0 ; | |
12658 | int res1 = 0 ; | |
12659 | bool temp2 = false ; | |
12660 | bool temp3 = false ; | |
12661 | PyObject * obj0 = 0 ; | |
12662 | PyObject * obj1 = 0 ; | |
12663 | PyObject * obj2 = 0 ; | |
12664 | char * kwnames[] = { | |
12665 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
12666 | }; | |
12667 | ||
12668 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12669 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12670 | if (!SWIG_IsOK(res1)) { | |
12671 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12672 | } | |
12673 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12674 | { | |
12675 | arg2 = wxString_in_helper(obj1); | |
12676 | if (arg2 == NULL) SWIG_fail; | |
12677 | temp2 = true; | |
12678 | } | |
12679 | if (obj2) { | |
d14a1e28 | 12680 | { |
554f62e9 RD |
12681 | arg3 = wxString_in_helper(obj2); |
12682 | if (arg3 == NULL) SWIG_fail; | |
12683 | temp3 = true; | |
d14a1e28 | 12684 | } |
554f62e9 RD |
12685 | } |
12686 | { | |
12687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12688 | (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3); | |
12689 | wxPyEndAllowThreads(__tstate); | |
12690 | if (PyErr_Occurred()) SWIG_fail; | |
12691 | } | |
12692 | resultobj = SWIG_Py_Void(); | |
12693 | { | |
12694 | if (temp2) | |
12695 | delete arg2; | |
12696 | } | |
12697 | { | |
12698 | if (temp3) | |
12699 | delete arg3; | |
12700 | } | |
12701 | return resultobj; | |
12702 | fail: | |
12703 | { | |
12704 | if (temp2) | |
12705 | delete arg2; | |
12706 | } | |
12707 | { | |
12708 | if (temp3) | |
12709 | delete arg3; | |
12710 | } | |
12711 | return NULL; | |
d14a1e28 RD |
12712 | } |
12713 | ||
12714 | ||
554f62e9 RD |
12715 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12716 | PyObject *resultobj = 0; | |
12717 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12718 | void *argp1 = 0 ; | |
12719 | int res1 = 0 ; | |
12720 | PyObject *swig_obj[1] ; | |
12721 | ||
12722 | if (!args) SWIG_fail; | |
12723 | swig_obj[0] = args; | |
12724 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12725 | if (!SWIG_IsOK(res1)) { | |
12726 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12727 | } | |
12728 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12729 | { | |
12730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12731 | (arg1)->PageSetup(); | |
12732 | wxPyEndAllowThreads(__tstate); | |
12733 | if (PyErr_Occurred()) SWIG_fail; | |
12734 | } | |
12735 | resultobj = SWIG_Py_Void(); | |
12736 | return resultobj; | |
12737 | fail: | |
12738 | return NULL; | |
12739 | } | |
12740 | ||
12741 | ||
12742 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12743 | PyObject *resultobj = 0; | |
12744 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12745 | wxString *arg2 = 0 ; | |
12746 | int arg3 = (int) wxPAGE_ALL ; | |
12747 | void *argp1 = 0 ; | |
12748 | int res1 = 0 ; | |
12749 | bool temp2 = false ; | |
12750 | int val3 ; | |
12751 | int ecode3 = 0 ; | |
12752 | PyObject * obj0 = 0 ; | |
12753 | PyObject * obj1 = 0 ; | |
12754 | PyObject * obj2 = 0 ; | |
12755 | char * kwnames[] = { | |
12756 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
12757 | }; | |
12758 | ||
12759 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12760 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12761 | if (!SWIG_IsOK(res1)) { | |
12762 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12763 | } | |
12764 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12765 | { | |
12766 | arg2 = wxString_in_helper(obj1); | |
12767 | if (arg2 == NULL) SWIG_fail; | |
12768 | temp2 = true; | |
12769 | } | |
12770 | if (obj2) { | |
12771 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12772 | if (!SWIG_IsOK(ecode3)) { | |
12773 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'"); | |
12774 | } | |
12775 | arg3 = static_cast< int >(val3); | |
12776 | } | |
12777 | { | |
12778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12779 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
12780 | wxPyEndAllowThreads(__tstate); | |
12781 | if (PyErr_Occurred()) SWIG_fail; | |
12782 | } | |
12783 | resultobj = SWIG_Py_Void(); | |
12784 | { | |
12785 | if (temp2) | |
12786 | delete arg2; | |
12787 | } | |
12788 | return resultobj; | |
12789 | fail: | |
12790 | { | |
12791 | if (temp2) | |
12792 | delete arg2; | |
12793 | } | |
12794 | return NULL; | |
12795 | } | |
12796 | ||
12797 | ||
12798 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12799 | PyObject *resultobj = 0; | |
12800 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12801 | wxString *arg2 = 0 ; | |
12802 | int arg3 = (int) wxPAGE_ALL ; | |
12803 | void *argp1 = 0 ; | |
12804 | int res1 = 0 ; | |
12805 | bool temp2 = false ; | |
12806 | int val3 ; | |
12807 | int ecode3 = 0 ; | |
12808 | PyObject * obj0 = 0 ; | |
12809 | PyObject * obj1 = 0 ; | |
12810 | PyObject * obj2 = 0 ; | |
12811 | char * kwnames[] = { | |
12812 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
12813 | }; | |
12814 | ||
12815 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12816 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12817 | if (!SWIG_IsOK(res1)) { | |
12818 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12819 | } | |
12820 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12821 | { | |
12822 | arg2 = wxString_in_helper(obj1); | |
12823 | if (arg2 == NULL) SWIG_fail; | |
12824 | temp2 = true; | |
12825 | } | |
12826 | if (obj2) { | |
12827 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12828 | if (!SWIG_IsOK(ecode3)) { | |
12829 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'"); | |
12830 | } | |
12831 | arg3 = static_cast< int >(val3); | |
12832 | } | |
12833 | { | |
12834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12835 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
12836 | wxPyEndAllowThreads(__tstate); | |
12837 | if (PyErr_Occurred()) SWIG_fail; | |
12838 | } | |
12839 | resultobj = SWIG_Py_Void(); | |
12840 | { | |
12841 | if (temp2) | |
12842 | delete arg2; | |
12843 | } | |
12844 | return resultobj; | |
12845 | fail: | |
12846 | { | |
12847 | if (temp2) | |
12848 | delete arg2; | |
12849 | } | |
12850 | return NULL; | |
12851 | } | |
12852 | ||
12853 | ||
12854 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12855 | PyObject *resultobj = 0; | |
12856 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12857 | wxString arg2 ; | |
12858 | wxString arg3 ; | |
12859 | PyObject *arg4 = (PyObject *) NULL ; | |
12860 | void *argp1 = 0 ; | |
12861 | int res1 = 0 ; | |
12862 | PyObject * obj0 = 0 ; | |
12863 | PyObject * obj1 = 0 ; | |
12864 | PyObject * obj2 = 0 ; | |
12865 | PyObject * obj3 = 0 ; | |
12866 | char * kwnames[] = { | |
12867 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
12868 | }; | |
12869 | ||
12870 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12871 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12872 | if (!SWIG_IsOK(res1)) { | |
12873 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12874 | } | |
12875 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12876 | { | |
12877 | wxString* sptr = wxString_in_helper(obj1); | |
12878 | if (sptr == NULL) SWIG_fail; | |
12879 | arg2 = *sptr; | |
12880 | delete sptr; | |
12881 | } | |
12882 | { | |
12883 | wxString* sptr = wxString_in_helper(obj2); | |
12884 | if (sptr == NULL) SWIG_fail; | |
12885 | arg3 = *sptr; | |
12886 | delete sptr; | |
12887 | } | |
12888 | if (obj3) { | |
12889 | arg4 = obj3; | |
12890 | } | |
12891 | { | |
12892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12893 | wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4); | |
12894 | wxPyEndAllowThreads(__tstate); | |
12895 | if (PyErr_Occurred()) SWIG_fail; | |
12896 | } | |
12897 | resultobj = SWIG_Py_Void(); | |
12898 | return resultobj; | |
12899 | fail: | |
12900 | return NULL; | |
12901 | } | |
12902 | ||
12903 | ||
12904 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12905 | PyObject *resultobj = 0; | |
12906 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12907 | int arg2 = (int) -1 ; | |
12908 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12909 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12910 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12911 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12912 | void *argp1 = 0 ; | |
12913 | int res1 = 0 ; | |
12914 | int val2 ; | |
12915 | int ecode2 = 0 ; | |
12916 | bool temp3 = false ; | |
12917 | bool temp4 = false ; | |
12918 | PyObject * obj0 = 0 ; | |
12919 | PyObject * obj1 = 0 ; | |
12920 | PyObject * obj2 = 0 ; | |
12921 | PyObject * obj3 = 0 ; | |
12922 | char * kwnames[] = { | |
12923 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
12924 | }; | |
12925 | ||
12926 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12927 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12928 | if (!SWIG_IsOK(res1)) { | |
12929 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12930 | } | |
12931 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12932 | if (obj1) { | |
12933 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12934 | if (!SWIG_IsOK(ecode2)) { | |
12935 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
12936 | } | |
12937 | arg2 = static_cast< int >(val2); | |
12938 | } | |
12939 | if (obj2) { | |
d14a1e28 | 12940 | { |
554f62e9 RD |
12941 | arg3 = wxString_in_helper(obj2); |
12942 | if (arg3 == NULL) SWIG_fail; | |
12943 | temp3 = true; | |
d14a1e28 | 12944 | } |
554f62e9 RD |
12945 | } |
12946 | if (obj3) { | |
d14a1e28 | 12947 | { |
554f62e9 RD |
12948 | arg4 = wxString_in_helper(obj3); |
12949 | if (arg4 == NULL) SWIG_fail; | |
12950 | temp4 = true; | |
d14a1e28 | 12951 | } |
554f62e9 RD |
12952 | } |
12953 | { | |
12954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12955 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
12956 | wxPyEndAllowThreads(__tstate); | |
12957 | if (PyErr_Occurred()) SWIG_fail; | |
12958 | } | |
12959 | resultobj = SWIG_Py_Void(); | |
12960 | { | |
12961 | if (temp3) | |
12962 | delete arg3; | |
12963 | } | |
12964 | { | |
12965 | if (temp4) | |
12966 | delete arg4; | |
12967 | } | |
12968 | return resultobj; | |
12969 | fail: | |
12970 | { | |
12971 | if (temp3) | |
12972 | delete arg3; | |
12973 | } | |
12974 | { | |
12975 | if (temp4) | |
12976 | delete arg4; | |
12977 | } | |
12978 | return NULL; | |
d14a1e28 RD |
12979 | } |
12980 | ||
12981 | ||
554f62e9 RD |
12982 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12983 | PyObject *resultobj = 0; | |
12984 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12985 | wxPrintData *result = 0 ; | |
12986 | void *argp1 = 0 ; | |
12987 | int res1 = 0 ; | |
12988 | PyObject *swig_obj[1] ; | |
12989 | ||
12990 | if (!args) SWIG_fail; | |
12991 | swig_obj[0] = args; | |
12992 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12993 | if (!SWIG_IsOK(res1)) { | |
12994 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12995 | } | |
12996 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12997 | { | |
12998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12999 | result = (wxPrintData *)(arg1)->GetPrintData(); | |
13000 | wxPyEndAllowThreads(__tstate); | |
13001 | if (PyErr_Occurred()) SWIG_fail; | |
13002 | } | |
13003 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 ); | |
13004 | return resultobj; | |
13005 | fail: | |
13006 | return NULL; | |
d14a1e28 RD |
13007 | } |
13008 | ||
13009 | ||
554f62e9 RD |
13010 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13011 | PyObject *resultobj = 0; | |
13012 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
13013 | wxPageSetupDialogData *result = 0 ; | |
13014 | void *argp1 = 0 ; | |
13015 | int res1 = 0 ; | |
13016 | PyObject *swig_obj[1] ; | |
13017 | ||
13018 | if (!args) SWIG_fail; | |
13019 | swig_obj[0] = args; | |
13020 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
13021 | if (!SWIG_IsOK(res1)) { | |
13022 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
13023 | } | |
13024 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
13025 | { | |
13026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13027 | result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData(); | |
13028 | wxPyEndAllowThreads(__tstate); | |
13029 | if (PyErr_Occurred()) SWIG_fail; | |
13030 | } | |
13031 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 ); | |
13032 | return resultobj; | |
13033 | fail: | |
13034 | return NULL; | |
13035 | } | |
13036 | ||
13037 | ||
13038 | SWIGINTERN PyObject *HtmlEasyPrinting_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13039 | PyObject *obj; | |
13040 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13041 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_NewClientData(obj)); | |
13042 | return SWIG_Py_Void(); | |
13043 | } | |
13044 | ||
13045 | SWIGINTERN PyObject *HtmlEasyPrinting_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13046 | return SWIG_Python_InitShadowInstance(args); | |
13047 | } | |
13048 | ||
13049 | SWIGINTERN PyObject *_wrap_new_HtmlBookRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13050 | PyObject *resultobj = 0; | |
13051 | wxString *arg1 = 0 ; | |
13052 | wxString *arg2 = 0 ; | |
13053 | wxString *arg3 = 0 ; | |
13054 | wxString *arg4 = 0 ; | |
13055 | wxHtmlBookRecord *result = 0 ; | |
13056 | bool temp1 = false ; | |
13057 | bool temp2 = false ; | |
13058 | bool temp3 = false ; | |
13059 | bool temp4 = false ; | |
13060 | PyObject * obj0 = 0 ; | |
13061 | PyObject * obj1 = 0 ; | |
13062 | PyObject * obj2 = 0 ; | |
13063 | PyObject * obj3 = 0 ; | |
13064 | char * kwnames[] = { | |
13065 | (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL | |
13066 | }; | |
13067 | ||
13068 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13069 | { | |
13070 | arg1 = wxString_in_helper(obj0); | |
13071 | if (arg1 == NULL) SWIG_fail; | |
13072 | temp1 = true; | |
13073 | } | |
13074 | { | |
13075 | arg2 = wxString_in_helper(obj1); | |
13076 | if (arg2 == NULL) SWIG_fail; | |
13077 | temp2 = true; | |
13078 | } | |
13079 | { | |
13080 | arg3 = wxString_in_helper(obj2); | |
13081 | if (arg3 == NULL) SWIG_fail; | |
13082 | temp3 = true; | |
13083 | } | |
13084 | { | |
13085 | arg4 = wxString_in_helper(obj3); | |
13086 | if (arg4 == NULL) SWIG_fail; | |
13087 | temp4 = true; | |
13088 | } | |
13089 | { | |
13090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13091 | result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
13092 | wxPyEndAllowThreads(__tstate); | |
13093 | if (PyErr_Occurred()) SWIG_fail; | |
13094 | } | |
13095 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_NEW | 0 ); | |
13096 | { | |
13097 | if (temp1) | |
13098 | delete arg1; | |
13099 | } | |
13100 | { | |
13101 | if (temp2) | |
13102 | delete arg2; | |
13103 | } | |
13104 | { | |
13105 | if (temp3) | |
13106 | delete arg3; | |
13107 | } | |
13108 | { | |
13109 | if (temp4) | |
13110 | delete arg4; | |
13111 | } | |
13112 | return resultobj; | |
13113 | fail: | |
13114 | { | |
13115 | if (temp1) | |
13116 | delete arg1; | |
13117 | } | |
13118 | { | |
13119 | if (temp2) | |
13120 | delete arg2; | |
13121 | } | |
13122 | { | |
13123 | if (temp3) | |
13124 | delete arg3; | |
13125 | } | |
13126 | { | |
13127 | if (temp4) | |
13128 | delete arg4; | |
13129 | } | |
13130 | return NULL; | |
d14a1e28 RD |
13131 | } |
13132 | ||
13133 | ||
554f62e9 RD |
13134 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13135 | PyObject *resultobj = 0; | |
13136 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13137 | wxString result; | |
13138 | void *argp1 = 0 ; | |
13139 | int res1 = 0 ; | |
13140 | PyObject *swig_obj[1] ; | |
13141 | ||
13142 | if (!args) SWIG_fail; | |
13143 | swig_obj[0] = args; | |
13144 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13145 | if (!SWIG_IsOK(res1)) { | |
13146 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13147 | } | |
13148 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13149 | { | |
13150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13151 | result = (arg1)->GetBookFile(); | |
13152 | wxPyEndAllowThreads(__tstate); | |
13153 | if (PyErr_Occurred()) SWIG_fail; | |
13154 | } | |
13155 | { | |
13156 | #if wxUSE_UNICODE | |
13157 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13158 | #else | |
13159 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13160 | #endif | |
13161 | } | |
13162 | return resultobj; | |
13163 | fail: | |
13164 | return NULL; | |
d14a1e28 RD |
13165 | } |
13166 | ||
13167 | ||
554f62e9 RD |
13168 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13169 | PyObject *resultobj = 0; | |
13170 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13171 | wxString result; | |
13172 | void *argp1 = 0 ; | |
13173 | int res1 = 0 ; | |
13174 | PyObject *swig_obj[1] ; | |
13175 | ||
13176 | if (!args) SWIG_fail; | |
13177 | swig_obj[0] = args; | |
13178 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13179 | if (!SWIG_IsOK(res1)) { | |
13180 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13181 | } | |
13182 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13183 | { | |
13184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13185 | result = (arg1)->GetTitle(); | |
13186 | wxPyEndAllowThreads(__tstate); | |
13187 | if (PyErr_Occurred()) SWIG_fail; | |
13188 | } | |
13189 | { | |
13190 | #if wxUSE_UNICODE | |
13191 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13192 | #else | |
13193 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13194 | #endif | |
13195 | } | |
13196 | return resultobj; | |
13197 | fail: | |
13198 | return NULL; | |
d14a1e28 RD |
13199 | } |
13200 | ||
13201 | ||
554f62e9 RD |
13202 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13203 | PyObject *resultobj = 0; | |
13204 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13205 | wxString result; | |
13206 | void *argp1 = 0 ; | |
13207 | int res1 = 0 ; | |
13208 | PyObject *swig_obj[1] ; | |
13209 | ||
13210 | if (!args) SWIG_fail; | |
13211 | swig_obj[0] = args; | |
13212 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13213 | if (!SWIG_IsOK(res1)) { | |
13214 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13215 | } | |
13216 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13217 | { | |
13218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13219 | result = (arg1)->GetStart(); | |
13220 | wxPyEndAllowThreads(__tstate); | |
13221 | if (PyErr_Occurred()) SWIG_fail; | |
13222 | } | |
13223 | { | |
13224 | #if wxUSE_UNICODE | |
13225 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13226 | #else | |
13227 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13228 | #endif | |
13229 | } | |
13230 | return resultobj; | |
13231 | fail: | |
13232 | return NULL; | |
d14a1e28 RD |
13233 | } |
13234 | ||
13235 | ||
554f62e9 RD |
13236 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13237 | PyObject *resultobj = 0; | |
13238 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13239 | wxString result; | |
13240 | void *argp1 = 0 ; | |
13241 | int res1 = 0 ; | |
13242 | PyObject *swig_obj[1] ; | |
13243 | ||
13244 | if (!args) SWIG_fail; | |
13245 | swig_obj[0] = args; | |
13246 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13247 | if (!SWIG_IsOK(res1)) { | |
13248 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13249 | } | |
13250 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13251 | { | |
13252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13253 | result = (arg1)->GetBasePath(); | |
13254 | wxPyEndAllowThreads(__tstate); | |
13255 | if (PyErr_Occurred()) SWIG_fail; | |
13256 | } | |
13257 | { | |
13258 | #if wxUSE_UNICODE | |
13259 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13260 | #else | |
13261 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13262 | #endif | |
13263 | } | |
13264 | return resultobj; | |
13265 | fail: | |
13266 | return NULL; | |
13267 | } | |
13268 | ||
13269 | ||
13270 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13271 | PyObject *resultobj = 0; | |
13272 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13273 | int arg2 ; | |
13274 | int arg3 ; | |
13275 | void *argp1 = 0 ; | |
13276 | int res1 = 0 ; | |
13277 | int val2 ; | |
13278 | int ecode2 = 0 ; | |
13279 | int val3 ; | |
13280 | int ecode3 = 0 ; | |
13281 | PyObject * obj0 = 0 ; | |
13282 | PyObject * obj1 = 0 ; | |
13283 | PyObject * obj2 = 0 ; | |
13284 | char * kwnames[] = { | |
13285 | (char *) "self",(char *) "start",(char *) "end", NULL | |
13286 | }; | |
13287 | ||
13288 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13289 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13290 | if (!SWIG_IsOK(res1)) { | |
13291 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13292 | } | |
13293 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13294 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13295 | if (!SWIG_IsOK(ecode2)) { | |
13296 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'"); | |
13297 | } | |
13298 | arg2 = static_cast< int >(val2); | |
13299 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
13300 | if (!SWIG_IsOK(ecode3)) { | |
13301 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'"); | |
13302 | } | |
13303 | arg3 = static_cast< int >(val3); | |
13304 | { | |
13305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13306 | (arg1)->SetContentsRange(arg2,arg3); | |
13307 | wxPyEndAllowThreads(__tstate); | |
13308 | if (PyErr_Occurred()) SWIG_fail; | |
13309 | } | |
13310 | resultobj = SWIG_Py_Void(); | |
13311 | return resultobj; | |
13312 | fail: | |
13313 | return NULL; | |
d14a1e28 RD |
13314 | } |
13315 | ||
13316 | ||
554f62e9 RD |
13317 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13318 | PyObject *resultobj = 0; | |
13319 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13320 | int result; | |
13321 | void *argp1 = 0 ; | |
13322 | int res1 = 0 ; | |
13323 | PyObject *swig_obj[1] ; | |
13324 | ||
13325 | if (!args) SWIG_fail; | |
13326 | swig_obj[0] = args; | |
13327 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13328 | if (!SWIG_IsOK(res1)) { | |
13329 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13330 | } | |
13331 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13332 | { | |
13333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13334 | result = (int)(arg1)->GetContentsStart(); | |
13335 | wxPyEndAllowThreads(__tstate); | |
13336 | if (PyErr_Occurred()) SWIG_fail; | |
13337 | } | |
13338 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13339 | return resultobj; | |
13340 | fail: | |
13341 | return NULL; | |
d14a1e28 | 13342 | } |
554f62e9 RD |
13343 | |
13344 | ||
13345 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13346 | PyObject *resultobj = 0; | |
13347 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13348 | int result; | |
13349 | void *argp1 = 0 ; | |
13350 | int res1 = 0 ; | |
13351 | PyObject *swig_obj[1] ; | |
13352 | ||
13353 | if (!args) SWIG_fail; | |
13354 | swig_obj[0] = args; | |
13355 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13356 | if (!SWIG_IsOK(res1)) { | |
13357 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13358 | } | |
13359 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13360 | { | |
13361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13362 | result = (int)(arg1)->GetContentsEnd(); | |
13363 | wxPyEndAllowThreads(__tstate); | |
13364 | if (PyErr_Occurred()) SWIG_fail; | |
13365 | } | |
13366 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13367 | return resultobj; | |
13368 | fail: | |
13369 | return NULL; | |
13370 | } | |
13371 | ||
13372 | ||
13373 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13374 | PyObject *resultobj = 0; | |
13375 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13376 | wxString *arg2 = 0 ; | |
13377 | void *argp1 = 0 ; | |
13378 | int res1 = 0 ; | |
13379 | bool temp2 = false ; | |
13380 | PyObject * obj0 = 0 ; | |
13381 | PyObject * obj1 = 0 ; | |
13382 | char * kwnames[] = { | |
13383 | (char *) "self",(char *) "title", NULL | |
13384 | }; | |
13385 | ||
13386 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail; | |
13387 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13388 | if (!SWIG_IsOK(res1)) { | |
13389 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13390 | } | |
13391 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13392 | { | |
13393 | arg2 = wxString_in_helper(obj1); | |
13394 | if (arg2 == NULL) SWIG_fail; | |
13395 | temp2 = true; | |
13396 | } | |
13397 | { | |
13398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13399 | (arg1)->SetTitle((wxString const &)*arg2); | |
13400 | wxPyEndAllowThreads(__tstate); | |
13401 | if (PyErr_Occurred()) SWIG_fail; | |
13402 | } | |
13403 | resultobj = SWIG_Py_Void(); | |
13404 | { | |
13405 | if (temp2) | |
13406 | delete arg2; | |
13407 | } | |
13408 | return resultobj; | |
13409 | fail: | |
13410 | { | |
13411 | if (temp2) | |
13412 | delete arg2; | |
13413 | } | |
13414 | return NULL; | |
d14a1e28 RD |
13415 | } |
13416 | ||
13417 | ||
554f62e9 RD |
13418 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13419 | PyObject *resultobj = 0; | |
13420 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13421 | wxString *arg2 = 0 ; | |
13422 | void *argp1 = 0 ; | |
13423 | int res1 = 0 ; | |
13424 | bool temp2 = false ; | |
13425 | PyObject * obj0 = 0 ; | |
13426 | PyObject * obj1 = 0 ; | |
13427 | char * kwnames[] = { | |
13428 | (char *) "self",(char *) "path", NULL | |
13429 | }; | |
13430 | ||
13431 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) SWIG_fail; | |
13432 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13433 | if (!SWIG_IsOK(res1)) { | |
13434 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13435 | } | |
13436 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13437 | { | |
13438 | arg2 = wxString_in_helper(obj1); | |
13439 | if (arg2 == NULL) SWIG_fail; | |
13440 | temp2 = true; | |
13441 | } | |
13442 | { | |
13443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13444 | (arg1)->SetBasePath((wxString const &)*arg2); | |
13445 | wxPyEndAllowThreads(__tstate); | |
13446 | if (PyErr_Occurred()) SWIG_fail; | |
13447 | } | |
13448 | resultobj = SWIG_Py_Void(); | |
13449 | { | |
13450 | if (temp2) | |
13451 | delete arg2; | |
13452 | } | |
13453 | return resultobj; | |
13454 | fail: | |
13455 | { | |
13456 | if (temp2) | |
13457 | delete arg2; | |
13458 | } | |
13459 | return NULL; | |
d14a1e28 RD |
13460 | } |
13461 | ||
13462 | ||
554f62e9 RD |
13463 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13464 | PyObject *resultobj = 0; | |
13465 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13466 | wxString *arg2 = 0 ; | |
13467 | void *argp1 = 0 ; | |
13468 | int res1 = 0 ; | |
13469 | bool temp2 = false ; | |
13470 | PyObject * obj0 = 0 ; | |
13471 | PyObject * obj1 = 0 ; | |
13472 | char * kwnames[] = { | |
13473 | (char *) "self",(char *) "start", NULL | |
13474 | }; | |
13475 | ||
13476 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) SWIG_fail; | |
13477 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13478 | if (!SWIG_IsOK(res1)) { | |
13479 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13480 | } | |
13481 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13482 | { | |
13483 | arg2 = wxString_in_helper(obj1); | |
13484 | if (arg2 == NULL) SWIG_fail; | |
13485 | temp2 = true; | |
13486 | } | |
13487 | { | |
13488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13489 | (arg1)->SetStart((wxString const &)*arg2); | |
13490 | wxPyEndAllowThreads(__tstate); | |
13491 | if (PyErr_Occurred()) SWIG_fail; | |
13492 | } | |
13493 | resultobj = SWIG_Py_Void(); | |
13494 | { | |
13495 | if (temp2) | |
13496 | delete arg2; | |
13497 | } | |
13498 | return resultobj; | |
13499 | fail: | |
13500 | { | |
13501 | if (temp2) | |
13502 | delete arg2; | |
13503 | } | |
13504 | return NULL; | |
13505 | } | |
13506 | ||
13507 | ||
13508 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13509 | PyObject *resultobj = 0; | |
13510 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13511 | wxString *arg2 = 0 ; | |
13512 | wxString result; | |
13513 | void *argp1 = 0 ; | |
13514 | int res1 = 0 ; | |
13515 | bool temp2 = false ; | |
13516 | PyObject * obj0 = 0 ; | |
13517 | PyObject * obj1 = 0 ; | |
13518 | char * kwnames[] = { | |
13519 | (char *) "self",(char *) "page", NULL | |
13520 | }; | |
13521 | ||
13522 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) SWIG_fail; | |
13523 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13524 | if (!SWIG_IsOK(res1)) { | |
13525 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'"); | |
13526 | } | |
13527 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13528 | { | |
13529 | arg2 = wxString_in_helper(obj1); | |
13530 | if (arg2 == NULL) SWIG_fail; | |
13531 | temp2 = true; | |
13532 | } | |
13533 | { | |
13534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13535 | result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2); | |
13536 | wxPyEndAllowThreads(__tstate); | |
13537 | if (PyErr_Occurred()) SWIG_fail; | |
13538 | } | |
13539 | { | |
13540 | #if wxUSE_UNICODE | |
13541 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13542 | #else | |
13543 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13544 | #endif | |
13545 | } | |
13546 | { | |
13547 | if (temp2) | |
13548 | delete arg2; | |
13549 | } | |
13550 | return resultobj; | |
13551 | fail: | |
13552 | { | |
13553 | if (temp2) | |
13554 | delete arg2; | |
13555 | } | |
13556 | return NULL; | |
d14a1e28 RD |
13557 | } |
13558 | ||
13559 | ||
554f62e9 RD |
13560 | SWIGINTERN PyObject *HtmlBookRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13561 | PyObject *obj; | |
13562 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13563 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord, SWIG_NewClientData(obj)); | |
13564 | return SWIG_Py_Void(); | |
d14a1e28 RD |
13565 | } |
13566 | ||
554f62e9 RD |
13567 | SWIGINTERN PyObject *HtmlBookRecord_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13568 | return SWIG_Python_InitShadowInstance(args); | |
13569 | } | |
d14a1e28 | 13570 | |
554f62e9 RD |
13571 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_Search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13572 | PyObject *resultobj = 0; | |
13573 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13574 | bool result; | |
13575 | void *argp1 = 0 ; | |
13576 | int res1 = 0 ; | |
13577 | PyObject *swig_obj[1] ; | |
13578 | ||
13579 | if (!args) SWIG_fail; | |
13580 | swig_obj[0] = args; | |
13581 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13582 | if (!SWIG_IsOK(res1)) { | |
13583 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13584 | } | |
13585 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13586 | { | |
13587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13588 | result = (bool)(arg1)->Search(); | |
13589 | wxPyEndAllowThreads(__tstate); | |
13590 | if (PyErr_Occurred()) SWIG_fail; | |
13591 | } | |
13592 | { | |
13593 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13594 | } | |
13595 | return resultobj; | |
13596 | fail: | |
13597 | return NULL; | |
d14a1e28 RD |
13598 | } |
13599 | ||
13600 | ||
554f62e9 RD |
13601 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13602 | PyObject *resultobj = 0; | |
13603 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13604 | bool result; | |
13605 | void *argp1 = 0 ; | |
13606 | int res1 = 0 ; | |
13607 | PyObject *swig_obj[1] ; | |
13608 | ||
13609 | if (!args) SWIG_fail; | |
13610 | swig_obj[0] = args; | |
13611 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13612 | if (!SWIG_IsOK(res1)) { | |
13613 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13614 | } | |
13615 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13616 | { | |
13617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13618 | result = (bool)(arg1)->IsActive(); | |
13619 | wxPyEndAllowThreads(__tstate); | |
13620 | if (PyErr_Occurred()) SWIG_fail; | |
13621 | } | |
13622 | { | |
13623 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13624 | } | |
13625 | return resultobj; | |
13626 | fail: | |
13627 | return NULL; | |
d14a1e28 RD |
13628 | } |
13629 | ||
13630 | ||
554f62e9 RD |
13631 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13632 | PyObject *resultobj = 0; | |
13633 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13634 | int result; | |
13635 | void *argp1 = 0 ; | |
13636 | int res1 = 0 ; | |
13637 | PyObject *swig_obj[1] ; | |
13638 | ||
13639 | if (!args) SWIG_fail; | |
13640 | swig_obj[0] = args; | |
13641 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13642 | if (!SWIG_IsOK(res1)) { | |
13643 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13644 | } | |
13645 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13646 | { | |
13647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13648 | result = (int)(arg1)->GetCurIndex(); | |
13649 | wxPyEndAllowThreads(__tstate); | |
13650 | if (PyErr_Occurred()) SWIG_fail; | |
13651 | } | |
13652 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13653 | return resultobj; | |
13654 | fail: | |
13655 | return NULL; | |
d14a1e28 RD |
13656 | } |
13657 | ||
13658 | ||
554f62e9 RD |
13659 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13660 | PyObject *resultobj = 0; | |
13661 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13662 | int result; | |
13663 | void *argp1 = 0 ; | |
13664 | int res1 = 0 ; | |
13665 | PyObject *swig_obj[1] ; | |
13666 | ||
13667 | if (!args) SWIG_fail; | |
13668 | swig_obj[0] = args; | |
13669 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13670 | if (!SWIG_IsOK(res1)) { | |
13671 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13672 | } | |
13673 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13674 | { | |
13675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13676 | result = (int)(arg1)->GetMaxIndex(); | |
13677 | wxPyEndAllowThreads(__tstate); | |
13678 | if (PyErr_Occurred()) SWIG_fail; | |
13679 | } | |
13680 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13681 | return resultobj; | |
13682 | fail: | |
13683 | return NULL; | |
d14a1e28 RD |
13684 | } |
13685 | ||
13686 | ||
554f62e9 RD |
13687 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13688 | PyObject *resultobj = 0; | |
13689 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13690 | wxString *result = 0 ; | |
13691 | void *argp1 = 0 ; | |
13692 | int res1 = 0 ; | |
13693 | PyObject *swig_obj[1] ; | |
13694 | ||
13695 | if (!args) SWIG_fail; | |
13696 | swig_obj[0] = args; | |
13697 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13698 | if (!SWIG_IsOK(res1)) { | |
13699 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13700 | } | |
13701 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13702 | { | |
13703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 13704 | { |
554f62e9 RD |
13705 | wxString const &_result_ref = (arg1)->GetName(); |
13706 | result = (wxString *) &_result_ref; | |
d14a1e28 | 13707 | } |
554f62e9 RD |
13708 | wxPyEndAllowThreads(__tstate); |
13709 | if (PyErr_Occurred()) SWIG_fail; | |
13710 | } | |
13711 | { | |
13712 | #if wxUSE_UNICODE | |
13713 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13714 | #else | |
13715 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13716 | #endif | |
13717 | } | |
13718 | return resultobj; | |
13719 | fail: | |
13720 | return NULL; | |
d14a1e28 RD |
13721 | } |
13722 | ||
13723 | ||
554f62e9 RD |
13724 | SWIGINTERN PyObject *HtmlSearchStatus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13725 | PyObject *obj; | |
13726 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13727 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus, SWIG_NewClientData(obj)); | |
13728 | return SWIG_Py_Void(); | |
13729 | } | |
13730 | ||
13731 | SWIGINTERN PyObject *_wrap_new_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13732 | PyObject *resultobj = 0; | |
13733 | wxHtmlHelpData *result = 0 ; | |
13734 | ||
13735 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlHelpData",0,0,0)) SWIG_fail; | |
13736 | { | |
13737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13738 | result = (wxHtmlHelpData *)new wxHtmlHelpData(); | |
13739 | wxPyEndAllowThreads(__tstate); | |
13740 | if (PyErr_Occurred()) SWIG_fail; | |
13741 | } | |
13742 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_NEW | 0 ); | |
13743 | return resultobj; | |
13744 | fail: | |
13745 | return NULL; | |
d14a1e28 RD |
13746 | } |
13747 | ||
13748 | ||
554f62e9 RD |
13749 | SWIGINTERN PyObject *_wrap_delete_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13750 | PyObject *resultobj = 0; | |
13751 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13752 | void *argp1 = 0 ; | |
13753 | int res1 = 0 ; | |
13754 | PyObject *swig_obj[1] ; | |
13755 | ||
13756 | if (!args) SWIG_fail; | |
13757 | swig_obj[0] = args; | |
13758 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_DISOWN | 0 ); | |
13759 | if (!SWIG_IsOK(res1)) { | |
13760 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13761 | } | |
13762 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13763 | { | |
13764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13765 | delete arg1; | |
d14a1e28 | 13766 | |
554f62e9 RD |
13767 | wxPyEndAllowThreads(__tstate); |
13768 | if (PyErr_Occurred()) SWIG_fail; | |
13769 | } | |
13770 | resultobj = SWIG_Py_Void(); | |
13771 | return resultobj; | |
13772 | fail: | |
13773 | return NULL; | |
13774 | } | |
13775 | ||
13776 | ||
13777 | SWIGINTERN PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13778 | PyObject *resultobj = 0; | |
13779 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13780 | wxString *arg2 = 0 ; | |
13781 | void *argp1 = 0 ; | |
13782 | int res1 = 0 ; | |
13783 | bool temp2 = false ; | |
13784 | PyObject * obj0 = 0 ; | |
13785 | PyObject * obj1 = 0 ; | |
13786 | char * kwnames[] = { | |
13787 | (char *) "self",(char *) "path", NULL | |
13788 | }; | |
13789 | ||
13790 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail; | |
13791 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13792 | if (!SWIG_IsOK(res1)) { | |
13793 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13794 | } | |
13795 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13796 | { | |
13797 | arg2 = wxString_in_helper(obj1); | |
13798 | if (arg2 == NULL) SWIG_fail; | |
13799 | temp2 = true; | |
13800 | } | |
13801 | { | |
13802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13803 | (arg1)->SetTempDir((wxString const &)*arg2); | |
13804 | wxPyEndAllowThreads(__tstate); | |
13805 | if (PyErr_Occurred()) SWIG_fail; | |
13806 | } | |
13807 | resultobj = SWIG_Py_Void(); | |
13808 | { | |
13809 | if (temp2) | |
13810 | delete arg2; | |
13811 | } | |
13812 | return resultobj; | |
13813 | fail: | |
13814 | { | |
13815 | if (temp2) | |
13816 | delete arg2; | |
13817 | } | |
13818 | return NULL; | |
13819 | } | |
13820 | ||
13821 | ||
13822 | SWIGINTERN PyObject *_wrap_HtmlHelpData_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13823 | PyObject *resultobj = 0; | |
13824 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13825 | wxString *arg2 = 0 ; | |
13826 | bool result; | |
13827 | void *argp1 = 0 ; | |
13828 | int res1 = 0 ; | |
13829 | bool temp2 = false ; | |
13830 | PyObject * obj0 = 0 ; | |
13831 | PyObject * obj1 = 0 ; | |
13832 | char * kwnames[] = { | |
13833 | (char *) "self",(char *) "book", NULL | |
13834 | }; | |
13835 | ||
13836 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) SWIG_fail; | |
13837 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13838 | if (!SWIG_IsOK(res1)) { | |
13839 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13840 | } | |
13841 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13842 | { | |
13843 | arg2 = wxString_in_helper(obj1); | |
13844 | if (arg2 == NULL) SWIG_fail; | |
13845 | temp2 = true; | |
13846 | } | |
13847 | { | |
13848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13849 | result = (bool)(arg1)->AddBook((wxString const &)*arg2); | |
13850 | wxPyEndAllowThreads(__tstate); | |
13851 | if (PyErr_Occurred()) SWIG_fail; | |
13852 | } | |
13853 | { | |
13854 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13855 | } | |
13856 | { | |
13857 | if (temp2) | |
13858 | delete arg2; | |
13859 | } | |
13860 | return resultobj; | |
13861 | fail: | |
13862 | { | |
13863 | if (temp2) | |
13864 | delete arg2; | |
13865 | } | |
13866 | return NULL; | |
13867 | } | |
13868 | ||
13869 | ||
13870 | SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13871 | PyObject *resultobj = 0; | |
13872 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13873 | wxString *arg2 = 0 ; | |
13874 | wxString result; | |
13875 | void *argp1 = 0 ; | |
13876 | int res1 = 0 ; | |
13877 | bool temp2 = false ; | |
13878 | PyObject * obj0 = 0 ; | |
13879 | PyObject * obj1 = 0 ; | |
13880 | char * kwnames[] = { | |
13881 | (char *) "self",(char *) "page", NULL | |
13882 | }; | |
13883 | ||
13884 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) SWIG_fail; | |
13885 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13886 | if (!SWIG_IsOK(res1)) { | |
13887 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13888 | } | |
13889 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13890 | { | |
13891 | arg2 = wxString_in_helper(obj1); | |
13892 | if (arg2 == NULL) SWIG_fail; | |
13893 | temp2 = true; | |
13894 | } | |
13895 | { | |
13896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13897 | result = (arg1)->FindPageByName((wxString const &)*arg2); | |
13898 | wxPyEndAllowThreads(__tstate); | |
13899 | if (PyErr_Occurred()) SWIG_fail; | |
13900 | } | |
13901 | { | |
d14a1e28 | 13902 | #if wxUSE_UNICODE |
554f62e9 | 13903 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13904 | #else |
554f62e9 | 13905 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13906 | #endif |
554f62e9 RD |
13907 | } |
13908 | { | |
13909 | if (temp2) | |
13910 | delete arg2; | |
13911 | } | |
13912 | return resultobj; | |
13913 | fail: | |
13914 | { | |
13915 | if (temp2) | |
13916 | delete arg2; | |
13917 | } | |
13918 | return NULL; | |
13919 | } | |
13920 | ||
13921 | ||
13922 | SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13923 | PyObject *resultobj = 0; | |
13924 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13925 | int arg2 ; | |
13926 | wxString result; | |
13927 | void *argp1 = 0 ; | |
13928 | int res1 = 0 ; | |
13929 | int val2 ; | |
13930 | int ecode2 = 0 ; | |
13931 | PyObject * obj0 = 0 ; | |
13932 | PyObject * obj1 = 0 ; | |
13933 | char * kwnames[] = { | |
13934 | (char *) "self",(char *) "id", NULL | |
13935 | }; | |
13936 | ||
13937 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) SWIG_fail; | |
13938 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13939 | if (!SWIG_IsOK(res1)) { | |
13940 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13941 | } | |
13942 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13943 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13944 | if (!SWIG_IsOK(ecode2)) { | |
13945 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'"); | |
13946 | } | |
13947 | arg2 = static_cast< int >(val2); | |
13948 | { | |
13949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13950 | result = (arg1)->FindPageById(arg2); | |
13951 | wxPyEndAllowThreads(__tstate); | |
13952 | if (PyErr_Occurred()) SWIG_fail; | |
13953 | } | |
13954 | { | |
d14a1e28 | 13955 | #if wxUSE_UNICODE |
554f62e9 | 13956 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13957 | #else |
554f62e9 | 13958 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13959 | #endif |
554f62e9 RD |
13960 | } |
13961 | return resultobj; | |
13962 | fail: | |
13963 | return NULL; | |
d14a1e28 RD |
13964 | } |
13965 | ||
13966 | ||
554f62e9 RD |
13967 | SWIGINTERN PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13968 | PyObject *resultobj = 0; | |
13969 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13970 | wxHtmlBookRecArray *result = 0 ; | |
13971 | void *argp1 = 0 ; | |
13972 | int res1 = 0 ; | |
13973 | PyObject *swig_obj[1] ; | |
13974 | ||
13975 | if (!args) SWIG_fail; | |
13976 | swig_obj[0] = args; | |
13977 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13978 | if (!SWIG_IsOK(res1)) { | |
13979 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13980 | } | |
13981 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13982 | { | |
13983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 13984 | { |
554f62e9 RD |
13985 | wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray(); |
13986 | result = (wxHtmlBookRecArray *) &_result_ref; | |
d14a1e28 | 13987 | } |
554f62e9 RD |
13988 | wxPyEndAllowThreads(__tstate); |
13989 | if (PyErr_Occurred()) SWIG_fail; | |
13990 | } | |
13991 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecArray, 0 | 0 ); | |
13992 | return resultobj; | |
13993 | fail: | |
13994 | return NULL; | |
13995 | } | |
13996 | ||
13997 | ||
13998 | SWIGINTERN PyObject *HtmlHelpData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13999 | PyObject *obj; | |
14000 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14001 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData, SWIG_NewClientData(obj)); | |
14002 | return SWIG_Py_Void(); | |
14003 | } | |
14004 | ||
14005 | SWIGINTERN PyObject *HtmlHelpData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14006 | return SWIG_Python_InitShadowInstance(args); | |
14007 | } | |
14008 | ||
14009 | SWIGINTERN PyObject *_wrap_new_HtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14010 | PyObject *resultobj = 0; | |
14011 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14012 | int arg2 ; | |
14013 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
14014 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14015 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14016 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14017 | int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
14018 | int arg6 = (int) wxHF_DEFAULT_STYLE ; | |
14019 | wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ; | |
14020 | wxHtmlHelpWindow *result = 0 ; | |
14021 | void *argp1 = 0 ; | |
14022 | int res1 = 0 ; | |
14023 | int val2 ; | |
14024 | int ecode2 = 0 ; | |
14025 | wxPoint temp3 ; | |
14026 | wxSize temp4 ; | |
14027 | int val5 ; | |
14028 | int ecode5 = 0 ; | |
14029 | int val6 ; | |
14030 | int ecode6 = 0 ; | |
14031 | void *argp7 = 0 ; | |
14032 | int res7 = 0 ; | |
14033 | PyObject * obj0 = 0 ; | |
14034 | PyObject * obj1 = 0 ; | |
14035 | PyObject * obj2 = 0 ; | |
14036 | PyObject * obj3 = 0 ; | |
14037 | PyObject * obj4 = 0 ; | |
14038 | PyObject * obj5 = 0 ; | |
14039 | PyObject * obj6 = 0 ; | |
14040 | char * kwnames[] = { | |
14041 | (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL | |
14042 | }; | |
14043 | ||
14044 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
14045 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14046 | if (!SWIG_IsOK(res1)) { | |
14047 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
14048 | } | |
14049 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14050 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14051 | if (!SWIG_IsOK(ecode2)) { | |
14052 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'"); | |
14053 | } | |
14054 | arg2 = static_cast< int >(val2); | |
14055 | if (obj2) { | |
d14a1e28 | 14056 | { |
554f62e9 RD |
14057 | arg3 = &temp3; |
14058 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
d14a1e28 | 14059 | } |
554f62e9 RD |
14060 | } |
14061 | if (obj3) { | |
d14a1e28 | 14062 | { |
554f62e9 RD |
14063 | arg4 = &temp4; |
14064 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 14065 | } |
554f62e9 RD |
14066 | } |
14067 | if (obj4) { | |
14068 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
14069 | if (!SWIG_IsOK(ecode5)) { | |
14070 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'"); | |
14071 | } | |
14072 | arg5 = static_cast< int >(val5); | |
14073 | } | |
14074 | if (obj5) { | |
14075 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
14076 | if (!SWIG_IsOK(ecode6)) { | |
14077 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'"); | |
14078 | } | |
14079 | arg6 = static_cast< int >(val6); | |
14080 | } | |
14081 | if (obj6) { | |
14082 | res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
14083 | if (!SWIG_IsOK(res7)) { | |
14084 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'"); | |
14085 | } | |
14086 | arg7 = reinterpret_cast< wxHtmlHelpData * >(argp7); | |
14087 | } | |
14088 | { | |
14089 | if (!wxPyCheckForApp()) SWIG_fail; | |
14090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14091 | result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7); | |
14092 | wxPyEndAllowThreads(__tstate); | |
14093 | if (PyErr_Occurred()) SWIG_fail; | |
14094 | } | |
14095 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_NEW | 0 ); | |
14096 | return resultobj; | |
14097 | fail: | |
14098 | return NULL; | |
14099 | } | |
14100 | ||
14101 | ||
14102 | SWIGINTERN PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14103 | PyObject *resultobj = 0; | |
14104 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; | |
14105 | wxHtmlHelpWindow *result = 0 ; | |
14106 | void *argp1 = 0 ; | |
14107 | int res1 = 0 ; | |
14108 | PyObject * obj0 = 0 ; | |
14109 | char * kwnames[] = { | |
14110 | (char *) "data", NULL | |
14111 | }; | |
14112 | ||
14113 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) SWIG_fail; | |
14114 | if (obj0) { | |
14115 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
14116 | if (!SWIG_IsOK(res1)) { | |
14117 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 14118 | } |
554f62e9 RD |
14119 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); |
14120 | } | |
14121 | { | |
14122 | if (!wxPyCheckForApp()) SWIG_fail; | |
14123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14124 | result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1); | |
14125 | wxPyEndAllowThreads(__tstate); | |
14126 | if (PyErr_Occurred()) SWIG_fail; | |
14127 | } | |
14128 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_OWN | 0 ); | |
14129 | return resultobj; | |
14130 | fail: | |
14131 | return NULL; | |
14132 | } | |
14133 | ||
14134 | ||
14135 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14136 | PyObject *resultobj = 0; | |
14137 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14138 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14139 | int arg3 ; | |
14140 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14141 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14142 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14143 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14144 | int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
14145 | int arg7 = (int) wxHF_DEFAULT_STYLE ; | |
14146 | bool result; | |
14147 | void *argp1 = 0 ; | |
14148 | int res1 = 0 ; | |
14149 | void *argp2 = 0 ; | |
14150 | int res2 = 0 ; | |
14151 | int val3 ; | |
14152 | int ecode3 = 0 ; | |
14153 | wxPoint temp4 ; | |
14154 | wxSize temp5 ; | |
14155 | int val6 ; | |
14156 | int ecode6 = 0 ; | |
14157 | int val7 ; | |
14158 | int ecode7 = 0 ; | |
14159 | PyObject * obj0 = 0 ; | |
14160 | PyObject * obj1 = 0 ; | |
14161 | PyObject * obj2 = 0 ; | |
14162 | PyObject * obj3 = 0 ; | |
14163 | PyObject * obj4 = 0 ; | |
14164 | PyObject * obj5 = 0 ; | |
14165 | PyObject * obj6 = 0 ; | |
14166 | char * kwnames[] = { | |
14167 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL | |
14168 | }; | |
14169 | ||
14170 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
14171 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14172 | if (!SWIG_IsOK(res1)) { | |
14173 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14174 | } | |
14175 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14176 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14177 | if (!SWIG_IsOK(res2)) { | |
14178 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14179 | } | |
14180 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14181 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14182 | if (!SWIG_IsOK(ecode3)) { | |
14183 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'"); | |
14184 | } | |
14185 | arg3 = static_cast< int >(val3); | |
14186 | if (obj3) { | |
d14a1e28 | 14187 | { |
554f62e9 RD |
14188 | arg4 = &temp4; |
14189 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 14190 | } |
554f62e9 RD |
14191 | } |
14192 | if (obj4) { | |
d14a1e28 | 14193 | { |
554f62e9 RD |
14194 | arg5 = &temp5; |
14195 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
d14a1e28 | 14196 | } |
554f62e9 RD |
14197 | } |
14198 | if (obj5) { | |
14199 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
14200 | if (!SWIG_IsOK(ecode6)) { | |
14201 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'"); | |
14202 | } | |
14203 | arg6 = static_cast< int >(val6); | |
14204 | } | |
14205 | if (obj6) { | |
14206 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
14207 | if (!SWIG_IsOK(ecode7)) { | |
14208 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'"); | |
14209 | } | |
14210 | arg7 = static_cast< int >(val7); | |
14211 | } | |
14212 | { | |
14213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14214 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7); | |
14215 | wxPyEndAllowThreads(__tstate); | |
14216 | if (PyErr_Occurred()) SWIG_fail; | |
14217 | } | |
14218 | { | |
14219 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14220 | } | |
14221 | return resultobj; | |
14222 | fail: | |
14223 | return NULL; | |
d14a1e28 RD |
14224 | } |
14225 | ||
14226 | ||
554f62e9 RD |
14227 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14228 | PyObject *resultobj = 0; | |
14229 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14230 | wxHtmlHelpData *result = 0 ; | |
14231 | void *argp1 = 0 ; | |
14232 | int res1 = 0 ; | |
14233 | PyObject *swig_obj[1] ; | |
14234 | ||
14235 | if (!args) SWIG_fail; | |
14236 | swig_obj[0] = args; | |
14237 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14238 | if (!SWIG_IsOK(res1)) { | |
14239 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14240 | } | |
14241 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14242 | { | |
14243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14244 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
14245 | wxPyEndAllowThreads(__tstate); | |
14246 | if (PyErr_Occurred()) SWIG_fail; | |
14247 | } | |
14248 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
14249 | return resultobj; | |
14250 | fail: | |
14251 | return NULL; | |
d14a1e28 RD |
14252 | } |
14253 | ||
14254 | ||
554f62e9 RD |
14255 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14256 | PyObject *resultobj = 0; | |
14257 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14258 | wxHtmlHelpController *result = 0 ; | |
14259 | void *argp1 = 0 ; | |
14260 | int res1 = 0 ; | |
14261 | PyObject *swig_obj[1] ; | |
14262 | ||
14263 | if (!args) SWIG_fail; | |
14264 | swig_obj[0] = args; | |
14265 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14266 | if (!SWIG_IsOK(res1)) { | |
14267 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14268 | } | |
14269 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14270 | { | |
14271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14272 | result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController(); | |
14273 | wxPyEndAllowThreads(__tstate); | |
14274 | if (PyErr_Occurred()) SWIG_fail; | |
14275 | } | |
14276 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
14277 | return resultobj; | |
14278 | fail: | |
14279 | return NULL; | |
14280 | } | |
14281 | ||
14282 | ||
14283 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14284 | PyObject *resultobj = 0; | |
14285 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14286 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
14287 | void *argp1 = 0 ; | |
14288 | int res1 = 0 ; | |
14289 | int res2 = 0 ; | |
14290 | PyObject * obj0 = 0 ; | |
14291 | PyObject * obj1 = 0 ; | |
14292 | char * kwnames[] = { | |
14293 | (char *) "self",(char *) "controller", NULL | |
14294 | }; | |
14295 | ||
14296 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) SWIG_fail; | |
14297 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14298 | if (!SWIG_IsOK(res1)) { | |
14299 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14300 | } | |
14301 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14302 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
14303 | if (!SWIG_IsOK(res2)) { | |
14304 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'"); | |
14305 | } | |
14306 | { | |
14307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14308 | (arg1)->SetController(arg2); | |
14309 | wxPyEndAllowThreads(__tstate); | |
14310 | if (PyErr_Occurred()) SWIG_fail; | |
14311 | } | |
14312 | resultobj = SWIG_Py_Void(); | |
14313 | return resultobj; | |
14314 | fail: | |
14315 | return NULL; | |
14316 | } | |
14317 | ||
14318 | ||
14319 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14320 | PyObject *resultobj = 0; | |
14321 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14322 | wxString *arg2 = 0 ; | |
14323 | bool result; | |
14324 | void *argp1 = 0 ; | |
14325 | int res1 = 0 ; | |
14326 | bool temp2 = false ; | |
14327 | PyObject * obj0 = 0 ; | |
14328 | PyObject * obj1 = 0 ; | |
14329 | char * kwnames[] = { | |
14330 | (char *) "self",(char *) "x", NULL | |
14331 | }; | |
14332 | ||
14333 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) SWIG_fail; | |
14334 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14335 | if (!SWIG_IsOK(res1)) { | |
14336 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14337 | } | |
14338 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14339 | { | |
14340 | arg2 = wxString_in_helper(obj1); | |
14341 | if (arg2 == NULL) SWIG_fail; | |
14342 | temp2 = true; | |
14343 | } | |
14344 | { | |
14345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14346 | result = (bool)(arg1)->Display((wxString const &)*arg2); | |
14347 | wxPyEndAllowThreads(__tstate); | |
14348 | if (PyErr_Occurred()) SWIG_fail; | |
14349 | } | |
14350 | { | |
14351 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14352 | } | |
14353 | { | |
14354 | if (temp2) | |
14355 | delete arg2; | |
14356 | } | |
14357 | return resultobj; | |
14358 | fail: | |
14359 | { | |
14360 | if (temp2) | |
14361 | delete arg2; | |
14362 | } | |
14363 | return NULL; | |
14364 | } | |
14365 | ||
14366 | ||
14367 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14368 | PyObject *resultobj = 0; | |
14369 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14370 | int arg2 ; | |
14371 | bool result; | |
14372 | void *argp1 = 0 ; | |
14373 | int res1 = 0 ; | |
14374 | int val2 ; | |
14375 | int ecode2 = 0 ; | |
14376 | PyObject * obj0 = 0 ; | |
14377 | PyObject * obj1 = 0 ; | |
14378 | char * kwnames[] = { | |
14379 | (char *) "self",(char *) "id", NULL | |
14380 | }; | |
14381 | ||
14382 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail; | |
14383 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14384 | if (!SWIG_IsOK(res1)) { | |
14385 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14386 | } | |
14387 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14388 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14389 | if (!SWIG_IsOK(ecode2)) { | |
14390 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'"); | |
14391 | } | |
14392 | arg2 = static_cast< int >(val2); | |
14393 | { | |
14394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14395 | result = (bool)(arg1)->Display(arg2); | |
14396 | wxPyEndAllowThreads(__tstate); | |
14397 | if (PyErr_Occurred()) SWIG_fail; | |
14398 | } | |
14399 | { | |
14400 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14401 | } | |
14402 | return resultobj; | |
14403 | fail: | |
14404 | return NULL; | |
d14a1e28 RD |
14405 | } |
14406 | ||
14407 | ||
554f62e9 RD |
14408 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14409 | PyObject *resultobj = 0; | |
14410 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14411 | bool result; | |
14412 | void *argp1 = 0 ; | |
14413 | int res1 = 0 ; | |
14414 | PyObject *swig_obj[1] ; | |
14415 | ||
14416 | if (!args) SWIG_fail; | |
14417 | swig_obj[0] = args; | |
14418 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14419 | if (!SWIG_IsOK(res1)) { | |
14420 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14421 | } | |
14422 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14423 | { | |
14424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14425 | result = (bool)(arg1)->DisplayContents(); | |
14426 | wxPyEndAllowThreads(__tstate); | |
14427 | if (PyErr_Occurred()) SWIG_fail; | |
14428 | } | |
14429 | { | |
14430 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14431 | } | |
14432 | return resultobj; | |
14433 | fail: | |
14434 | return NULL; | |
d14a1e28 RD |
14435 | } |
14436 | ||
14437 | ||
554f62e9 RD |
14438 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14439 | PyObject *resultobj = 0; | |
14440 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14441 | bool result; | |
14442 | void *argp1 = 0 ; | |
14443 | int res1 = 0 ; | |
14444 | PyObject *swig_obj[1] ; | |
14445 | ||
14446 | if (!args) SWIG_fail; | |
14447 | swig_obj[0] = args; | |
14448 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14449 | if (!SWIG_IsOK(res1)) { | |
14450 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14451 | } | |
14452 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14453 | { | |
14454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14455 | result = (bool)(arg1)->DisplayIndex(); | |
14456 | wxPyEndAllowThreads(__tstate); | |
14457 | if (PyErr_Occurred()) SWIG_fail; | |
14458 | } | |
14459 | { | |
14460 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14461 | } | |
14462 | return resultobj; | |
14463 | fail: | |
14464 | return NULL; | |
14465 | } | |
14466 | ||
14467 | ||
14468 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14469 | PyObject *resultobj = 0; | |
14470 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14471 | wxString *arg2 = 0 ; | |
14472 | wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ; | |
14473 | bool result; | |
14474 | void *argp1 = 0 ; | |
14475 | int res1 = 0 ; | |
14476 | bool temp2 = false ; | |
14477 | void *argp3 ; | |
14478 | int res3 = 0 ; | |
14479 | PyObject * obj0 = 0 ; | |
14480 | PyObject * obj1 = 0 ; | |
14481 | PyObject * obj2 = 0 ; | |
14482 | char * kwnames[] = { | |
14483 | (char *) "self",(char *) "keyword",(char *) "mode", NULL | |
14484 | }; | |
14485 | ||
14486 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14487 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14488 | if (!SWIG_IsOK(res1)) { | |
14489 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14490 | } | |
14491 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14492 | { | |
14493 | arg2 = wxString_in_helper(obj1); | |
14494 | if (arg2 == NULL) SWIG_fail; | |
14495 | temp2 = true; | |
14496 | } | |
14497 | if (obj2) { | |
14498 | { | |
14499 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0); | |
14500 | if (!SWIG_IsOK(res3)) { | |
14501 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
14502 | } | |
14503 | if (!argp3) { | |
14504 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
14505 | } else { | |
14506 | wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3); | |
14507 | arg3 = *temp; | |
14508 | if (SWIG_IsNewObj(res3)) delete temp; | |
14509 | } | |
ae8162c8 | 14510 | } |
554f62e9 RD |
14511 | } |
14512 | { | |
14513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14514 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3); | |
14515 | wxPyEndAllowThreads(__tstate); | |
14516 | if (PyErr_Occurred()) SWIG_fail; | |
14517 | } | |
14518 | { | |
14519 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14520 | } | |
14521 | { | |
14522 | if (temp2) | |
14523 | delete arg2; | |
14524 | } | |
14525 | return resultobj; | |
14526 | fail: | |
14527 | { | |
14528 | if (temp2) | |
14529 | delete arg2; | |
14530 | } | |
14531 | return NULL; | |
14532 | } | |
14533 | ||
14534 | ||
14535 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14536 | PyObject *resultobj = 0; | |
14537 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14538 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
14539 | wxString const &arg3_defvalue = wxEmptyString ; | |
14540 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14541 | void *argp1 = 0 ; | |
14542 | int res1 = 0 ; | |
14543 | void *argp2 = 0 ; | |
14544 | int res2 = 0 ; | |
14545 | bool temp3 = false ; | |
14546 | PyObject * obj0 = 0 ; | |
14547 | PyObject * obj1 = 0 ; | |
14548 | PyObject * obj2 = 0 ; | |
14549 | char * kwnames[] = { | |
14550 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
14551 | }; | |
14552 | ||
14553 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14554 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14555 | if (!SWIG_IsOK(res1)) { | |
14556 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14557 | } | |
14558 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14559 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
14560 | if (!SWIG_IsOK(res2)) { | |
14561 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
14562 | } | |
14563 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
14564 | if (obj2) { | |
ae8162c8 | 14565 | { |
554f62e9 RD |
14566 | arg3 = wxString_in_helper(obj2); |
14567 | if (arg3 == NULL) SWIG_fail; | |
14568 | temp3 = true; | |
ae8162c8 | 14569 | } |
554f62e9 RD |
14570 | } |
14571 | { | |
14572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14573 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
14574 | wxPyEndAllowThreads(__tstate); | |
14575 | if (PyErr_Occurred()) SWIG_fail; | |
14576 | } | |
14577 | resultobj = SWIG_Py_Void(); | |
14578 | { | |
14579 | if (temp3) | |
14580 | delete arg3; | |
14581 | } | |
14582 | return resultobj; | |
14583 | fail: | |
14584 | { | |
14585 | if (temp3) | |
14586 | delete arg3; | |
14587 | } | |
14588 | return NULL; | |
14589 | } | |
14590 | ||
14591 | ||
14592 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14593 | PyObject *resultobj = 0; | |
14594 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14595 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
14596 | wxString const &arg3_defvalue = wxEmptyString ; | |
14597 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14598 | void *argp1 = 0 ; | |
14599 | int res1 = 0 ; | |
14600 | void *argp2 = 0 ; | |
14601 | int res2 = 0 ; | |
14602 | bool temp3 = false ; | |
14603 | PyObject * obj0 = 0 ; | |
14604 | PyObject * obj1 = 0 ; | |
14605 | PyObject * obj2 = 0 ; | |
14606 | char * kwnames[] = { | |
14607 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
14608 | }; | |
14609 | ||
14610 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14611 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14612 | if (!SWIG_IsOK(res1)) { | |
14613 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14614 | } | |
14615 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14616 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
14617 | if (!SWIG_IsOK(res2)) { | |
14618 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
14619 | } | |
14620 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
14621 | if (obj2) { | |
ae8162c8 | 14622 | { |
554f62e9 RD |
14623 | arg3 = wxString_in_helper(obj2); |
14624 | if (arg3 == NULL) SWIG_fail; | |
14625 | temp3 = true; | |
ae8162c8 | 14626 | } |
554f62e9 RD |
14627 | } |
14628 | { | |
14629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14630 | (arg1)->ReadCustomization(arg2,(wxString const &)*arg3); | |
14631 | wxPyEndAllowThreads(__tstate); | |
14632 | if (PyErr_Occurred()) SWIG_fail; | |
14633 | } | |
14634 | resultobj = SWIG_Py_Void(); | |
14635 | { | |
14636 | if (temp3) | |
14637 | delete arg3; | |
14638 | } | |
14639 | return resultobj; | |
14640 | fail: | |
14641 | { | |
14642 | if (temp3) | |
14643 | delete arg3; | |
14644 | } | |
14645 | return NULL; | |
14646 | } | |
14647 | ||
14648 | ||
14649 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14650 | PyObject *resultobj = 0; | |
14651 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14652 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
14653 | wxString const &arg3_defvalue = wxEmptyString ; | |
14654 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14655 | void *argp1 = 0 ; | |
14656 | int res1 = 0 ; | |
14657 | void *argp2 = 0 ; | |
14658 | int res2 = 0 ; | |
14659 | bool temp3 = false ; | |
14660 | PyObject * obj0 = 0 ; | |
14661 | PyObject * obj1 = 0 ; | |
14662 | PyObject * obj2 = 0 ; | |
14663 | char * kwnames[] = { | |
14664 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
14665 | }; | |
14666 | ||
14667 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14668 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14669 | if (!SWIG_IsOK(res1)) { | |
14670 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14671 | } | |
14672 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14673 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
14674 | if (!SWIG_IsOK(res2)) { | |
14675 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
14676 | } | |
14677 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
14678 | if (obj2) { | |
ae8162c8 | 14679 | { |
554f62e9 RD |
14680 | arg3 = wxString_in_helper(obj2); |
14681 | if (arg3 == NULL) SWIG_fail; | |
14682 | temp3 = true; | |
ae8162c8 | 14683 | } |
554f62e9 RD |
14684 | } |
14685 | { | |
14686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14687 | (arg1)->WriteCustomization(arg2,(wxString const &)*arg3); | |
14688 | wxPyEndAllowThreads(__tstate); | |
14689 | if (PyErr_Occurred()) SWIG_fail; | |
14690 | } | |
14691 | resultobj = SWIG_Py_Void(); | |
14692 | { | |
14693 | if (temp3) | |
14694 | delete arg3; | |
14695 | } | |
14696 | return resultobj; | |
14697 | fail: | |
14698 | { | |
14699 | if (temp3) | |
14700 | delete arg3; | |
14701 | } | |
14702 | return NULL; | |
30ee79f7 RD |
14703 | } |
14704 | ||
14705 | ||
554f62e9 RD |
14706 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14707 | PyObject *resultobj = 0; | |
14708 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14709 | void *argp1 = 0 ; | |
14710 | int res1 = 0 ; | |
14711 | PyObject *swig_obj[1] ; | |
14712 | ||
14713 | if (!args) SWIG_fail; | |
14714 | swig_obj[0] = args; | |
14715 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14716 | if (!SWIG_IsOK(res1)) { | |
14717 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14718 | } | |
14719 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14720 | { | |
14721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14722 | (arg1)->NotifyPageChanged(); | |
14723 | wxPyEndAllowThreads(__tstate); | |
14724 | if (PyErr_Occurred()) SWIG_fail; | |
14725 | } | |
14726 | resultobj = SWIG_Py_Void(); | |
14727 | return resultobj; | |
14728 | fail: | |
14729 | return NULL; | |
d14a1e28 RD |
14730 | } |
14731 | ||
14732 | ||
554f62e9 RD |
14733 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14734 | PyObject *resultobj = 0; | |
14735 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14736 | void *argp1 = 0 ; | |
14737 | int res1 = 0 ; | |
14738 | PyObject *swig_obj[1] ; | |
14739 | ||
14740 | if (!args) SWIG_fail; | |
14741 | swig_obj[0] = args; | |
14742 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14743 | if (!SWIG_IsOK(res1)) { | |
14744 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14745 | } | |
14746 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14747 | { | |
14748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14749 | (arg1)->RefreshLists(); | |
14750 | wxPyEndAllowThreads(__tstate); | |
14751 | if (PyErr_Occurred()) SWIG_fail; | |
14752 | } | |
14753 | resultobj = SWIG_Py_Void(); | |
14754 | return resultobj; | |
14755 | fail: | |
14756 | return NULL; | |
d14a1e28 RD |
14757 | } |
14758 | ||
14759 | ||
554f62e9 RD |
14760 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14761 | PyObject *resultobj = 0; | |
14762 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
b6df5cf9 | 14763 | wxPyHtmlWindow *result = 0 ; |
554f62e9 RD |
14764 | void *argp1 = 0 ; |
14765 | int res1 = 0 ; | |
14766 | PyObject *swig_obj[1] ; | |
14767 | ||
14768 | if (!args) SWIG_fail; | |
14769 | swig_obj[0] = args; | |
14770 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14771 | if (!SWIG_IsOK(res1)) { | |
14772 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14773 | } | |
14774 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14775 | { | |
14776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b6df5cf9 | 14777 | result = (wxPyHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow(); |
554f62e9 RD |
14778 | wxPyEndAllowThreads(__tstate); |
14779 | if (PyErr_Occurred()) SWIG_fail; | |
14780 | } | |
b6df5cf9 RD |
14781 | { |
14782 | resultobj = wxPyMake_wxObject(result, 0); | |
14783 | } | |
554f62e9 RD |
14784 | return resultobj; |
14785 | fail: | |
14786 | return NULL; | |
53aa7709 RD |
14787 | } |
14788 | ||
14789 | ||
554f62e9 RD |
14790 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14791 | PyObject *resultobj = 0; | |
14792 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14793 | wxSplitterWindow *result = 0 ; | |
14794 | void *argp1 = 0 ; | |
14795 | int res1 = 0 ; | |
14796 | PyObject *swig_obj[1] ; | |
14797 | ||
14798 | if (!args) SWIG_fail; | |
14799 | swig_obj[0] = args; | |
14800 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14801 | if (!SWIG_IsOK(res1)) { | |
14802 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14803 | } | |
14804 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14805 | { | |
14806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14807 | result = (wxSplitterWindow *)(arg1)->GetSplitterWindow(); | |
14808 | wxPyEndAllowThreads(__tstate); | |
14809 | if (PyErr_Occurred()) SWIG_fail; | |
14810 | } | |
14811 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, 0 | 0 ); | |
14812 | return resultobj; | |
14813 | fail: | |
14814 | return NULL; | |
d14a1e28 RD |
14815 | } |
14816 | ||
14817 | ||
554f62e9 RD |
14818 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14819 | PyObject *resultobj = 0; | |
14820 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14821 | wxToolBar *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_wxHtmlHelpWindow, 0 | 0 ); | |
14829 | if (!SWIG_IsOK(res1)) { | |
14830 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14831 | } | |
14832 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14833 | { | |
14834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14835 | result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar(); | |
14836 | wxPyEndAllowThreads(__tstate); | |
14837 | if (PyErr_Occurred()) SWIG_fail; | |
14838 | } | |
14839 | { | |
14840 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
14841 | } | |
14842 | return resultobj; | |
14843 | fail: | |
14844 | return NULL; | |
d14a1e28 RD |
14845 | } |
14846 | ||
14847 | ||
554f62e9 RD |
14848 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14849 | PyObject *resultobj = 0; | |
14850 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14851 | wxHtmlHelpFrameCfg *result = 0 ; | |
14852 | void *argp1 = 0 ; | |
14853 | int res1 = 0 ; | |
14854 | PyObject *swig_obj[1] ; | |
14855 | ||
14856 | if (!args) SWIG_fail; | |
14857 | swig_obj[0] = args; | |
14858 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14859 | if (!SWIG_IsOK(res1)) { | |
14860 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14861 | } | |
14862 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14863 | { | |
14864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4f89f6a3 | 14865 | { |
554f62e9 RD |
14866 | wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData(); |
14867 | result = (wxHtmlHelpFrameCfg *) &_result_ref; | |
4f89f6a3 | 14868 | } |
554f62e9 RD |
14869 | wxPyEndAllowThreads(__tstate); |
14870 | if (PyErr_Occurred()) SWIG_fail; | |
14871 | } | |
14872 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0 | 0 ); | |
14873 | return resultobj; | |
14874 | fail: | |
14875 | return NULL; | |
d14a1e28 RD |
14876 | } |
14877 | ||
14878 | ||
554f62e9 RD |
14879 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14880 | PyObject *resultobj = 0; | |
14881 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
10044bf1 | 14882 | wxPyTreeCtrl *result = 0 ; |
554f62e9 RD |
14883 | void *argp1 = 0 ; |
14884 | int res1 = 0 ; | |
14885 | PyObject *swig_obj[1] ; | |
14886 | ||
14887 | if (!args) SWIG_fail; | |
14888 | swig_obj[0] = args; | |
14889 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14890 | if (!SWIG_IsOK(res1)) { | |
14891 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14892 | } | |
14893 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14894 | { | |
14895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 14896 | result = (wxPyTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl(); |
554f62e9 RD |
14897 | wxPyEndAllowThreads(__tstate); |
14898 | if (PyErr_Occurred()) SWIG_fail; | |
14899 | } | |
10044bf1 RD |
14900 | { |
14901 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
14902 | } | |
554f62e9 RD |
14903 | return resultobj; |
14904 | fail: | |
14905 | return NULL; | |
d14a1e28 RD |
14906 | } |
14907 | ||
14908 | ||
554f62e9 RD |
14909 | SWIGINTERN PyObject *HtmlHelpWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14910 | PyObject *obj; | |
14911 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14912 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow, SWIG_NewClientData(obj)); | |
14913 | return SWIG_Py_Void(); | |
14914 | } | |
14915 | ||
14916 | SWIGINTERN PyObject *HtmlHelpWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14917 | return SWIG_Python_InitShadowInstance(args); | |
14918 | } | |
14919 | ||
8f514ab4 | 14920 | SWIGINTERN PyObject *_wrap_new_HtmlCellEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
554f62e9 | 14921 | PyObject *resultobj = 0; |
8f514ab4 RD |
14922 | wxEventType arg1 ; |
14923 | int arg2 ; | |
14924 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
14925 | wxPoint *arg4 = 0 ; | |
14926 | wxMouseEvent *arg5 = 0 ; | |
14927 | wxHtmlCellEvent *result = 0 ; | |
554f62e9 RD |
14928 | int val1 ; |
14929 | int ecode1 = 0 ; | |
14930 | int val2 ; | |
14931 | int ecode2 = 0 ; | |
8f514ab4 RD |
14932 | void *argp3 = 0 ; |
14933 | int res3 = 0 ; | |
14934 | wxPoint temp4 ; | |
14935 | void *argp5 = 0 ; | |
14936 | int res5 = 0 ; | |
554f62e9 RD |
14937 | PyObject * obj0 = 0 ; |
14938 | PyObject * obj1 = 0 ; | |
8f514ab4 RD |
14939 | PyObject * obj2 = 0 ; |
14940 | PyObject * obj3 = 0 ; | |
14941 | PyObject * obj4 = 0 ; | |
554f62e9 | 14942 | char * kwnames[] = { |
8f514ab4 | 14943 | (char *) "commandType",(char *) "id",(char *) "cell",(char *) "pt",(char *) "ev", NULL |
554f62e9 RD |
14944 | }; |
14945 | ||
8f514ab4 RD |
14946 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_HtmlCellEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
14947 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
14948 | if (!SWIG_IsOK(ecode1)) { | |
14949 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlCellEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
14950 | } | |
14951 | arg1 = static_cast< wxEventType >(val1); | |
14952 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14953 | if (!SWIG_IsOK(ecode2)) { | |
14954 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlCellEvent" "', expected argument " "2"" of type '" "int""'"); | |
14955 | } | |
14956 | arg2 = static_cast< int >(val2); | |
14957 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
14958 | if (!SWIG_IsOK(res3)) { | |
14959 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_HtmlCellEvent" "', expected argument " "3"" of type '" "wxHtmlCell *""'"); | |
554f62e9 | 14960 | } |
8f514ab4 RD |
14961 | arg3 = reinterpret_cast< wxHtmlCell * >(argp3); |
14962 | { | |
14963 | arg4 = &temp4; | |
14964 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14965 | } | |
14966 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0); | |
14967 | if (!SWIG_IsOK(res5)) { | |
14968 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); | |
554f62e9 | 14969 | } |
8f514ab4 RD |
14970 | if (!argp5) { |
14971 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); | |
14972 | } | |
14973 | arg5 = reinterpret_cast< wxMouseEvent * >(argp5); | |
554f62e9 RD |
14974 | { |
14975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 | 14976 | result = (wxHtmlCellEvent *)new wxHtmlCellEvent(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxMouseEvent const &)*arg5); |
554f62e9 RD |
14977 | wxPyEndAllowThreads(__tstate); |
14978 | if (PyErr_Occurred()) SWIG_fail; | |
14979 | } | |
8f514ab4 | 14980 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCellEvent, SWIG_POINTER_NEW | 0 ); |
554f62e9 RD |
14981 | return resultobj; |
14982 | fail: | |
14983 | return NULL; | |
14984 | } | |
14985 | ||
14986 | ||
8f514ab4 | 14987 | SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
554f62e9 | 14988 | PyObject *resultobj = 0; |
8f514ab4 RD |
14989 | wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ; |
14990 | wxHtmlCell *result = 0 ; | |
554f62e9 RD |
14991 | void *argp1 = 0 ; |
14992 | int res1 = 0 ; | |
8f514ab4 RD |
14993 | PyObject *swig_obj[1] ; |
14994 | ||
14995 | if (!args) SWIG_fail; | |
14996 | swig_obj[0] = args; | |
14997 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 ); | |
14998 | if (!SWIG_IsOK(res1)) { | |
14999 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetCell" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'"); | |
15000 | } | |
15001 | arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1); | |
15002 | { | |
15003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15004 | result = (wxHtmlCell *)((wxHtmlCellEvent const *)arg1)->GetCell(); | |
15005 | wxPyEndAllowThreads(__tstate); | |
15006 | if (PyErr_Occurred()) SWIG_fail; | |
15007 | } | |
15008 | { | |
15009 | resultobj = wxPyMake_wxObject(result, 0); | |
15010 | } | |
15011 | return resultobj; | |
15012 | fail: | |
15013 | return NULL; | |
15014 | } | |
15015 | ||
15016 | ||
15017 | SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15018 | PyObject *resultobj = 0; | |
15019 | wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ; | |
15020 | wxPoint result; | |
15021 | void *argp1 = 0 ; | |
15022 | int res1 = 0 ; | |
15023 | PyObject *swig_obj[1] ; | |
15024 | ||
15025 | if (!args) SWIG_fail; | |
15026 | swig_obj[0] = args; | |
15027 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 ); | |
15028 | if (!SWIG_IsOK(res1)) { | |
15029 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetPoint" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'"); | |
15030 | } | |
15031 | arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1); | |
15032 | { | |
15033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15034 | result = ((wxHtmlCellEvent const *)arg1)->GetPoint(); | |
15035 | wxPyEndAllowThreads(__tstate); | |
15036 | if (PyErr_Occurred()) SWIG_fail; | |
15037 | } | |
15038 | resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 ); | |
15039 | return resultobj; | |
15040 | fail: | |
15041 | return NULL; | |
15042 | } | |
15043 | ||
15044 | ||
15045 | SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15046 | PyObject *resultobj = 0; | |
15047 | wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ; | |
15048 | wxMouseEvent result; | |
15049 | void *argp1 = 0 ; | |
15050 | int res1 = 0 ; | |
15051 | PyObject *swig_obj[1] ; | |
15052 | ||
15053 | if (!args) SWIG_fail; | |
15054 | swig_obj[0] = args; | |
15055 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 ); | |
15056 | if (!SWIG_IsOK(res1)) { | |
15057 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'"); | |
15058 | } | |
15059 | arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1); | |
15060 | { | |
15061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15062 | result = ((wxHtmlCellEvent const *)arg1)->GetMouseEvent(); | |
15063 | wxPyEndAllowThreads(__tstate); | |
15064 | if (PyErr_Occurred()) SWIG_fail; | |
15065 | } | |
15066 | resultobj = SWIG_NewPointerObj((new wxMouseEvent(static_cast< const wxMouseEvent& >(result))), SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_OWN | 0 ); | |
15067 | return resultobj; | |
15068 | fail: | |
15069 | return NULL; | |
15070 | } | |
15071 | ||
15072 | ||
15073 | SWIGINTERN PyObject *_wrap_HtmlCellEvent_SetLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15074 | PyObject *resultobj = 0; | |
15075 | wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ; | |
15076 | bool arg2 ; | |
15077 | void *argp1 = 0 ; | |
15078 | int res1 = 0 ; | |
15079 | bool val2 ; | |
15080 | int ecode2 = 0 ; | |
554f62e9 RD |
15081 | PyObject * obj0 = 0 ; |
15082 | PyObject * obj1 = 0 ; | |
15083 | char * kwnames[] = { | |
8f514ab4 | 15084 | (char *) "self",(char *) "linkclicked", NULL |
554f62e9 RD |
15085 | }; |
15086 | ||
8f514ab4 RD |
15087 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCellEvent_SetLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail; |
15088 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 ); | |
554f62e9 | 15089 | if (!SWIG_IsOK(res1)) { |
8f514ab4 | 15090 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent *""'"); |
554f62e9 | 15091 | } |
8f514ab4 RD |
15092 | arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1); |
15093 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
15094 | if (!SWIG_IsOK(ecode2)) { | |
15095 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "2"" of type '" "bool""'"); | |
15096 | } | |
15097 | arg2 = static_cast< bool >(val2); | |
554f62e9 | 15098 | { |
8f514ab4 RD |
15099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15100 | (arg1)->SetLinkClicked(arg2); | |
15101 | wxPyEndAllowThreads(__tstate); | |
15102 | if (PyErr_Occurred()) SWIG_fail; | |
15103 | } | |
15104 | resultobj = SWIG_Py_Void(); | |
15105 | return resultobj; | |
15106 | fail: | |
15107 | return NULL; | |
15108 | } | |
15109 | ||
15110 | ||
15111 | SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15112 | PyObject *resultobj = 0; | |
15113 | wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ; | |
15114 | bool result; | |
15115 | void *argp1 = 0 ; | |
15116 | int res1 = 0 ; | |
15117 | PyObject *swig_obj[1] ; | |
15118 | ||
15119 | if (!args) SWIG_fail; | |
15120 | swig_obj[0] = args; | |
15121 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 ); | |
15122 | if (!SWIG_IsOK(res1)) { | |
15123 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'"); | |
554f62e9 | 15124 | } |
8f514ab4 | 15125 | arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1); |
554f62e9 RD |
15126 | { |
15127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 | 15128 | result = (bool)((wxHtmlCellEvent const *)arg1)->GetLinkClicked(); |
554f62e9 RD |
15129 | wxPyEndAllowThreads(__tstate); |
15130 | if (PyErr_Occurred()) SWIG_fail; | |
15131 | } | |
554f62e9 | 15132 | { |
8f514ab4 | 15133 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
554f62e9 RD |
15134 | } |
15135 | return resultobj; | |
15136 | fail: | |
8f514ab4 RD |
15137 | return NULL; |
15138 | } | |
15139 | ||
15140 | ||
15141 | SWIGINTERN PyObject *HtmlCellEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15142 | PyObject *obj; | |
15143 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
15144 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCellEvent, SWIG_NewClientData(obj)); | |
15145 | return SWIG_Py_Void(); | |
15146 | } | |
15147 | ||
15148 | SWIGINTERN PyObject *HtmlCellEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15149 | return SWIG_Python_InitShadowInstance(args); | |
15150 | } | |
15151 | ||
15152 | SWIGINTERN PyObject *_wrap_new_HtmlLinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15153 | PyObject *resultobj = 0; | |
15154 | int arg1 ; | |
15155 | wxHtmlLinkInfo *arg2 = 0 ; | |
15156 | wxHtmlLinkEvent *result = 0 ; | |
15157 | int val1 ; | |
15158 | int ecode1 = 0 ; | |
15159 | void *argp2 = 0 ; | |
15160 | int res2 = 0 ; | |
15161 | PyObject * obj0 = 0 ; | |
15162 | PyObject * obj1 = 0 ; | |
15163 | char * kwnames[] = { | |
15164 | (char *) "id",(char *) "linkinfo", NULL | |
15165 | }; | |
15166 | ||
15167 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlLinkEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
15168 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
15169 | if (!SWIG_IsOK(ecode1)) { | |
15170 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlLinkEvent" "', expected argument " "1"" of type '" "int""'"); | |
15171 | } | |
15172 | arg1 = static_cast< int >(val1); | |
15173 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0); | |
15174 | if (!SWIG_IsOK(res2)) { | |
15175 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
15176 | } | |
15177 | if (!argp2) { | |
15178 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
15179 | } | |
15180 | arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2); | |
554f62e9 | 15181 | { |
8f514ab4 RD |
15182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15183 | result = (wxHtmlLinkEvent *)new wxHtmlLinkEvent(arg1,(wxHtmlLinkInfo const &)*arg2); | |
15184 | wxPyEndAllowThreads(__tstate); | |
15185 | if (PyErr_Occurred()) SWIG_fail; | |
554f62e9 | 15186 | } |
8f514ab4 RD |
15187 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkEvent, SWIG_POINTER_NEW | 0 ); |
15188 | return resultobj; | |
15189 | fail: | |
554f62e9 RD |
15190 | return NULL; |
15191 | } | |
15192 | ||
15193 | ||
8f514ab4 | 15194 | SWIGINTERN PyObject *_wrap_HtmlLinkEvent_GetLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
554f62e9 | 15195 | PyObject *resultobj = 0; |
8f514ab4 RD |
15196 | wxHtmlLinkEvent *arg1 = (wxHtmlLinkEvent *) 0 ; |
15197 | wxHtmlLinkInfo *result = 0 ; | |
554f62e9 RD |
15198 | void *argp1 = 0 ; |
15199 | int res1 = 0 ; | |
15200 | PyObject *swig_obj[1] ; | |
15201 | ||
15202 | if (!args) SWIG_fail; | |
15203 | swig_obj[0] = args; | |
8f514ab4 | 15204 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkEvent, 0 | 0 ); |
554f62e9 | 15205 | if (!SWIG_IsOK(res1)) { |
8f514ab4 | 15206 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkEvent_GetLinkInfo" "', expected argument " "1"" of type '" "wxHtmlLinkEvent const *""'"); |
554f62e9 | 15207 | } |
8f514ab4 | 15208 | arg1 = reinterpret_cast< wxHtmlLinkEvent * >(argp1); |
554f62e9 RD |
15209 | { |
15210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 15211 | { |
8f514ab4 RD |
15212 | wxHtmlLinkInfo const &_result_ref = ((wxHtmlLinkEvent const *)arg1)->GetLinkInfo(); |
15213 | result = (wxHtmlLinkInfo *) &_result_ref; | |
d14a1e28 | 15214 | } |
554f62e9 RD |
15215 | wxPyEndAllowThreads(__tstate); |
15216 | if (PyErr_Occurred()) SWIG_fail; | |
15217 | } | |
8f514ab4 | 15218 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); |
554f62e9 RD |
15219 | return resultobj; |
15220 | fail: | |
15221 | return NULL; | |
15222 | } | |
15223 | ||
15224 | ||
8f514ab4 | 15225 | SWIGINTERN PyObject *HtmlLinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
554f62e9 RD |
15226 | PyObject *obj; |
15227 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8f514ab4 | 15228 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkEvent, SWIG_NewClientData(obj)); |
554f62e9 RD |
15229 | return SWIG_Py_Void(); |
15230 | } | |
15231 | ||
8f514ab4 | 15232 | SWIGINTERN PyObject *HtmlLinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
554f62e9 RD |
15233 | return SWIG_Python_InitShadowInstance(args); |
15234 | } | |
15235 | ||
15236 | SWIGINTERN PyObject *_wrap_new_HtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15237 | PyObject *resultobj = 0; | |
15238 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15239 | int arg2 ; | |
15240 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15241 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15242 | int arg4 = (int) wxHF_DEFAULTSTYLE ; | |
15243 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
85965ae1 RD |
15244 | wxConfigBase *arg6 = (wxConfigBase *) NULL ; |
15245 | wxString const &arg7_defvalue = wxPyEmptyString ; | |
15246 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
554f62e9 RD |
15247 | wxHtmlHelpFrame *result = 0 ; |
15248 | void *argp1 = 0 ; | |
15249 | int res1 = 0 ; | |
15250 | int val2 ; | |
15251 | int ecode2 = 0 ; | |
15252 | bool temp3 = false ; | |
15253 | int val4 ; | |
15254 | int ecode4 = 0 ; | |
15255 | void *argp5 = 0 ; | |
15256 | int res5 = 0 ; | |
85965ae1 RD |
15257 | void *argp6 = 0 ; |
15258 | int res6 = 0 ; | |
15259 | bool temp7 = false ; | |
554f62e9 RD |
15260 | PyObject * obj0 = 0 ; |
15261 | PyObject * obj1 = 0 ; | |
15262 | PyObject * obj2 = 0 ; | |
15263 | PyObject * obj3 = 0 ; | |
15264 | PyObject * obj4 = 0 ; | |
85965ae1 RD |
15265 | PyObject * obj5 = 0 ; |
15266 | PyObject * obj6 = 0 ; | |
554f62e9 | 15267 | char * kwnames[] = { |
85965ae1 | 15268 | (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data",(char *) "config",(char *) "rootpath", NULL |
554f62e9 RD |
15269 | }; |
15270 | ||
85965ae1 | 15271 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
554f62e9 RD |
15272 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15273 | if (!SWIG_IsOK(res1)) { | |
15274 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
15275 | } | |
15276 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
15277 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15278 | if (!SWIG_IsOK(ecode2)) { | |
15279 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'"); | |
15280 | } | |
15281 | arg2 = static_cast< int >(val2); | |
15282 | if (obj2) { | |
4f89f6a3 | 15283 | { |
554f62e9 RD |
15284 | arg3 = wxString_in_helper(obj2); |
15285 | if (arg3 == NULL) SWIG_fail; | |
15286 | temp3 = true; | |
4f89f6a3 | 15287 | } |
554f62e9 RD |
15288 | } |
15289 | if (obj3) { | |
15290 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
15291 | if (!SWIG_IsOK(ecode4)) { | |
15292 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'"); | |
15293 | } | |
15294 | arg4 = static_cast< int >(val4); | |
15295 | } | |
15296 | if (obj4) { | |
15297 | res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15298 | if (!SWIG_IsOK(res5)) { | |
15299 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'"); | |
15300 | } | |
15301 | arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5); | |
15302 | } | |
85965ae1 RD |
15303 | if (obj5) { |
15304 | res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
15305 | if (!SWIG_IsOK(res6)) { | |
15306 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_HtmlHelpFrame" "', expected argument " "6"" of type '" "wxConfigBase *""'"); | |
15307 | } | |
15308 | arg6 = reinterpret_cast< wxConfigBase * >(argp6); | |
15309 | } | |
15310 | if (obj6) { | |
15311 | { | |
15312 | arg7 = wxString_in_helper(obj6); | |
15313 | if (arg7 == NULL) SWIG_fail; | |
15314 | temp7 = true; | |
15315 | } | |
15316 | } | |
554f62e9 RD |
15317 | { |
15318 | if (!wxPyCheckForApp()) SWIG_fail; | |
15319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
85965ae1 | 15320 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxString const &)*arg7); |
554f62e9 RD |
15321 | wxPyEndAllowThreads(__tstate); |
15322 | if (PyErr_Occurred()) SWIG_fail; | |
15323 | } | |
15324 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_NEW | 0 ); | |
15325 | { | |
15326 | if (temp3) | |
15327 | delete arg3; | |
15328 | } | |
85965ae1 RD |
15329 | { |
15330 | if (temp7) | |
15331 | delete arg7; | |
15332 | } | |
554f62e9 RD |
15333 | return resultobj; |
15334 | fail: | |
15335 | { | |
15336 | if (temp3) | |
15337 | delete arg3; | |
15338 | } | |
85965ae1 RD |
15339 | { |
15340 | if (temp7) | |
15341 | delete arg7; | |
15342 | } | |
554f62e9 | 15343 | return NULL; |
d14a1e28 RD |
15344 | } |
15345 | ||
15346 | ||
554f62e9 RD |
15347 | SWIGINTERN PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15348 | PyObject *resultobj = 0; | |
15349 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; | |
15350 | wxHtmlHelpFrame *result = 0 ; | |
15351 | void *argp1 = 0 ; | |
15352 | int res1 = 0 ; | |
15353 | PyObject * obj0 = 0 ; | |
15354 | char * kwnames[] = { | |
15355 | (char *) "data", NULL | |
15356 | }; | |
15357 | ||
15358 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) SWIG_fail; | |
15359 | if (obj0) { | |
15360 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15361 | if (!SWIG_IsOK(res1)) { | |
15362 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 15363 | } |
554f62e9 RD |
15364 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); |
15365 | } | |
15366 | { | |
15367 | if (!wxPyCheckForApp()) SWIG_fail; | |
15368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15369 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1); | |
15370 | wxPyEndAllowThreads(__tstate); | |
15371 | if (PyErr_Occurred()) SWIG_fail; | |
15372 | } | |
15373 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_OWN | 0 ); | |
15374 | return resultobj; | |
15375 | fail: | |
15376 | return NULL; | |
15377 | } | |
15378 | ||
15379 | ||
15380 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15381 | PyObject *resultobj = 0; | |
15382 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15383 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15384 | int arg3 ; | |
15385 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15386 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
15387 | int arg5 = (int) wxHF_DEFAULT_STYLE ; | |
85965ae1 RD |
15388 | wxConfigBase *arg6 = (wxConfigBase *) NULL ; |
15389 | wxString const &arg7_defvalue = wxPyEmptyString ; | |
15390 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
554f62e9 RD |
15391 | bool result; |
15392 | void *argp1 = 0 ; | |
15393 | int res1 = 0 ; | |
15394 | void *argp2 = 0 ; | |
15395 | int res2 = 0 ; | |
15396 | int val3 ; | |
15397 | int ecode3 = 0 ; | |
15398 | bool temp4 = false ; | |
15399 | int val5 ; | |
15400 | int ecode5 = 0 ; | |
85965ae1 RD |
15401 | void *argp6 = 0 ; |
15402 | int res6 = 0 ; | |
15403 | bool temp7 = false ; | |
554f62e9 RD |
15404 | PyObject * obj0 = 0 ; |
15405 | PyObject * obj1 = 0 ; | |
15406 | PyObject * obj2 = 0 ; | |
15407 | PyObject * obj3 = 0 ; | |
15408 | PyObject * obj4 = 0 ; | |
85965ae1 RD |
15409 | PyObject * obj5 = 0 ; |
15410 | PyObject * obj6 = 0 ; | |
554f62e9 | 15411 | char * kwnames[] = { |
85965ae1 | 15412 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style",(char *) "config",(char *) "rootpath", NULL |
554f62e9 RD |
15413 | }; |
15414 | ||
85965ae1 | 15415 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
554f62e9 RD |
15416 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); |
15417 | if (!SWIG_IsOK(res1)) { | |
15418 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15419 | } | |
15420 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15421 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15422 | if (!SWIG_IsOK(res2)) { | |
15423 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
15424 | } | |
15425 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15426 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
15427 | if (!SWIG_IsOK(ecode3)) { | |
15428 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'"); | |
15429 | } | |
15430 | arg3 = static_cast< int >(val3); | |
15431 | if (obj3) { | |
4f89f6a3 | 15432 | { |
554f62e9 RD |
15433 | arg4 = wxString_in_helper(obj3); |
15434 | if (arg4 == NULL) SWIG_fail; | |
15435 | temp4 = true; | |
4f89f6a3 | 15436 | } |
554f62e9 RD |
15437 | } |
15438 | if (obj4) { | |
15439 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
15440 | if (!SWIG_IsOK(ecode5)) { | |
15441 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'"); | |
15442 | } | |
15443 | arg5 = static_cast< int >(val5); | |
15444 | } | |
85965ae1 RD |
15445 | if (obj5) { |
15446 | res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
15447 | if (!SWIG_IsOK(res6)) { | |
15448 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "HtmlHelpFrame_Create" "', expected argument " "6"" of type '" "wxConfigBase *""'"); | |
15449 | } | |
15450 | arg6 = reinterpret_cast< wxConfigBase * >(argp6); | |
15451 | } | |
15452 | if (obj6) { | |
15453 | { | |
15454 | arg7 = wxString_in_helper(obj6); | |
15455 | if (arg7 == NULL) SWIG_fail; | |
15456 | temp7 = true; | |
15457 | } | |
15458 | } | |
554f62e9 RD |
15459 | { |
15460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
85965ae1 | 15461 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5,arg6,(wxString const &)*arg7); |
554f62e9 RD |
15462 | wxPyEndAllowThreads(__tstate); |
15463 | if (PyErr_Occurred()) SWIG_fail; | |
15464 | } | |
15465 | { | |
15466 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15467 | } | |
15468 | { | |
15469 | if (temp4) | |
15470 | delete arg4; | |
15471 | } | |
85965ae1 RD |
15472 | { |
15473 | if (temp7) | |
15474 | delete arg7; | |
15475 | } | |
554f62e9 RD |
15476 | return resultobj; |
15477 | fail: | |
15478 | { | |
15479 | if (temp4) | |
15480 | delete arg4; | |
15481 | } | |
85965ae1 RD |
15482 | { |
15483 | if (temp7) | |
15484 | delete arg7; | |
15485 | } | |
554f62e9 | 15486 | return NULL; |
d14a1e28 RD |
15487 | } |
15488 | ||
15489 | ||
554f62e9 RD |
15490 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15491 | PyObject *resultobj = 0; | |
15492 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15493 | wxHtmlHelpData *result = 0 ; | |
15494 | void *argp1 = 0 ; | |
15495 | int res1 = 0 ; | |
15496 | PyObject *swig_obj[1] ; | |
15497 | ||
15498 | if (!args) SWIG_fail; | |
15499 | swig_obj[0] = args; | |
15500 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15501 | if (!SWIG_IsOK(res1)) { | |
15502 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15503 | } | |
15504 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15505 | { | |
15506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15507 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
15508 | wxPyEndAllowThreads(__tstate); | |
15509 | if (PyErr_Occurred()) SWIG_fail; | |
15510 | } | |
15511 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15512 | return resultobj; | |
15513 | fail: | |
15514 | return NULL; | |
15515 | } | |
15516 | ||
15517 | ||
15518 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15519 | PyObject *resultobj = 0; | |
15520 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15521 | wxString *arg2 = 0 ; | |
15522 | void *argp1 = 0 ; | |
15523 | int res1 = 0 ; | |
15524 | bool temp2 = false ; | |
15525 | PyObject * obj0 = 0 ; | |
15526 | PyObject * obj1 = 0 ; | |
15527 | char * kwnames[] = { | |
15528 | (char *) "self",(char *) "format", NULL | |
15529 | }; | |
15530 | ||
15531 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail; | |
15532 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15533 | if (!SWIG_IsOK(res1)) { | |
15534 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15535 | } | |
15536 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15537 | { | |
15538 | arg2 = wxString_in_helper(obj1); | |
15539 | if (arg2 == NULL) SWIG_fail; | |
15540 | temp2 = true; | |
15541 | } | |
15542 | { | |
15543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15544 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
15545 | wxPyEndAllowThreads(__tstate); | |
15546 | if (PyErr_Occurred()) SWIG_fail; | |
15547 | } | |
15548 | resultobj = SWIG_Py_Void(); | |
15549 | { | |
15550 | if (temp2) | |
15551 | delete arg2; | |
15552 | } | |
15553 | return resultobj; | |
15554 | fail: | |
15555 | { | |
15556 | if (temp2) | |
15557 | delete arg2; | |
15558 | } | |
15559 | return NULL; | |
d14a1e28 RD |
15560 | } |
15561 | ||
15562 | ||
554f62e9 RD |
15563 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15564 | PyObject *resultobj = 0; | |
15565 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15566 | void *argp1 = 0 ; | |
15567 | int res1 = 0 ; | |
15568 | PyObject *swig_obj[1] ; | |
15569 | ||
15570 | if (!args) SWIG_fail; | |
15571 | swig_obj[0] = args; | |
15572 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15573 | if (!SWIG_IsOK(res1)) { | |
15574 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15575 | } | |
15576 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15577 | { | |
15578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15579 | (arg1)->AddGrabIfNeeded(); | |
15580 | wxPyEndAllowThreads(__tstate); | |
15581 | if (PyErr_Occurred()) SWIG_fail; | |
15582 | } | |
15583 | resultobj = SWIG_Py_Void(); | |
15584 | return resultobj; | |
15585 | fail: | |
15586 | return NULL; | |
d14a1e28 RD |
15587 | } |
15588 | ||
15589 | ||
554f62e9 RD |
15590 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15591 | PyObject *resultobj = 0; | |
15592 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15593 | wxHtmlHelpController *result = 0 ; | |
15594 | void *argp1 = 0 ; | |
15595 | int res1 = 0 ; | |
15596 | PyObject *swig_obj[1] ; | |
15597 | ||
15598 | if (!args) SWIG_fail; | |
15599 | swig_obj[0] = args; | |
15600 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15601 | if (!SWIG_IsOK(res1)) { | |
15602 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'"); | |
15603 | } | |
15604 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15605 | { | |
15606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15607 | result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController(); | |
15608 | wxPyEndAllowThreads(__tstate); | |
15609 | if (PyErr_Occurred()) SWIG_fail; | |
15610 | } | |
15611 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
15612 | return resultobj; | |
15613 | fail: | |
15614 | return NULL; | |
15615 | } | |
15616 | ||
15617 | ||
15618 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15619 | PyObject *resultobj = 0; | |
15620 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15621 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
15622 | void *argp1 = 0 ; | |
15623 | int res1 = 0 ; | |
15624 | int res2 = 0 ; | |
15625 | PyObject * obj0 = 0 ; | |
15626 | PyObject * obj1 = 0 ; | |
15627 | char * kwnames[] = { | |
15628 | (char *) "self",(char *) "controller", NULL | |
15629 | }; | |
15630 | ||
15631 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) SWIG_fail; | |
15632 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15633 | if (!SWIG_IsOK(res1)) { | |
15634 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15635 | } | |
15636 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15637 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
15638 | if (!SWIG_IsOK(res2)) { | |
15639 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'"); | |
15640 | } | |
15641 | { | |
15642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15643 | (arg1)->SetController(arg2); | |
15644 | wxPyEndAllowThreads(__tstate); | |
15645 | if (PyErr_Occurred()) SWIG_fail; | |
15646 | } | |
15647 | resultobj = SWIG_Py_Void(); | |
15648 | return resultobj; | |
15649 | fail: | |
15650 | return NULL; | |
d14a1e28 RD |
15651 | } |
15652 | ||
15653 | ||
554f62e9 RD |
15654 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15655 | PyObject *resultobj = 0; | |
15656 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15657 | wxHtmlHelpWindow *result = 0 ; | |
15658 | void *argp1 = 0 ; | |
15659 | int res1 = 0 ; | |
15660 | PyObject *swig_obj[1] ; | |
15661 | ||
15662 | if (!args) SWIG_fail; | |
15663 | swig_obj[0] = args; | |
15664 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15665 | if (!SWIG_IsOK(res1)) { | |
15666 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'"); | |
15667 | } | |
15668 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15669 | { | |
15670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15671 | result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow(); | |
15672 | wxPyEndAllowThreads(__tstate); | |
15673 | if (PyErr_Occurred()) SWIG_fail; | |
15674 | } | |
15675 | { | |
15676 | resultobj = wxPyMake_wxObject(result, 0); | |
15677 | } | |
15678 | return resultobj; | |
15679 | fail: | |
15680 | return NULL; | |
15681 | } | |
15682 | ||
15683 | ||
15684 | SWIGINTERN PyObject *HtmlHelpFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15685 | PyObject *obj; | |
15686 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
15687 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame, SWIG_NewClientData(obj)); | |
15688 | return SWIG_Py_Void(); | |
15689 | } | |
15690 | ||
15691 | SWIGINTERN PyObject *HtmlHelpFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15692 | return SWIG_Python_InitShadowInstance(args); | |
15693 | } | |
15694 | ||
15695 | SWIGINTERN PyObject *_wrap_new_HtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15696 | PyObject *resultobj = 0; | |
15697 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15698 | int arg2 ; | |
15699 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15700 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15701 | int arg4 = (int) wxHF_DEFAULT_STYLE ; | |
15702 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
15703 | wxHtmlHelpDialog *result = 0 ; | |
15704 | void *argp1 = 0 ; | |
15705 | int res1 = 0 ; | |
15706 | int val2 ; | |
15707 | int ecode2 = 0 ; | |
15708 | bool temp3 = false ; | |
15709 | int val4 ; | |
15710 | int ecode4 = 0 ; | |
15711 | void *argp5 = 0 ; | |
15712 | int res5 = 0 ; | |
15713 | PyObject * obj0 = 0 ; | |
15714 | PyObject * obj1 = 0 ; | |
15715 | PyObject * obj2 = 0 ; | |
15716 | PyObject * obj3 = 0 ; | |
15717 | PyObject * obj4 = 0 ; | |
15718 | char * kwnames[] = { | |
15719 | (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL | |
15720 | }; | |
15721 | ||
15722 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
15723 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15724 | if (!SWIG_IsOK(res1)) { | |
15725 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
15726 | } | |
15727 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
15728 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15729 | if (!SWIG_IsOK(ecode2)) { | |
15730 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'"); | |
15731 | } | |
15732 | arg2 = static_cast< int >(val2); | |
15733 | if (obj2) { | |
d14a1e28 | 15734 | { |
554f62e9 RD |
15735 | arg3 = wxString_in_helper(obj2); |
15736 | if (arg3 == NULL) SWIG_fail; | |
15737 | temp3 = true; | |
d14a1e28 | 15738 | } |
554f62e9 RD |
15739 | } |
15740 | if (obj3) { | |
15741 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
15742 | if (!SWIG_IsOK(ecode4)) { | |
15743 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'"); | |
15744 | } | |
15745 | arg4 = static_cast< int >(val4); | |
15746 | } | |
15747 | if (obj4) { | |
15748 | res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15749 | if (!SWIG_IsOK(res5)) { | |
15750 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 15751 | } |
554f62e9 RD |
15752 | arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5); |
15753 | } | |
15754 | { | |
15755 | if (!wxPyCheckForApp()) SWIG_fail; | |
15756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15757 | result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5); | |
15758 | wxPyEndAllowThreads(__tstate); | |
15759 | if (PyErr_Occurred()) SWIG_fail; | |
15760 | } | |
15761 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_NEW | 0 ); | |
15762 | { | |
15763 | if (temp3) | |
15764 | delete arg3; | |
15765 | } | |
15766 | return resultobj; | |
15767 | fail: | |
15768 | { | |
15769 | if (temp3) | |
15770 | delete arg3; | |
15771 | } | |
15772 | return NULL; | |
d14a1e28 RD |
15773 | } |
15774 | ||
15775 | ||
554f62e9 RD |
15776 | SWIGINTERN PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15777 | PyObject *resultobj = 0; | |
15778 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; | |
15779 | wxHtmlHelpDialog *result = 0 ; | |
15780 | void *argp1 = 0 ; | |
15781 | int res1 = 0 ; | |
15782 | PyObject * obj0 = 0 ; | |
15783 | char * kwnames[] = { | |
15784 | (char *) "data", NULL | |
15785 | }; | |
15786 | ||
15787 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) SWIG_fail; | |
15788 | if (obj0) { | |
15789 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15790 | if (!SWIG_IsOK(res1)) { | |
15791 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 15792 | } |
554f62e9 RD |
15793 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); |
15794 | } | |
15795 | { | |
15796 | if (!wxPyCheckForApp()) SWIG_fail; | |
15797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15798 | result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1); | |
15799 | wxPyEndAllowThreads(__tstate); | |
15800 | if (PyErr_Occurred()) SWIG_fail; | |
15801 | } | |
15802 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_OWN | 0 ); | |
15803 | return resultobj; | |
15804 | fail: | |
15805 | return NULL; | |
15806 | } | |
15807 | ||
15808 | ||
15809 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15810 | PyObject *resultobj = 0; | |
15811 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15812 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15813 | int arg3 ; | |
15814 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15815 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
15816 | int arg5 = (int) wxHF_DEFAULT_STYLE ; | |
15817 | bool result; | |
15818 | void *argp1 = 0 ; | |
15819 | int res1 = 0 ; | |
15820 | void *argp2 = 0 ; | |
15821 | int res2 = 0 ; | |
15822 | int val3 ; | |
15823 | int ecode3 = 0 ; | |
15824 | bool temp4 = false ; | |
15825 | int val5 ; | |
15826 | int ecode5 = 0 ; | |
15827 | PyObject * obj0 = 0 ; | |
15828 | PyObject * obj1 = 0 ; | |
15829 | PyObject * obj2 = 0 ; | |
15830 | PyObject * obj3 = 0 ; | |
15831 | PyObject * obj4 = 0 ; | |
15832 | char * kwnames[] = { | |
15833 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL | |
15834 | }; | |
15835 | ||
15836 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
15837 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15838 | if (!SWIG_IsOK(res1)) { | |
15839 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
15840 | } | |
15841 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15842 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15843 | if (!SWIG_IsOK(res2)) { | |
15844 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
15845 | } | |
15846 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15847 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
15848 | if (!SWIG_IsOK(ecode3)) { | |
15849 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'"); | |
15850 | } | |
15851 | arg3 = static_cast< int >(val3); | |
15852 | if (obj3) { | |
d14a1e28 | 15853 | { |
554f62e9 RD |
15854 | arg4 = wxString_in_helper(obj3); |
15855 | if (arg4 == NULL) SWIG_fail; | |
15856 | temp4 = true; | |
d14a1e28 | 15857 | } |
554f62e9 RD |
15858 | } |
15859 | if (obj4) { | |
15860 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
15861 | if (!SWIG_IsOK(ecode5)) { | |
15862 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'"); | |
15863 | } | |
15864 | arg5 = static_cast< int >(val5); | |
15865 | } | |
15866 | { | |
15867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15868 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
15869 | wxPyEndAllowThreads(__tstate); | |
15870 | if (PyErr_Occurred()) SWIG_fail; | |
15871 | } | |
15872 | { | |
15873 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15874 | } | |
15875 | { | |
15876 | if (temp4) | |
15877 | delete arg4; | |
15878 | } | |
15879 | return resultobj; | |
15880 | fail: | |
15881 | { | |
15882 | if (temp4) | |
15883 | delete arg4; | |
15884 | } | |
15885 | return NULL; | |
d14a1e28 RD |
15886 | } |
15887 | ||
15888 | ||
554f62e9 RD |
15889 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15890 | PyObject *resultobj = 0; | |
15891 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15892 | wxHtmlHelpData *result = 0 ; | |
15893 | void *argp1 = 0 ; | |
15894 | int res1 = 0 ; | |
15895 | PyObject *swig_obj[1] ; | |
15896 | ||
15897 | if (!args) SWIG_fail; | |
15898 | swig_obj[0] = args; | |
15899 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15900 | if (!SWIG_IsOK(res1)) { | |
15901 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
15902 | } | |
15903 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15904 | { | |
15905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15906 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
15907 | wxPyEndAllowThreads(__tstate); | |
15908 | if (PyErr_Occurred()) SWIG_fail; | |
15909 | } | |
15910 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15911 | return resultobj; | |
15912 | fail: | |
15913 | return NULL; | |
d14a1e28 RD |
15914 | } |
15915 | ||
15916 | ||
554f62e9 RD |
15917 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15918 | PyObject *resultobj = 0; | |
15919 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15920 | wxHtmlHelpController *result = 0 ; | |
15921 | void *argp1 = 0 ; | |
15922 | int res1 = 0 ; | |
15923 | PyObject *swig_obj[1] ; | |
15924 | ||
15925 | if (!args) SWIG_fail; | |
15926 | swig_obj[0] = args; | |
15927 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15928 | if (!SWIG_IsOK(res1)) { | |
15929 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'"); | |
15930 | } | |
15931 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15932 | { | |
15933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15934 | result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController(); | |
15935 | wxPyEndAllowThreads(__tstate); | |
15936 | if (PyErr_Occurred()) SWIG_fail; | |
15937 | } | |
15938 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
15939 | return resultobj; | |
15940 | fail: | |
15941 | return NULL; | |
15942 | } | |
15943 | ||
15944 | ||
15945 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15946 | PyObject *resultobj = 0; | |
15947 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15948 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
15949 | void *argp1 = 0 ; | |
15950 | int res1 = 0 ; | |
15951 | int res2 = 0 ; | |
15952 | PyObject * obj0 = 0 ; | |
15953 | PyObject * obj1 = 0 ; | |
15954 | char * kwnames[] = { | |
15955 | (char *) "self",(char *) "controller", NULL | |
15956 | }; | |
15957 | ||
15958 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) SWIG_fail; | |
15959 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15960 | if (!SWIG_IsOK(res1)) { | |
15961 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
15962 | } | |
15963 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15964 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
15965 | if (!SWIG_IsOK(res2)) { | |
15966 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'"); | |
15967 | } | |
15968 | { | |
15969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15970 | (arg1)->SetController(arg2); | |
15971 | wxPyEndAllowThreads(__tstate); | |
15972 | if (PyErr_Occurred()) SWIG_fail; | |
15973 | } | |
15974 | resultobj = SWIG_Py_Void(); | |
15975 | return resultobj; | |
15976 | fail: | |
15977 | return NULL; | |
db914595 RD |
15978 | } |
15979 | ||
15980 | ||
554f62e9 RD |
15981 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15982 | PyObject *resultobj = 0; | |
15983 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15984 | wxHtmlHelpWindow *result = 0 ; | |
15985 | void *argp1 = 0 ; | |
15986 | int res1 = 0 ; | |
15987 | PyObject *swig_obj[1] ; | |
15988 | ||
15989 | if (!args) SWIG_fail; | |
15990 | swig_obj[0] = args; | |
15991 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15992 | if (!SWIG_IsOK(res1)) { | |
15993 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'"); | |
15994 | } | |
15995 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15996 | { | |
15997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15998 | result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow(); | |
15999 | wxPyEndAllowThreads(__tstate); | |
16000 | if (PyErr_Occurred()) SWIG_fail; | |
16001 | } | |
16002 | { | |
16003 | resultobj = wxPyMake_wxObject(result, 0); | |
16004 | } | |
16005 | return resultobj; | |
16006 | fail: | |
16007 | return NULL; | |
16008 | } | |
16009 | ||
16010 | ||
16011 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16012 | PyObject *resultobj = 0; | |
16013 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
16014 | wxString *arg2 = 0 ; | |
16015 | void *argp1 = 0 ; | |
16016 | int res1 = 0 ; | |
16017 | bool temp2 = false ; | |
16018 | PyObject * obj0 = 0 ; | |
16019 | PyObject * obj1 = 0 ; | |
16020 | char * kwnames[] = { | |
16021 | (char *) "self",(char *) "format", NULL | |
16022 | }; | |
16023 | ||
16024 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail; | |
16025 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
16026 | if (!SWIG_IsOK(res1)) { | |
16027 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
16028 | } | |
16029 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
16030 | { | |
16031 | arg2 = wxString_in_helper(obj1); | |
16032 | if (arg2 == NULL) SWIG_fail; | |
16033 | temp2 = true; | |
16034 | } | |
16035 | { | |
16036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16037 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
16038 | wxPyEndAllowThreads(__tstate); | |
16039 | if (PyErr_Occurred()) SWIG_fail; | |
16040 | } | |
16041 | resultobj = SWIG_Py_Void(); | |
16042 | { | |
16043 | if (temp2) | |
16044 | delete arg2; | |
16045 | } | |
16046 | return resultobj; | |
16047 | fail: | |
16048 | { | |
16049 | if (temp2) | |
16050 | delete arg2; | |
16051 | } | |
16052 | return NULL; | |
db914595 RD |
16053 | } |
16054 | ||
16055 | ||
554f62e9 RD |
16056 | SWIGINTERN PyObject *HtmlHelpDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16057 | PyObject *obj; | |
16058 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
16059 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog, SWIG_NewClientData(obj)); | |
16060 | return SWIG_Py_Void(); | |
db914595 RD |
16061 | } |
16062 | ||
554f62e9 RD |
16063 | SWIGINTERN PyObject *HtmlHelpDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16064 | return SWIG_Python_InitShadowInstance(args); | |
16065 | } | |
db914595 | 16066 | |
554f62e9 RD |
16067 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
16068 | PyObject *resultobj = 0; | |
16069 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16070 | wxString *arg2 = 0 ; | |
16071 | int arg3 ; | |
16072 | bool result; | |
16073 | void *argp1 = 0 ; | |
16074 | int res1 = 0 ; | |
16075 | bool temp2 = false ; | |
16076 | int val3 ; | |
16077 | int ecode3 = 0 ; | |
16078 | ||
16079 | if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; | |
16080 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16081 | if (!SWIG_IsOK(res1)) { | |
16082 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16083 | } | |
16084 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16085 | { | |
16086 | arg2 = wxString_in_helper(swig_obj[1]); | |
16087 | if (arg2 == NULL) SWIG_fail; | |
16088 | temp2 = true; | |
16089 | } | |
16090 | ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); | |
16091 | if (!SWIG_IsOK(ecode3)) { | |
16092 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'"); | |
16093 | } | |
16094 | arg3 = static_cast< int >(val3); | |
16095 | { | |
16096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16097 | result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3); | |
16098 | wxPyEndAllowThreads(__tstate); | |
16099 | if (PyErr_Occurred()) SWIG_fail; | |
16100 | } | |
16101 | { | |
16102 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16103 | } | |
16104 | { | |
16105 | if (temp2) | |
16106 | delete arg2; | |
16107 | } | |
16108 | return resultobj; | |
16109 | fail: | |
16110 | { | |
16111 | if (temp2) | |
16112 | delete arg2; | |
16113 | } | |
16114 | return NULL; | |
b0f7404b RD |
16115 | } |
16116 | ||
16117 | ||
554f62e9 RD |
16118 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
16119 | PyObject *resultobj = 0; | |
16120 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16121 | wxString *arg2 = 0 ; | |
16122 | bool result; | |
16123 | void *argp1 = 0 ; | |
16124 | int res1 = 0 ; | |
16125 | bool temp2 = false ; | |
16126 | ||
16127 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
16128 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16129 | if (!SWIG_IsOK(res1)) { | |
16130 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16131 | } | |
16132 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16133 | { | |
16134 | arg2 = wxString_in_helper(swig_obj[1]); | |
16135 | if (arg2 == NULL) SWIG_fail; | |
16136 | temp2 = true; | |
16137 | } | |
16138 | { | |
16139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16140 | result = (bool)(arg1)->Initialize((wxString const &)*arg2); | |
16141 | wxPyEndAllowThreads(__tstate); | |
16142 | if (PyErr_Occurred()) SWIG_fail; | |
16143 | } | |
16144 | { | |
16145 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16146 | } | |
16147 | { | |
16148 | if (temp2) | |
16149 | delete arg2; | |
16150 | } | |
16151 | return resultobj; | |
16152 | fail: | |
16153 | { | |
16154 | if (temp2) | |
16155 | delete arg2; | |
16156 | } | |
16157 | return NULL; | |
b0f7404b RD |
16158 | } |
16159 | ||
16160 | ||
554f62e9 RD |
16161 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) { |
16162 | int argc; | |
16163 | PyObject *argv[4]; | |
16164 | ||
16165 | if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_Initialize",0,3,argv))) SWIG_fail; | |
16166 | --argc; | |
16167 | if (argc == 2) { | |
16168 | return _wrap_HelpControllerBase_Initialize__SWIG_1(self, argc, argv); | |
16169 | } | |
16170 | if (argc == 3) { | |
16171 | return _wrap_HelpControllerBase_Initialize__SWIG_0(self, argc, argv); | |
16172 | } | |
16173 | ||
16174 | fail: | |
16175 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'"); | |
16176 | return NULL; | |
16177 | } | |
16178 | ||
16179 | ||
16180 | SWIGINTERN PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16181 | PyObject *resultobj = 0; | |
16182 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16183 | wxString *arg2 = 0 ; | |
16184 | long arg3 = (long) 0 ; | |
16185 | void *argp1 = 0 ; | |
16186 | int res1 = 0 ; | |
16187 | bool temp2 = false ; | |
16188 | long val3 ; | |
16189 | int ecode3 = 0 ; | |
16190 | PyObject * obj0 = 0 ; | |
16191 | PyObject * obj1 = 0 ; | |
16192 | PyObject * obj2 = 0 ; | |
16193 | char * kwnames[] = { | |
16194 | (char *) "self",(char *) "viewer",(char *) "flags", NULL | |
16195 | }; | |
16196 | ||
16197 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
16198 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16199 | if (!SWIG_IsOK(res1)) { | |
16200 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16201 | } | |
16202 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16203 | { | |
16204 | arg2 = wxString_in_helper(obj1); | |
16205 | if (arg2 == NULL) SWIG_fail; | |
16206 | temp2 = true; | |
16207 | } | |
16208 | if (obj2) { | |
16209 | ecode3 = SWIG_AsVal_long(obj2, &val3); | |
16210 | if (!SWIG_IsOK(ecode3)) { | |
16211 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'"); | |
16212 | } | |
16213 | arg3 = static_cast< long >(val3); | |
16214 | } | |
16215 | { | |
16216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16217 | (arg1)->SetViewer((wxString const &)*arg2,arg3); | |
16218 | wxPyEndAllowThreads(__tstate); | |
16219 | if (PyErr_Occurred()) SWIG_fail; | |
16220 | } | |
16221 | resultobj = SWIG_Py_Void(); | |
16222 | { | |
16223 | if (temp2) | |
16224 | delete arg2; | |
16225 | } | |
16226 | return resultobj; | |
16227 | fail: | |
16228 | { | |
16229 | if (temp2) | |
16230 | delete arg2; | |
16231 | } | |
16232 | return NULL; | |
16233 | } | |
16234 | ||
16235 | ||
16236 | SWIGINTERN PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16237 | PyObject *resultobj = 0; | |
16238 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16239 | wxString const &arg2_defvalue = wxEmptyString ; | |
16240 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
16241 | bool result; | |
16242 | void *argp1 = 0 ; | |
16243 | int res1 = 0 ; | |
16244 | bool temp2 = false ; | |
16245 | PyObject * obj0 = 0 ; | |
16246 | PyObject * obj1 = 0 ; | |
16247 | char * kwnames[] = { | |
16248 | (char *) "self",(char *) "file", NULL | |
16249 | }; | |
16250 | ||
16251 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
16252 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16253 | if (!SWIG_IsOK(res1)) { | |
16254 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16255 | } | |
16256 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16257 | if (obj1) { | |
d14a1e28 | 16258 | { |
554f62e9 RD |
16259 | arg2 = wxString_in_helper(obj1); |
16260 | if (arg2 == NULL) SWIG_fail; | |
16261 | temp2 = true; | |
d14a1e28 | 16262 | } |
554f62e9 RD |
16263 | } |
16264 | { | |
16265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16266 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
16267 | wxPyEndAllowThreads(__tstate); | |
16268 | if (PyErr_Occurred()) SWIG_fail; | |
16269 | } | |
16270 | { | |
16271 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16272 | } | |
16273 | { | |
16274 | if (temp2) | |
16275 | delete arg2; | |
16276 | } | |
16277 | return resultobj; | |
16278 | fail: | |
16279 | { | |
16280 | if (temp2) | |
16281 | delete arg2; | |
16282 | } | |
16283 | return NULL; | |
d14a1e28 RD |
16284 | } |
16285 | ||
16286 | ||
554f62e9 RD |
16287 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16288 | PyObject *resultobj = 0; | |
16289 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16290 | bool result; | |
16291 | void *argp1 = 0 ; | |
16292 | int res1 = 0 ; | |
16293 | PyObject *swig_obj[1] ; | |
16294 | ||
16295 | if (!args) SWIG_fail; | |
16296 | swig_obj[0] = args; | |
16297 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16298 | if (!SWIG_IsOK(res1)) { | |
16299 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16300 | } | |
16301 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16302 | { | |
16303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16304 | result = (bool)(arg1)->DisplayContents(); | |
16305 | wxPyEndAllowThreads(__tstate); | |
16306 | if (PyErr_Occurred()) SWIG_fail; | |
16307 | } | |
16308 | { | |
16309 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16310 | } | |
16311 | return resultobj; | |
16312 | fail: | |
16313 | return NULL; | |
d14a1e28 RD |
16314 | } |
16315 | ||
16316 | ||
554f62e9 RD |
16317 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
16318 | PyObject *resultobj = 0; | |
16319 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16320 | int arg2 ; | |
16321 | bool result; | |
16322 | void *argp1 = 0 ; | |
16323 | int res1 = 0 ; | |
16324 | int val2 ; | |
16325 | int ecode2 = 0 ; | |
16326 | ||
16327 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
16328 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16329 | if (!SWIG_IsOK(res1)) { | |
16330 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16331 | } | |
16332 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16333 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
16334 | if (!SWIG_IsOK(ecode2)) { | |
16335 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'"); | |
16336 | } | |
16337 | arg2 = static_cast< int >(val2); | |
16338 | { | |
16339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16340 | result = (bool)(arg1)->DisplaySection(arg2); | |
16341 | wxPyEndAllowThreads(__tstate); | |
16342 | if (PyErr_Occurred()) SWIG_fail; | |
16343 | } | |
16344 | { | |
16345 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16346 | } | |
16347 | return resultobj; | |
16348 | fail: | |
16349 | return NULL; | |
16350 | } | |
16351 | ||
16352 | ||
16353 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16354 | PyObject *resultobj = 0; | |
16355 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16356 | int arg2 ; | |
16357 | bool result; | |
16358 | void *argp1 = 0 ; | |
16359 | int res1 = 0 ; | |
16360 | int val2 ; | |
16361 | int ecode2 = 0 ; | |
16362 | PyObject * obj0 = 0 ; | |
16363 | PyObject * obj1 = 0 ; | |
16364 | char * kwnames[] = { | |
16365 | (char *) "self",(char *) "contextId", NULL | |
16366 | }; | |
16367 | ||
16368 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) SWIG_fail; | |
16369 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16370 | if (!SWIG_IsOK(res1)) { | |
16371 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16372 | } | |
16373 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16374 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
16375 | if (!SWIG_IsOK(ecode2)) { | |
16376 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'"); | |
16377 | } | |
16378 | arg2 = static_cast< int >(val2); | |
16379 | { | |
16380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16381 | result = (bool)(arg1)->DisplayContextPopup(arg2); | |
16382 | wxPyEndAllowThreads(__tstate); | |
16383 | if (PyErr_Occurred()) SWIG_fail; | |
16384 | } | |
16385 | { | |
16386 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16387 | } | |
16388 | return resultobj; | |
16389 | fail: | |
16390 | return NULL; | |
16391 | } | |
16392 | ||
16393 | ||
16394 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16395 | PyObject *resultobj = 0; | |
16396 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16397 | wxString *arg2 = 0 ; | |
16398 | wxPoint *arg3 = 0 ; | |
16399 | bool result; | |
16400 | void *argp1 = 0 ; | |
16401 | int res1 = 0 ; | |
16402 | bool temp2 = false ; | |
16403 | wxPoint temp3 ; | |
16404 | PyObject * obj0 = 0 ; | |
16405 | PyObject * obj1 = 0 ; | |
16406 | PyObject * obj2 = 0 ; | |
16407 | char * kwnames[] = { | |
16408 | (char *) "self",(char *) "text",(char *) "pos", NULL | |
16409 | }; | |
16410 | ||
16411 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
16412 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16413 | if (!SWIG_IsOK(res1)) { | |
16414 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16415 | } | |
16416 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16417 | { | |
16418 | arg2 = wxString_in_helper(obj1); | |
16419 | if (arg2 == NULL) SWIG_fail; | |
16420 | temp2 = true; | |
16421 | } | |
16422 | { | |
16423 | arg3 = &temp3; | |
16424 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
16425 | } | |
16426 | { | |
16427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16428 | result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3); | |
16429 | wxPyEndAllowThreads(__tstate); | |
16430 | if (PyErr_Occurred()) SWIG_fail; | |
16431 | } | |
16432 | { | |
16433 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16434 | } | |
16435 | { | |
16436 | if (temp2) | |
16437 | delete arg2; | |
16438 | } | |
16439 | return resultobj; | |
16440 | fail: | |
16441 | { | |
16442 | if (temp2) | |
16443 | delete arg2; | |
16444 | } | |
16445 | return NULL; | |
d14a1e28 RD |
16446 | } |
16447 | ||
16448 | ||
554f62e9 RD |
16449 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
16450 | PyObject *resultobj = 0; | |
16451 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16452 | wxString *arg2 = 0 ; | |
16453 | bool result; | |
16454 | void *argp1 = 0 ; | |
16455 | int res1 = 0 ; | |
16456 | bool temp2 = false ; | |
16457 | ||
16458 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
16459 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16460 | if (!SWIG_IsOK(res1)) { | |
16461 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16462 | } | |
16463 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16464 | { | |
16465 | arg2 = wxString_in_helper(swig_obj[1]); | |
16466 | if (arg2 == NULL) SWIG_fail; | |
16467 | temp2 = true; | |
16468 | } | |
16469 | { | |
16470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16471 | result = (bool)(arg1)->DisplaySection((wxString const &)*arg2); | |
16472 | wxPyEndAllowThreads(__tstate); | |
16473 | if (PyErr_Occurred()) SWIG_fail; | |
16474 | } | |
16475 | { | |
16476 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16477 | } | |
16478 | { | |
16479 | if (temp2) | |
16480 | delete arg2; | |
16481 | } | |
16482 | return resultobj; | |
16483 | fail: | |
16484 | { | |
16485 | if (temp2) | |
16486 | delete arg2; | |
16487 | } | |
16488 | return NULL; | |
d14a1e28 RD |
16489 | } |
16490 | ||
16491 | ||
554f62e9 RD |
16492 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) { |
16493 | int argc; | |
16494 | PyObject *argv[3]; | |
16495 | ||
16496 | if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_DisplaySection",0,2,argv))) SWIG_fail; | |
16497 | --argc; | |
16498 | if (argc == 2) { | |
16499 | int _v = 0; | |
f20a2e1f | 16500 | { |
554f62e9 RD |
16501 | { |
16502 | _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]); | |
16503 | } | |
f20a2e1f | 16504 | } |
554f62e9 RD |
16505 | if (!_v) goto check_1; |
16506 | return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self, argc, argv); | |
16507 | } | |
16508 | check_1: | |
16509 | ||
16510 | if (argc == 2) { | |
16511 | return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self, argc, argv); | |
16512 | } | |
16513 | ||
16514 | fail: | |
16515 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'"); | |
16516 | return NULL; | |
16517 | } | |
16518 | ||
16519 | ||
16520 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16521 | PyObject *resultobj = 0; | |
16522 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16523 | long arg2 ; | |
16524 | bool result; | |
16525 | void *argp1 = 0 ; | |
16526 | int res1 = 0 ; | |
16527 | long val2 ; | |
16528 | int ecode2 = 0 ; | |
16529 | PyObject * obj0 = 0 ; | |
16530 | PyObject * obj1 = 0 ; | |
16531 | char * kwnames[] = { | |
16532 | (char *) "self",(char *) "blockNo", NULL | |
16533 | }; | |
16534 | ||
16535 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) SWIG_fail; | |
16536 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16537 | if (!SWIG_IsOK(res1)) { | |
16538 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16539 | } | |
16540 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16541 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
16542 | if (!SWIG_IsOK(ecode2)) { | |
16543 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'"); | |
16544 | } | |
16545 | arg2 = static_cast< long >(val2); | |
16546 | { | |
16547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16548 | result = (bool)(arg1)->DisplayBlock(arg2); | |
16549 | wxPyEndAllowThreads(__tstate); | |
16550 | if (PyErr_Occurred()) SWIG_fail; | |
16551 | } | |
16552 | { | |
16553 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16554 | } | |
16555 | return resultobj; | |
16556 | fail: | |
16557 | return NULL; | |
16558 | } | |
16559 | ||
16560 | ||
16561 | SWIGINTERN PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16562 | PyObject *resultobj = 0; | |
16563 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16564 | wxString *arg2 = 0 ; | |
16565 | wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ; | |
16566 | bool result; | |
16567 | void *argp1 = 0 ; | |
16568 | int res1 = 0 ; | |
16569 | bool temp2 = false ; | |
16570 | void *argp3 ; | |
16571 | int res3 = 0 ; | |
16572 | PyObject * obj0 = 0 ; | |
16573 | PyObject * obj1 = 0 ; | |
16574 | PyObject * obj2 = 0 ; | |
16575 | char * kwnames[] = { | |
16576 | (char *) "self",(char *) "k",(char *) "mode", NULL | |
16577 | }; | |
16578 | ||
16579 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
16580 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16581 | if (!SWIG_IsOK(res1)) { | |
16582 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16583 | } | |
16584 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16585 | { | |
16586 | arg2 = wxString_in_helper(obj1); | |
16587 | if (arg2 == NULL) SWIG_fail; | |
16588 | temp2 = true; | |
16589 | } | |
16590 | if (obj2) { | |
16591 | { | |
16592 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0); | |
16593 | if (!SWIG_IsOK(res3)) { | |
16594 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
16595 | } | |
16596 | if (!argp3) { | |
16597 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
16598 | } else { | |
16599 | wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3); | |
16600 | arg3 = *temp; | |
16601 | if (SWIG_IsNewObj(res3)) delete temp; | |
16602 | } | |
f20a2e1f | 16603 | } |
554f62e9 RD |
16604 | } |
16605 | { | |
16606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16607 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3); | |
16608 | wxPyEndAllowThreads(__tstate); | |
16609 | if (PyErr_Occurred()) SWIG_fail; | |
16610 | } | |
16611 | { | |
16612 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16613 | } | |
16614 | { | |
16615 | if (temp2) | |
16616 | delete arg2; | |
16617 | } | |
16618 | return resultobj; | |
16619 | fail: | |
16620 | { | |
16621 | if (temp2) | |
16622 | delete arg2; | |
16623 | } | |
16624 | return NULL; | |
16625 | } | |
16626 | ||
16627 | ||
16628 | SWIGINTERN PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16629 | PyObject *resultobj = 0; | |
16630 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16631 | wxString *arg2 = 0 ; | |
16632 | wxSize *arg3 = 0 ; | |
16633 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
16634 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
16635 | bool arg5 = (bool) false ; | |
16636 | void *argp1 = 0 ; | |
16637 | int res1 = 0 ; | |
16638 | bool temp2 = false ; | |
16639 | wxSize temp3 ; | |
16640 | wxPoint temp4 ; | |
16641 | bool val5 ; | |
16642 | int ecode5 = 0 ; | |
16643 | PyObject * obj0 = 0 ; | |
16644 | PyObject * obj1 = 0 ; | |
16645 | PyObject * obj2 = 0 ; | |
16646 | PyObject * obj3 = 0 ; | |
16647 | PyObject * obj4 = 0 ; | |
16648 | char * kwnames[] = { | |
16649 | (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL | |
16650 | }; | |
16651 | ||
16652 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
16653 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16654 | if (!SWIG_IsOK(res1)) { | |
16655 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16656 | } | |
16657 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16658 | { | |
16659 | arg2 = wxString_in_helper(obj1); | |
16660 | if (arg2 == NULL) SWIG_fail; | |
16661 | temp2 = true; | |
16662 | } | |
16663 | { | |
16664 | arg3 = &temp3; | |
16665 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
16666 | } | |
16667 | if (obj3) { | |
d14a1e28 | 16668 | { |
554f62e9 RD |
16669 | arg4 = &temp4; |
16670 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 16671 | } |
554f62e9 RD |
16672 | } |
16673 | if (obj4) { | |
16674 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
16675 | if (!SWIG_IsOK(ecode5)) { | |
16676 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'"); | |
16677 | } | |
16678 | arg5 = static_cast< bool >(val5); | |
16679 | } | |
16680 | { | |
16681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16682 | (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5); | |
16683 | wxPyEndAllowThreads(__tstate); | |
16684 | if (PyErr_Occurred()) SWIG_fail; | |
16685 | } | |
16686 | resultobj = SWIG_Py_Void(); | |
16687 | { | |
16688 | if (temp2) | |
16689 | delete arg2; | |
16690 | } | |
16691 | return resultobj; | |
16692 | fail: | |
16693 | { | |
16694 | if (temp2) | |
16695 | delete arg2; | |
16696 | } | |
16697 | return NULL; | |
16698 | } | |
16699 | ||
16700 | ||
16701 | SWIGINTERN PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16702 | PyObject *resultobj = 0; | |
16703 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16704 | wxSize *arg2 = (wxSize *) NULL ; | |
16705 | wxPoint *arg3 = (wxPoint *) NULL ; | |
16706 | bool *arg4 = (bool *) NULL ; | |
16707 | wxFrame *result = 0 ; | |
16708 | void *argp1 = 0 ; | |
16709 | int res1 = 0 ; | |
16710 | void *argp2 = 0 ; | |
16711 | int res2 = 0 ; | |
16712 | void *argp3 = 0 ; | |
16713 | int res3 = 0 ; | |
16714 | void *argp4 = 0 ; | |
16715 | int res4 = 0 ; | |
16716 | PyObject * obj0 = 0 ; | |
16717 | PyObject * obj1 = 0 ; | |
16718 | PyObject * obj2 = 0 ; | |
16719 | PyObject * obj3 = 0 ; | |
16720 | char * kwnames[] = { | |
16721 | (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL | |
16722 | }; | |
16723 | ||
16724 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
16725 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16726 | if (!SWIG_IsOK(res1)) { | |
16727 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16728 | } | |
16729 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16730 | if (obj1) { | |
16731 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); | |
16732 | if (!SWIG_IsOK(res2)) { | |
16733 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'"); | |
d14a1e28 | 16734 | } |
554f62e9 RD |
16735 | arg2 = reinterpret_cast< wxSize * >(argp2); |
16736 | } | |
16737 | if (obj2) { | |
16738 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPoint, 0 | 0 ); | |
16739 | if (!SWIG_IsOK(res3)) { | |
16740 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'"); | |
093d3ff1 | 16741 | } |
554f62e9 RD |
16742 | arg3 = reinterpret_cast< wxPoint * >(argp3); |
16743 | } | |
16744 | if (obj3) { | |
16745 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_bool, 0 | 0 ); | |
16746 | if (!SWIG_IsOK(res4)) { | |
16747 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'"); | |
d14a1e28 | 16748 | } |
554f62e9 RD |
16749 | arg4 = reinterpret_cast< bool * >(argp4); |
16750 | } | |
16751 | { | |
16752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16753 | result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4); | |
16754 | wxPyEndAllowThreads(__tstate); | |
16755 | if (PyErr_Occurred()) SWIG_fail; | |
16756 | } | |
16757 | { | |
16758 | resultobj = wxPyMake_wxObject(result, 0); | |
16759 | } | |
16760 | return resultobj; | |
16761 | fail: | |
16762 | return NULL; | |
d14a1e28 RD |
16763 | } |
16764 | ||
16765 | ||
554f62e9 RD |
16766 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Quit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16767 | PyObject *resultobj = 0; | |
16768 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16769 | bool result; | |
16770 | void *argp1 = 0 ; | |
16771 | int res1 = 0 ; | |
16772 | PyObject *swig_obj[1] ; | |
16773 | ||
16774 | if (!args) SWIG_fail; | |
16775 | swig_obj[0] = args; | |
16776 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16777 | if (!SWIG_IsOK(res1)) { | |
16778 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16779 | } | |
16780 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16781 | { | |
16782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16783 | result = (bool)(arg1)->Quit(); | |
16784 | wxPyEndAllowThreads(__tstate); | |
16785 | if (PyErr_Occurred()) SWIG_fail; | |
16786 | } | |
16787 | { | |
16788 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16789 | } | |
16790 | return resultobj; | |
16791 | fail: | |
16792 | return NULL; | |
d14a1e28 RD |
16793 | } |
16794 | ||
16795 | ||
554f62e9 RD |
16796 | SWIGINTERN PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16797 | PyObject *resultobj = 0; | |
16798 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16799 | void *argp1 = 0 ; | |
16800 | int res1 = 0 ; | |
16801 | PyObject *swig_obj[1] ; | |
16802 | ||
16803 | if (!args) SWIG_fail; | |
16804 | swig_obj[0] = args; | |
16805 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16806 | if (!SWIG_IsOK(res1)) { | |
16807 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16808 | } | |
16809 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16810 | { | |
16811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16812 | (arg1)->OnQuit(); | |
16813 | wxPyEndAllowThreads(__tstate); | |
16814 | if (PyErr_Occurred()) SWIG_fail; | |
16815 | } | |
16816 | resultobj = SWIG_Py_Void(); | |
16817 | return resultobj; | |
16818 | fail: | |
16819 | return NULL; | |
16820 | } | |
16821 | ||
16822 | ||
16823 | SWIGINTERN PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16824 | PyObject *resultobj = 0; | |
16825 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16826 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16827 | void *argp1 = 0 ; | |
16828 | int res1 = 0 ; | |
16829 | void *argp2 = 0 ; | |
16830 | int res2 = 0 ; | |
16831 | PyObject * obj0 = 0 ; | |
16832 | PyObject * obj1 = 0 ; | |
16833 | char * kwnames[] = { | |
16834 | (char *) "self",(char *) "win", NULL | |
16835 | }; | |
16836 | ||
16837 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
16838 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16839 | if (!SWIG_IsOK(res1)) { | |
16840 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16841 | } | |
16842 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16843 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
16844 | if (!SWIG_IsOK(res2)) { | |
16845 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
16846 | } | |
16847 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
16848 | { | |
16849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16850 | (arg1)->SetParentWindow(arg2); | |
16851 | wxPyEndAllowThreads(__tstate); | |
16852 | if (PyErr_Occurred()) SWIG_fail; | |
16853 | } | |
16854 | resultobj = SWIG_Py_Void(); | |
16855 | return resultobj; | |
16856 | fail: | |
16857 | return NULL; | |
d14a1e28 RD |
16858 | } |
16859 | ||
16860 | ||
554f62e9 RD |
16861 | SWIGINTERN PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16862 | PyObject *resultobj = 0; | |
16863 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16864 | wxWindow *result = 0 ; | |
16865 | void *argp1 = 0 ; | |
16866 | int res1 = 0 ; | |
16867 | PyObject *swig_obj[1] ; | |
16868 | ||
16869 | if (!args) SWIG_fail; | |
16870 | swig_obj[0] = args; | |
16871 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16872 | if (!SWIG_IsOK(res1)) { | |
16873 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'"); | |
16874 | } | |
16875 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16876 | { | |
16877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16878 | result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow(); | |
16879 | wxPyEndAllowThreads(__tstate); | |
16880 | if (PyErr_Occurred()) SWIG_fail; | |
16881 | } | |
16882 | { | |
16883 | resultobj = wxPyMake_wxObject(result, 0); | |
16884 | } | |
16885 | return resultobj; | |
16886 | fail: | |
16887 | return NULL; | |
16888 | } | |
16889 | ||
16890 | ||
16891 | SWIGINTERN PyObject *HelpControllerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16892 | PyObject *obj; | |
16893 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
16894 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase, SWIG_NewClientData(obj)); | |
16895 | return SWIG_Py_Void(); | |
16896 | } | |
16897 | ||
16898 | SWIGINTERN PyObject *_wrap_new_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16899 | PyObject *resultobj = 0; | |
16900 | int arg1 = (int) wxHF_DEFAULT_STYLE ; | |
16901 | wxWindow *arg2 = (wxWindow *) NULL ; | |
16902 | wxHtmlHelpController *result = 0 ; | |
16903 | int val1 ; | |
16904 | int ecode1 = 0 ; | |
16905 | void *argp2 = 0 ; | |
16906 | int res2 = 0 ; | |
16907 | PyObject * obj0 = 0 ; | |
16908 | PyObject * obj1 = 0 ; | |
16909 | char * kwnames[] = { | |
16910 | (char *) "style",(char *) "parentWindow", NULL | |
16911 | }; | |
16912 | ||
16913 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) SWIG_fail; | |
16914 | if (obj0) { | |
16915 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
16916 | if (!SWIG_IsOK(ecode1)) { | |
16917 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'"); | |
16918 | } | |
16919 | arg1 = static_cast< int >(val1); | |
16920 | } | |
16921 | if (obj1) { | |
16922 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
16923 | if (!SWIG_IsOK(res2)) { | |
16924 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
d14a1e28 | 16925 | } |
554f62e9 RD |
16926 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
16927 | } | |
16928 | { | |
16929 | if (!wxPyCheckForApp()) SWIG_fail; | |
16930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16931 | result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2); | |
16932 | wxPyEndAllowThreads(__tstate); | |
16933 | if (PyErr_Occurred()) SWIG_fail; | |
16934 | } | |
16935 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_NEW | 0 ); | |
16936 | return resultobj; | |
16937 | fail: | |
16938 | return NULL; | |
d14a1e28 RD |
16939 | } |
16940 | ||
16941 | ||
554f62e9 RD |
16942 | SWIGINTERN PyObject *_wrap_delete_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16943 | PyObject *resultobj = 0; | |
16944 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16945 | void *argp1 = 0 ; | |
16946 | int res1 = 0 ; | |
16947 | PyObject *swig_obj[1] ; | |
16948 | ||
16949 | if (!args) SWIG_fail; | |
16950 | swig_obj[0] = args; | |
16951 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
16952 | if (!SWIG_IsOK(res1)) { | |
16953 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16954 | } | |
16955 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16956 | { | |
16957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16958 | delete arg1; | |
30ee79f7 | 16959 | |
554f62e9 RD |
16960 | wxPyEndAllowThreads(__tstate); |
16961 | if (PyErr_Occurred()) SWIG_fail; | |
16962 | } | |
16963 | resultobj = SWIG_Py_Void(); | |
16964 | return resultobj; | |
16965 | fail: | |
16966 | return NULL; | |
30ee79f7 RD |
16967 | } |
16968 | ||
16969 | ||
554f62e9 RD |
16970 | SWIGINTERN PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16971 | PyObject *resultobj = 0; | |
16972 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16973 | wxHtmlHelpWindow *result = 0 ; | |
16974 | void *argp1 = 0 ; | |
16975 | int res1 = 0 ; | |
16976 | PyObject *swig_obj[1] ; | |
16977 | ||
16978 | if (!args) SWIG_fail; | |
16979 | swig_obj[0] = args; | |
16980 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16981 | if (!SWIG_IsOK(res1)) { | |
16982 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16983 | } | |
16984 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16985 | { | |
16986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16987 | result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow(); | |
16988 | wxPyEndAllowThreads(__tstate); | |
16989 | if (PyErr_Occurred()) SWIG_fail; | |
16990 | } | |
16991 | { | |
16992 | resultobj = wxPyMake_wxObject(result, 0); | |
16993 | } | |
16994 | return resultobj; | |
16995 | fail: | |
16996 | return NULL; | |
16997 | } | |
16998 | ||
16999 | ||
17000 | SWIGINTERN PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17001 | PyObject *resultobj = 0; | |
17002 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17003 | wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ; | |
17004 | void *argp1 = 0 ; | |
17005 | int res1 = 0 ; | |
17006 | void *argp2 = 0 ; | |
17007 | int res2 = 0 ; | |
17008 | PyObject * obj0 = 0 ; | |
17009 | PyObject * obj1 = 0 ; | |
17010 | char * kwnames[] = { | |
17011 | (char *) "self",(char *) "helpWindow", NULL | |
17012 | }; | |
17013 | ||
17014 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
17015 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17016 | if (!SWIG_IsOK(res1)) { | |
17017 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17018 | } | |
17019 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17020 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
17021 | if (!SWIG_IsOK(res2)) { | |
17022 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'"); | |
17023 | } | |
17024 | arg2 = reinterpret_cast< wxHtmlHelpWindow * >(argp2); | |
17025 | { | |
17026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17027 | (arg1)->SetHelpWindow(arg2); | |
17028 | wxPyEndAllowThreads(__tstate); | |
17029 | if (PyErr_Occurred()) SWIG_fail; | |
17030 | } | |
17031 | resultobj = SWIG_Py_Void(); | |
17032 | return resultobj; | |
17033 | fail: | |
17034 | return NULL; | |
d14a1e28 RD |
17035 | } |
17036 | ||
17037 | ||
554f62e9 RD |
17038 | SWIGINTERN PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17039 | PyObject *resultobj = 0; | |
17040 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17041 | wxHtmlHelpFrame *result = 0 ; | |
17042 | void *argp1 = 0 ; | |
17043 | int res1 = 0 ; | |
17044 | PyObject *swig_obj[1] ; | |
17045 | ||
17046 | if (!args) SWIG_fail; | |
17047 | swig_obj[0] = args; | |
17048 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17049 | if (!SWIG_IsOK(res1)) { | |
17050 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17051 | } | |
17052 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17053 | { | |
17054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17055 | result = (wxHtmlHelpFrame *)(arg1)->GetFrame(); | |
17056 | wxPyEndAllowThreads(__tstate); | |
17057 | if (PyErr_Occurred()) SWIG_fail; | |
17058 | } | |
17059 | { | |
17060 | resultobj = wxPyMake_wxObject(result, 0); | |
17061 | } | |
17062 | return resultobj; | |
17063 | fail: | |
17064 | return NULL; | |
d14a1e28 RD |
17065 | } |
17066 | ||
17067 | ||
554f62e9 RD |
17068 | SWIGINTERN PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17069 | PyObject *resultobj = 0; | |
17070 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17071 | wxHtmlHelpDialog *result = 0 ; | |
17072 | void *argp1 = 0 ; | |
17073 | int res1 = 0 ; | |
17074 | PyObject *swig_obj[1] ; | |
17075 | ||
17076 | if (!args) SWIG_fail; | |
17077 | swig_obj[0] = args; | |
17078 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17079 | if (!SWIG_IsOK(res1)) { | |
17080 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17081 | } | |
17082 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17083 | { | |
17084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17085 | result = (wxHtmlHelpDialog *)(arg1)->GetDialog(); | |
17086 | wxPyEndAllowThreads(__tstate); | |
17087 | if (PyErr_Occurred()) SWIG_fail; | |
17088 | } | |
17089 | { | |
17090 | resultobj = wxPyMake_wxObject(result, 0); | |
17091 | } | |
17092 | return resultobj; | |
17093 | fail: | |
17094 | return NULL; | |
17095 | } | |
17096 | ||
17097 | ||
17098 | SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17099 | PyObject *resultobj = 0; | |
17100 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17101 | wxString *arg2 = 0 ; | |
17102 | void *argp1 = 0 ; | |
17103 | int res1 = 0 ; | |
17104 | bool temp2 = false ; | |
17105 | PyObject * obj0 = 0 ; | |
17106 | PyObject * obj1 = 0 ; | |
17107 | char * kwnames[] = { | |
17108 | (char *) "self",(char *) "format", NULL | |
17109 | }; | |
17110 | ||
17111 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail; | |
17112 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17113 | if (!SWIG_IsOK(res1)) { | |
17114 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17115 | } | |
17116 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17117 | { | |
17118 | arg2 = wxString_in_helper(obj1); | |
17119 | if (arg2 == NULL) SWIG_fail; | |
17120 | temp2 = true; | |
17121 | } | |
17122 | { | |
17123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17124 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
17125 | wxPyEndAllowThreads(__tstate); | |
17126 | if (PyErr_Occurred()) SWIG_fail; | |
17127 | } | |
17128 | resultobj = SWIG_Py_Void(); | |
17129 | { | |
17130 | if (temp2) | |
17131 | delete arg2; | |
17132 | } | |
17133 | return resultobj; | |
17134 | fail: | |
17135 | { | |
17136 | if (temp2) | |
17137 | delete arg2; | |
17138 | } | |
17139 | return NULL; | |
d14a1e28 RD |
17140 | } |
17141 | ||
17142 | ||
554f62e9 RD |
17143 | SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
17144 | PyObject *resultobj = 0; | |
17145 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17146 | wxString *arg2 = 0 ; | |
17147 | void *argp1 = 0 ; | |
17148 | int res1 = 0 ; | |
17149 | bool temp2 = false ; | |
17150 | PyObject * obj0 = 0 ; | |
17151 | PyObject * obj1 = 0 ; | |
17152 | char * kwnames[] = { | |
17153 | (char *) "self",(char *) "path", NULL | |
17154 | }; | |
17155 | ||
17156 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail; | |
17157 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17158 | if (!SWIG_IsOK(res1)) { | |
17159 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17160 | } | |
17161 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17162 | { | |
17163 | arg2 = wxString_in_helper(obj1); | |
17164 | if (arg2 == NULL) SWIG_fail; | |
17165 | temp2 = true; | |
17166 | } | |
17167 | { | |
17168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17169 | (arg1)->SetTempDir((wxString const &)*arg2); | |
17170 | wxPyEndAllowThreads(__tstate); | |
17171 | if (PyErr_Occurred()) SWIG_fail; | |
17172 | } | |
17173 | resultobj = SWIG_Py_Void(); | |
17174 | { | |
17175 | if (temp2) | |
17176 | delete arg2; | |
17177 | } | |
17178 | return resultobj; | |
17179 | fail: | |
17180 | { | |
17181 | if (temp2) | |
17182 | delete arg2; | |
17183 | } | |
17184 | return NULL; | |
17185 | } | |
17186 | ||
17187 | ||
17188 | SWIGINTERN PyObject *_wrap_HtmlHelpController_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17189 | PyObject *resultobj = 0; | |
17190 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17191 | wxString *arg2 = 0 ; | |
17192 | int arg3 = (int) false ; | |
17193 | bool result; | |
17194 | void *argp1 = 0 ; | |
17195 | int res1 = 0 ; | |
17196 | bool temp2 = false ; | |
17197 | int val3 ; | |
17198 | int ecode3 = 0 ; | |
17199 | PyObject * obj0 = 0 ; | |
17200 | PyObject * obj1 = 0 ; | |
17201 | PyObject * obj2 = 0 ; | |
17202 | char * kwnames[] = { | |
17203 | (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL | |
17204 | }; | |
17205 | ||
17206 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17207 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17208 | if (!SWIG_IsOK(res1)) { | |
17209 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17210 | } | |
17211 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17212 | { | |
17213 | arg2 = wxString_in_helper(obj1); | |
17214 | if (arg2 == NULL) SWIG_fail; | |
17215 | temp2 = true; | |
17216 | } | |
17217 | if (obj2) { | |
17218 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
17219 | if (!SWIG_IsOK(ecode3)) { | |
17220 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'"); | |
17221 | } | |
17222 | arg3 = static_cast< int >(val3); | |
17223 | } | |
17224 | { | |
17225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17226 | result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3); | |
17227 | wxPyEndAllowThreads(__tstate); | |
17228 | if (PyErr_Occurred()) SWIG_fail; | |
17229 | } | |
17230 | { | |
17231 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17232 | } | |
17233 | { | |
17234 | if (temp2) | |
17235 | delete arg2; | |
17236 | } | |
17237 | return resultobj; | |
17238 | fail: | |
17239 | { | |
17240 | if (temp2) | |
17241 | delete arg2; | |
17242 | } | |
17243 | return NULL; | |
d14a1e28 RD |
17244 | } |
17245 | ||
17246 | ||
554f62e9 RD |
17247 | SWIGINTERN PyObject *_wrap_HtmlHelpController_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
17248 | PyObject *resultobj = 0; | |
17249 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17250 | wxString *arg2 = 0 ; | |
17251 | void *argp1 = 0 ; | |
17252 | int res1 = 0 ; | |
17253 | bool temp2 = false ; | |
17254 | PyObject * obj0 = 0 ; | |
17255 | PyObject * obj1 = 0 ; | |
17256 | char * kwnames[] = { | |
17257 | (char *) "self",(char *) "x", NULL | |
17258 | }; | |
17259 | ||
17260 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) SWIG_fail; | |
17261 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17262 | if (!SWIG_IsOK(res1)) { | |
17263 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17264 | } | |
17265 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17266 | { | |
17267 | arg2 = wxString_in_helper(obj1); | |
17268 | if (arg2 == NULL) SWIG_fail; | |
17269 | temp2 = true; | |
17270 | } | |
17271 | { | |
17272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17273 | (arg1)->Display((wxString const &)*arg2); | |
17274 | wxPyEndAllowThreads(__tstate); | |
17275 | if (PyErr_Occurred()) SWIG_fail; | |
17276 | } | |
17277 | resultobj = SWIG_Py_Void(); | |
17278 | { | |
17279 | if (temp2) | |
17280 | delete arg2; | |
17281 | } | |
17282 | return resultobj; | |
17283 | fail: | |
17284 | { | |
17285 | if (temp2) | |
17286 | delete arg2; | |
17287 | } | |
17288 | return NULL; | |
17289 | } | |
17290 | ||
17291 | ||
17292 | SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17293 | PyObject *resultobj = 0; | |
17294 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17295 | int arg2 ; | |
17296 | void *argp1 = 0 ; | |
17297 | int res1 = 0 ; | |
17298 | int val2 ; | |
17299 | int ecode2 = 0 ; | |
17300 | PyObject * obj0 = 0 ; | |
17301 | PyObject * obj1 = 0 ; | |
17302 | char * kwnames[] = { | |
17303 | (char *) "self",(char *) "id", NULL | |
17304 | }; | |
17305 | ||
17306 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail; | |
17307 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17308 | if (!SWIG_IsOK(res1)) { | |
17309 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17310 | } | |
17311 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17312 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
17313 | if (!SWIG_IsOK(ecode2)) { | |
17314 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'"); | |
17315 | } | |
17316 | arg2 = static_cast< int >(val2); | |
17317 | { | |
17318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17319 | (arg1)->Display(arg2); | |
17320 | wxPyEndAllowThreads(__tstate); | |
17321 | if (PyErr_Occurred()) SWIG_fail; | |
17322 | } | |
17323 | resultobj = SWIG_Py_Void(); | |
17324 | return resultobj; | |
17325 | fail: | |
17326 | return NULL; | |
d14a1e28 RD |
17327 | } |
17328 | ||
17329 | ||
554f62e9 RD |
17330 | SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17331 | PyObject *resultobj = 0; | |
17332 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17333 | void *argp1 = 0 ; | |
17334 | int res1 = 0 ; | |
17335 | PyObject *swig_obj[1] ; | |
17336 | ||
17337 | if (!args) SWIG_fail; | |
17338 | swig_obj[0] = args; | |
17339 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17340 | if (!SWIG_IsOK(res1)) { | |
17341 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17342 | } | |
17343 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17344 | { | |
17345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17346 | (arg1)->DisplayContents(); | |
17347 | wxPyEndAllowThreads(__tstate); | |
17348 | if (PyErr_Occurred()) SWIG_fail; | |
17349 | } | |
17350 | resultobj = SWIG_Py_Void(); | |
17351 | return resultobj; | |
17352 | fail: | |
17353 | return NULL; | |
d14a1e28 RD |
17354 | } |
17355 | ||
17356 | ||
554f62e9 RD |
17357 | SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17358 | PyObject *resultobj = 0; | |
17359 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17360 | void *argp1 = 0 ; | |
17361 | int res1 = 0 ; | |
17362 | PyObject *swig_obj[1] ; | |
17363 | ||
17364 | if (!args) SWIG_fail; | |
17365 | swig_obj[0] = args; | |
17366 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17367 | if (!SWIG_IsOK(res1)) { | |
17368 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17369 | } | |
17370 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17371 | { | |
17372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17373 | (arg1)->DisplayIndex(); | |
17374 | wxPyEndAllowThreads(__tstate); | |
17375 | if (PyErr_Occurred()) SWIG_fail; | |
17376 | } | |
17377 | resultobj = SWIG_Py_Void(); | |
17378 | return resultobj; | |
17379 | fail: | |
17380 | return NULL; | |
17381 | } | |
17382 | ||
17383 | ||
17384 | SWIGINTERN PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17385 | PyObject *resultobj = 0; | |
17386 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17387 | wxString *arg2 = 0 ; | |
17388 | bool result; | |
17389 | void *argp1 = 0 ; | |
17390 | int res1 = 0 ; | |
17391 | bool temp2 = false ; | |
17392 | PyObject * obj0 = 0 ; | |
17393 | PyObject * obj1 = 0 ; | |
17394 | char * kwnames[] = { | |
17395 | (char *) "self",(char *) "keyword", NULL | |
17396 | }; | |
17397 | ||
17398 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) SWIG_fail; | |
17399 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17400 | if (!SWIG_IsOK(res1)) { | |
17401 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17402 | } | |
17403 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17404 | { | |
17405 | arg2 = wxString_in_helper(obj1); | |
17406 | if (arg2 == NULL) SWIG_fail; | |
17407 | temp2 = true; | |
17408 | } | |
17409 | { | |
17410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17411 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
17412 | wxPyEndAllowThreads(__tstate); | |
17413 | if (PyErr_Occurred()) SWIG_fail; | |
17414 | } | |
17415 | { | |
17416 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17417 | } | |
17418 | { | |
17419 | if (temp2) | |
17420 | delete arg2; | |
17421 | } | |
17422 | return resultobj; | |
17423 | fail: | |
17424 | { | |
17425 | if (temp2) | |
17426 | delete arg2; | |
17427 | } | |
17428 | return NULL; | |
17429 | } | |
17430 | ||
17431 | ||
17432 | SWIGINTERN PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17433 | PyObject *resultobj = 0; | |
17434 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17435 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
17436 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
17437 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
17438 | void *argp1 = 0 ; | |
17439 | int res1 = 0 ; | |
17440 | void *argp2 = 0 ; | |
17441 | int res2 = 0 ; | |
17442 | bool temp3 = false ; | |
17443 | PyObject * obj0 = 0 ; | |
17444 | PyObject * obj1 = 0 ; | |
17445 | PyObject * obj2 = 0 ; | |
17446 | char * kwnames[] = { | |
17447 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
17448 | }; | |
17449 | ||
17450 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17451 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17452 | if (!SWIG_IsOK(res1)) { | |
17453 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17454 | } | |
17455 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17456 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
17457 | if (!SWIG_IsOK(res2)) { | |
17458 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
17459 | } | |
17460 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
17461 | if (obj2) { | |
ae8162c8 | 17462 | { |
554f62e9 RD |
17463 | arg3 = wxString_in_helper(obj2); |
17464 | if (arg3 == NULL) SWIG_fail; | |
17465 | temp3 = true; | |
ae8162c8 | 17466 | } |
554f62e9 RD |
17467 | } |
17468 | { | |
17469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17470 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
17471 | wxPyEndAllowThreads(__tstate); | |
17472 | if (PyErr_Occurred()) SWIG_fail; | |
17473 | } | |
17474 | resultobj = SWIG_Py_Void(); | |
17475 | { | |
17476 | if (temp3) | |
17477 | delete arg3; | |
17478 | } | |
17479 | return resultobj; | |
17480 | fail: | |
17481 | { | |
17482 | if (temp3) | |
17483 | delete arg3; | |
17484 | } | |
17485 | return NULL; | |
17486 | } | |
17487 | ||
17488 | ||
17489 | SWIGINTERN PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17490 | PyObject *resultobj = 0; | |
17491 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17492 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
17493 | wxString arg3 = (wxString) wxPyEmptyString ; | |
17494 | void *argp1 = 0 ; | |
17495 | int res1 = 0 ; | |
17496 | void *argp2 = 0 ; | |
17497 | int res2 = 0 ; | |
17498 | PyObject * obj0 = 0 ; | |
17499 | PyObject * obj1 = 0 ; | |
17500 | PyObject * obj2 = 0 ; | |
17501 | char * kwnames[] = { | |
17502 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
17503 | }; | |
17504 | ||
17505 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17506 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17507 | if (!SWIG_IsOK(res1)) { | |
17508 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17509 | } | |
17510 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17511 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
17512 | if (!SWIG_IsOK(res2)) { | |
17513 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
17514 | } | |
17515 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
17516 | if (obj2) { | |
ae8162c8 | 17517 | { |
554f62e9 RD |
17518 | wxString* sptr = wxString_in_helper(obj2); |
17519 | if (sptr == NULL) SWIG_fail; | |
17520 | arg3 = *sptr; | |
17521 | delete sptr; | |
8edf1c75 | 17522 | } |
554f62e9 RD |
17523 | } |
17524 | { | |
17525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17526 | (arg1)->ReadCustomization(arg2,arg3); | |
17527 | wxPyEndAllowThreads(__tstate); | |
17528 | if (PyErr_Occurred()) SWIG_fail; | |
17529 | } | |
17530 | resultobj = SWIG_Py_Void(); | |
17531 | return resultobj; | |
17532 | fail: | |
17533 | return NULL; | |
17534 | } | |
17535 | ||
17536 | ||
17537 | SWIGINTERN PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17538 | PyObject *resultobj = 0; | |
17539 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17540 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
17541 | wxString arg3 = (wxString) wxPyEmptyString ; | |
17542 | void *argp1 = 0 ; | |
17543 | int res1 = 0 ; | |
17544 | void *argp2 = 0 ; | |
17545 | int res2 = 0 ; | |
17546 | PyObject * obj0 = 0 ; | |
17547 | PyObject * obj1 = 0 ; | |
17548 | PyObject * obj2 = 0 ; | |
17549 | char * kwnames[] = { | |
17550 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
17551 | }; | |
17552 | ||
17553 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17554 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17555 | if (!SWIG_IsOK(res1)) { | |
17556 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17557 | } | |
17558 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17559 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
17560 | if (!SWIG_IsOK(res2)) { | |
17561 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
17562 | } | |
17563 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
17564 | if (obj2) { | |
d14a1e28 | 17565 | { |
554f62e9 RD |
17566 | wxString* sptr = wxString_in_helper(obj2); |
17567 | if (sptr == NULL) SWIG_fail; | |
17568 | arg3 = *sptr; | |
17569 | delete sptr; | |
d14a1e28 | 17570 | } |
554f62e9 RD |
17571 | } |
17572 | { | |
17573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17574 | (arg1)->WriteCustomization(arg2,arg3); | |
17575 | wxPyEndAllowThreads(__tstate); | |
17576 | if (PyErr_Occurred()) SWIG_fail; | |
17577 | } | |
17578 | resultobj = SWIG_Py_Void(); | |
17579 | return resultobj; | |
17580 | fail: | |
17581 | return NULL; | |
d14a1e28 RD |
17582 | } |
17583 | ||
17584 | ||
554f62e9 RD |
17585 | SWIGINTERN PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17586 | PyObject *resultobj = 0; | |
17587 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17588 | void *argp1 = 0 ; | |
17589 | int res1 = 0 ; | |
17590 | PyObject *swig_obj[1] ; | |
17591 | ||
17592 | if (!args) SWIG_fail; | |
17593 | swig_obj[0] = args; | |
17594 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17595 | if (!SWIG_IsOK(res1)) { | |
17596 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17597 | } | |
17598 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17599 | { | |
17600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17601 | (arg1)->MakeModalIfNeeded(); | |
17602 | wxPyEndAllowThreads(__tstate); | |
17603 | if (PyErr_Occurred()) SWIG_fail; | |
17604 | } | |
17605 | resultobj = SWIG_Py_Void(); | |
17606 | return resultobj; | |
17607 | fail: | |
17608 | return NULL; | |
d14a1e28 RD |
17609 | } |
17610 | ||
17611 | ||
554f62e9 RD |
17612 | SWIGINTERN PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17613 | PyObject *resultobj = 0; | |
17614 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17615 | wxWindow *result = 0 ; | |
17616 | void *argp1 = 0 ; | |
17617 | int res1 = 0 ; | |
17618 | PyObject *swig_obj[1] ; | |
17619 | ||
17620 | if (!args) SWIG_fail; | |
17621 | swig_obj[0] = args; | |
17622 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17623 | if (!SWIG_IsOK(res1)) { | |
17624 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17625 | } | |
17626 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17627 | { | |
17628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17629 | result = (wxWindow *)(arg1)->FindTopLevelWindow(); | |
17630 | wxPyEndAllowThreads(__tstate); | |
17631 | if (PyErr_Occurred()) SWIG_fail; | |
17632 | } | |
17633 | { | |
17634 | resultobj = wxPyMake_wxObject(result, 0); | |
17635 | } | |
17636 | return resultobj; | |
17637 | fail: | |
17638 | return NULL; | |
17639 | } | |
17640 | ||
17641 | ||
17642 | SWIGINTERN PyObject *HtmlHelpController_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17643 | PyObject *obj; | |
17644 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
17645 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController, SWIG_NewClientData(obj)); | |
17646 | return SWIG_Py_Void(); | |
17647 | } | |
17648 | ||
17649 | SWIGINTERN PyObject *HtmlHelpController_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17650 | return SWIG_Python_InitShadowInstance(args); | |
17651 | } | |
17652 | ||
17653 | SWIGINTERN PyObject *_wrap_new_HtmlModalHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17654 | PyObject *resultobj = 0; | |
17655 | wxWindow *arg1 = (wxWindow *) 0 ; | |
17656 | wxString *arg2 = 0 ; | |
17657 | wxString const &arg3_defvalue = wxEmptyString ; | |
17658 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
17659 | int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ; | |
17660 | wxHtmlModalHelp *result = 0 ; | |
17661 | void *argp1 = 0 ; | |
17662 | int res1 = 0 ; | |
17663 | bool temp2 = false ; | |
17664 | bool temp3 = false ; | |
17665 | int val4 ; | |
17666 | int ecode4 = 0 ; | |
17667 | PyObject * obj0 = 0 ; | |
17668 | PyObject * obj1 = 0 ; | |
17669 | PyObject * obj2 = 0 ; | |
17670 | PyObject * obj3 = 0 ; | |
17671 | char * kwnames[] = { | |
17672 | (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL | |
17673 | }; | |
17674 | ||
17675 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
17676 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
17677 | if (!SWIG_IsOK(res1)) { | |
17678 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
17679 | } | |
17680 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
17681 | { | |
17682 | arg2 = wxString_in_helper(obj1); | |
17683 | if (arg2 == NULL) SWIG_fail; | |
17684 | temp2 = true; | |
17685 | } | |
17686 | if (obj2) { | |
d14a1e28 | 17687 | { |
554f62e9 RD |
17688 | arg3 = wxString_in_helper(obj2); |
17689 | if (arg3 == NULL) SWIG_fail; | |
17690 | temp3 = true; | |
d14a1e28 | 17691 | } |
554f62e9 RD |
17692 | } |
17693 | if (obj3) { | |
17694 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
17695 | if (!SWIG_IsOK(ecode4)) { | |
17696 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'"); | |
17697 | } | |
17698 | arg4 = static_cast< int >(val4); | |
17699 | } | |
17700 | { | |
17701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17702 | result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
17703 | wxPyEndAllowThreads(__tstate); | |
17704 | if (PyErr_Occurred()) SWIG_fail; | |
17705 | } | |
17706 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlModalHelp, SWIG_POINTER_NEW | 0 ); | |
17707 | { | |
17708 | if (temp2) | |
17709 | delete arg2; | |
17710 | } | |
17711 | { | |
17712 | if (temp3) | |
17713 | delete arg3; | |
17714 | } | |
17715 | return resultobj; | |
17716 | fail: | |
17717 | { | |
17718 | if (temp2) | |
17719 | delete arg2; | |
17720 | } | |
17721 | { | |
17722 | if (temp3) | |
17723 | delete arg3; | |
17724 | } | |
17725 | return NULL; | |
d14a1e28 RD |
17726 | } |
17727 | ||
17728 | ||
554f62e9 RD |
17729 | SWIGINTERN PyObject *HtmlModalHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17730 | PyObject *obj; | |
17731 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
17732 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp, SWIG_NewClientData(obj)); | |
17733 | return SWIG_Py_Void(); | |
d14a1e28 RD |
17734 | } |
17735 | ||
554f62e9 RD |
17736 | SWIGINTERN PyObject *HtmlModalHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17737 | return SWIG_Python_InitShadowInstance(args); | |
d14a1e28 RD |
17738 | } |
17739 | ||
d14a1e28 | 17740 | static PyMethodDef SwigMethods[] = { |
093d3ff1 | 17741 | { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17742 | { (char *)"HtmlLinkInfo_GetHref", (PyCFunction)_wrap_HtmlLinkInfo_GetHref, METH_O, NULL}, |
17743 | { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction)_wrap_HtmlLinkInfo_GetTarget, METH_O, NULL}, | |
17744 | { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction)_wrap_HtmlLinkInfo_GetEvent, METH_O, NULL}, | |
17745 | { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction)_wrap_HtmlLinkInfo_GetHtmlCell, METH_O, NULL}, | |
093d3ff1 RD |
17746 | { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
17747 | { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17748 | { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL}, | |
554f62e9 RD |
17749 | { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit, METH_VARARGS, NULL}, |
17750 | { (char *)"HtmlTag_GetName", (PyCFunction)_wrap_HtmlTag_GetName, METH_O, NULL}, | |
093d3ff1 RD |
17751 | { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL}, |
17752 | { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17753 | { (char *)"HtmlTag_GetAllParams", (PyCFunction)_wrap_HtmlTag_GetAllParams, METH_O, NULL}, |
17754 | { (char *)"HtmlTag_HasEnding", (PyCFunction)_wrap_HtmlTag_HasEnding, METH_O, NULL}, | |
17755 | { (char *)"HtmlTag_GetBeginPos", (PyCFunction)_wrap_HtmlTag_GetBeginPos, METH_O, NULL}, | |
17756 | { (char *)"HtmlTag_GetEndPos1", (PyCFunction)_wrap_HtmlTag_GetEndPos1, METH_O, NULL}, | |
17757 | { (char *)"HtmlTag_GetEndPos2", (PyCFunction)_wrap_HtmlTag_GetEndPos2, METH_O, NULL}, | |
093d3ff1 RD |
17758 | { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL}, |
17759 | { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17760 | { (char *)"HtmlParser_GetFS", (PyCFunction)_wrap_HtmlParser_GetFS, METH_O, NULL}, |
093d3ff1 RD |
17761 | { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL}, |
17762 | { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17763 | { (char *)"HtmlParser_DoneParser", (PyCFunction)_wrap_HtmlParser_DoneParser, METH_O, NULL}, |
093d3ff1 | 17764 | { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17765 | { (char *)"HtmlParser_StopParsing", (PyCFunction)_wrap_HtmlParser_StopParsing, METH_O, NULL}, |
093d3ff1 | 17766 | { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17767 | { (char *)"HtmlParser_GetSource", (PyCFunction)_wrap_HtmlParser_GetSource, METH_O, NULL}, |
093d3ff1 | 17768 | { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17769 | { (char *)"HtmlParser_PopTagHandler", (PyCFunction)_wrap_HtmlParser_PopTagHandler, METH_O, NULL}, |
e9d6f3a4 | 17770 | { (char *)"HtmlParser_GetInnerSource", (PyCFunction) _wrap_HtmlParser_GetInnerSource, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
17771 | { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL}, |
17772 | { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17773 | { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17774 | { (char *)"HtmlWinParser_GetDC", (PyCFunction)_wrap_HtmlWinParser_GetDC, METH_O, NULL}, |
17775 | { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction)_wrap_HtmlWinParser_GetCharHeight, METH_O, NULL}, | |
17776 | { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction)_wrap_HtmlWinParser_GetCharWidth, METH_O, NULL}, | |
17777 | { (char *)"HtmlWinParser_GetWindow", (PyCFunction)_wrap_HtmlWinParser_GetWindow, METH_O, NULL}, | |
e9d6f3a4 | 17778 | { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction)_wrap_HtmlWinParser_GetWindowInterface, METH_O, NULL}, |
093d3ff1 RD |
17779 | { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, |
17780 | { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17781 | { (char *)"HtmlWinParser_GetContainer", (PyCFunction)_wrap_HtmlWinParser_GetContainer, METH_O, NULL}, |
17782 | { (char *)"HtmlWinParser_OpenContainer", (PyCFunction)_wrap_HtmlWinParser_OpenContainer, METH_O, NULL}, | |
093d3ff1 | 17783 | { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17784 | { (char *)"HtmlWinParser_CloseContainer", (PyCFunction)_wrap_HtmlWinParser_CloseContainer, METH_O, NULL}, |
17785 | { (char *)"HtmlWinParser_GetFontSize", (PyCFunction)_wrap_HtmlWinParser_GetFontSize, METH_O, NULL}, | |
093d3ff1 | 17786 | { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17787 | { (char *)"HtmlWinParser_GetFontBold", (PyCFunction)_wrap_HtmlWinParser_GetFontBold, METH_O, NULL}, |
093d3ff1 | 17788 | { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17789 | { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction)_wrap_HtmlWinParser_GetFontItalic, METH_O, NULL}, |
093d3ff1 | 17790 | { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17791 | { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction)_wrap_HtmlWinParser_GetFontUnderlined, METH_O, NULL}, |
093d3ff1 | 17792 | { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17793 | { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction)_wrap_HtmlWinParser_GetFontFixed, METH_O, NULL}, |
093d3ff1 | 17794 | { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17795 | { (char *)"HtmlWinParser_GetAlign", (PyCFunction)_wrap_HtmlWinParser_GetAlign, METH_O, NULL}, |
093d3ff1 | 17796 | { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17797 | { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction)_wrap_HtmlWinParser_GetLinkColor, METH_O, NULL}, |
093d3ff1 | 17798 | { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17799 | { (char *)"HtmlWinParser_GetActualColor", (PyCFunction)_wrap_HtmlWinParser_GetActualColor, METH_O, NULL}, |
093d3ff1 RD |
17800 | { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL}, |
17801 | { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17802 | { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction)_wrap_HtmlWinParser_CreateCurrentFont, METH_O, NULL}, |
17803 | { (char *)"HtmlWinParser_GetLink", (PyCFunction)_wrap_HtmlWinParser_GetLink, METH_O, NULL}, | |
093d3ff1 | 17804 | { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL}, |
554f62e9 RD |
17805 | { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit, METH_VARARGS, NULL}, |
17806 | { (char *)"new_HtmlTagHandler", (PyCFunction)_wrap_new_HtmlTagHandler, METH_NOARGS, NULL}, | |
093d3ff1 RD |
17807 | { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
17808 | { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17809 | { (char *)"HtmlTagHandler_GetParser", (PyCFunction)_wrap_HtmlTagHandler_GetParser, METH_O, NULL}, |
093d3ff1 RD |
17810 | { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL}, |
17811 | { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL}, | |
554f62e9 RD |
17812 | { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit, METH_VARARGS, NULL}, |
17813 | { (char *)"new_HtmlWinTagHandler", (PyCFunction)_wrap_new_HtmlWinTagHandler, METH_NOARGS, NULL}, | |
093d3ff1 RD |
17814 | { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
17815 | { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17816 | { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction)_wrap_HtmlWinTagHandler_GetParser, METH_O, NULL}, |
093d3ff1 RD |
17817 | { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL}, |
17818 | { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17819 | { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 17820 | { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17821 | { (char *)"new_HtmlSelection", (PyCFunction)_wrap_new_HtmlSelection, METH_NOARGS, NULL}, |
17822 | { (char *)"delete_HtmlSelection", (PyCFunction)_wrap_delete_HtmlSelection, METH_O, NULL}, | |
093d3ff1 RD |
17823 | { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL}, |
17824 | { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17825 | { (char *)"HtmlSelection_GetFromCell", (PyCFunction)_wrap_HtmlSelection_GetFromCell, METH_O, NULL}, |
17826 | { (char *)"HtmlSelection_GetToCell", (PyCFunction)_wrap_HtmlSelection_GetToCell, METH_O, NULL}, | |
17827 | { (char *)"HtmlSelection_GetFromPos", (PyCFunction)_wrap_HtmlSelection_GetFromPos, METH_O, NULL}, | |
17828 | { (char *)"HtmlSelection_GetToPos", (PyCFunction)_wrap_HtmlSelection_GetToPos, METH_O, NULL}, | |
17829 | { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction)_wrap_HtmlSelection_GetFromPrivPos, METH_O, NULL}, | |
17830 | { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction)_wrap_HtmlSelection_GetToPrivPos, METH_O, NULL}, | |
093d3ff1 RD |
17831 | { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL}, |
17832 | { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17833 | { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction)_wrap_HtmlSelection_ClearPrivPos, METH_O, NULL}, |
17834 | { (char *)"HtmlSelection_IsEmpty", (PyCFunction)_wrap_HtmlSelection_IsEmpty, METH_O, NULL}, | |
093d3ff1 | 17835 | { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL}, |
554f62e9 RD |
17836 | { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit, METH_VARARGS, NULL}, |
17837 | { (char *)"new_HtmlRenderingState", (PyCFunction)_wrap_new_HtmlRenderingState, METH_NOARGS, NULL}, | |
17838 | { (char *)"delete_HtmlRenderingState", (PyCFunction)_wrap_delete_HtmlRenderingState, METH_O, NULL}, | |
093d3ff1 | 17839 | { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17840 | { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction)_wrap_HtmlRenderingState_GetSelectionState, METH_O, NULL}, |
093d3ff1 | 17841 | { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17842 | { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction)_wrap_HtmlRenderingState_GetFgColour, METH_O, NULL}, |
093d3ff1 | 17843 | { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17844 | { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction)_wrap_HtmlRenderingState_GetBgColour, METH_O, NULL}, |
093d3ff1 | 17845 | { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17846 | { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17847 | { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
17848 | { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17849 | { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL}, | |
093d3ff1 | 17850 | { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL}, |
554f62e9 RD |
17851 | { (char *)"new_HtmlRenderingInfo", (PyCFunction)_wrap_new_HtmlRenderingInfo, METH_NOARGS, NULL}, |
17852 | { (char *)"delete_HtmlRenderingInfo", (PyCFunction)_wrap_delete_HtmlRenderingInfo, METH_O, NULL}, | |
093d3ff1 | 17853 | { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17854 | { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction)_wrap_HtmlRenderingInfo_GetSelection, METH_O, NULL}, |
093d3ff1 | 17855 | { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17856 | { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction)_wrap_HtmlRenderingInfo_GetStyle, METH_O, NULL}, |
17857 | { (char *)"HtmlRenderingInfo_GetState", (PyCFunction)_wrap_HtmlRenderingInfo_GetState, METH_O, NULL}, | |
093d3ff1 | 17858 | { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL}, |
554f62e9 RD |
17859 | { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit, METH_VARARGS, NULL}, |
17860 | { (char *)"new_HtmlCell", (PyCFunction)_wrap_new_HtmlCell, METH_NOARGS, NULL}, | |
17861 | { (char *)"delete_HtmlCell", (PyCFunction)_wrap_delete_HtmlCell, METH_O, NULL}, | |
17862 | { (char *)"HtmlCell_GetPosX", (PyCFunction)_wrap_HtmlCell_GetPosX, METH_O, NULL}, | |
17863 | { (char *)"HtmlCell_GetPosY", (PyCFunction)_wrap_HtmlCell_GetPosY, METH_O, NULL}, | |
17864 | { (char *)"HtmlCell_GetWidth", (PyCFunction)_wrap_HtmlCell_GetWidth, METH_O, NULL}, | |
17865 | { (char *)"HtmlCell_GetHeight", (PyCFunction)_wrap_HtmlCell_GetHeight, METH_O, NULL}, | |
17866 | { (char *)"HtmlCell_GetDescent", (PyCFunction)_wrap_HtmlCell_GetDescent, METH_O, NULL}, | |
17867 | { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction)_wrap_HtmlCell_GetMaxTotalWidth, METH_O, NULL}, | |
17868 | { (char *)"HtmlCell_GetId", (PyCFunction)_wrap_HtmlCell_GetId, METH_O, NULL}, | |
093d3ff1 RD |
17869 | { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL}, |
17870 | { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17871 | { (char *)"HtmlCell_GetNext", (PyCFunction)_wrap_HtmlCell_GetNext, METH_O, NULL}, |
17872 | { (char *)"HtmlCell_GetParent", (PyCFunction)_wrap_HtmlCell_GetParent, METH_O, NULL}, | |
17873 | { (char *)"HtmlCell_GetFirstChild", (PyCFunction)_wrap_HtmlCell_GetFirstChild, METH_O, NULL}, | |
e9d6f3a4 | 17874 | { (char *)"HtmlCell_GetMouseCursor", (PyCFunction) _wrap_HtmlCell_GetMouseCursor, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17875 | { (char *)"HtmlCell_GetCursor", (PyCFunction)_wrap_HtmlCell_GetCursor, METH_O, NULL}, |
17876 | { (char *)"HtmlCell_IsFormattingCell", (PyCFunction)_wrap_HtmlCell_IsFormattingCell, METH_O, NULL}, | |
093d3ff1 RD |
17877 | { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL}, |
17878 | { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17879 | { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17880 | { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17881 | { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17882 | { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17883 | { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17884 | { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL}, | |
e9d6f3a4 | 17885 | { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction) _wrap_HtmlCell_ProcessMouseClick, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 17886 | { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17887 | { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlCell_IsLinebreakAllowed, METH_O, NULL}, |
17888 | { (char *)"HtmlCell_IsTerminalCell", (PyCFunction)_wrap_HtmlCell_IsTerminalCell, METH_O, NULL}, | |
093d3ff1 | 17889 | { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL}, |
e9d6f3a4 RD |
17890 | { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL}, |
17891 | { (char *)"HtmlCell_GetRootCell", (PyCFunction)_wrap_HtmlCell_GetRootCell, METH_O, NULL}, | |
554f62e9 RD |
17892 | { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction)_wrap_HtmlCell_GetFirstTerminal, METH_O, NULL}, |
17893 | { (char *)"HtmlCell_GetLastTerminal", (PyCFunction)_wrap_HtmlCell_GetLastTerminal, METH_O, NULL}, | |
17894 | { (char *)"HtmlCell_GetDepth", (PyCFunction)_wrap_HtmlCell_GetDepth, METH_O, NULL}, | |
093d3ff1 RD |
17895 | { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL}, |
17896 | { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17897 | { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17898 | { (char *)"HtmlCell_swiginit", HtmlCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 17899 | { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
b1fcee84 | 17900 | { (char *)"HtmlWordCell_ConvertToText", (PyCFunction) _wrap_HtmlWordCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17901 | { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlWordCell_IsLinebreakAllowed, METH_O, NULL}, |
b1fcee84 | 17902 | { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction) _wrap_HtmlWordCell_SetPreviousWord, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 17903 | { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17904 | { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17905 | { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17906 | { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17907 | { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17908 | { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction)_wrap_HtmlContainerCell_GetAlignHor, METH_O, NULL}, |
093d3ff1 | 17909 | { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17910 | { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction)_wrap_HtmlContainerCell_GetAlignVer, METH_O, NULL}, |
093d3ff1 RD |
17911 | { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, |
17912 | { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17913 | { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17914 | { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17915 | { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17916 | { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17917 | { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17918 | { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17919 | { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction)_wrap_HtmlContainerCell_GetBackgroundColour, METH_O, NULL}, |
093d3ff1 | 17920 | { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17921 | { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction)_wrap_HtmlContainerCell_GetFirstChild, METH_O, NULL}, |
093d3ff1 | 17922 | { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17923 | { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17924 | { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17925 | { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17926 | { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17927 | { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17928 | { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17929 | { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17930 | { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17931 | { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL}, | |
554f62e9 RD |
17932 | { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit, METH_VARARGS, NULL}, |
17933 | { (char *)"new_HtmlFilter", (PyCFunction)_wrap_new_HtmlFilter, METH_NOARGS, NULL}, | |
093d3ff1 RD |
17934 | { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
17935 | { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17936 | { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit, METH_VARARGS, NULL}, |
e9d6f3a4 RD |
17937 | { (char *)"delete_HtmlWindowInterface", (PyCFunction)_wrap_delete_HtmlWindowInterface, METH_O, NULL}, |
17938 | { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLWindowTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17939 | { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction) _wrap_HtmlWindowInterface_HTMLCoordsToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17940 | { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLWindow, METH_O, NULL}, | |
17941 | { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour, METH_O, NULL}, | |
17942 | { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17943 | { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17944 | { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17945 | { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister, METH_VARARGS, NULL}, | |
093d3ff1 | 17946 | { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17947 | { (char *)"new_PreHtmlWindow", (PyCFunction)_wrap_new_PreHtmlWindow, METH_NOARGS, NULL}, |
093d3ff1 RD |
17948 | { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, |
17949 | { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17950 | { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17951 | { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17952 | { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17953 | { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17954 | { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction)_wrap_HtmlWindow_GetOpenedPage, METH_O, NULL}, |
17955 | { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction)_wrap_HtmlWindow_GetOpenedAnchor, METH_O, NULL}, | |
17956 | { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction)_wrap_HtmlWindow_GetOpenedPageTitle, METH_O, NULL}, | |
093d3ff1 | 17957 | { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17958 | { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction)_wrap_HtmlWindow_GetRelatedFrame, METH_O, NULL}, |
093d3ff1 RD |
17959 | { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, |
17960 | { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17961 | { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 | 17962 | { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL}, |
53aa7709 | 17963 | { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
17964 | { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, |
17965 | { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17966 | { (char *)"HtmlWindow_HistoryBack", (PyCFunction)_wrap_HtmlWindow_HistoryBack, METH_O, NULL}, |
17967 | { (char *)"HtmlWindow_HistoryForward", (PyCFunction)_wrap_HtmlWindow_HistoryForward, METH_O, NULL}, | |
17968 | { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction)_wrap_HtmlWindow_HistoryCanBack, METH_O, NULL}, | |
17969 | { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction)_wrap_HtmlWindow_HistoryCanForward, METH_O, NULL}, | |
17970 | { (char *)"HtmlWindow_HistoryClear", (PyCFunction)_wrap_HtmlWindow_HistoryClear, METH_O, NULL}, | |
17971 | { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction)_wrap_HtmlWindow_GetInternalRepresentation, METH_O, NULL}, | |
17972 | { (char *)"HtmlWindow_GetParser", (PyCFunction)_wrap_HtmlWindow_GetParser, METH_O, NULL}, | |
093d3ff1 RD |
17973 | { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, |
17974 | { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17975 | { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17976 | { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17977 | { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17978 | { (char *)"HtmlWindow_SelectAll", (PyCFunction)_wrap_HtmlWindow_SelectAll, METH_O, NULL}, |
17979 | { (char *)"HtmlWindow_SelectionToText", (PyCFunction)_wrap_HtmlWindow_SelectionToText, METH_O, NULL}, | |
17980 | { (char *)"HtmlWindow_ToText", (PyCFunction)_wrap_HtmlWindow_ToText, METH_O, NULL}, | |
b06b3e70 RD |
17981 | { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL}, |
17982 | { (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17983 | { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17984 | { (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL}, | |
e9d6f3a4 | 17985 | { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction) _wrap_HtmlWindow_OnOpeningURL, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 17986 | { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, |
e9d6f3a4 | 17987 | { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction) _wrap_HtmlWindow_GetDefaultHTMLCursor, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 17988 | { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL}, |
554f62e9 RD |
17989 | { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit, METH_VARARGS, NULL}, |
17990 | { (char *)"new_HtmlDCRenderer", (PyCFunction)_wrap_new_HtmlDCRenderer, METH_NOARGS, NULL}, | |
17991 | { (char *)"delete_HtmlDCRenderer", (PyCFunction)_wrap_delete_HtmlDCRenderer, METH_O, NULL}, | |
093d3ff1 RD |
17992 | { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, |
17993 | { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17994 | { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17995 | { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17996 | { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17997 | { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17998 | { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction)_wrap_HtmlDCRenderer_GetTotalHeight, METH_O, NULL}, |
093d3ff1 | 17999 | { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 18000 | { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
18001 | { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, |
18002 | { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18003 | { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18004 | { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18005 | { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18006 | { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18007 | { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18008 | { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18009 | { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 18010 | { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction)_wrap_HtmlPrintout_CleanUpStatics, METH_NOARGS, NULL}, |
093d3ff1 | 18011 | { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 18012 | { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 18013 | { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 18014 | { (char *)"delete_HtmlEasyPrinting", (PyCFunction)_wrap_delete_HtmlEasyPrinting, METH_O, NULL}, |
093d3ff1 RD |
18015 | { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL}, |
18016 | { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18017 | { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18018 | { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 18019 | { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction)_wrap_HtmlEasyPrinting_PageSetup, METH_O, NULL}, |
093d3ff1 RD |
18020 | { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL}, |
18021 | { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18022 | { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18023 | { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
18024 | { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPrintData, METH_O, NULL}, |
18025 | { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPageSetupData, METH_O, NULL}, | |
093d3ff1 | 18026 | { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 18027 | { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 18028 | { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
18029 | { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction)_wrap_HtmlBookRecord_GetBookFile, METH_O, NULL}, |
18030 | { (char *)"HtmlBookRecord_GetTitle", (PyCFunction)_wrap_HtmlBookRecord_GetTitle, METH_O, NULL}, | |
18031 | { (char *)"HtmlBookRecord_GetStart", (PyCFunction)_wrap_HtmlBookRecord_GetStart, METH_O, NULL}, | |
18032 | { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction)_wrap_HtmlBookRecord_GetBasePath, METH_O, NULL}, | |
093d3ff1 | 18033 | { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
18034 | { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction)_wrap_HtmlBookRecord_GetContentsStart, METH_O, NULL}, |
18035 | { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction)_wrap_HtmlBookRecord_GetContentsEnd, METH_O, NULL}, | |
093d3ff1 RD |
18036 | { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, |
18037 | { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18038 | { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18039 | { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18040 | { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL}, | |
554f62e9 RD |
18041 | { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit, METH_VARARGS, NULL}, |
18042 | { (char *)"HtmlSearchStatus_Search", (PyCFunction)_wrap_HtmlSearchStatus_Search, METH_O, NULL}, | |
18043 | { (char *)"HtmlSearchStatus_IsActive", (PyCFunction)_wrap_HtmlSearchStatus_IsActive, METH_O, NULL}, | |
18044 | { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetCurIndex, METH_O, NULL}, | |
18045 | { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetMaxIndex, METH_O, NULL}, | |
18046 | { (char *)"HtmlSearchStatus_GetName", (PyCFunction)_wrap_HtmlSearchStatus_GetName, METH_O, NULL}, | |
093d3ff1 | 18047 | { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL}, |
554f62e9 RD |
18048 | { (char *)"new_HtmlHelpData", (PyCFunction)_wrap_new_HtmlHelpData, METH_NOARGS, NULL}, |
18049 | { (char *)"delete_HtmlHelpData", (PyCFunction)_wrap_delete_HtmlHelpData, METH_O, NULL}, | |
093d3ff1 RD |
18050 | { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL}, |
18051 | { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18052 | { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18053 | { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 18054 | { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction)_wrap_HtmlHelpData_GetBookRecArray, METH_O, NULL}, |
093d3ff1 | 18055 | { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 18056 | { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit, METH_VARARGS, NULL}, |
7449af73 RD |
18057 | { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
18058 | { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18059 | { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
18060 | { (char *)"HtmlHelpWindow_GetData", (PyCFunction)_wrap_HtmlHelpWindow_GetData, METH_O, NULL}, |
18061 | { (char *)"HtmlHelpWindow_GetController", (PyCFunction)_wrap_HtmlHelpWindow_GetController, METH_O, NULL}, | |
7449af73 RD |
18062 | { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, |
18063 | { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18064 | { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
18065 | { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction)_wrap_HtmlHelpWindow_DisplayContents, METH_O, NULL}, |
18066 | { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction)_wrap_HtmlHelpWindow_DisplayIndex, METH_O, NULL}, | |
7449af73 RD |
18067 | { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, |
18068 | { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18069 | { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18070 | { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
18071 | { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction)_wrap_HtmlHelpWindow_NotifyPageChanged, METH_O, NULL}, |
18072 | { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction)_wrap_HtmlHelpWindow_RefreshLists, METH_O, NULL}, | |
18073 | { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetHtmlWindow, METH_O, NULL}, | |
18074 | { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetSplitterWindow, METH_O, NULL}, | |
18075 | { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction)_wrap_HtmlHelpWindow_GetToolBar, METH_O, NULL}, | |
18076 | { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction)_wrap_HtmlHelpWindow_GetCfgData, METH_O, NULL}, | |
18077 | { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction)_wrap_HtmlHelpWindow_GetTreeCtrl, METH_O, NULL}, | |
7449af73 | 18078 | { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 18079 | { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit, METH_VARARGS, NULL}, |
8f514ab4 RD |
18080 | { (char *)"new_HtmlCellEvent", (PyCFunction) _wrap_new_HtmlCellEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
18081 | { (char *)"HtmlCellEvent_GetCell", (PyCFunction)_wrap_HtmlCellEvent_GetCell, METH_O, NULL}, | |
18082 | { (char *)"HtmlCellEvent_GetPoint", (PyCFunction)_wrap_HtmlCellEvent_GetPoint, METH_O, NULL}, | |
18083 | { (char *)"HtmlCellEvent_GetMouseEvent", (PyCFunction)_wrap_HtmlCellEvent_GetMouseEvent, METH_O, NULL}, | |
18084 | { (char *)"HtmlCellEvent_SetLinkClicked", (PyCFunction) _wrap_HtmlCellEvent_SetLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18085 | { (char *)"HtmlCellEvent_GetLinkClicked", (PyCFunction)_wrap_HtmlCellEvent_GetLinkClicked, METH_O, NULL}, | |
18086 | { (char *)"HtmlCellEvent_swigregister", HtmlCellEvent_swigregister, METH_VARARGS, NULL}, | |
18087 | { (char *)"HtmlCellEvent_swiginit", HtmlCellEvent_swiginit, METH_VARARGS, NULL}, | |
18088 | { (char *)"new_HtmlLinkEvent", (PyCFunction) _wrap_new_HtmlLinkEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18089 | { (char *)"HtmlLinkEvent_GetLinkInfo", (PyCFunction)_wrap_HtmlLinkEvent_GetLinkInfo, METH_O, NULL}, | |
18090 | { (char *)"HtmlLinkEvent_swigregister", HtmlLinkEvent_swigregister, METH_VARARGS, NULL}, | |
18091 | { (char *)"HtmlLinkEvent_swiginit", HtmlLinkEvent_swiginit, METH_VARARGS, NULL}, | |
093d3ff1 | 18092 | { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
7449af73 RD |
18093 | { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
18094 | { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 18095 | { (char *)"HtmlHelpFrame_GetData", (PyCFunction)_wrap_HtmlHelpFrame_GetData, METH_O, NULL}, |
093d3ff1 | 18096 | { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
18097 | { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction)_wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_O, NULL}, |
18098 | { (char *)"HtmlHelpFrame_GetController", (PyCFunction)_wrap_HtmlHelpFrame_GetController, METH_O, NULL}, | |
7449af73 | 18099 | { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 18100 | { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpFrame_GetHelpWindow, METH_O, NULL}, |
093d3ff1 | 18101 | { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 18102 | { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit, METH_VARARGS, NULL}, |
7449af73 RD |
18103 | { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL}, |
18104 | { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18105 | { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
18106 | { (char *)"HtmlHelpDialog_GetData", (PyCFunction)_wrap_HtmlHelpDialog_GetData, METH_O, NULL}, |
18107 | { (char *)"HtmlHelpDialog_GetController", (PyCFunction)_wrap_HtmlHelpDialog_GetController, METH_O, NULL}, | |
7449af73 | 18108 | { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 18109 | { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpDialog_GetHelpWindow, METH_O, NULL}, |
7449af73 RD |
18110 | { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, |
18111 | { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 18112 | { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit, METH_VARARGS, NULL}, |
7449af73 RD |
18113 | { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL}, |
18114 | { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18115 | { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 18116 | { (char *)"HelpControllerBase_DisplayContents", (PyCFunction)_wrap_HelpControllerBase_DisplayContents, METH_O, NULL}, |
7449af73 RD |
18117 | { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL}, |
18118 | { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18119 | { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL}, | |
18120 | { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18121 | { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18122 | { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18123 | { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
18124 | { (char *)"HelpControllerBase_Quit", (PyCFunction)_wrap_HelpControllerBase_Quit, METH_O, NULL}, |
18125 | { (char *)"HelpControllerBase_OnQuit", (PyCFunction)_wrap_HelpControllerBase_OnQuit, METH_O, NULL}, | |
7449af73 | 18126 | { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 18127 | { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction)_wrap_HelpControllerBase_GetParentWindow, METH_O, NULL}, |
7449af73 | 18128 | { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL}, |
093d3ff1 | 18129 | { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
18130 | { (char *)"delete_HtmlHelpController", (PyCFunction)_wrap_delete_HtmlHelpController, METH_O, NULL}, |
18131 | { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpController_GetHelpWindow, METH_O, NULL}, | |
7449af73 | 18132 | { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
18133 | { (char *)"HtmlHelpController_GetFrame", (PyCFunction)_wrap_HtmlHelpController_GetFrame, METH_O, NULL}, |
18134 | { (char *)"HtmlHelpController_GetDialog", (PyCFunction)_wrap_HtmlHelpController_GetDialog, METH_O, NULL}, | |
093d3ff1 RD |
18135 | { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, |
18136 | { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18137 | { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18138 | { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18139 | { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
18140 | { (char *)"HtmlHelpController_DisplayContents", (PyCFunction)_wrap_HtmlHelpController_DisplayContents, METH_O, NULL}, |
18141 | { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction)_wrap_HtmlHelpController_DisplayIndex, METH_O, NULL}, | |
093d3ff1 RD |
18142 | { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, |
18143 | { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18144 | { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18145 | { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
18146 | { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction)_wrap_HtmlHelpController_MakeModalIfNeeded, METH_O, NULL}, |
18147 | { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction)_wrap_HtmlHelpController_FindTopLevelWindow, METH_O, NULL}, | |
093d3ff1 | 18148 | { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 18149 | { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit, METH_VARARGS, NULL}, |
7449af73 RD |
18150 | { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL}, |
18151 | { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 18152 | { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit, METH_VARARGS, NULL}, |
c32bde28 | 18153 | { NULL, NULL, 0, NULL } |
d14a1e28 RD |
18154 | }; |
18155 | ||
18156 | ||
18157 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
18158 | ||
18159 | static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) { | |
18160 | return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x)); | |
18161 | } | |
7449af73 RD |
18162 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
18163 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
d14a1e28 | 18164 | } |
7449af73 RD |
18165 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { |
18166 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
d14a1e28 | 18167 | } |
7449af73 RD |
18168 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { |
18169 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
a2482628 | 18170 | } |
7449af73 RD |
18171 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { |
18172 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
d14a1e28 | 18173 | } |
7449af73 RD |
18174 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { |
18175 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
d14a1e28 | 18176 | } |
7449af73 RD |
18177 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { |
18178 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
d14a1e28 | 18179 | } |
7449af73 RD |
18180 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { |
18181 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
d14a1e28 | 18182 | } |
7449af73 RD |
18183 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { |
18184 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
d14a1e28 | 18185 | } |
7449af73 RD |
18186 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { |
18187 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
d14a1e28 | 18188 | } |
7449af73 RD |
18189 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { |
18190 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
18191 | } | |
8f514ab4 RD |
18192 | static void *_p_wxHtmlCellEventTo_p_wxEvent(void *x) { |
18193 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxHtmlCellEvent *) x)); | |
18194 | } | |
7449af73 RD |
18195 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { |
18196 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
18197 | } | |
0f83f5da RD |
18198 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
18199 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
18200 | } | |
2131d850 RD |
18201 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
18202 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
18203 | } | |
7449af73 RD |
18204 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { |
18205 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
18206 | } | |
18207 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
18208 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
18209 | } | |
18210 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
18211 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
18212 | } | |
18213 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
18214 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
18215 | } | |
18216 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
18217 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
18218 | } | |
18219 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
18220 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
18221 | } | |
18222 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
18223 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
18224 | } | |
18225 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
18226 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
18227 | } | |
18228 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
18229 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
18230 | } | |
18231 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
18232 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
18233 | } | |
18234 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
18235 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
18236 | } | |
18237 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
18238 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
18239 | } | |
0f83f5da RD |
18240 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
18241 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
18242 | } | |
7449af73 RD |
18243 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
18244 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
18245 | } | |
18246 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
18247 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
18248 | } | |
18249 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
18250 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
18251 | } | |
18252 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
18253 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
18254 | } | |
18255 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
18256 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
18257 | } | |
8f514ab4 RD |
18258 | static void *_p_wxHtmlLinkEventTo_p_wxEvent(void *x) { |
18259 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxHtmlLinkEvent *) x)); | |
18260 | } | |
7449af73 RD |
18261 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { |
18262 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
18263 | } | |
18264 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
18265 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
18266 | } | |
18267 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
18268 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
18269 | } | |
18270 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
18271 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
18272 | } | |
18273 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
18274 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
18275 | } | |
18276 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
18277 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
18278 | } | |
7449af73 RD |
18279 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { |
18280 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
18281 | } | |
18282 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
18283 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
18284 | } | |
18285 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
18286 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
18287 | } | |
18288 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
18289 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
18290 | } | |
18291 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
18292 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
18293 | } | |
18294 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
18295 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
18296 | } | |
18297 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
18298 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
18299 | } | |
18300 | static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) { | |
18301 | return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
18302 | } | |
18303 | static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) { | |
18304 | return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
18305 | } | |
18306 | static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) { | |
18307 | return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
18308 | } | |
18309 | static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) { | |
18310 | return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
18311 | } | |
18312 | static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) { | |
18313 | return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
18314 | } | |
7449af73 RD |
18315 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { |
18316 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
18317 | } | |
18318 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
18319 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
18320 | } | |
18321 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
18322 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
18323 | } | |
18324 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
18325 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
18326 | } | |
18327 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
18328 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
18329 | } | |
18330 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
18331 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
18332 | } | |
18333 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
18334 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
18335 | } | |
18336 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { | |
18337 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
18338 | } | |
18339 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
18340 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
18341 | } | |
18342 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
18343 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
18344 | } | |
18345 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
18346 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
18347 | } | |
18348 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
18349 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
18350 | } | |
27e45892 RD |
18351 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { |
18352 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
18353 | } | |
7449af73 RD |
18354 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { |
18355 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
18356 | } | |
18357 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
18358 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
18359 | } | |
18360 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
18361 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
18362 | } | |
18363 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
18364 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
18365 | } | |
18366 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
18367 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
18368 | } | |
18369 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
18370 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
18371 | } | |
18372 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
18373 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
18374 | } | |
18375 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
18376 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
18377 | } | |
18378 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
18379 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
18380 | } | |
18381 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
18382 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
d14a1e28 | 18383 | } |
7449af73 RD |
18384 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { |
18385 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
a2482628 | 18386 | } |
7449af73 RD |
18387 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { |
18388 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
d14a1e28 | 18389 | } |
7449af73 RD |
18390 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { |
18391 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
d14a1e28 | 18392 | } |
7449af73 RD |
18393 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { |
18394 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
d14a1e28 | 18395 | } |
7449af73 RD |
18396 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { |
18397 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 18398 | } |
7449af73 RD |
18399 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { |
18400 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
d14a1e28 | 18401 | } |
7449af73 RD |
18402 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { |
18403 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
d14a1e28 | 18404 | } |
7449af73 RD |
18405 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { |
18406 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 18407 | } |
7449af73 RD |
18408 | static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) { |
18409 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 18410 | } |
7449af73 RD |
18411 | static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) { |
18412 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x)); | |
d14a1e28 | 18413 | } |
7449af73 RD |
18414 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { |
18415 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
c1cb24a4 | 18416 | } |
7449af73 RD |
18417 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { |
18418 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 18419 | } |
7449af73 RD |
18420 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { |
18421 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 18422 | } |
7449af73 RD |
18423 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { |
18424 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 18425 | } |
7449af73 RD |
18426 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { |
18427 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
d14a1e28 | 18428 | } |
7449af73 RD |
18429 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { |
18430 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
d14a1e28 | 18431 | } |
7449af73 RD |
18432 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { |
18433 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
d14a1e28 | 18434 | } |
7449af73 RD |
18435 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { |
18436 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 18437 | } |
7449af73 RD |
18438 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { |
18439 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 18440 | } |
7449af73 RD |
18441 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { |
18442 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 18443 | } |
7449af73 RD |
18444 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { |
18445 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
d14a1e28 | 18446 | } |
7449af73 RD |
18447 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { |
18448 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
d14a1e28 | 18449 | } |
7449af73 RD |
18450 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { |
18451 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d14a1e28 | 18452 | } |
7449af73 RD |
18453 | static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) { |
18454 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 18455 | } |
7449af73 RD |
18456 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { |
18457 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 | 18458 | } |
7449af73 RD |
18459 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { |
18460 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 18461 | } |
7449af73 RD |
18462 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { |
18463 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 18464 | } |
7449af73 RD |
18465 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { |
18466 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
c1cb24a4 | 18467 | } |
7449af73 RD |
18468 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { |
18469 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
a2482628 | 18470 | } |
7449af73 RD |
18471 | static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) { |
18472 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 18473 | } |
7449af73 RD |
18474 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
18475 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 18476 | } |
7449af73 RD |
18477 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) { |
18478 | return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
d14a1e28 | 18479 | } |
7449af73 RD |
18480 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { |
18481 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 18482 | } |
7449af73 RD |
18483 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { |
18484 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
d14a1e28 | 18485 | } |
7449af73 RD |
18486 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { |
18487 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 18488 | } |
7449af73 RD |
18489 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { |
18490 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 18491 | } |
7449af73 RD |
18492 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { |
18493 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 18494 | } |
7449af73 RD |
18495 | static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) { |
18496 | return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 18497 | } |
7449af73 RD |
18498 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { |
18499 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 18500 | } |
7449af73 RD |
18501 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { |
18502 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 18503 | } |
7449af73 RD |
18504 | static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) { |
18505 | return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
d14a1e28 | 18506 | } |
7449af73 RD |
18507 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { |
18508 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
d14a1e28 | 18509 | } |
7449af73 RD |
18510 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { |
18511 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 18512 | } |
7449af73 RD |
18513 | static void *_p_wxEventTo_p_wxObject(void *x) { |
18514 | return (void *)((wxObject *) ((wxEvent *) x)); | |
d14a1e28 | 18515 | } |
7449af73 RD |
18516 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { |
18517 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
d14a1e28 | 18518 | } |
7449af73 RD |
18519 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { |
18520 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
d14a1e28 | 18521 | } |
7449af73 RD |
18522 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { |
18523 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
c1cb24a4 | 18524 | } |
7449af73 RD |
18525 | static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) { |
18526 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
d14a1e28 | 18527 | } |
7449af73 RD |
18528 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { |
18529 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 18530 | } |
7449af73 RD |
18531 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { |
18532 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 18533 | } |
7449af73 RD |
18534 | static void *_p_wxHtmlTagTo_p_wxObject(void *x) { |
18535 | return (void *)((wxObject *) ((wxHtmlTag *) x)); | |
d14a1e28 | 18536 | } |
7449af73 RD |
18537 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { |
18538 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
c1cb24a4 | 18539 | } |
7449af73 RD |
18540 | static void *_p_wxImageTo_p_wxObject(void *x) { |
18541 | return (void *)((wxObject *) ((wxImage *) x)); | |
d14a1e28 | 18542 | } |
7449af73 RD |
18543 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
18544 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
d14a1e28 | 18545 | } |
7449af73 RD |
18546 | static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) { |
18547 | return (void *)((wxObject *) ((wxPyHtmlFilter *) x)); | |
2f91e3df | 18548 | } |
7449af73 RD |
18549 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
18550 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
2f91e3df | 18551 | } |
7449af73 RD |
18552 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { |
18553 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
2f91e3df | 18554 | } |
7449af73 RD |
18555 | static void *_p_wxPyAppTo_p_wxObject(void *x) { |
18556 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
2f91e3df | 18557 | } |
7449af73 RD |
18558 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { |
18559 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
2f91e3df | 18560 | } |
7449af73 RD |
18561 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { |
18562 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
2f91e3df | 18563 | } |
7449af73 RD |
18564 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { |
18565 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
2f91e3df | 18566 | } |
7449af73 RD |
18567 | static void *_p_wxValidatorTo_p_wxObject(void *x) { |
18568 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
2f91e3df | 18569 | } |
7449af73 RD |
18570 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { |
18571 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
2f91e3df | 18572 | } |
7449af73 RD |
18573 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { |
18574 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
2f91e3df | 18575 | } |
7449af73 RD |
18576 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { |
18577 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
2f91e3df | 18578 | } |
7449af73 RD |
18579 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { |
18580 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
2f91e3df | 18581 | } |
7449af73 RD |
18582 | static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) { |
18583 | return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x)); | |
2f91e3df | 18584 | } |
7449af73 RD |
18585 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
18586 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
2f91e3df | 18587 | } |
580080c5 RD |
18588 | static void *_p_wxHtmlCellEventTo_p_wxObject(void *x) { |
18589 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHtmlCellEvent *) x)); | |
18590 | } | |
7449af73 RD |
18591 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { |
18592 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
d14a1e28 | 18593 | } |
7449af73 RD |
18594 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { |
18595 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
d14a1e28 | 18596 | } |
7449af73 RD |
18597 | static void *_p_wxPrinterTo_p_wxObject(void *x) { |
18598 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
d14a1e28 | 18599 | } |
7449af73 RD |
18600 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { |
18601 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
d14a1e28 | 18602 | } |
7449af73 RD |
18603 | static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) { |
18604 | return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
d14a1e28 | 18605 | } |
7449af73 RD |
18606 | static void *_p_wxHtmlParserTo_p_wxObject(void *x) { |
18607 | return (void *)((wxObject *) ((wxHtmlParser *) x)); | |
d14a1e28 | 18608 | } |
7449af73 RD |
18609 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { |
18610 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
d14a1e28 | 18611 | } |
7449af73 RD |
18612 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { |
18613 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
d14a1e28 | 18614 | } |
7449af73 RD |
18615 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
18616 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
d14a1e28 | 18617 | } |
7449af73 RD |
18618 | static void *_p_wxControlTo_p_wxObject(void *x) { |
18619 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
d14a1e28 | 18620 | } |
7449af73 RD |
18621 | static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) { |
18622 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 18623 | } |
7449af73 RD |
18624 | static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) { |
18625 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
d14a1e28 | 18626 | } |
7449af73 RD |
18627 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
18628 | return (void *)((wxObject *) ((wxColourData *) x)); | |
d14a1e28 | 18629 | } |
7449af73 RD |
18630 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { |
18631 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
d14a1e28 | 18632 | } |
7449af73 RD |
18633 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { |
18634 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
d14a1e28 | 18635 | } |
7449af73 RD |
18636 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { |
18637 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
d14a1e28 | 18638 | } |
7449af73 RD |
18639 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { |
18640 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
d14a1e28 | 18641 | } |
7449af73 RD |
18642 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { |
18643 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
d14a1e28 | 18644 | } |
7449af73 RD |
18645 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { |
18646 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
d14a1e28 | 18647 | } |
7449af73 RD |
18648 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { |
18649 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
d14a1e28 | 18650 | } |
7449af73 RD |
18651 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { |
18652 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
d14a1e28 | 18653 | } |
7449af73 RD |
18654 | static void *_p_wxDateEventTo_p_wxObject(void *x) { |
18655 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
d14a1e28 | 18656 | } |
7449af73 RD |
18657 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
18658 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
d14a1e28 | 18659 | } |
0f83f5da RD |
18660 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
18661 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
18662 | } | |
7449af73 RD |
18663 | static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) { |
18664 | return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
d14a1e28 | 18665 | } |
7449af73 RD |
18666 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { |
18667 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
d14a1e28 | 18668 | } |
7449af73 RD |
18669 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { |
18670 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 18671 | } |
7449af73 RD |
18672 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
18673 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
d14a1e28 | 18674 | } |
7449af73 RD |
18675 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { |
18676 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
d14a1e28 | 18677 | } |
7449af73 RD |
18678 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { |
18679 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
d14a1e28 | 18680 | } |
7449af73 RD |
18681 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
18682 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
d14a1e28 | 18683 | } |
7449af73 RD |
18684 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
18685 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
d14a1e28 | 18686 | } |
7449af73 RD |
18687 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { |
18688 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 18689 | } |
7449af73 RD |
18690 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { |
18691 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 18692 | } |
7449af73 RD |
18693 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { |
18694 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
d14a1e28 | 18695 | } |
7449af73 RD |
18696 | static void *_p_wxFontDataTo_p_wxObject(void *x) { |
18697 | return (void *)((wxObject *) ((wxFontData *) x)); | |
d14a1e28 | 18698 | } |
7449af73 RD |
18699 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
18700 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 18701 | } |
7449af73 RD |
18702 | static void *_p_wxFrameTo_p_wxObject(void *x) { |
18703 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 | 18704 | } |
7449af73 RD |
18705 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { |
18706 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
d14a1e28 | 18707 | } |
7449af73 RD |
18708 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { |
18709 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
d14a1e28 | 18710 | } |
7449af73 RD |
18711 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { |
18712 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 18713 | } |
7449af73 RD |
18714 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { |
18715 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
d14a1e28 | 18716 | } |
7449af73 RD |
18717 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { |
18718 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
d14a1e28 | 18719 | } |
7449af73 RD |
18720 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { |
18721 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
d14a1e28 | 18722 | } |
7449af73 RD |
18723 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { |
18724 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
d14a1e28 | 18725 | } |
7449af73 RD |
18726 | static void *_p_wxSizerTo_p_wxObject(void *x) { |
18727 | return (void *)((wxObject *) ((wxSizer *) x)); | |
d14a1e28 | 18728 | } |
7449af73 RD |
18729 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { |
18730 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
d14a1e28 | 18731 | } |
7449af73 RD |
18732 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { |
18733 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
d14a1e28 | 18734 | } |
7449af73 RD |
18735 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { |
18736 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
d14a1e28 | 18737 | } |
7449af73 RD |
18738 | static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) { |
18739 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
d14a1e28 | 18740 | } |
7449af73 RD |
18741 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { |
18742 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
d14a1e28 | 18743 | } |
7449af73 RD |
18744 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { |
18745 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
d14a1e28 | 18746 | } |
2131d850 RD |
18747 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
18748 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
18749 | } | |
7449af73 RD |
18750 | static void *_p_wxFSFileTo_p_wxObject(void *x) { |
18751 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
d14a1e28 | 18752 | } |
7449af73 RD |
18753 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { |
18754 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
d14a1e28 | 18755 | } |
7449af73 RD |
18756 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { |
18757 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
d14a1e28 | 18758 | } |
7449af73 RD |
18759 | static void *_p_wxMenuTo_p_wxObject(void *x) { |
18760 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
c1cb24a4 | 18761 | } |
7449af73 RD |
18762 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
18763 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
d14a1e28 | 18764 | } |
0f83f5da RD |
18765 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
18766 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
18767 | } | |
7449af73 RD |
18768 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { |
18769 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
d14a1e28 | 18770 | } |
7449af73 RD |
18771 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { |
18772 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
d14a1e28 | 18773 | } |
7449af73 RD |
18774 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { |
18775 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 18776 | } |
7449af73 RD |
18777 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { |
18778 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
53aa7709 | 18779 | } |
7449af73 RD |
18780 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { |
18781 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 18782 | } |
7449af73 RD |
18783 | static void *_p_wxDialogTo_p_wxObject(void *x) { |
18784 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
d14a1e28 | 18785 | } |
7449af73 RD |
18786 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { |
18787 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
d14a1e28 | 18788 | } |
7449af73 RD |
18789 | static void *_p_wxPyEventTo_p_wxObject(void *x) { |
18790 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
d14a1e28 | 18791 | } |
27e45892 RD |
18792 | static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) { |
18793 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
18794 | } | |
7449af73 RD |
18795 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) { |
18796 | return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
d14a1e28 | 18797 | } |
7449af73 RD |
18798 | static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) { |
18799 | return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x)); | |
d14a1e28 | 18800 | } |
7449af73 RD |
18801 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
18802 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
d14a1e28 | 18803 | } |
580080c5 RD |
18804 | static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { |
18805 | return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); | |
18806 | } | |
7449af73 RD |
18807 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { |
18808 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
d14a1e28 | 18809 | } |
7449af73 RD |
18810 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { |
18811 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
d14a1e28 | 18812 | } |
7449af73 RD |
18813 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { |
18814 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
d14a1e28 | 18815 | } |
7449af73 RD |
18816 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { |
18817 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
d14a1e28 | 18818 | } |
7449af73 RD |
18819 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { |
18820 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
d14a1e28 | 18821 | } |
7449af73 RD |
18822 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { |
18823 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
d14a1e28 | 18824 | } |
7449af73 RD |
18825 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { |
18826 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
d14a1e28 RD |
18827 | } |
18828 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
18829 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
18830 | } | |
7449af73 RD |
18831 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { |
18832 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
d14a1e28 | 18833 | } |
7449af73 RD |
18834 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { |
18835 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
d14a1e28 | 18836 | } |
7449af73 RD |
18837 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { |
18838 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
d14a1e28 | 18839 | } |
7449af73 RD |
18840 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { |
18841 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
9d7dfdff | 18842 | } |
7449af73 RD |
18843 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { |
18844 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
d14a1e28 | 18845 | } |
7449af73 RD |
18846 | static void *_p_wxShowEventTo_p_wxObject(void *x) { |
18847 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
d14a1e28 | 18848 | } |
7449af73 RD |
18849 | static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) { |
18850 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x)); | |
d14a1e28 | 18851 | } |
7449af73 RD |
18852 | static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) { |
18853 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 18854 | } |
7449af73 RD |
18855 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
18856 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 18857 | } |
7449af73 RD |
18858 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { |
18859 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
d14a1e28 | 18860 | } |
7449af73 RD |
18861 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { |
18862 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
d14a1e28 | 18863 | } |
7449af73 RD |
18864 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { |
18865 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
d14a1e28 | 18866 | } |
7449af73 RD |
18867 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { |
18868 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
51b83b37 | 18869 | } |
7449af73 RD |
18870 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { |
18871 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
d14a1e28 | 18872 | } |
7449af73 RD |
18873 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { |
18874 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
d14a1e28 | 18875 | } |
7449af73 RD |
18876 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { |
18877 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
d14a1e28 | 18878 | } |
7449af73 RD |
18879 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { |
18880 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
d14a1e28 | 18881 | } |
7449af73 RD |
18882 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { |
18883 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
d14a1e28 | 18884 | } |
7449af73 RD |
18885 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
18886 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
d14a1e28 | 18887 | } |
7449af73 RD |
18888 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
18889 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 18890 | } |
7449af73 RD |
18891 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
18892 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
d14a1e28 | 18893 | } |
7449af73 RD |
18894 | static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) { |
18895 | return (void *)((wxObject *) ((wxHelpControllerBase *) x)); | |
d14a1e28 RD |
18896 | } |
18897 | static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) { | |
18898 | return (void *)((wxObject *) ((wxHtmlDCRenderer *) x)); | |
18899 | } | |
7449af73 RD |
18900 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { |
18901 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
d14a1e28 | 18902 | } |
7449af73 RD |
18903 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { |
18904 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
d14a1e28 | 18905 | } |
7449af73 RD |
18906 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
18907 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 18908 | } |
27e45892 RD |
18909 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { |
18910 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
18911 | } | |
7449af73 RD |
18912 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
18913 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 18914 | } |
7449af73 RD |
18915 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { |
18916 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 18917 | } |
7449af73 RD |
18918 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { |
18919 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 18920 | } |
7449af73 RD |
18921 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { |
18922 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 18923 | } |
7449af73 RD |
18924 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { |
18925 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 18926 | } |
7449af73 RD |
18927 | static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) { |
18928 | return (void *)((wxObject *) ((wxHtmlLinkInfo *) x)); | |
41f1cec7 | 18929 | } |
7449af73 RD |
18930 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { |
18931 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
d14a1e28 | 18932 | } |
7449af73 RD |
18933 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { |
18934 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
d14a1e28 | 18935 | } |
7449af73 RD |
18936 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { |
18937 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
d14a1e28 | 18938 | } |
7449af73 RD |
18939 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { |
18940 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
d14a1e28 | 18941 | } |
7449af73 RD |
18942 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { |
18943 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
d14a1e28 | 18944 | } |
7449af73 RD |
18945 | static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) { |
18946 | return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x)); | |
d14a1e28 | 18947 | } |
8f514ab4 RD |
18948 | static void *_p_wxHtmlLinkEventTo_p_wxObject(void *x) { |
18949 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHtmlLinkEvent *) x)); | |
18950 | } | |
7449af73 RD |
18951 | static void *_p_wxPanelTo_p_wxObject(void *x) { |
18952 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
d14a1e28 | 18953 | } |
7449af73 RD |
18954 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { |
18955 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
d14a1e28 | 18956 | } |
7449af73 RD |
18957 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { |
18958 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
d14a1e28 | 18959 | } |
7449af73 RD |
18960 | static void *_p_wxHtmlCellTo_p_wxObject(void *x) { |
18961 | return (void *)((wxObject *) ((wxHtmlCell *) x)); | |
d14a1e28 | 18962 | } |
7449af73 RD |
18963 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { |
18964 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
a2482628 | 18965 | } |
7449af73 RD |
18966 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { |
18967 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
d14a1e28 | 18968 | } |
7449af73 RD |
18969 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { |
18970 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
d14a1e28 | 18971 | } |
7449af73 RD |
18972 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { |
18973 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
d14a1e28 | 18974 | } |
7449af73 RD |
18975 | static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) { |
18976 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
d14a1e28 | 18977 | } |
7449af73 RD |
18978 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
18979 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
d14a1e28 | 18980 | } |
7449af73 RD |
18981 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { |
18982 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
18983 | } | |
18984 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
18985 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
18986 | } | |
18987 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
18988 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
18989 | } | |
18990 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
18991 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 18992 | } |
7449af73 RD |
18993 | static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) { |
18994 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
d14a1e28 | 18995 | } |
7449af73 RD |
18996 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { |
18997 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
d14a1e28 | 18998 | } |
8f514ab4 RD |
18999 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
19000 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
19001 | } | |
19002 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
19003 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
19004 | } | |
19005 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
19006 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
19007 | } | |
19008 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
19009 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
19010 | } | |
19011 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
19012 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
19013 | } | |
19014 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
19015 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
19016 | } | |
19017 | static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) { | |
19018 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x)); | |
19019 | } | |
19020 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
19021 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
19022 | } | |
19023 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
19024 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
19025 | } | |
19026 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
19027 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
19028 | } | |
19029 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
19030 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
19031 | } | |
19032 | static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
19033 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x)); | |
19034 | } | |
19035 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
19036 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
19037 | } | |
19038 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
19039 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
19040 | } | |
19041 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
19042 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
19043 | } | |
19044 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
19045 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
19046 | } | |
19047 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
19048 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
19049 | } | |
19050 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
19051 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
19052 | } | |
19053 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
19054 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
19055 | } | |
19056 | static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) { | |
19057 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x)); | |
19058 | } | |
19059 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
19060 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
19061 | } | |
19062 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
19063 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
19064 | } | |
7449af73 RD |
19065 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { |
19066 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 19067 | } |
7449af73 RD |
19068 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { |
19069 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 19070 | } |
7449af73 RD |
19071 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { |
19072 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
d14a1e28 | 19073 | } |
7449af73 RD |
19074 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { |
19075 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
d14a1e28 | 19076 | } |
7449af73 RD |
19077 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { |
19078 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
d14a1e28 | 19079 | } |
7449af73 RD |
19080 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { |
19081 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
d14a1e28 | 19082 | } |
7449af73 RD |
19083 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { |
19084 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 19085 | } |
27e45892 RD |
19086 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { |
19087 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
19088 | } | |
7449af73 RD |
19089 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
19090 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 19091 | } |
7449af73 RD |
19092 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
19093 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 19094 | } |
7449af73 RD |
19095 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { |
19096 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 19097 | } |
7449af73 RD |
19098 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { |
19099 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 19100 | } |
7449af73 RD |
19101 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { |
19102 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 19103 | } |
7449af73 RD |
19104 | static void *_p_wxPanelTo_p_wxWindow(void *x) { |
19105 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
d14a1e28 | 19106 | } |
7449af73 RD |
19107 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { |
19108 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
d14a1e28 | 19109 | } |
7449af73 RD |
19110 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
19111 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
d14a1e28 | 19112 | } |
7449af73 RD |
19113 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { |
19114 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
d14a1e28 | 19115 | } |
7449af73 RD |
19116 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { |
19117 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
d14a1e28 | 19118 | } |
7449af73 RD |
19119 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { |
19120 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
d14a1e28 | 19121 | } |
7449af73 RD |
19122 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { |
19123 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
d14a1e28 | 19124 | } |
7449af73 RD |
19125 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { |
19126 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 19127 | } |
7449af73 RD |
19128 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { |
19129 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
d14a1e28 | 19130 | } |
7449af73 RD |
19131 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { |
19132 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
d14a1e28 | 19133 | } |
7449af73 RD |
19134 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { |
19135 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
d14a1e28 | 19136 | } |
7449af73 RD |
19137 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { |
19138 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
d14a1e28 | 19139 | } |
7449af73 RD |
19140 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
19141 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
d14a1e28 | 19142 | } |
7449af73 RD |
19143 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
19144 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 19145 | } |
7449af73 RD |
19146 | static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) { |
19147 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 19148 | } |
7449af73 RD |
19149 | static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) { |
19150 | return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x)); | |
d14a1e28 | 19151 | } |
7449af73 RD |
19152 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
19153 | return (void *)((wxWindow *) ((wxControl *) x)); | |
d14a1e28 | 19154 | } |
7449af73 RD |
19155 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { |
19156 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 19157 | } |
7449af73 RD |
19158 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { |
19159 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 19160 | } |
7449af73 RD |
19161 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { |
19162 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 19163 | } |
7449af73 RD |
19164 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { |
19165 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
d14a1e28 | 19166 | } |
7449af73 RD |
19167 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { |
19168 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
d14a1e28 | 19169 | } |
7449af73 RD |
19170 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { |
19171 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 19172 | } |
7449af73 RD |
19173 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
19174 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 19175 | } |
7449af73 RD |
19176 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { |
19177 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 19178 | } |
7449af73 RD |
19179 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
19180 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
d14a1e28 | 19181 | } |
7449af73 RD |
19182 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { |
19183 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
d14a1e28 | 19184 | } |
7449af73 RD |
19185 | static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) { |
19186 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 19187 | } |
7449af73 RD |
19188 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
19189 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 | 19190 | } |
7449af73 RD |
19191 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { |
19192 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 19193 | } |
7449af73 RD |
19194 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { |
19195 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 19196 | } |
7449af73 RD |
19197 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { |
19198 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 19199 | } |
7449af73 RD |
19200 | static void *_p_wxDialogTo_p_wxWindow(void *x) { |
19201 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
a2482628 | 19202 | } |
7449af73 RD |
19203 | static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) { |
19204 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 19205 | } |
7449af73 RD |
19206 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
19207 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 19208 | } |
7449af73 RD |
19209 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
19210 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 19211 | } |
7449af73 RD |
19212 | static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) { |
19213 | return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 19214 | } |
7449af73 RD |
19215 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { |
19216 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 19217 | } |
7449af73 RD |
19218 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { |
19219 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 19220 | } |
7449af73 RD |
19221 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { |
19222 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 19223 | } |
7449af73 RD |
19224 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { |
19225 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 19226 | } |
7449af73 RD |
19227 | static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) { |
19228 | return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 19229 | } |
7449af73 RD |
19230 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { |
19231 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 19232 | } |
7449af73 RD |
19233 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { |
19234 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 19235 | } |
7449af73 RD |
19236 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { |
19237 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 19238 | } |
7449af73 RD |
19239 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { |
19240 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 19241 | } |
7449af73 RD |
19242 | static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) { |
19243 | return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
53aa7709 | 19244 | } |
27e45892 RD |
19245 | static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) { |
19246 | return (void *)((wxDialog *) ((wxNumberEntryDialog *) x)); | |
19247 | } | |
7449af73 RD |
19248 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { |
19249 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
53aa7709 | 19250 | } |
7449af73 RD |
19251 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { |
19252 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
53aa7709 | 19253 | } |
7449af73 RD |
19254 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { |
19255 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
53aa7709 | 19256 | } |
7449af73 RD |
19257 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { |
19258 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
53aa7709 | 19259 | } |
7449af73 RD |
19260 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
19261 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
53aa7709 | 19262 | } |
7449af73 RD |
19263 | static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) { |
19264 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
53aa7709 | 19265 | } |
7449af73 RD |
19266 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
19267 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
53aa7709 | 19268 | } |
7449af73 RD |
19269 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { |
19270 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
53aa7709 | 19271 | } |
7449af73 RD |
19272 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { |
19273 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
53aa7709 | 19274 | } |
7449af73 RD |
19275 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { |
19276 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
53aa7709 | 19277 | } |
7449af73 RD |
19278 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { |
19279 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
53aa7709 | 19280 | } |
7449af73 RD |
19281 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { |
19282 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
53aa7709 | 19283 | } |
7449af73 RD |
19284 | static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) { |
19285 | return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
d14a1e28 | 19286 | } |
7449af73 RD |
19287 | static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) { |
19288 | return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x)); | |
19289 | } | |
2131d850 RD |
19290 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
19291 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
7449af73 | 19292 | } |
2131d850 RD |
19293 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { |
19294 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
7449af73 | 19295 | } |
8f514ab4 RD |
19296 | static void *_p_wxHtmlLinkEventTo_p_wxCommandEvent(void *x) { |
19297 | return (void *)((wxCommandEvent *) ((wxHtmlLinkEvent *) x)); | |
19298 | } | |
2131d850 RD |
19299 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { |
19300 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
7449af73 | 19301 | } |
2131d850 RD |
19302 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { |
19303 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
7449af73 | 19304 | } |
8f514ab4 RD |
19305 | static void *_p_wxHtmlCellEventTo_p_wxCommandEvent(void *x) { |
19306 | return (void *)((wxCommandEvent *) ((wxHtmlCellEvent *) x)); | |
19307 | } | |
2131d850 RD |
19308 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { |
19309 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
7449af73 | 19310 | } |
2131d850 RD |
19311 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { |
19312 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
7449af73 RD |
19313 | } |
19314 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
19315 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
19316 | } | |
2131d850 RD |
19317 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { |
19318 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
19319 | } | |
19320 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
19321 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
19322 | } | |
19323 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
19324 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
7449af73 RD |
19325 | } |
19326 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
19327 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
19328 | } | |
2131d850 RD |
19329 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { |
19330 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
19331 | } | |
19332 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
19333 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
7449af73 | 19334 | } |
554f62e9 RD |
19335 | static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0}; |
19336 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; | |
19337 | 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}; | |
704eda0c | 19338 | static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0}; |
554f62e9 RD |
19339 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
19340 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
19341 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
704eda0c | 19342 | static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0}; |
554f62e9 RD |
19343 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; |
19344 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; | |
19345 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; | |
19346 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
19347 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
19348 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
2131d850 | 19349 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; |
554f62e9 RD |
19350 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; |
19351 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
19352 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
19353 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
554f62e9 | 19354 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; |
2131d850 | 19355 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; |
8f514ab4 | 19356 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0}; |
554f62e9 RD |
19357 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; |
19358 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
19359 | static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0}; | |
19360 | static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0}; | |
19361 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; | |
19362 | static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0}; | |
19363 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0}; | |
19364 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
19365 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
19366 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
19367 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
19368 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
19369 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
19370 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
19371 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
27e45892 | 19372 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; |
554f62e9 RD |
19373 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; |
19374 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
19375 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; | |
19376 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
19377 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; | |
19378 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; | |
19379 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
19380 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
19381 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; | |
19382 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; | |
0f83f5da | 19383 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
554f62e9 RD |
19384 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
19385 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
19386 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; | |
19387 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
19388 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
19389 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; | |
19390 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; | |
19391 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
19392 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; | |
19393 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
19394 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; | |
19395 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
19396 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
19397 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
2131d850 | 19398 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; |
8f514ab4 | 19399 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; |
554f62e9 RD |
19400 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
19401 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
19402 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; | |
19403 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
19404 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
19405 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
19406 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
19407 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
19408 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
19409 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
19410 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
19411 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; | |
19412 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
19413 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
19414 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
19415 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
19416 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
19417 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
19418 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
19419 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
19420 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
19421 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
19422 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
19423 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
19424 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
19425 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
19426 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0}; | |
19427 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
19428 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
19429 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
19430 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
19431 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
19432 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; | |
19433 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
19434 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
19435 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
19436 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; | |
19437 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; | |
19438 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
19439 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0}; | |
19440 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; | |
19441 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
19442 | static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0}; | |
19443 | static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0}; | |
19444 | static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0}; | |
19445 | static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0}; | |
19446 | static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0}; | |
8f514ab4 | 19447 | static swig_type_info _swigt__p_wxHtmlCellEvent = {"_p_wxHtmlCellEvent", "wxHtmlCellEvent *", 0, 0, (void*)0, 0}; |
554f62e9 RD |
19448 | static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0}; |
19449 | static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0}; | |
19450 | static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0}; | |
19451 | static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0}; | |
19452 | static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0}; | |
19453 | static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0}; | |
19454 | static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0}; | |
19455 | static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0}; | |
19456 | static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0}; | |
19457 | static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0}; | |
19458 | static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0}; | |
19459 | static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0}; | |
8f514ab4 | 19460 | static swig_type_info _swigt__p_wxHtmlLinkEvent = {"_p_wxHtmlLinkEvent", "wxHtmlLinkEvent *", 0, 0, (void*)0, 0}; |
554f62e9 RD |
19461 | static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0}; |
19462 | static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0}; | |
19463 | static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0}; | |
19464 | static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0}; | |
19465 | static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0}; | |
19466 | static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0}; | |
19467 | static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0}; | |
19468 | static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0}; | |
19469 | static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0}; | |
19470 | static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0}; | |
19471 | static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0}; | |
19472 | static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0}; | |
19473 | static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0}; | |
e9d6f3a4 | 19474 | static swig_type_info _swigt__p_wxHtmlWindowInterface = {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0}; |
554f62e9 RD |
19475 | static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0}; |
19476 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0}; | |
554f62e9 RD |
19477 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; |
19478 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
19479 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
19480 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
19481 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
19482 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
19483 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
19484 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
19485 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
554f62e9 | 19486 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; |
8f514ab4 | 19487 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; |
554f62e9 RD |
19488 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; |
19489 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
19490 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; | |
19491 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
19492 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
19493 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
19494 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
554f62e9 | 19495 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0}; |
0f83f5da | 19496 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; |
554f62e9 RD |
19497 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; |
19498 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
19499 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
554f62e9 | 19500 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; |
0f83f5da | 19501 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0}; |
554f62e9 RD |
19502 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; |
19503 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
580080c5 | 19504 | static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; |
554f62e9 RD |
19505 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; |
19506 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
19507 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
19508 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
19509 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; | |
19510 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
19511 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; | |
19512 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; | |
19513 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; | |
19514 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; | |
19515 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; | |
19516 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
19517 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
19518 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0}; | |
19519 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; | |
19520 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; | |
19521 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
19522 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0}; | |
19523 | static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0}; | |
19524 | static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0}; | |
19525 | static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0}; | |
19526 | static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0}; | |
19527 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0}; | |
19528 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0}; | |
19529 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
19530 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0}; | |
19531 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
19532 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; | |
554f62e9 RD |
19533 | static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0}; |
19534 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
7449af73 RD |
19535 | |
19536 | static swig_type_info *swig_type_initial[] = { | |
19537 | &_swigt__p_bool, | |
19538 | &_swigt__p_char, | |
19539 | &_swigt__p_form_ops_t, | |
19540 | &_swigt__p_int, | |
19541 | &_swigt__p_unsigned_char, | |
19542 | &_swigt__p_unsigned_int, | |
19543 | &_swigt__p_unsigned_long, | |
19544 | &_swigt__p_wxANIHandler, | |
19545 | &_swigt__p_wxAcceleratorTable, | |
19546 | &_swigt__p_wxActivateEvent, | |
704eda0c | 19547 | &_swigt__p_wxArrayInt, |
7449af73 RD |
19548 | &_swigt__p_wxBMPHandler, |
19549 | &_swigt__p_wxBitmap, | |
19550 | &_swigt__p_wxBoxSizer, | |
19551 | &_swigt__p_wxCURHandler, | |
19552 | &_swigt__p_wxCalculateLayoutEvent, | |
19553 | &_swigt__p_wxChildFocusEvent, | |
2131d850 | 19554 | &_swigt__p_wxClipboardTextEvent, |
7449af73 RD |
19555 | &_swigt__p_wxCloseEvent, |
19556 | &_swigt__p_wxColour, | |
19557 | &_swigt__p_wxColourData, | |
19558 | &_swigt__p_wxColourDialog, | |
19559 | &_swigt__p_wxCommandEvent, | |
19560 | &_swigt__p_wxConfigBase, | |
19561 | &_swigt__p_wxContextMenuEvent, | |
19562 | &_swigt__p_wxControl, | |
19563 | &_swigt__p_wxControlWithItems, | |
19564 | &_swigt__p_wxCursor, | |
19565 | &_swigt__p_wxDC, | |
19566 | &_swigt__p_wxDateEvent, | |
19567 | &_swigt__p_wxDefaultHtmlRenderingStyle, | |
19568 | &_swigt__p_wxDialog, | |
19569 | &_swigt__p_wxDirDialog, | |
19570 | &_swigt__p_wxDisplayChangedEvent, | |
19571 | &_swigt__p_wxDropFilesEvent, | |
19572 | &_swigt__p_wxDuplexMode, | |
19573 | &_swigt__p_wxEraseEvent, | |
19574 | &_swigt__p_wxEvent, | |
19575 | &_swigt__p_wxEvtHandler, | |
19576 | &_swigt__p_wxFSFile, | |
19577 | &_swigt__p_wxFileDialog, | |
19578 | &_swigt__p_wxFileSystem, | |
19579 | &_swigt__p_wxFindDialogEvent, | |
19580 | &_swigt__p_wxFindReplaceData, | |
19581 | &_swigt__p_wxFindReplaceDialog, | |
19582 | &_swigt__p_wxFlexGridSizer, | |
19583 | &_swigt__p_wxFocusEvent, | |
19584 | &_swigt__p_wxFont, | |
19585 | &_swigt__p_wxFontData, | |
19586 | &_swigt__p_wxFontDialog, | |
19587 | &_swigt__p_wxFrame, | |
19588 | &_swigt__p_wxGBSizerItem, | |
19589 | &_swigt__p_wxGIFHandler, | |
19590 | &_swigt__p_wxGridBagSizer, | |
19591 | &_swigt__p_wxGridSizer, | |
19592 | &_swigt__p_wxHelpControllerBase, | |
19593 | &_swigt__p_wxHelpSearchMode, | |
19594 | &_swigt__p_wxHtmlBookRecArray, | |
19595 | &_swigt__p_wxHtmlBookRecord, | |
19596 | &_swigt__p_wxHtmlCell, | |
8f514ab4 | 19597 | &_swigt__p_wxHtmlCellEvent, |
7449af73 RD |
19598 | &_swigt__p_wxHtmlColourCell, |
19599 | &_swigt__p_wxHtmlContainerCell, | |
19600 | &_swigt__p_wxHtmlDCRenderer, | |
19601 | &_swigt__p_wxHtmlEasyPrinting, | |
19602 | &_swigt__p_wxHtmlFilter, | |
19603 | &_swigt__p_wxHtmlFontCell, | |
19604 | &_swigt__p_wxHtmlHelpController, | |
19605 | &_swigt__p_wxHtmlHelpData, | |
19606 | &_swigt__p_wxHtmlHelpDialog, | |
19607 | &_swigt__p_wxHtmlHelpFrame, | |
19608 | &_swigt__p_wxHtmlHelpFrameCfg, | |
19609 | &_swigt__p_wxHtmlHelpWindow, | |
8f514ab4 | 19610 | &_swigt__p_wxHtmlLinkEvent, |
7449af73 RD |
19611 | &_swigt__p_wxHtmlLinkInfo, |
19612 | &_swigt__p_wxHtmlModalHelp, | |
19613 | &_swigt__p_wxHtmlParser, | |
19614 | &_swigt__p_wxHtmlPrintout, | |
19615 | &_swigt__p_wxHtmlRenderingInfo, | |
19616 | &_swigt__p_wxHtmlRenderingState, | |
19617 | &_swigt__p_wxHtmlRenderingStyle, | |
19618 | &_swigt__p_wxHtmlSearchStatus, | |
19619 | &_swigt__p_wxHtmlSelection, | |
19620 | &_swigt__p_wxHtmlTag, | |
19621 | &_swigt__p_wxHtmlTagHandler, | |
19622 | &_swigt__p_wxHtmlWidgetCell, | |
19623 | &_swigt__p_wxHtmlWinParser, | |
e9d6f3a4 | 19624 | &_swigt__p_wxHtmlWindowInterface, |
7449af73 RD |
19625 | &_swigt__p_wxHtmlWordCell, |
19626 | &_swigt__p_wxICOHandler, | |
19627 | &_swigt__p_wxIconizeEvent, | |
19628 | &_swigt__p_wxIdleEvent, | |
19629 | &_swigt__p_wxImage, | |
19630 | &_swigt__p_wxImageHandler, | |
19631 | &_swigt__p_wxIndividualLayoutConstraint, | |
19632 | &_swigt__p_wxInitDialogEvent, | |
19633 | &_swigt__p_wxJPEGHandler, | |
19634 | &_swigt__p_wxKeyEvent, | |
19635 | &_swigt__p_wxLayoutAlgorithm, | |
19636 | &_swigt__p_wxLayoutConstraints, | |
19637 | &_swigt__p_wxMDIChildFrame, | |
19638 | &_swigt__p_wxMDIClientWindow, | |
19639 | &_swigt__p_wxMDIParentFrame, | |
19640 | &_swigt__p_wxMaximizeEvent, | |
19641 | &_swigt__p_wxMenu, | |
19642 | &_swigt__p_wxMenuBar, | |
19643 | &_swigt__p_wxMenuEvent, | |
19644 | &_swigt__p_wxMenuItem, | |
19645 | &_swigt__p_wxMessageDialog, | |
19646 | &_swigt__p_wxMiniFrame, | |
19647 | &_swigt__p_wxMouseCaptureChangedEvent, | |
0f83f5da | 19648 | &_swigt__p_wxMouseCaptureLostEvent, |
7449af73 RD |
19649 | &_swigt__p_wxMouseEvent, |
19650 | &_swigt__p_wxMoveEvent, | |
19651 | &_swigt__p_wxMultiChoiceDialog, | |
19652 | &_swigt__p_wxNavigationKeyEvent, | |
19653 | &_swigt__p_wxNcPaintEvent, | |
19654 | &_swigt__p_wxNotifyEvent, | |
27e45892 | 19655 | &_swigt__p_wxNumberEntryDialog, |
7449af73 RD |
19656 | &_swigt__p_wxObject, |
19657 | &_swigt__p_wxPCXHandler, | |
19658 | &_swigt__p_wxPNGHandler, | |
19659 | &_swigt__p_wxPNMHandler, | |
19660 | &_swigt__p_wxPageSetupDialog, | |
19661 | &_swigt__p_wxPageSetupDialogData, | |
19662 | &_swigt__p_wxPaintEvent, | |
19663 | &_swigt__p_wxPaletteChangedEvent, | |
19664 | &_swigt__p_wxPanel, | |
19665 | &_swigt__p_wxPaperSize, | |
19666 | &_swigt__p_wxPasswordEntryDialog, | |
19667 | &_swigt__p_wxPoint, | |
19668 | &_swigt__p_wxPopupWindow, | |
19669 | &_swigt__p_wxPreviewCanvas, | |
19670 | &_swigt__p_wxPreviewControlBar, | |
19671 | &_swigt__p_wxPreviewFrame, | |
19672 | &_swigt__p_wxPrintData, | |
19673 | &_swigt__p_wxPrintDialog, | |
19674 | &_swigt__p_wxPrintDialogData, | |
19675 | &_swigt__p_wxPrintPreview, | |
19676 | &_swigt__p_wxPrinter, | |
19677 | &_swigt__p_wxProgressDialog, | |
19678 | &_swigt__p_wxPyApp, | |
19679 | &_swigt__p_wxPyCommandEvent, | |
19680 | &_swigt__p_wxPyEvent, | |
19681 | &_swigt__p_wxPyHtmlFilter, | |
19682 | &_swigt__p_wxPyHtmlListBox, | |
19683 | &_swigt__p_wxPyHtmlTagHandler, | |
19684 | &_swigt__p_wxPyHtmlWinTagHandler, | |
19685 | &_swigt__p_wxPyHtmlWindow, | |
19686 | &_swigt__p_wxPyImageHandler, | |
19687 | &_swigt__p_wxPyPanel, | |
19688 | &_swigt__p_wxPyPopupTransientWindow, | |
19689 | &_swigt__p_wxPyPreviewControlBar, | |
19690 | &_swigt__p_wxPyPreviewFrame, | |
19691 | &_swigt__p_wxPyPrintPreview, | |
19692 | &_swigt__p_wxPyPrintout, | |
19693 | &_swigt__p_wxPyScrolledWindow, | |
19694 | &_swigt__p_wxPySizer, | |
19695 | &_swigt__p_wxPyTaskBarIcon, | |
19696 | &_swigt__p_wxPyVListBox, | |
19697 | &_swigt__p_wxPyVScrolledWindow, | |
19698 | &_swigt__p_wxPyValidator, | |
19699 | &_swigt__p_wxPyWindow, | |
19700 | &_swigt__p_wxQueryLayoutInfoEvent, | |
19701 | &_swigt__p_wxQueryNewPaletteEvent, | |
19702 | &_swigt__p_wxSashEvent, | |
19703 | &_swigt__p_wxSashLayoutWindow, | |
19704 | &_swigt__p_wxSashWindow, | |
19705 | &_swigt__p_wxScrollEvent, | |
19706 | &_swigt__p_wxScrollWinEvent, | |
19707 | &_swigt__p_wxScrolledWindow, | |
19708 | &_swigt__p_wxSetCursorEvent, | |
19709 | &_swigt__p_wxShowEvent, | |
19710 | &_swigt__p_wxSingleChoiceDialog, | |
19711 | &_swigt__p_wxSize, | |
19712 | &_swigt__p_wxSizeEvent, | |
19713 | &_swigt__p_wxSizer, | |
19714 | &_swigt__p_wxSizerItem, | |
19715 | &_swigt__p_wxSplashScreen, | |
19716 | &_swigt__p_wxSplashScreenWindow, | |
19717 | &_swigt__p_wxSplitterEvent, | |
19718 | &_swigt__p_wxSplitterWindow, | |
19719 | &_swigt__p_wxStaticBoxSizer, | |
19720 | &_swigt__p_wxStatusBar, | |
19721 | &_swigt__p_wxStdDialogButtonSizer, | |
19722 | &_swigt__p_wxString, | |
19723 | &_swigt__p_wxSysColourChangedEvent, | |
580080c5 | 19724 | &_swigt__p_wxTGAHandler, |
7449af73 RD |
19725 | &_swigt__p_wxTIFFHandler, |
19726 | &_swigt__p_wxTaskBarIconEvent, | |
19727 | &_swigt__p_wxTextEntryDialog, | |
19728 | &_swigt__p_wxTipWindow, | |
19729 | &_swigt__p_wxTopLevelWindow, | |
7449af73 RD |
19730 | &_swigt__p_wxUpdateUIEvent, |
19731 | &_swigt__p_wxValidator, | |
19732 | &_swigt__p_wxVisualAttributes, | |
19733 | &_swigt__p_wxWindow, | |
19734 | &_swigt__p_wxWindowCreateEvent, | |
19735 | &_swigt__p_wxWindowDestroyEvent, | |
19736 | &_swigt__p_wxXPMHandler, | |
7449af73 RD |
19737 | }; |
19738 | ||
19739 | static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}}; | |
19740 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
19741 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
19742 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
19743 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; | |
19744 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
19745 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
704eda0c | 19746 | static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19747 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; |
19748 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
19749 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19750 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19751 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
2131d850 | 19752 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19753 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; |
19754 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19755 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19756 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
7449af73 | 19757 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; |
2131d850 | 19758 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; |
8f514ab4 | 19759 | static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19760 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
19761 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
8f514ab4 | 19762 | 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_wxHtmlLinkEvent, _p_wxHtmlLinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHtmlCellEvent, _p_wxHtmlCellEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19763 | static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}}; |
19764 | static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}}; | |
19765 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; | |
19766 | static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}}; | |
19767 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19768 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19769 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19770 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19771 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19772 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19773 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19774 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 19775 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19776 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; |
19777 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 19778 | 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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_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}}; |
7449af73 RD |
19779 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; |
19780 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19781 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19782 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19783 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19784 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19785 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
0f83f5da | 19786 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19787 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
19788 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19789 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19790 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19791 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19792 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19793 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19794 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19795 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19796 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19797 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19798 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19799 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19800 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
2131d850 | 19801 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; |
8f514ab4 | 19802 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19803 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
19804 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19805 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19806 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19807 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19808 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
8f514ab4 | 19809 | 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_wxHtmlCellEvent, _p_wxHtmlCellEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_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_wxHtmlLinkEvent, _p_wxHtmlLinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19810 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
19811 | static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
19812 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
19813 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
19814 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
19815 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
19816 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19817 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
19818 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19819 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19820 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19821 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19822 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19823 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19824 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19825 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19826 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19827 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
19828 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
19829 | static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
19830 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
19831 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
19832 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
19833 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
19834 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19835 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
19836 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
19837 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
19838 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
19839 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
19840 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
19841 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 19842 | 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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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_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}}; |
7449af73 RD |
19843 | static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; |
19844 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; | |
19845 | 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}}; | |
19846 | 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}}; | |
19847 | static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}}; | |
19848 | static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}}; | |
19849 | static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}}; | |
19850 | 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}}; | |
8f514ab4 | 19851 | static swig_cast_info _swigc__p_wxHtmlCellEvent[] = { {&_swigt__p_wxHtmlCellEvent, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19852 | static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}}; |
19853 | static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}}; | |
19854 | static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}}; | |
19855 | static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}}; | |
19856 | static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}}; | |
19857 | static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}}; | |
19858 | static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}}; | |
19859 | static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}}; | |
19860 | static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19861 | static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
19862 | static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}}; | |
19863 | static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
8f514ab4 | 19864 | static swig_cast_info _swigc__p_wxHtmlLinkEvent[] = { {&_swigt__p_wxHtmlLinkEvent, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19865 | static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}}; |
19866 | static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}}; | |
19867 | 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}}; | |
19868 | static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
19869 | static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
19870 | static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}}; | |
19871 | 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}}; | |
19872 | static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}}; | |
19873 | static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}}; | |
19874 | static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}}; | |
19875 | static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19876 | static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}}; | |
19877 | static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}}; | |
e9d6f3a4 | 19878 | static swig_cast_info _swigc__p_wxHtmlWindowInterface[] = { {&_swigt__p_wxHtmlWindowInterface, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19879 | static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}}; |
19880 | static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
7449af73 RD |
19881 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; |
19882 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
19883 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
19884 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
19885 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
19886 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
19887 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
19888 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
7449af73 | 19889 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; |
8f514ab4 | 19890 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19891 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; |
19892 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
19893 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
19894 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
19895 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
19896 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
19897 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; | |
7449af73 | 19898 | static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}}; |
0f83f5da | 19899 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19900 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; |
19901 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
19902 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
7449af73 | 19903 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; |
0f83f5da | 19904 | static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19905 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; |
19906 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 19907 | static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19908 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; |
19909 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19910 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19911 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19912 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19913 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19914 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19915 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19916 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19917 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19918 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19919 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19920 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 19921 | 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_wxHtmlCellEvent, _p_wxHtmlCellEventTo_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_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlParser, _p_wxHtmlParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_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_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_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_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_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_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_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_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_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_wxTGAHandler, _p_wxTGAHandlerTo_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_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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_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_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_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkEvent, _p_wxHtmlLinkEventTo_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_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_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}}; |
7449af73 RD |
19922 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; |
19923 | 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}}; | |
19924 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; | |
19925 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
19926 | static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
19927 | static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}}; | |
19928 | 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}}; | |
19929 | static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19930 | static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19931 | 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}}; | |
19932 | 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}}; | |
19933 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
19934 | static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19935 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 19936 | 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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_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}}; |
7449af73 | 19937 | static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 19938 | static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_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 |
19939 | |
19940 | static swig_cast_info *swig_cast_initial[] = { | |
19941 | _swigc__p_bool, | |
19942 | _swigc__p_char, | |
19943 | _swigc__p_form_ops_t, | |
19944 | _swigc__p_int, | |
19945 | _swigc__p_unsigned_char, | |
19946 | _swigc__p_unsigned_int, | |
19947 | _swigc__p_unsigned_long, | |
19948 | _swigc__p_wxANIHandler, | |
19949 | _swigc__p_wxAcceleratorTable, | |
19950 | _swigc__p_wxActivateEvent, | |
704eda0c | 19951 | _swigc__p_wxArrayInt, |
7449af73 RD |
19952 | _swigc__p_wxBMPHandler, |
19953 | _swigc__p_wxBitmap, | |
19954 | _swigc__p_wxBoxSizer, | |
19955 | _swigc__p_wxCURHandler, | |
19956 | _swigc__p_wxCalculateLayoutEvent, | |
19957 | _swigc__p_wxChildFocusEvent, | |
2131d850 | 19958 | _swigc__p_wxClipboardTextEvent, |
7449af73 RD |
19959 | _swigc__p_wxCloseEvent, |
19960 | _swigc__p_wxColour, | |
19961 | _swigc__p_wxColourData, | |
19962 | _swigc__p_wxColourDialog, | |
19963 | _swigc__p_wxCommandEvent, | |
19964 | _swigc__p_wxConfigBase, | |
19965 | _swigc__p_wxContextMenuEvent, | |
19966 | _swigc__p_wxControl, | |
19967 | _swigc__p_wxControlWithItems, | |
19968 | _swigc__p_wxCursor, | |
19969 | _swigc__p_wxDC, | |
19970 | _swigc__p_wxDateEvent, | |
19971 | _swigc__p_wxDefaultHtmlRenderingStyle, | |
19972 | _swigc__p_wxDialog, | |
19973 | _swigc__p_wxDirDialog, | |
19974 | _swigc__p_wxDisplayChangedEvent, | |
19975 | _swigc__p_wxDropFilesEvent, | |
19976 | _swigc__p_wxDuplexMode, | |
19977 | _swigc__p_wxEraseEvent, | |
19978 | _swigc__p_wxEvent, | |
19979 | _swigc__p_wxEvtHandler, | |
19980 | _swigc__p_wxFSFile, | |
19981 | _swigc__p_wxFileDialog, | |
19982 | _swigc__p_wxFileSystem, | |
19983 | _swigc__p_wxFindDialogEvent, | |
19984 | _swigc__p_wxFindReplaceData, | |
19985 | _swigc__p_wxFindReplaceDialog, | |
19986 | _swigc__p_wxFlexGridSizer, | |
19987 | _swigc__p_wxFocusEvent, | |
19988 | _swigc__p_wxFont, | |
19989 | _swigc__p_wxFontData, | |
19990 | _swigc__p_wxFontDialog, | |
19991 | _swigc__p_wxFrame, | |
19992 | _swigc__p_wxGBSizerItem, | |
19993 | _swigc__p_wxGIFHandler, | |
19994 | _swigc__p_wxGridBagSizer, | |
19995 | _swigc__p_wxGridSizer, | |
19996 | _swigc__p_wxHelpControllerBase, | |
19997 | _swigc__p_wxHelpSearchMode, | |
19998 | _swigc__p_wxHtmlBookRecArray, | |
19999 | _swigc__p_wxHtmlBookRecord, | |
20000 | _swigc__p_wxHtmlCell, | |
8f514ab4 | 20001 | _swigc__p_wxHtmlCellEvent, |
7449af73 RD |
20002 | _swigc__p_wxHtmlColourCell, |
20003 | _swigc__p_wxHtmlContainerCell, | |
20004 | _swigc__p_wxHtmlDCRenderer, | |
20005 | _swigc__p_wxHtmlEasyPrinting, | |
20006 | _swigc__p_wxHtmlFilter, | |
20007 | _swigc__p_wxHtmlFontCell, | |
20008 | _swigc__p_wxHtmlHelpController, | |
20009 | _swigc__p_wxHtmlHelpData, | |
20010 | _swigc__p_wxHtmlHelpDialog, | |
20011 | _swigc__p_wxHtmlHelpFrame, | |
20012 | _swigc__p_wxHtmlHelpFrameCfg, | |
20013 | _swigc__p_wxHtmlHelpWindow, | |
8f514ab4 | 20014 | _swigc__p_wxHtmlLinkEvent, |
7449af73 RD |
20015 | _swigc__p_wxHtmlLinkInfo, |
20016 | _swigc__p_wxHtmlModalHelp, | |
20017 | _swigc__p_wxHtmlParser, | |
20018 | _swigc__p_wxHtmlPrintout, | |
20019 | _swigc__p_wxHtmlRenderingInfo, | |
20020 | _swigc__p_wxHtmlRenderingState, | |
20021 | _swigc__p_wxHtmlRenderingStyle, | |
20022 | _swigc__p_wxHtmlSearchStatus, | |
20023 | _swigc__p_wxHtmlSelection, | |
20024 | _swigc__p_wxHtmlTag, | |
20025 | _swigc__p_wxHtmlTagHandler, | |
20026 | _swigc__p_wxHtmlWidgetCell, | |
20027 | _swigc__p_wxHtmlWinParser, | |
e9d6f3a4 | 20028 | _swigc__p_wxHtmlWindowInterface, |
7449af73 RD |
20029 | _swigc__p_wxHtmlWordCell, |
20030 | _swigc__p_wxICOHandler, | |
20031 | _swigc__p_wxIconizeEvent, | |
20032 | _swigc__p_wxIdleEvent, | |
20033 | _swigc__p_wxImage, | |
20034 | _swigc__p_wxImageHandler, | |
20035 | _swigc__p_wxIndividualLayoutConstraint, | |
20036 | _swigc__p_wxInitDialogEvent, | |
20037 | _swigc__p_wxJPEGHandler, | |
20038 | _swigc__p_wxKeyEvent, | |
20039 | _swigc__p_wxLayoutAlgorithm, | |
20040 | _swigc__p_wxLayoutConstraints, | |
20041 | _swigc__p_wxMDIChildFrame, | |
20042 | _swigc__p_wxMDIClientWindow, | |
20043 | _swigc__p_wxMDIParentFrame, | |
20044 | _swigc__p_wxMaximizeEvent, | |
20045 | _swigc__p_wxMenu, | |
20046 | _swigc__p_wxMenuBar, | |
20047 | _swigc__p_wxMenuEvent, | |
20048 | _swigc__p_wxMenuItem, | |
20049 | _swigc__p_wxMessageDialog, | |
20050 | _swigc__p_wxMiniFrame, | |
20051 | _swigc__p_wxMouseCaptureChangedEvent, | |
0f83f5da | 20052 | _swigc__p_wxMouseCaptureLostEvent, |
7449af73 RD |
20053 | _swigc__p_wxMouseEvent, |
20054 | _swigc__p_wxMoveEvent, | |
20055 | _swigc__p_wxMultiChoiceDialog, | |
20056 | _swigc__p_wxNavigationKeyEvent, | |
20057 | _swigc__p_wxNcPaintEvent, | |
20058 | _swigc__p_wxNotifyEvent, | |
27e45892 | 20059 | _swigc__p_wxNumberEntryDialog, |
7449af73 RD |
20060 | _swigc__p_wxObject, |
20061 | _swigc__p_wxPCXHandler, | |
20062 | _swigc__p_wxPNGHandler, | |
20063 | _swigc__p_wxPNMHandler, | |
20064 | _swigc__p_wxPageSetupDialog, | |
20065 | _swigc__p_wxPageSetupDialogData, | |
20066 | _swigc__p_wxPaintEvent, | |
20067 | _swigc__p_wxPaletteChangedEvent, | |
20068 | _swigc__p_wxPanel, | |
20069 | _swigc__p_wxPaperSize, | |
20070 | _swigc__p_wxPasswordEntryDialog, | |
20071 | _swigc__p_wxPoint, | |
20072 | _swigc__p_wxPopupWindow, | |
20073 | _swigc__p_wxPreviewCanvas, | |
20074 | _swigc__p_wxPreviewControlBar, | |
20075 | _swigc__p_wxPreviewFrame, | |
20076 | _swigc__p_wxPrintData, | |
20077 | _swigc__p_wxPrintDialog, | |
20078 | _swigc__p_wxPrintDialogData, | |
20079 | _swigc__p_wxPrintPreview, | |
20080 | _swigc__p_wxPrinter, | |
20081 | _swigc__p_wxProgressDialog, | |
20082 | _swigc__p_wxPyApp, | |
20083 | _swigc__p_wxPyCommandEvent, | |
20084 | _swigc__p_wxPyEvent, | |
20085 | _swigc__p_wxPyHtmlFilter, | |
20086 | _swigc__p_wxPyHtmlListBox, | |
20087 | _swigc__p_wxPyHtmlTagHandler, | |
20088 | _swigc__p_wxPyHtmlWinTagHandler, | |
20089 | _swigc__p_wxPyHtmlWindow, | |
20090 | _swigc__p_wxPyImageHandler, | |
20091 | _swigc__p_wxPyPanel, | |
20092 | _swigc__p_wxPyPopupTransientWindow, | |
20093 | _swigc__p_wxPyPreviewControlBar, | |
20094 | _swigc__p_wxPyPreviewFrame, | |
20095 | _swigc__p_wxPyPrintPreview, | |
20096 | _swigc__p_wxPyPrintout, | |
20097 | _swigc__p_wxPyScrolledWindow, | |
20098 | _swigc__p_wxPySizer, | |
20099 | _swigc__p_wxPyTaskBarIcon, | |
20100 | _swigc__p_wxPyVListBox, | |
20101 | _swigc__p_wxPyVScrolledWindow, | |
20102 | _swigc__p_wxPyValidator, | |
20103 | _swigc__p_wxPyWindow, | |
20104 | _swigc__p_wxQueryLayoutInfoEvent, | |
20105 | _swigc__p_wxQueryNewPaletteEvent, | |
20106 | _swigc__p_wxSashEvent, | |
20107 | _swigc__p_wxSashLayoutWindow, | |
20108 | _swigc__p_wxSashWindow, | |
20109 | _swigc__p_wxScrollEvent, | |
20110 | _swigc__p_wxScrollWinEvent, | |
20111 | _swigc__p_wxScrolledWindow, | |
20112 | _swigc__p_wxSetCursorEvent, | |
20113 | _swigc__p_wxShowEvent, | |
20114 | _swigc__p_wxSingleChoiceDialog, | |
20115 | _swigc__p_wxSize, | |
20116 | _swigc__p_wxSizeEvent, | |
20117 | _swigc__p_wxSizer, | |
20118 | _swigc__p_wxSizerItem, | |
20119 | _swigc__p_wxSplashScreen, | |
20120 | _swigc__p_wxSplashScreenWindow, | |
20121 | _swigc__p_wxSplitterEvent, | |
20122 | _swigc__p_wxSplitterWindow, | |
20123 | _swigc__p_wxStaticBoxSizer, | |
20124 | _swigc__p_wxStatusBar, | |
20125 | _swigc__p_wxStdDialogButtonSizer, | |
20126 | _swigc__p_wxString, | |
20127 | _swigc__p_wxSysColourChangedEvent, | |
580080c5 | 20128 | _swigc__p_wxTGAHandler, |
7449af73 RD |
20129 | _swigc__p_wxTIFFHandler, |
20130 | _swigc__p_wxTaskBarIconEvent, | |
20131 | _swigc__p_wxTextEntryDialog, | |
20132 | _swigc__p_wxTipWindow, | |
20133 | _swigc__p_wxTopLevelWindow, | |
7449af73 RD |
20134 | _swigc__p_wxUpdateUIEvent, |
20135 | _swigc__p_wxValidator, | |
20136 | _swigc__p_wxVisualAttributes, | |
20137 | _swigc__p_wxWindow, | |
20138 | _swigc__p_wxWindowCreateEvent, | |
20139 | _swigc__p_wxWindowDestroyEvent, | |
20140 | _swigc__p_wxXPMHandler, | |
d14a1e28 RD |
20141 | }; |
20142 | ||
20143 | ||
20144 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
20145 | ||
20146 | static swig_const_info swig_const_table[] = { | |
c32bde28 | 20147 | {0, 0, 0, 0.0, 0, 0}}; |
d14a1e28 RD |
20148 | |
20149 | #ifdef __cplusplus | |
20150 | } | |
20151 | #endif | |
554f62e9 | 20152 | /* ----------------------------------------------------------------------------- |
7449af73 RD |
20153 | * Type initialization: |
20154 | * This problem is tough by the requirement that no dynamic | |
20155 | * memory is used. Also, since swig_type_info structures store pointers to | |
20156 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
20157 | * to swig_type_info structures, we need some lookup code at initialization. | |
20158 | * The idea is that swig generates all the structures that are needed. | |
20159 | * The runtime then collects these partially filled structures. | |
20160 | * The SWIG_InitializeModule function takes these initial arrays out of | |
20161 | * swig_module, and does all the lookup, filling in the swig_module.types | |
20162 | * array with the correct data and linking the correct swig_cast_info | |
20163 | * structures together. | |
554f62e9 | 20164 | * |
7449af73 RD |
20165 | * The generated swig_type_info structures are assigned staticly to an initial |
20166 | * array. We just loop though that array, and handle each type individually. | |
20167 | * First we lookup if this type has been already loaded, and if so, use the | |
20168 | * loaded structure instead of the generated one. Then we have to fill in the | |
20169 | * cast linked list. The cast data is initially stored in something like a | |
20170 | * two-dimensional array. Each row corresponds to a type (there are the same | |
20171 | * number of rows as there are in the swig_type_initial array). Each entry in | |
20172 | * a column is one of the swig_cast_info structures for that type. | |
20173 | * The cast_initial array is actually an array of arrays, because each row has | |
20174 | * a variable number of columns. So to actually build the cast linked list, | |
20175 | * we find the array of casts associated with the type, and loop through it | |
20176 | * adding the casts to the list. The one last trick we need to do is making | |
20177 | * sure the type pointer in the swig_cast_info struct is correct. | |
554f62e9 | 20178 | * |
7449af73 RD |
20179 | * First off, we lookup the cast->type name to see if it is already loaded. |
20180 | * There are three cases to handle: | |
20181 | * 1) If the cast->type has already been loaded AND the type we are adding | |
20182 | * casting info to has not been loaded (it is in this module), THEN we | |
20183 | * replace the cast->type pointer with the type pointer that has already | |
20184 | * been loaded. | |
20185 | * 2) If BOTH types (the one we are adding casting info to, and the | |
20186 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
20187 | * the previous module so we just ignore it. | |
20188 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
20189 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
20190 | * be correct. | |
554f62e9 | 20191 | * ----------------------------------------------------------------------------- */ |
7449af73 RD |
20192 | |
20193 | #ifdef __cplusplus | |
20194 | extern "C" { | |
20195 | #if 0 | |
20196 | } /* c-mode */ | |
20197 | #endif | |
20198 | #endif | |
20199 | ||
20200 | #if 0 | |
20201 | #define SWIGRUNTIME_DEBUG | |
20202 | #endif | |
20203 | ||
20204 | SWIGRUNTIME void | |
20205 | SWIG_InitializeModule(void *clientdata) { | |
554f62e9 RD |
20206 | size_t i; |
20207 | swig_module_info *module_head; | |
20208 | static int init_run = 0; | |
20209 | ||
20210 | clientdata = clientdata; | |
20211 | ||
20212 | if (init_run) return; | |
20213 | init_run = 1; | |
20214 | ||
20215 | /* Initialize the swig_module */ | |
20216 | swig_module.type_initial = swig_type_initial; | |
20217 | swig_module.cast_initial = swig_cast_initial; | |
20218 | ||
20219 | /* Try and load any already created modules */ | |
20220 | module_head = SWIG_GetModule(clientdata); | |
20221 | if (module_head) { | |
20222 | swig_module.next = module_head->next; | |
20223 | module_head->next = &swig_module; | |
20224 | } else { | |
20225 | /* This is the first module loaded */ | |
20226 | swig_module.next = &swig_module; | |
20227 | SWIG_SetModule(clientdata, &swig_module); | |
20228 | } | |
20229 | ||
20230 | /* Now work on filling in swig_module.types */ | |
7449af73 | 20231 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 20232 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); |
7449af73 | 20233 | #endif |
554f62e9 RD |
20234 | for (i = 0; i < swig_module.size; ++i) { |
20235 | swig_type_info *type = 0; | |
20236 | swig_type_info *ret; | |
20237 | swig_cast_info *cast; | |
20238 | ||
7449af73 | 20239 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 20240 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); |
7449af73 | 20241 | #endif |
554f62e9 RD |
20242 | |
20243 | /* if there is another module already loaded */ | |
20244 | if (swig_module.next != &swig_module) { | |
20245 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
20246 | } | |
20247 | if (type) { | |
20248 | /* Overwrite clientdata field */ | |
7449af73 | 20249 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 20250 | printf("SWIG_InitializeModule: found type %s\n", type->name); |
7449af73 | 20251 | #endif |
554f62e9 RD |
20252 | if (swig_module.type_initial[i]->clientdata) { |
20253 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
7449af73 | 20254 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 20255 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); |
7449af73 | 20256 | #endif |
554f62e9 RD |
20257 | } |
20258 | } else { | |
20259 | type = swig_module.type_initial[i]; | |
20260 | } | |
20261 | ||
20262 | /* Insert casting types */ | |
20263 | cast = swig_module.cast_initial[i]; | |
20264 | while (cast->type) { | |
20265 | /* Don't need to add information already in the list */ | |
20266 | ret = 0; | |
7449af73 | 20267 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 20268 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); |
7449af73 | 20269 | #endif |
554f62e9 RD |
20270 | if (swig_module.next != &swig_module) { |
20271 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
7449af73 | 20272 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 20273 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); |
7449af73 | 20274 | #endif |
554f62e9 RD |
20275 | } |
20276 | if (ret) { | |
20277 | if (type == swig_module.type_initial[i]) { | |
7449af73 | 20278 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 20279 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); |
7449af73 | 20280 | #endif |
554f62e9 RD |
20281 | cast->type = ret; |
20282 | ret = 0; | |
20283 | } else { | |
20284 | /* Check for casting already in the list */ | |
20285 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
7449af73 | 20286 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 20287 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); |
7449af73 | 20288 | #endif |
554f62e9 RD |
20289 | if (!ocast) ret = 0; |
20290 | } | |
20291 | } | |
20292 | ||
20293 | if (!ret) { | |
7449af73 | 20294 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 20295 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); |
7449af73 | 20296 | #endif |
554f62e9 RD |
20297 | if (type->cast) { |
20298 | type->cast->prev = cast; | |
20299 | cast->next = type->cast; | |
7449af73 | 20300 | } |
554f62e9 RD |
20301 | type->cast = cast; |
20302 | } | |
20303 | cast++; | |
7449af73 | 20304 | } |
554f62e9 RD |
20305 | /* Set entry in modules->types array equal to the type */ |
20306 | swig_module.types[i] = type; | |
20307 | } | |
20308 | swig_module.types[i] = 0; | |
20309 | ||
7449af73 | 20310 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 RD |
20311 | printf("**** SWIG_InitializeModule: Cast List ******\n"); |
20312 | for (i = 0; i < swig_module.size; ++i) { | |
20313 | int j = 0; | |
20314 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
20315 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
20316 | while (cast->type) { | |
20317 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
20318 | cast++; | |
20319 | ++j; | |
20320 | } | |
20321 | printf("---- Total casts: %d\n",j); | |
20322 | } | |
20323 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
7449af73 RD |
20324 | #endif |
20325 | } | |
20326 | ||
20327 | /* This function will propagate the clientdata field of type to | |
20328 | * any new swig_type_info structures that have been added into the list | |
20329 | * of equivalent types. It is like calling | |
20330 | * SWIG_TypeClientData(type, clientdata) a second time. | |
20331 | */ | |
20332 | SWIGRUNTIME void | |
20333 | SWIG_PropagateClientData(void) { | |
554f62e9 RD |
20334 | size_t i; |
20335 | swig_cast_info *equiv; | |
20336 | static int init_run = 0; | |
20337 | ||
20338 | if (init_run) return; | |
20339 | init_run = 1; | |
20340 | ||
20341 | for (i = 0; i < swig_module.size; i++) { | |
20342 | if (swig_module.types[i]->clientdata) { | |
20343 | equiv = swig_module.types[i]->cast; | |
20344 | while (equiv) { | |
20345 | if (!equiv->converter) { | |
20346 | if (equiv->type && !equiv->type->clientdata) | |
20347 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
7449af73 | 20348 | } |
554f62e9 RD |
20349 | equiv = equiv->next; |
20350 | } | |
7449af73 | 20351 | } |
554f62e9 | 20352 | } |
7449af73 RD |
20353 | } |
20354 | ||
20355 | #ifdef __cplusplus | |
20356 | #if 0 | |
20357 | { | |
554f62e9 | 20358 | /* c-mode */ |
7449af73 RD |
20359 | #endif |
20360 | } | |
20361 | #endif | |
20362 | ||
d14a1e28 | 20363 | |
093d3ff1 RD |
20364 | |
20365 | #ifdef __cplusplus | |
20366 | extern "C" { | |
20367 | #endif | |
554f62e9 RD |
20368 | |
20369 | /* Python-specific SWIG API */ | |
093d3ff1 RD |
20370 | #define SWIG_newvarlink() SWIG_Python_newvarlink() |
20371 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
20372 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
554f62e9 RD |
20373 | |
20374 | /* ----------------------------------------------------------------------------- | |
20375 | * global variable support code. | |
20376 | * ----------------------------------------------------------------------------- */ | |
20377 | ||
20378 | typedef struct swig_globalvar { | |
20379 | char *name; /* Name of global variable */ | |
20380 | PyObject *(*get_attr)(void); /* Return the current value */ | |
20381 | int (*set_attr)(PyObject *); /* Set the value */ | |
20382 | struct swig_globalvar *next; | |
20383 | } swig_globalvar; | |
20384 | ||
20385 | typedef struct swig_varlinkobject { | |
20386 | PyObject_HEAD | |
20387 | swig_globalvar *vars; | |
20388 | } swig_varlinkobject; | |
20389 | ||
20390 | SWIGINTERN PyObject * | |
20391 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
20392 | return PyString_FromString("<Swig global variables>"); | |
20393 | } | |
20394 | ||
20395 | SWIGINTERN PyObject * | |
20396 | swig_varlink_str(swig_varlinkobject *v) { | |
20397 | PyObject *str = PyString_FromString("("); | |
20398 | swig_globalvar *var; | |
20399 | for (var = v->vars; var; var=var->next) { | |
20400 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
20401 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
20402 | } | |
20403 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
20404 | return str; | |
20405 | } | |
20406 | ||
20407 | SWIGINTERN int | |
20408 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
20409 | PyObject *str = swig_varlink_str(v); | |
20410 | fprintf(fp,"Swig global variables "); | |
20411 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
20412 | Py_DECREF(str); | |
20413 | return 0; | |
20414 | } | |
20415 | ||
20416 | SWIGINTERN void | |
20417 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
20418 | swig_globalvar *var = v->vars; | |
20419 | while (var) { | |
20420 | swig_globalvar *n = var->next; | |
20421 | free(var->name); | |
20422 | free(var); | |
20423 | var = n; | |
093d3ff1 | 20424 | } |
554f62e9 RD |
20425 | } |
20426 | ||
20427 | SWIGINTERN PyObject * | |
20428 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
20429 | PyObject *res = NULL; | |
20430 | swig_globalvar *var = v->vars; | |
20431 | while (var) { | |
20432 | if (strcmp(var->name,n) == 0) { | |
20433 | res = (*var->get_attr)(); | |
20434 | break; | |
20435 | } | |
20436 | var = var->next; | |
093d3ff1 | 20437 | } |
554f62e9 RD |
20438 | if (res == NULL && !PyErr_Occurred()) { |
20439 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
093d3ff1 | 20440 | } |
554f62e9 RD |
20441 | return res; |
20442 | } | |
20443 | ||
20444 | SWIGINTERN int | |
20445 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
20446 | int res = 1; | |
20447 | swig_globalvar *var = v->vars; | |
20448 | while (var) { | |
20449 | if (strcmp(var->name,n) == 0) { | |
20450 | res = (*var->set_attr)(p); | |
20451 | break; | |
20452 | } | |
20453 | var = var->next; | |
093d3ff1 | 20454 | } |
554f62e9 RD |
20455 | if (res == 1 && !PyErr_Occurred()) { |
20456 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
20457 | } | |
20458 | return res; | |
20459 | } | |
20460 | ||
20461 | SWIGINTERN PyTypeObject* | |
20462 | swig_varlink_type(void) { | |
20463 | static char varlink__doc__[] = "Swig var link object"; | |
20464 | static PyTypeObject varlink_type; | |
20465 | static int type_init = 0; | |
20466 | if (!type_init) { | |
20467 | const PyTypeObject tmp | |
20468 | = { | |
20469 | PyObject_HEAD_INIT(NULL) | |
20470 | 0, /* Number of items in variable part (ob_size) */ | |
20471 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
20472 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
20473 | 0, /* Itemsize (tp_itemsize) */ | |
20474 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
20475 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
20476 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
20477 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
20478 | 0, /* tp_compare */ | |
20479 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
20480 | 0, /* tp_as_number */ | |
20481 | 0, /* tp_as_sequence */ | |
20482 | 0, /* tp_as_mapping */ | |
20483 | 0, /* tp_hash */ | |
20484 | 0, /* tp_call */ | |
20485 | (reprfunc)swig_varlink_str, /* tp_str */ | |
20486 | 0, /* tp_getattro */ | |
20487 | 0, /* tp_setattro */ | |
20488 | 0, /* tp_as_buffer */ | |
20489 | 0, /* tp_flags */ | |
20490 | varlink__doc__, /* tp_doc */ | |
20491 | 0, /* tp_traverse */ | |
20492 | 0, /* tp_clear */ | |
20493 | 0, /* tp_richcompare */ | |
20494 | 0, /* tp_weaklistoffset */ | |
093d3ff1 | 20495 | #if PY_VERSION_HEX >= 0x02020000 |
554f62e9 | 20496 | 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 |
20497 | #endif |
20498 | #if PY_VERSION_HEX >= 0x02030000 | |
554f62e9 | 20499 | 0, /* tp_del */ |
093d3ff1 RD |
20500 | #endif |
20501 | #ifdef COUNT_ALLOCS | |
554f62e9 | 20502 | 0,0,0,0 /* tp_alloc -> tp_next */ |
7449af73 | 20503 | #endif |
554f62e9 RD |
20504 | }; |
20505 | varlink_type = tmp; | |
20506 | varlink_type.ob_type = &PyType_Type; | |
20507 | type_init = 1; | |
7449af73 | 20508 | } |
554f62e9 RD |
20509 | return &varlink_type; |
20510 | } | |
20511 | ||
20512 | /* Create a variable linking object for use later */ | |
20513 | SWIGINTERN PyObject * | |
20514 | SWIG_Python_newvarlink(void) { | |
20515 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
20516 | if (result) { | |
20517 | result->vars = 0; | |
20518 | } | |
20519 | return ((PyObject*) result); | |
20520 | } | |
20521 | ||
20522 | SWIGINTERN void | |
20523 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
20524 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
20525 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
20526 | if (gv) { | |
20527 | size_t size = strlen(name)+1; | |
20528 | gv->name = (char *)malloc(size); | |
20529 | if (gv->name) { | |
20530 | strncpy(gv->name,name,size); | |
20531 | gv->get_attr = get_attr; | |
20532 | gv->set_attr = set_attr; | |
20533 | gv->next = v->vars; | |
20534 | } | |
093d3ff1 | 20535 | } |
554f62e9 RD |
20536 | v->vars = gv; |
20537 | } | |
20538 | ||
20539 | SWIGINTERN PyObject * | |
20540 | SWIG_globals() { | |
20541 | static PyObject *_SWIG_globals = 0; | |
20542 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
20543 | return _SWIG_globals; | |
20544 | } | |
20545 | ||
20546 | /* ----------------------------------------------------------------------------- | |
20547 | * constants/methods manipulation | |
20548 | * ----------------------------------------------------------------------------- */ | |
20549 | ||
20550 | /* Install Constants */ | |
20551 | SWIGINTERN void | |
20552 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
20553 | PyObject *obj = 0; | |
20554 | size_t i; | |
20555 | for (i = 0; constants[i].type; ++i) { | |
20556 | switch(constants[i].type) { | |
20557 | case SWIG_PY_POINTER: | |
20558 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
20559 | break; | |
20560 | case SWIG_PY_BINARY: | |
20561 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
20562 | break; | |
20563 | default: | |
20564 | obj = 0; | |
20565 | break; | |
20566 | } | |
20567 | if (obj) { | |
20568 | PyDict_SetItemString(d, constants[i].name, obj); | |
20569 | Py_DECREF(obj); | |
20570 | } | |
093d3ff1 | 20571 | } |
554f62e9 RD |
20572 | } |
20573 | ||
20574 | /* -----------------------------------------------------------------------------*/ | |
20575 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
20576 | /* -----------------------------------------------------------------------------*/ | |
20577 | ||
20578 | SWIGINTERN void | |
20579 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
093d3ff1 RD |
20580 | swig_const_info *const_table, |
20581 | swig_type_info **types, | |
20582 | swig_type_info **types_initial) { | |
554f62e9 RD |
20583 | size_t i; |
20584 | for (i = 0; methods[i].ml_name; ++i) { | |
453fb36b | 20585 | const char *c = methods[i].ml_doc; |
554f62e9 RD |
20586 | if (c && (c = strstr(c, "swig_ptr: "))) { |
20587 | int j; | |
20588 | swig_const_info *ci = 0; | |
453fb36b | 20589 | const char *name = c + 10; |
554f62e9 RD |
20590 | for (j = 0; const_table[j].type; ++j) { |
20591 | if (strncmp(const_table[j].name, name, | |
20592 | strlen(const_table[j].name)) == 0) { | |
20593 | ci = &(const_table[j]); | |
20594 | break; | |
20595 | } | |
20596 | } | |
20597 | if (ci) { | |
20598 | size_t shift = (ci->ptype) - types; | |
20599 | swig_type_info *ty = types_initial[shift]; | |
20600 | size_t ldoc = (c - methods[i].ml_doc); | |
20601 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
20602 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
20603 | if (ndoc) { | |
20604 | char *buff = ndoc; | |
20605 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
20606 | if (ptr) { | |
20607 | strncpy(buff, methods[i].ml_doc, ldoc); | |
20608 | buff += ldoc; | |
20609 | strncpy(buff, "swig_ptr: ", 10); | |
20610 | buff += 10; | |
20611 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
20612 | methods[i].ml_doc = ndoc; | |
093d3ff1 | 20613 | } |
554f62e9 | 20614 | } |
093d3ff1 | 20615 | } |
554f62e9 | 20616 | } |
093d3ff1 | 20617 | } |
554f62e9 RD |
20618 | } |
20619 | ||
093d3ff1 RD |
20620 | #ifdef __cplusplus |
20621 | } | |
20622 | #endif | |
20623 | ||
20624 | /* -----------------------------------------------------------------------------* | |
20625 | * Partial Init method | |
20626 | * -----------------------------------------------------------------------------*/ | |
20627 | ||
d14a1e28 RD |
20628 | #ifdef __cplusplus |
20629 | extern "C" | |
20630 | #endif | |
7449af73 | 20631 | SWIGEXPORT void SWIG_init(void) { |
554f62e9 RD |
20632 | PyObject *m, *d; |
20633 | ||
20634 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
20635 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
20636 | ||
20637 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
20638 | d = PyModule_GetDict(m); | |
20639 | ||
20640 | SWIG_InitializeModule(0); | |
20641 | SWIG_InstallConstants(d,swig_const_table); | |
20642 | ||
20643 | ||
20644 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
20645 | SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get, HtmlWindowNameStr_set); | |
20646 | SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get, HtmlPrintoutTitleStr_set); | |
20647 | SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get, HtmlPrintingTitleStr_set); | |
20648 | SWIG_Python_SetConstant(d, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT))); | |
20649 | SWIG_Python_SetConstant(d, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER))); | |
20650 | SWIG_Python_SetConstant(d, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT))); | |
20651 | SWIG_Python_SetConstant(d, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM))); | |
20652 | SWIG_Python_SetConstant(d, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP))); | |
20653 | SWIG_Python_SetConstant(d, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND))); | |
20654 | SWIG_Python_SetConstant(d, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND))); | |
20655 | SWIG_Python_SetConstant(d, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS))); | |
20656 | SWIG_Python_SetConstant(d, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT))); | |
20657 | SWIG_Python_SetConstant(d, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT))); | |
20658 | SWIG_Python_SetConstant(d, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT))); | |
20659 | SWIG_Python_SetConstant(d, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP))); | |
20660 | SWIG_Python_SetConstant(d, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM))); | |
20661 | SWIG_Python_SetConstant(d, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL))); | |
20662 | SWIG_Python_SetConstant(d, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL))); | |
20663 | SWIG_Python_SetConstant(d, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL))); | |
20664 | SWIG_Python_SetConstant(d, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR))); | |
20665 | SWIG_Python_SetConstant(d, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP))); | |
20666 | SWIG_Python_SetConstant(d, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER))); | |
554f62e9 RD |
20667 | SWIG_Python_SetConstant(d, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER))); |
20668 | SWIG_Python_SetConstant(d, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO))); | |
20669 | SWIG_Python_SetConstant(d, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION))); | |
20670 | SWIG_Python_SetConstant(d, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE))); | |
20671 | SWIG_Python_SetConstant(d, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN))); | |
20672 | SWIG_Python_SetConstant(d, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK))); | |
20673 | SWIG_Python_SetConstant(d, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT))); | |
20674 | SWIG_Python_SetConstant(d, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE))); | |
20675 | SWIG_Python_SetConstant(d, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE))); | |
20676 | SWIG_Python_SetConstant(d, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER))); | |
20677 | SWIG_Python_SetConstant(d, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT))); | |
20678 | SWIG_Python_SetConstant(d, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN))); | |
20679 | SWIG_Python_SetConstant(d, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING))); | |
20680 | SWIG_Python_SetConstant(d, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT))); | |
20681 | SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE))); | |
20682 | SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER))); | |
e9d6f3a4 RD |
20683 | SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default))); |
20684 | SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link))); | |
20685 | SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text))); | |
20686 | SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default))); | |
20687 | SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link))); | |
20688 | SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text))); | |
554f62e9 RD |
20689 | SWIG_Python_SetConstant(d, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD))); |
20690 | SWIG_Python_SetConstant(d, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN))); | |
20691 | SWIG_Python_SetConstant(d, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL))); | |
20692 | SWIG_Python_SetConstant(d, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR))); | |
20693 | SWIG_Python_SetConstant(d, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS))); | |
20694 | SWIG_Python_SetConstant(d, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX))); | |
20695 | SWIG_Python_SetConstant(d, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH))); | |
20696 | SWIG_Python_SetConstant(d, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS))); | |
20697 | SWIG_Python_SetConstant(d, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES))); | |
20698 | SWIG_Python_SetConstant(d, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT))); | |
20699 | SWIG_Python_SetConstant(d, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR))); | |
20700 | SWIG_Python_SetConstant(d, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS))); | |
20701 | SWIG_Python_SetConstant(d, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK))); | |
20702 | SWIG_Python_SetConstant(d, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER))); | |
20703 | SWIG_Python_SetConstant(d, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER))); | |
20704 | SWIG_Python_SetConstant(d, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE))); | |
20705 | SWIG_Python_SetConstant(d, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED))); | |
20706 | SWIG_Python_SetConstant(d, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG))); | |
20707 | SWIG_Python_SetConstant(d, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME))); | |
20708 | SWIG_Python_SetConstant(d, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL))); | |
20709 | SWIG_Python_SetConstant(d, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL))); | |
20710 | SWIG_Python_SetConstant(d, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK))); | |
20711 | SWIG_Python_SetConstant(d, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD))); | |
20712 | SWIG_Python_SetConstant(d, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE))); | |
20713 | SWIG_Python_SetConstant(d, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP))); | |
20714 | SWIG_Python_SetConstant(d, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN))); | |
20715 | SWIG_Python_SetConstant(d, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT))); | |
20716 | SWIG_Python_SetConstant(d, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE))); | |
20717 | SWIG_Python_SetConstant(d, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS))); | |
20718 | SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST))); | |
20719 | SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD))); | |
20720 | SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE))); | |
20721 | SWIG_Python_SetConstant(d, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL))); | |
20722 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE))); | |
20723 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST))); | |
20724 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT))); | |
20725 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON))); | |
20726 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL))); | |
20727 | SWIG_Python_SetConstant(d, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK))); | |
20728 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE))); | |
20729 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT))); | |
20730 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST))); | |
20731 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON))); | |
20732 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE))); | |
20733 | SWIG_Python_SetConstant(d, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO))); | |
8f514ab4 RD |
20734 | PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_CELL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_CLICKED)); |
20735 | PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_CELL_HOVER", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_HOVER)); | |
20736 | PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_LINK_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_LINK_CLICKED)); | |
554f62e9 RD |
20737 | |
20738 | wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); | |
20739 | wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler"); | |
20740 | wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow"); | |
20741 | wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter"); | |
20742 | ||
d14a1e28 RD |
20743 | } |
20744 |