]>
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] | |
2526 | #define SWIGTYPE_p_wxHtmlColourCell swig_types[60] | |
2527 | #define SWIGTYPE_p_wxHtmlContainerCell swig_types[61] | |
2528 | #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[62] | |
2529 | #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[63] | |
2530 | #define SWIGTYPE_p_wxHtmlFilter swig_types[64] | |
2531 | #define SWIGTYPE_p_wxHtmlFontCell swig_types[65] | |
2532 | #define SWIGTYPE_p_wxHtmlHelpController swig_types[66] | |
2533 | #define SWIGTYPE_p_wxHtmlHelpData swig_types[67] | |
2534 | #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[68] | |
2535 | #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[69] | |
2536 | #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[70] | |
2537 | #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[71] | |
2538 | #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[72] | |
2539 | #define SWIGTYPE_p_wxHtmlModalHelp swig_types[73] | |
2540 | #define SWIGTYPE_p_wxHtmlParser swig_types[74] | |
2541 | #define SWIGTYPE_p_wxHtmlPrintout swig_types[75] | |
2542 | #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[76] | |
2543 | #define SWIGTYPE_p_wxHtmlRenderingState swig_types[77] | |
2544 | #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[78] | |
2545 | #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[79] | |
2546 | #define SWIGTYPE_p_wxHtmlSelection swig_types[80] | |
2547 | #define SWIGTYPE_p_wxHtmlTag swig_types[81] | |
2548 | #define SWIGTYPE_p_wxHtmlTagHandler swig_types[82] | |
2549 | #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[83] | |
2550 | #define SWIGTYPE_p_wxHtmlWinParser swig_types[84] | |
2551 | #define SWIGTYPE_p_wxHtmlWindow swig_types[85] | |
2552 | #define SWIGTYPE_p_wxHtmlWindowEvent swig_types[86] | |
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_wxMouseEvent swig_types[111] | |
2578 | #define SWIGTYPE_p_wxMoveEvent swig_types[112] | |
2579 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[113] | |
2580 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[114] | |
2581 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[115] | |
2582 | #define SWIGTYPE_p_wxNotifyEvent swig_types[116] | |
2583 | #define SWIGTYPE_p_wxObject swig_types[117] | |
2584 | #define SWIGTYPE_p_wxPCXHandler swig_types[118] | |
2585 | #define SWIGTYPE_p_wxPNGHandler swig_types[119] | |
2586 | #define SWIGTYPE_p_wxPNMHandler swig_types[120] | |
2587 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[121] | |
2588 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[122] | |
2589 | #define SWIGTYPE_p_wxPaintEvent swig_types[123] | |
2590 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[124] | |
2591 | #define SWIGTYPE_p_wxPanel swig_types[125] | |
2592 | #define SWIGTYPE_p_wxPaperSize swig_types[126] | |
2593 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[127] | |
2594 | #define SWIGTYPE_p_wxPoint swig_types[128] | |
2595 | #define SWIGTYPE_p_wxPopupWindow swig_types[129] | |
2596 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[130] | |
2597 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[131] | |
2598 | #define SWIGTYPE_p_wxPreviewFrame swig_types[132] | |
2599 | #define SWIGTYPE_p_wxPrintData swig_types[133] | |
2600 | #define SWIGTYPE_p_wxPrintDialog swig_types[134] | |
2601 | #define SWIGTYPE_p_wxPrintDialogData swig_types[135] | |
2602 | #define SWIGTYPE_p_wxPrintPreview swig_types[136] | |
2603 | #define SWIGTYPE_p_wxPrinter swig_types[137] | |
2604 | #define SWIGTYPE_p_wxProgressDialog swig_types[138] | |
2605 | #define SWIGTYPE_p_wxPyApp swig_types[139] | |
2606 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[140] | |
2607 | #define SWIGTYPE_p_wxPyEvent swig_types[141] | |
2608 | #define SWIGTYPE_p_wxPyHtmlFilter swig_types[142] | |
2609 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[143] | |
2610 | #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[144] | |
2611 | #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[145] | |
2612 | #define SWIGTYPE_p_wxPyHtmlWindow swig_types[146] | |
2613 | #define SWIGTYPE_p_wxPyImageHandler swig_types[147] | |
2614 | #define SWIGTYPE_p_wxPyPanel swig_types[148] | |
2615 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[149] | |
2616 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[150] | |
2617 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[151] | |
2618 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[152] | |
2619 | #define SWIGTYPE_p_wxPyPrintout swig_types[153] | |
2620 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[154] | |
2621 | #define SWIGTYPE_p_wxPySizer swig_types[155] | |
2622 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[156] | |
2623 | #define SWIGTYPE_p_wxPyVListBox swig_types[157] | |
2624 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[158] | |
2625 | #define SWIGTYPE_p_wxPyValidator swig_types[159] | |
2626 | #define SWIGTYPE_p_wxPyWindow swig_types[160] | |
2627 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[161] | |
2628 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[162] | |
2629 | #define SWIGTYPE_p_wxSashEvent swig_types[163] | |
2630 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[164] | |
2631 | #define SWIGTYPE_p_wxSashWindow swig_types[165] | |
2632 | #define SWIGTYPE_p_wxScrollEvent swig_types[166] | |
2633 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[167] | |
2634 | #define SWIGTYPE_p_wxScrolledWindow swig_types[168] | |
2635 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[169] | |
2636 | #define SWIGTYPE_p_wxShowEvent swig_types[170] | |
2637 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[171] | |
2638 | #define SWIGTYPE_p_wxSize swig_types[172] | |
2639 | #define SWIGTYPE_p_wxSizeEvent swig_types[173] | |
2640 | #define SWIGTYPE_p_wxSizer swig_types[174] | |
2641 | #define SWIGTYPE_p_wxSizerItem swig_types[175] | |
2642 | #define SWIGTYPE_p_wxSplashScreen swig_types[176] | |
2643 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[177] | |
2644 | #define SWIGTYPE_p_wxSplitterEvent swig_types[178] | |
2645 | #define SWIGTYPE_p_wxSplitterWindow swig_types[179] | |
2646 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[180] | |
2647 | #define SWIGTYPE_p_wxStatusBar swig_types[181] | |
2648 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[182] | |
2649 | #define SWIGTYPE_p_wxString swig_types[183] | |
2650 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[184] | |
2651 | #define SWIGTYPE_p_wxTIFFHandler swig_types[185] | |
2652 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[186] | |
2653 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[187] | |
2654 | #define SWIGTYPE_p_wxTipWindow swig_types[188] | |
2655 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[189] | |
2656 | #define SWIGTYPE_p_wxTreeCtrl swig_types[190] | |
2657 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[191] | |
2658 | #define SWIGTYPE_p_wxValidator swig_types[192] | |
2659 | #define SWIGTYPE_p_wxVisualAttributes swig_types[193] | |
2660 | #define SWIGTYPE_p_wxWindow swig_types[194] | |
2661 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[195] | |
2662 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[196] | |
2663 | #define SWIGTYPE_p_wxXPMHandler swig_types[197] | |
2664 | static swig_type_info *swig_types[199]; | |
2665 | static swig_module_info swig_module = {swig_types, 198, 0, 0, 0, 0}; | |
7449af73 RD |
2666 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
2667 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
8edf1c75 | 2668 | |
093d3ff1 | 2669 | /* -------- TYPES TABLE (END) -------- */ |
8edf1c75 | 2670 | |
554f62e9 RD |
2671 | #if (PY_VERSION_HEX <= 0x02000000) |
2672 | # if !defined(SWIG_PYTHON_CLASSIC) | |
2673 | # error "This python version requires to use swig with the '-classic' option" | |
2674 | # endif | |
2675 | #endif | |
2676 | #if (PY_VERSION_HEX <= 0x02020000) | |
2677 | # error "This python version requires to use swig with the '-nomodern' option" | |
2678 | #endif | |
2679 | #if (PY_VERSION_HEX <= 0x02020000) | |
2680 | # error "This python version requires to use swig with the '-nomodernargs' option" | |
2681 | #endif | |
2682 | #ifndef METH_O | |
2683 | # error "This python version requires to use swig with the '-nofastunpack' option" | |
2684 | #endif | |
8edf1c75 | 2685 | |
093d3ff1 RD |
2686 | /*----------------------------------------------- |
2687 | @(target):= _html.so | |
2688 | ------------------------------------------------*/ | |
2689 | #define SWIG_init init_html | |
2690 | ||
2691 | #define SWIG_name "_html" | |
8edf1c75 | 2692 | |
554f62e9 RD |
2693 | #define SWIGVERSION 0x010329 |
2694 | ||
2695 | ||
2696 | #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) | |
2697 | #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) | |
2698 | ||
2699 | ||
2700 | #include <stdexcept> | |
2701 | ||
2702 | ||
2703 | namespace swig { | |
2704 | class PyObject_ptr { | |
2705 | protected: | |
2706 | PyObject *_obj; | |
2707 | ||
2708 | public: | |
2709 | PyObject_ptr() :_obj(0) | |
2710 | { | |
2711 | } | |
2712 | ||
2713 | PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) | |
2714 | { | |
2715 | Py_XINCREF(_obj); | |
2716 | } | |
2717 | ||
2718 | PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) | |
2719 | { | |
2720 | if (initial_ref) Py_XINCREF(_obj); | |
2721 | } | |
2722 | ||
2723 | PyObject_ptr & operator=(const PyObject_ptr& item) | |
2724 | { | |
2725 | Py_XINCREF(item._obj); | |
2726 | Py_XDECREF(_obj); | |
2727 | _obj = item._obj; | |
2728 | return *this; | |
2729 | } | |
2730 | ||
2731 | ~PyObject_ptr() | |
2732 | { | |
2733 | Py_XDECREF(_obj); | |
2734 | } | |
2735 | ||
2736 | operator PyObject *() const | |
2737 | { | |
2738 | return _obj; | |
2739 | } | |
2740 | ||
2741 | PyObject *operator->() const | |
2742 | { | |
2743 | return _obj; | |
2744 | } | |
2745 | }; | |
2746 | } | |
2747 | ||
2748 | ||
2749 | namespace swig { | |
2750 | struct PyObject_var : PyObject_ptr { | |
2751 | PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } | |
2752 | ||
2753 | PyObject_var & operator = (PyObject* obj) | |
2754 | { | |
2755 | Py_XDECREF(_obj); | |
2756 | _obj = obj; | |
2757 | return *this; | |
2758 | } | |
2759 | }; | |
2760 | } | |
2761 | ||
2762 | ||
d14a1e28 RD |
2763 | #include "wx/wxPython/wxPython.h" |
2764 | #include "wx/wxPython/pyclasses.h" | |
2765 | #include "wx/wxPython/pyistream.h" | |
2766 | #include "wx/wxPython/printfw.h" | |
2767 | ||
2768 | #include <wx/html/htmlwin.h> | |
2769 | #include <wx/html/htmprint.h> | |
2770 | #include <wx/html/helpctrl.h> | |
7449af73 RD |
2771 | #include <wx/html/helpwnd.h> |
2772 | #include <wx/html/helpfrm.h> | |
2773 | #include <wx/html/helpdlg.h> | |
d14a1e28 RD |
2774 | |
2775 | ||
d03fd34d RD |
2776 | static const wxString wxPyEmptyString(wxEmptyString); |
2777 | static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow")); | |
2778 | static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout")); | |
2779 | static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing")); | |
8edf1c75 | 2780 | |
554f62e9 | 2781 | #define SWIG_From_long PyInt_FromLong |
093d3ff1 RD |
2782 | |
2783 | ||
554f62e9 RD |
2784 | SWIGINTERNINLINE PyObject * |
2785 | SWIG_From_int (int value) | |
2786 | { | |
2787 | return SWIG_From_long (value); | |
2788 | } | |
2f4c0a16 RD |
2789 | |
2790 | ||
554f62e9 RD |
2791 | #include <limits.h> |
2792 | #ifndef LLONG_MIN | |
2793 | # define LLONG_MIN LONG_LONG_MIN | |
2794 | #endif | |
2795 | #ifndef LLONG_MAX | |
2796 | # define LLONG_MAX LONG_LONG_MAX | |
2797 | #endif | |
2798 | #ifndef ULLONG_MAX | |
2799 | # define ULLONG_MAX ULONG_LONG_MAX | |
2800 | #endif | |
2f4c0a16 RD |
2801 | |
2802 | ||
093d3ff1 | 2803 | SWIGINTERN int |
554f62e9 | 2804 | SWIG_AsVal_long (PyObject* obj, long* val) |
2f4c0a16 | 2805 | { |
c32bde28 RD |
2806 | if (PyNumber_Check(obj)) { |
2807 | if (val) *val = PyInt_AsLong(obj); | |
554f62e9 | 2808 | return SWIG_OK; |
c32bde28 | 2809 | } |
554f62e9 | 2810 | return SWIG_TypeError; |
2f4c0a16 RD |
2811 | } |
2812 | ||
2813 | ||
093d3ff1 | 2814 | SWIGINTERN int |
554f62e9 RD |
2815 | SWIG_AsVal_int (PyObject * obj, int *val) |
2816 | { | |
c32bde28 | 2817 | long v; |
554f62e9 RD |
2818 | int res = SWIG_AsVal_long (obj, &v); |
2819 | if (SWIG_IsOK(res)) { | |
2820 | if ((v < INT_MIN || v > INT_MAX)) { | |
2821 | return SWIG_OverflowError; | |
c32bde28 | 2822 | } else { |
554f62e9 | 2823 | if (val) *val = static_cast< int >(v); |
c32bde28 | 2824 | } |
554f62e9 RD |
2825 | } |
2826 | return res; | |
8edf1c75 RD |
2827 | } |
2828 | ||
554f62e9 | 2829 | SWIGINTERN void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
2830 | int* temp = NULL; |
2831 | if (sizes) temp = int_LIST_helper(sizes); | |
2832 | self->SetFonts(normal_face, fixed_face, temp); | |
2833 | if (temp) | |
2834 | delete [] temp; | |
2835 | } | |
2836 | ||
2837 | class wxPyHtmlTagHandler : public wxHtmlTagHandler { | |
7449af73 | 2838 | DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler) |
d14a1e28 RD |
2839 | public: |
2840 | wxPyHtmlTagHandler() : wxHtmlTagHandler() {}; | |
2841 | ||
2842 | wxHtmlParser* GetParser() { return m_Parser; } | |
2843 | void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); } | |
2844 | ||
2845 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
2846 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
2847 | ||
2848 | PYPRIVATE; | |
2849 | }; | |
2850 | ||
2851 | IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler); | |
2852 | ||
2853 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags); | |
2854 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag); | |
2855 | ||
2856 | ||
2857 | class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler { | |
7449af73 | 2858 | DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler) |
d14a1e28 RD |
2859 | public: |
2860 | wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {}; | |
2861 | ||
2862 | wxHtmlWinParser* GetParser() { return m_WParser; } | |
2863 | void ParseInner(const wxHtmlTag& tag) | |
2864 | { wxHtmlWinTagHandler::ParseInner(tag); } | |
2865 | ||
2866 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
2867 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
2868 | ||
2869 | PYPRIVATE; | |
2870 | }; | |
2871 | ||
2872 | IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler); | |
2873 | ||
2874 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags); | |
2875 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag); | |
2876 | ||
2877 | ||
2878 | ||
2879 | class wxPyHtmlTagsModule : public wxHtmlTagsModule { | |
2880 | public: | |
2881 | wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() { | |
2882 | m_tagHandlerClass = thc; | |
2883 | Py_INCREF(m_tagHandlerClass); | |
2884 | RegisterModule(this); | |
2885 | wxHtmlWinParser::AddModule(this); | |
2886 | } | |
2887 | ||
2888 | void OnExit() { | |
5a446332 | 2889 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
2890 | Py_DECREF(m_tagHandlerClass); |
2891 | m_tagHandlerClass = NULL; | |
2892 | for (size_t x=0; x < m_objArray.GetCount(); x++) { | |
2893 | PyObject* obj = (PyObject*)m_objArray.Item(x); | |
2894 | Py_DECREF(obj); | |
2895 | } | |
4f89f6a3 | 2896 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
2897 | }; |
2898 | ||
2899 | void FillHandlersTable(wxHtmlWinParser *parser) { | |
2900 | // Wave our magic wand... (if it works it's a miracle! ;-) | |
2901 | ||
2902 | // First, make a new instance of the tag handler | |
5a446332 | 2903 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
fb757066 RD |
2904 | PyObject* arg = PyTuple_New(0); |
2905 | PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg); | |
d14a1e28 | 2906 | Py_DECREF(arg); |
7449af73 | 2907 | |
d14a1e28 RD |
2908 | // now figure out where it's C++ object is... |
2909 | wxPyHtmlWinTagHandler* thPtr; | |
fb757066 | 2910 | if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) { |
4f89f6a3 | 2911 | wxPyEndBlockThreads(blocked); |
d14a1e28 | 2912 | return; |
fb757066 | 2913 | } |
4f89f6a3 | 2914 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
2915 | |
2916 | // add it, | |
2917 | parser->AddTagHandler(thPtr); | |
2918 | ||
2919 | // and track it. | |
2920 | m_objArray.Add(obj); | |
2921 | } | |
2922 | ||
2923 | private: | |
2924 | PyObject* m_tagHandlerClass; | |
2925 | wxArrayPtrVoid m_objArray; | |
2926 | ||
2927 | }; | |
2928 | ||
2929 | ||
2930 | void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) { | |
2931 | // Dynamically create a new wxModule. Refcounts tagHandlerClass | |
2932 | // and adds itself to the wxModules list and to the wxHtmlWinParser. | |
2933 | new wxPyHtmlTagsModule(tagHandlerClass); | |
2934 | } | |
2935 | ||
2936 | ||
7449af73 | 2937 | SWIGINTERNINLINE PyObject* |
554f62e9 | 2938 | SWIG_From_bool (bool value) |
093d3ff1 | 2939 | { |
554f62e9 | 2940 | return PyBool_FromLong(value ? 1 : 0); |
093d3ff1 RD |
2941 | } |
2942 | ||
2943 | ||
093d3ff1 | 2944 | SWIGINTERN int |
554f62e9 | 2945 | SWIG_AsVal_bool (PyObject *obj, bool *val) |
2f4c0a16 | 2946 | { |
c32bde28 RD |
2947 | if (obj == Py_True) { |
2948 | if (val) *val = true; | |
554f62e9 RD |
2949 | return SWIG_OK; |
2950 | } else if (obj == Py_False) { | |
c32bde28 | 2951 | if (val) *val = false; |
554f62e9 | 2952 | return SWIG_OK; |
093d3ff1 | 2953 | } else { |
554f62e9 RD |
2954 | long v = 0; |
2955 | int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0)); | |
2956 | if (SWIG_IsOK(res) && val) *val = v ? true : false; | |
2957 | return res; | |
2f4c0a16 | 2958 | } |
c32bde28 RD |
2959 | } |
2960 | ||
c32bde28 | 2961 | |
093d3ff1 | 2962 | SWIGINTERN int |
554f62e9 | 2963 | SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) |
c32bde28 RD |
2964 | { |
2965 | long v = 0; | |
2966 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
554f62e9 | 2967 | return SWIG_TypeError; |
c32bde28 RD |
2968 | } |
2969 | else if (val) | |
2970 | *val = (unsigned long)v; | |
554f62e9 | 2971 | return SWIG_OK; |
2f4c0a16 RD |
2972 | } |
2973 | ||
2974 | ||
093d3ff1 | 2975 | SWIGINTERN int |
554f62e9 RD |
2976 | SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val) |
2977 | { | |
c32bde28 | 2978 | unsigned long v; |
554f62e9 RD |
2979 | int res = SWIG_AsVal_unsigned_SS_long (obj, &v); |
2980 | if (SWIG_IsOK(res)) { | |
2981 | if ((v > UINT_MAX)) { | |
2982 | return SWIG_OverflowError; | |
2983 | } else { | |
2984 | if (val) *val = static_cast< unsigned int >(v); | |
c32bde28 | 2985 | } |
554f62e9 RD |
2986 | } |
2987 | return res; | |
c32bde28 | 2988 | } |
8edf1c75 RD |
2989 | |
2990 | ||
554f62e9 RD |
2991 | SWIGINTERNINLINE PyObject* |
2992 | SWIG_From_unsigned_SS_long (unsigned long value) | |
8edf1c75 | 2993 | { |
554f62e9 RD |
2994 | return (value > LONG_MAX) ? |
2995 | PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); | |
c32bde28 RD |
2996 | } |
2997 | ||
554f62e9 RD |
2998 | |
2999 | SWIGINTERNINLINE PyObject * | |
3000 | SWIG_From_unsigned_SS_int (unsigned int value) | |
3001 | { | |
3002 | return SWIG_From_unsigned_SS_long (value); | |
2f4c0a16 RD |
3003 | } |
3004 | ||
d14a1e28 RD |
3005 | // here's the C++ version |
3006 | class wxPyHtmlFilter : public wxHtmlFilter { | |
7449af73 | 3007 | DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter) |
d14a1e28 RD |
3008 | public: |
3009 | wxPyHtmlFilter() : wxHtmlFilter() {} | |
3010 | ||
423f194a | 3011 | // returns True if this filter is able to open&read given file |
d14a1e28 | 3012 | virtual bool CanRead(const wxFSFile& file) const { |
ae8162c8 | 3013 | bool rval = false; |
d14a1e28 | 3014 | bool found; |
5a446332 | 3015 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 | 3016 | if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) { |
412d302d | 3017 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const |
d14a1e28 RD |
3018 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); |
3019 | Py_DECREF(obj); | |
3020 | } | |
4f89f6a3 | 3021 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3022 | return rval; |
3023 | } | |
3024 | ||
3025 | ||
3026 | // Reads given file and returns HTML document. | |
3027 | // Returns empty string if opening failed | |
3028 | virtual wxString ReadFile(const wxFSFile& file) const { | |
3029 | wxString rval; | |
3030 | bool found; | |
5a446332 | 3031 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 | 3032 | if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) { |
412d302d | 3033 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const |
d14a1e28 RD |
3034 | PyObject* ro; |
3035 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj)); | |
3036 | Py_DECREF(obj); | |
3037 | if (ro) { | |
3038 | rval = Py2wxString(ro); | |
3039 | Py_DECREF(ro); | |
3040 | } | |
3041 | } | |
4f89f6a3 | 3042 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3043 | return rval; |
3044 | } | |
3045 | ||
3046 | PYPRIVATE; | |
3047 | }; | |
3048 | ||
3049 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter); | |
3050 | ||
3051 | ||
3052 | class wxPyHtmlWindow : public wxHtmlWindow { | |
7449af73 | 3053 | DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow) |
d14a1e28 RD |
3054 | public: |
3055 | wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1, | |
3056 | const wxPoint& pos = wxDefaultPosition, | |
3057 | const wxSize& size = wxDefaultSize, | |
3058 | long style = wxHW_DEFAULT_STYLE, | |
3059 | const wxString& name = wxPyHtmlWindowNameStr) | |
3060 | : wxHtmlWindow(parent, id, pos, size, style, name) {}; | |
3061 | wxPyHtmlWindow() : wxHtmlWindow() {}; | |
3062 | ||
3063 | bool ScrollToAnchor(const wxString& anchor) { | |
3064 | return wxHtmlWindow::ScrollToAnchor(anchor); | |
3065 | } | |
3066 | ||
3067 | bool HasAnchor(const wxString& anchor) { | |
3068 | const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor); | |
3069 | return c!=NULL; | |
3070 | } | |
3071 | ||
3072 | void OnLinkClicked(const wxHtmlLinkInfo& link); | |
d14a1e28 RD |
3073 | |
3074 | wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type, | |
3075 | const wxString& url, | |
3076 | wxString *redirect) const; | |
3077 | ||
3078 | DEC_PYCALLBACK__STRING(OnSetTitle); | |
3079 | DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover); | |
e9d6f3a4 RD |
3080 | DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked); |
3081 | ||
d14a1e28 RD |
3082 | PYPRIVATE; |
3083 | }; | |
3084 | ||
3085 | IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow ); | |
3086 | IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle); | |
3087 | IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover); | |
e9d6f3a4 | 3088 | IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked); |
d14a1e28 RD |
3089 | |
3090 | ||
3091 | void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) { | |
3092 | bool found; | |
5a446332 | 3093 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
3094 | if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) { |
3095 | PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0); | |
3096 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
3097 | Py_DECREF(obj); | |
3098 | } | |
4f89f6a3 | 3099 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3100 | if (! found) |
3101 | wxHtmlWindow::OnLinkClicked(link); | |
3102 | } | |
d14a1e28 RD |
3103 | |
3104 | ||
3105 | wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type, | |
3106 | const wxString& url, | |
3107 | wxString *redirect) const { | |
3108 | bool found; | |
3109 | wxHtmlOpeningStatus rval; | |
5a446332 | 3110 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
3111 | if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) { |
3112 | PyObject* ro; | |
3113 | PyObject* s = wx2PyString(url); | |
3114 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s)); | |
3115 | Py_DECREF(s); | |
3116 | if (PyString_Check(ro) | |
3117 | #if PYTHON_API_VERSION >= 1009 | |
3118 | || PyUnicode_Check(ro) | |
3119 | #endif | |
3120 | ) { | |
3121 | *redirect = Py2wxString(ro); | |
3122 | rval = wxHTML_REDIRECT; | |
3123 | } | |
3124 | else { | |
3125 | PyObject* num = PyNumber_Int(ro); | |
3126 | rval = (wxHtmlOpeningStatus)PyInt_AsLong(num); | |
3127 | Py_DECREF(num); | |
3128 | } | |
3129 | Py_DECREF(ro); | |
3130 | } | |
4f89f6a3 | 3131 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3132 | if (! found) |
3133 | rval = wxHtmlWindow::OnOpeningURL(type, url, redirect); | |
3134 | return rval; | |
3135 | } | |
3136 | ||
3137 | ||
3138 | ||
554f62e9 | 3139 | SWIGINTERN void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3140 | int* temp = NULL; |
3141 | if (sizes) temp = int_LIST_helper(sizes); | |
3142 | self->SetFonts(normal_face, fixed_face, temp); | |
3143 | if (temp) | |
3144 | delete [] temp; | |
3145 | } | |
554f62e9 | 3146 | SWIGINTERN void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3147 | int* temp = NULL; |
3148 | if (sizes) temp = int_LIST_helper(sizes); | |
3149 | self->SetFonts(normal_face, fixed_face, temp); | |
3150 | if (temp) | |
3151 | delete [] temp; | |
3152 | } | |
554f62e9 | 3153 | SWIGINTERN void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3154 | int* temp = NULL; |
3155 | if (sizes) temp = int_LIST_helper(sizes); | |
3156 | self->SetFonts(normal_face, fixed_face, temp); | |
3157 | if (temp) | |
3158 | delete [] temp; | |
3159 | } | |
8edf1c75 | 3160 | |
2f4c0a16 | 3161 | #include <float.h> |
2f4c0a16 RD |
3162 | |
3163 | ||
093d3ff1 | 3164 | SWIGINTERN int |
554f62e9 | 3165 | SWIG_AsVal_double (PyObject *obj, double* val) |
8edf1c75 | 3166 | { |
c32bde28 RD |
3167 | if (PyNumber_Check(obj)) { |
3168 | if (val) *val = PyFloat_AsDouble(obj); | |
554f62e9 | 3169 | return SWIG_OK; |
69223c70 | 3170 | } |
554f62e9 | 3171 | return SWIG_TypeError; |
c32bde28 RD |
3172 | } |
3173 | ||
3174 | ||
093d3ff1 | 3175 | SWIGINTERN int |
554f62e9 | 3176 | SWIG_AsVal_float (PyObject * obj, float *val) |
c32bde28 | 3177 | { |
c32bde28 | 3178 | double v; |
554f62e9 RD |
3179 | int res = SWIG_AsVal_double (obj, &v); |
3180 | if (SWIG_IsOK(res)) { | |
3181 | if ((v < -FLT_MAX || v > FLT_MAX)) { | |
3182 | return SWIG_OverflowError; | |
c32bde28 | 3183 | } else { |
554f62e9 | 3184 | if (val) *val = static_cast< float >(v); |
c32bde28 | 3185 | } |
554f62e9 RD |
3186 | } |
3187 | return res; | |
8edf1c75 RD |
3188 | } |
3189 | ||
554f62e9 | 3190 | SWIGINTERN void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3191 | int* temp = NULL; |
3192 | if (sizes) temp = int_LIST_helper(sizes); | |
3193 | self->SetFonts(normal_face, fixed_face, temp); | |
3194 | if (temp) | |
3195 | delete [] temp; | |
3196 | } | |
d14a1e28 RD |
3197 | #ifdef __cplusplus |
3198 | extern "C" { | |
3199 | #endif | |
554f62e9 RD |
3200 | SWIGINTERN int HtmlWindowNameStr_set(PyObject *) { |
3201 | SWIG_Error(SWIG_AttributeError,"Variable HtmlWindowNameStr is read-only."); | |
3202 | return 1; | |
d03fd34d RD |
3203 | } |
3204 | ||
3205 | ||
554f62e9 RD |
3206 | SWIGINTERN PyObject *HtmlWindowNameStr_get(void) { |
3207 | PyObject *pyobj = 0; | |
3208 | ||
3209 | { | |
d03fd34d | 3210 | #if wxUSE_UNICODE |
554f62e9 | 3211 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); |
d03fd34d | 3212 | #else |
554f62e9 | 3213 | pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); |
d03fd34d | 3214 | #endif |
554f62e9 RD |
3215 | } |
3216 | return pyobj; | |
d03fd34d RD |
3217 | } |
3218 | ||
3219 | ||
554f62e9 RD |
3220 | SWIGINTERN int HtmlPrintoutTitleStr_set(PyObject *) { |
3221 | SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintoutTitleStr is read-only."); | |
3222 | return 1; | |
d03fd34d RD |
3223 | } |
3224 | ||
3225 | ||
554f62e9 RD |
3226 | SWIGINTERN PyObject *HtmlPrintoutTitleStr_get(void) { |
3227 | PyObject *pyobj = 0; | |
3228 | ||
3229 | { | |
d03fd34d | 3230 | #if wxUSE_UNICODE |
554f62e9 | 3231 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); |
d03fd34d | 3232 | #else |
554f62e9 | 3233 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); |
d03fd34d | 3234 | #endif |
554f62e9 RD |
3235 | } |
3236 | return pyobj; | |
d03fd34d RD |
3237 | } |
3238 | ||
3239 | ||
554f62e9 RD |
3240 | SWIGINTERN int HtmlPrintingTitleStr_set(PyObject *) { |
3241 | SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintingTitleStr is read-only."); | |
3242 | return 1; | |
d03fd34d RD |
3243 | } |
3244 | ||
3245 | ||
554f62e9 RD |
3246 | SWIGINTERN PyObject *HtmlPrintingTitleStr_get(void) { |
3247 | PyObject *pyobj = 0; | |
3248 | ||
3249 | { | |
d03fd34d | 3250 | #if wxUSE_UNICODE |
554f62e9 | 3251 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); |
d03fd34d | 3252 | #else |
554f62e9 | 3253 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); |
d03fd34d | 3254 | #endif |
554f62e9 RD |
3255 | } |
3256 | return pyobj; | |
3257 | } | |
3258 | ||
3259 | ||
3260 | SWIGINTERN PyObject *_wrap_new_HtmlLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3261 | PyObject *resultobj = 0; | |
3262 | wxString *arg1 = 0 ; | |
3263 | wxString const &arg2_defvalue = wxPyEmptyString ; | |
3264 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
3265 | wxHtmlLinkInfo *result = 0 ; | |
3266 | bool temp1 = false ; | |
3267 | bool temp2 = false ; | |
3268 | PyObject * obj0 = 0 ; | |
3269 | PyObject * obj1 = 0 ; | |
3270 | char * kwnames[] = { | |
3271 | (char *) "href",(char *) "target", NULL | |
3272 | }; | |
3273 | ||
3274 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) SWIG_fail; | |
3275 | { | |
3276 | arg1 = wxString_in_helper(obj0); | |
3277 | if (arg1 == NULL) SWIG_fail; | |
3278 | temp1 = true; | |
3279 | } | |
3280 | if (obj1) { | |
d14a1e28 | 3281 | { |
554f62e9 RD |
3282 | arg2 = wxString_in_helper(obj1); |
3283 | if (arg2 == NULL) SWIG_fail; | |
3284 | temp2 = true; | |
d14a1e28 | 3285 | } |
554f62e9 RD |
3286 | } |
3287 | { | |
3288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3289 | result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2); | |
3290 | wxPyEndAllowThreads(__tstate); | |
3291 | if (PyErr_Occurred()) SWIG_fail; | |
3292 | } | |
3293 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_NEW | 0 ); | |
3294 | { | |
3295 | if (temp1) | |
3296 | delete arg1; | |
3297 | } | |
3298 | { | |
3299 | if (temp2) | |
3300 | delete arg2; | |
3301 | } | |
3302 | return resultobj; | |
3303 | fail: | |
3304 | { | |
3305 | if (temp1) | |
3306 | delete arg1; | |
3307 | } | |
3308 | { | |
3309 | if (temp2) | |
3310 | delete arg2; | |
3311 | } | |
3312 | return NULL; | |
d14a1e28 RD |
3313 | } |
3314 | ||
3315 | ||
554f62e9 RD |
3316 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3317 | PyObject *resultobj = 0; | |
3318 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3319 | wxString result; | |
3320 | void *argp1 = 0 ; | |
3321 | int res1 = 0 ; | |
3322 | PyObject *swig_obj[1] ; | |
3323 | ||
3324 | if (!args) SWIG_fail; | |
3325 | swig_obj[0] = args; | |
3326 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3327 | if (!SWIG_IsOK(res1)) { | |
3328 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3329 | } | |
3330 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3331 | { | |
3332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3333 | result = (arg1)->GetHref(); | |
3334 | wxPyEndAllowThreads(__tstate); | |
3335 | if (PyErr_Occurred()) SWIG_fail; | |
3336 | } | |
3337 | { | |
d14a1e28 | 3338 | #if wxUSE_UNICODE |
554f62e9 | 3339 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3340 | #else |
554f62e9 | 3341 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3342 | #endif |
554f62e9 RD |
3343 | } |
3344 | return resultobj; | |
3345 | fail: | |
3346 | return NULL; | |
d14a1e28 RD |
3347 | } |
3348 | ||
3349 | ||
554f62e9 RD |
3350 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3351 | PyObject *resultobj = 0; | |
3352 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3353 | wxString result; | |
3354 | void *argp1 = 0 ; | |
3355 | int res1 = 0 ; | |
3356 | PyObject *swig_obj[1] ; | |
3357 | ||
3358 | if (!args) SWIG_fail; | |
3359 | swig_obj[0] = args; | |
3360 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3361 | if (!SWIG_IsOK(res1)) { | |
3362 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3363 | } | |
3364 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3365 | { | |
3366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3367 | result = (arg1)->GetTarget(); | |
3368 | wxPyEndAllowThreads(__tstate); | |
3369 | if (PyErr_Occurred()) SWIG_fail; | |
3370 | } | |
3371 | { | |
d14a1e28 | 3372 | #if wxUSE_UNICODE |
554f62e9 | 3373 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3374 | #else |
554f62e9 | 3375 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3376 | #endif |
554f62e9 RD |
3377 | } |
3378 | return resultobj; | |
3379 | fail: | |
3380 | return NULL; | |
d14a1e28 RD |
3381 | } |
3382 | ||
3383 | ||
554f62e9 RD |
3384 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3385 | PyObject *resultobj = 0; | |
3386 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3387 | wxMouseEvent *result = 0 ; | |
3388 | void *argp1 = 0 ; | |
3389 | int res1 = 0 ; | |
3390 | PyObject *swig_obj[1] ; | |
3391 | ||
3392 | if (!args) SWIG_fail; | |
3393 | swig_obj[0] = args; | |
3394 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3395 | if (!SWIG_IsOK(res1)) { | |
3396 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3397 | } | |
3398 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3399 | { | |
3400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3401 | result = (wxMouseEvent *)(arg1)->GetEvent(); | |
3402 | wxPyEndAllowThreads(__tstate); | |
3403 | if (PyErr_Occurred()) SWIG_fail; | |
3404 | } | |
3405 | { | |
3406 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
3407 | } | |
3408 | return resultobj; | |
3409 | fail: | |
3410 | return NULL; | |
d14a1e28 RD |
3411 | } |
3412 | ||
3413 | ||
554f62e9 RD |
3414 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3415 | PyObject *resultobj = 0; | |
3416 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3417 | wxHtmlCell *result = 0 ; | |
3418 | void *argp1 = 0 ; | |
3419 | int res1 = 0 ; | |
3420 | PyObject *swig_obj[1] ; | |
3421 | ||
3422 | if (!args) SWIG_fail; | |
3423 | swig_obj[0] = args; | |
3424 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3425 | if (!SWIG_IsOK(res1)) { | |
3426 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3427 | } | |
3428 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3429 | { | |
3430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3431 | result = (wxHtmlCell *)(arg1)->GetHtmlCell(); | |
3432 | wxPyEndAllowThreads(__tstate); | |
3433 | if (PyErr_Occurred()) SWIG_fail; | |
3434 | } | |
3435 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
3436 | return resultobj; | |
3437 | fail: | |
3438 | return NULL; | |
3439 | } | |
3440 | ||
3441 | ||
3442 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3443 | PyObject *resultobj = 0; | |
3444 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3445 | wxMouseEvent *arg2 = (wxMouseEvent *) 0 ; | |
3446 | void *argp1 = 0 ; | |
3447 | int res1 = 0 ; | |
3448 | void *argp2 = 0 ; | |
3449 | int res2 = 0 ; | |
3450 | PyObject * obj0 = 0 ; | |
3451 | PyObject * obj1 = 0 ; | |
3452 | char * kwnames[] = { | |
3453 | (char *) "self",(char *) "e", NULL | |
3454 | }; | |
3455 | ||
3456 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
3457 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3458 | if (!SWIG_IsOK(res1)) { | |
3459 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3460 | } | |
3461 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3462 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMouseEvent, 0 | 0 ); | |
3463 | if (!SWIG_IsOK(res2)) { | |
3464 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'"); | |
3465 | } | |
3466 | arg2 = reinterpret_cast< wxMouseEvent * >(argp2); | |
3467 | { | |
3468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3469 | (arg1)->SetEvent((wxMouseEvent const *)arg2); | |
3470 | wxPyEndAllowThreads(__tstate); | |
3471 | if (PyErr_Occurred()) SWIG_fail; | |
3472 | } | |
3473 | resultobj = SWIG_Py_Void(); | |
3474 | return resultobj; | |
3475 | fail: | |
3476 | return NULL; | |
3477 | } | |
3478 | ||
3479 | ||
3480 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3481 | PyObject *resultobj = 0; | |
3482 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3483 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
3484 | void *argp1 = 0 ; | |
3485 | int res1 = 0 ; | |
3486 | void *argp2 = 0 ; | |
3487 | int res2 = 0 ; | |
3488 | PyObject * obj0 = 0 ; | |
3489 | PyObject * obj1 = 0 ; | |
3490 | char * kwnames[] = { | |
3491 | (char *) "self",(char *) "e", NULL | |
3492 | }; | |
3493 | ||
3494 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
3495 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3496 | if (!SWIG_IsOK(res1)) { | |
3497 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3498 | } | |
3499 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3500 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
3501 | if (!SWIG_IsOK(res2)) { | |
3502 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'"); | |
3503 | } | |
3504 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
3505 | { | |
3506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3507 | (arg1)->SetHtmlCell((wxHtmlCell const *)arg2); | |
3508 | wxPyEndAllowThreads(__tstate); | |
3509 | if (PyErr_Occurred()) SWIG_fail; | |
3510 | } | |
3511 | resultobj = SWIG_Py_Void(); | |
3512 | return resultobj; | |
3513 | fail: | |
3514 | return NULL; | |
d14a1e28 RD |
3515 | } |
3516 | ||
3517 | ||
554f62e9 RD |
3518 | SWIGINTERN PyObject *HtmlLinkInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3519 | PyObject *obj; | |
3520 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
3521 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo, SWIG_NewClientData(obj)); | |
3522 | return SWIG_Py_Void(); | |
d14a1e28 RD |
3523 | } |
3524 | ||
554f62e9 RD |
3525 | SWIGINTERN PyObject *HtmlLinkInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3526 | return SWIG_Python_InitShadowInstance(args); | |
3527 | } | |
d14a1e28 | 3528 | |
554f62e9 RD |
3529 | SWIGINTERN PyObject *_wrap_HtmlTag_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3530 | PyObject *resultobj = 0; | |
3531 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3532 | wxString result; | |
3533 | void *argp1 = 0 ; | |
3534 | int res1 = 0 ; | |
3535 | PyObject *swig_obj[1] ; | |
3536 | ||
3537 | if (!args) SWIG_fail; | |
3538 | swig_obj[0] = args; | |
3539 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3540 | if (!SWIG_IsOK(res1)) { | |
3541 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3542 | } | |
3543 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3544 | { | |
3545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3546 | result = (arg1)->GetName(); | |
3547 | wxPyEndAllowThreads(__tstate); | |
3548 | if (PyErr_Occurred()) SWIG_fail; | |
3549 | } | |
3550 | { | |
3551 | #if wxUSE_UNICODE | |
3552 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3553 | #else | |
3554 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3555 | #endif | |
3556 | } | |
3557 | return resultobj; | |
3558 | fail: | |
3559 | return NULL; | |
3560 | } | |
3561 | ||
3562 | ||
3563 | SWIGINTERN PyObject *_wrap_HtmlTag_HasParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3564 | PyObject *resultobj = 0; | |
3565 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3566 | wxString *arg2 = 0 ; | |
3567 | bool result; | |
3568 | void *argp1 = 0 ; | |
3569 | int res1 = 0 ; | |
3570 | bool temp2 = false ; | |
3571 | PyObject * obj0 = 0 ; | |
3572 | PyObject * obj1 = 0 ; | |
3573 | char * kwnames[] = { | |
3574 | (char *) "self",(char *) "par", NULL | |
3575 | }; | |
3576 | ||
3577 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) SWIG_fail; | |
3578 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3579 | if (!SWIG_IsOK(res1)) { | |
3580 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3581 | } | |
3582 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3583 | { | |
3584 | arg2 = wxString_in_helper(obj1); | |
3585 | if (arg2 == NULL) SWIG_fail; | |
3586 | temp2 = true; | |
3587 | } | |
3588 | { | |
3589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3590 | result = (bool)(arg1)->HasParam((wxString const &)*arg2); | |
3591 | wxPyEndAllowThreads(__tstate); | |
3592 | if (PyErr_Occurred()) SWIG_fail; | |
3593 | } | |
3594 | { | |
3595 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3596 | } | |
3597 | { | |
3598 | if (temp2) | |
3599 | delete arg2; | |
3600 | } | |
3601 | return resultobj; | |
3602 | fail: | |
3603 | { | |
3604 | if (temp2) | |
3605 | delete arg2; | |
3606 | } | |
3607 | return NULL; | |
3608 | } | |
3609 | ||
3610 | ||
3611 | SWIGINTERN PyObject *_wrap_HtmlTag_GetParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3612 | PyObject *resultobj = 0; | |
3613 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3614 | wxString *arg2 = 0 ; | |
3615 | int arg3 = (int) false ; | |
3616 | wxString result; | |
3617 | void *argp1 = 0 ; | |
3618 | int res1 = 0 ; | |
3619 | bool temp2 = false ; | |
3620 | int val3 ; | |
3621 | int ecode3 = 0 ; | |
3622 | PyObject * obj0 = 0 ; | |
3623 | PyObject * obj1 = 0 ; | |
3624 | PyObject * obj2 = 0 ; | |
3625 | char * kwnames[] = { | |
3626 | (char *) "self",(char *) "par",(char *) "with_commas", NULL | |
3627 | }; | |
3628 | ||
3629 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
3630 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3631 | if (!SWIG_IsOK(res1)) { | |
3632 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3633 | } | |
3634 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3635 | { | |
3636 | arg2 = wxString_in_helper(obj1); | |
3637 | if (arg2 == NULL) SWIG_fail; | |
3638 | temp2 = true; | |
3639 | } | |
3640 | if (obj2) { | |
3641 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
3642 | if (!SWIG_IsOK(ecode3)) { | |
3643 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'"); | |
3644 | } | |
3645 | arg3 = static_cast< int >(val3); | |
3646 | } | |
3647 | { | |
3648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3649 | result = (arg1)->GetParam((wxString const &)*arg2,arg3); | |
3650 | wxPyEndAllowThreads(__tstate); | |
3651 | if (PyErr_Occurred()) SWIG_fail; | |
3652 | } | |
3653 | { | |
3654 | #if wxUSE_UNICODE | |
3655 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3656 | #else | |
3657 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3658 | #endif | |
3659 | } | |
3660 | { | |
3661 | if (temp2) | |
3662 | delete arg2; | |
3663 | } | |
3664 | return resultobj; | |
3665 | fail: | |
3666 | { | |
3667 | if (temp2) | |
3668 | delete arg2; | |
3669 | } | |
3670 | return NULL; | |
d14a1e28 RD |
3671 | } |
3672 | ||
3673 | ||
554f62e9 RD |
3674 | SWIGINTERN PyObject *_wrap_HtmlTag_GetAllParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3675 | PyObject *resultobj = 0; | |
3676 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3677 | wxString result; | |
3678 | void *argp1 = 0 ; | |
3679 | int res1 = 0 ; | |
3680 | PyObject *swig_obj[1] ; | |
3681 | ||
3682 | if (!args) SWIG_fail; | |
3683 | swig_obj[0] = args; | |
3684 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3685 | if (!SWIG_IsOK(res1)) { | |
3686 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3687 | } | |
3688 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3689 | { | |
3690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3691 | result = (arg1)->GetAllParams(); | |
3692 | wxPyEndAllowThreads(__tstate); | |
3693 | if (PyErr_Occurred()) SWIG_fail; | |
3694 | } | |
3695 | { | |
d14a1e28 | 3696 | #if wxUSE_UNICODE |
554f62e9 | 3697 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3698 | #else |
554f62e9 | 3699 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3700 | #endif |
554f62e9 RD |
3701 | } |
3702 | return resultobj; | |
3703 | fail: | |
3704 | return NULL; | |
d14a1e28 RD |
3705 | } |
3706 | ||
3707 | ||
554f62e9 RD |
3708 | SWIGINTERN PyObject *_wrap_HtmlTag_HasEnding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3709 | PyObject *resultobj = 0; | |
3710 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3711 | bool result; | |
3712 | void *argp1 = 0 ; | |
3713 | int res1 = 0 ; | |
3714 | PyObject *swig_obj[1] ; | |
3715 | ||
3716 | if (!args) SWIG_fail; | |
3717 | swig_obj[0] = args; | |
3718 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3719 | if (!SWIG_IsOK(res1)) { | |
3720 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3721 | } | |
3722 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3723 | { | |
3724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3725 | result = (bool)(arg1)->HasEnding(); | |
3726 | wxPyEndAllowThreads(__tstate); | |
3727 | if (PyErr_Occurred()) SWIG_fail; | |
3728 | } | |
3729 | { | |
3730 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3731 | } | |
3732 | return resultobj; | |
3733 | fail: | |
3734 | return NULL; | |
d14a1e28 RD |
3735 | } |
3736 | ||
3737 | ||
554f62e9 RD |
3738 | SWIGINTERN PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3739 | PyObject *resultobj = 0; | |
3740 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3741 | int result; | |
3742 | void *argp1 = 0 ; | |
3743 | int res1 = 0 ; | |
3744 | PyObject *swig_obj[1] ; | |
3745 | ||
3746 | if (!args) SWIG_fail; | |
3747 | swig_obj[0] = args; | |
3748 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3749 | if (!SWIG_IsOK(res1)) { | |
3750 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3751 | } | |
3752 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3753 | { | |
3754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3755 | result = (int)(arg1)->GetBeginPos(); | |
3756 | wxPyEndAllowThreads(__tstate); | |
3757 | if (PyErr_Occurred()) SWIG_fail; | |
3758 | } | |
3759 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
3760 | return resultobj; | |
3761 | fail: | |
3762 | return NULL; | |
d14a1e28 RD |
3763 | } |
3764 | ||
3765 | ||
554f62e9 RD |
3766 | SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3767 | PyObject *resultobj = 0; | |
3768 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3769 | int result; | |
3770 | void *argp1 = 0 ; | |
3771 | int res1 = 0 ; | |
3772 | PyObject *swig_obj[1] ; | |
3773 | ||
3774 | if (!args) SWIG_fail; | |
3775 | swig_obj[0] = args; | |
3776 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3777 | if (!SWIG_IsOK(res1)) { | |
3778 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3779 | } | |
3780 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3781 | { | |
3782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3783 | result = (int)(arg1)->GetEndPos1(); | |
3784 | wxPyEndAllowThreads(__tstate); | |
3785 | if (PyErr_Occurred()) SWIG_fail; | |
3786 | } | |
3787 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
3788 | return resultobj; | |
3789 | fail: | |
3790 | return NULL; | |
d14a1e28 RD |
3791 | } |
3792 | ||
3793 | ||
554f62e9 RD |
3794 | SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3795 | PyObject *resultobj = 0; | |
3796 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3797 | int result; | |
3798 | void *argp1 = 0 ; | |
3799 | int res1 = 0 ; | |
3800 | PyObject *swig_obj[1] ; | |
3801 | ||
3802 | if (!args) SWIG_fail; | |
3803 | swig_obj[0] = args; | |
3804 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3805 | if (!SWIG_IsOK(res1)) { | |
3806 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3807 | } | |
3808 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3809 | { | |
3810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3811 | result = (int)(arg1)->GetEndPos2(); | |
3812 | wxPyEndAllowThreads(__tstate); | |
3813 | if (PyErr_Occurred()) SWIG_fail; | |
3814 | } | |
3815 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
3816 | return resultobj; | |
3817 | fail: | |
3818 | return NULL; | |
3819 | } | |
3820 | ||
3821 | ||
3822 | SWIGINTERN PyObject *HtmlTag_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3823 | PyObject *obj; | |
3824 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
3825 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag, SWIG_NewClientData(obj)); | |
3826 | return SWIG_Py_Void(); | |
3827 | } | |
3828 | ||
3829 | SWIGINTERN PyObject *_wrap_HtmlParser_SetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3830 | PyObject *resultobj = 0; | |
3831 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3832 | wxFileSystem *arg2 = (wxFileSystem *) 0 ; | |
3833 | void *argp1 = 0 ; | |
3834 | int res1 = 0 ; | |
3835 | void *argp2 = 0 ; | |
3836 | int res2 = 0 ; | |
3837 | PyObject * obj0 = 0 ; | |
3838 | PyObject * obj1 = 0 ; | |
3839 | char * kwnames[] = { | |
3840 | (char *) "self",(char *) "fs", NULL | |
3841 | }; | |
3842 | ||
3843 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) SWIG_fail; | |
3844 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3845 | if (!SWIG_IsOK(res1)) { | |
3846 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3847 | } | |
3848 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3849 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFileSystem, 0 | 0 ); | |
3850 | if (!SWIG_IsOK(res2)) { | |
3851 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'"); | |
3852 | } | |
3853 | arg2 = reinterpret_cast< wxFileSystem * >(argp2); | |
3854 | { | |
3855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3856 | (arg1)->SetFS(arg2); | |
3857 | wxPyEndAllowThreads(__tstate); | |
3858 | if (PyErr_Occurred()) SWIG_fail; | |
3859 | } | |
3860 | resultobj = SWIG_Py_Void(); | |
3861 | return resultobj; | |
3862 | fail: | |
3863 | return NULL; | |
d14a1e28 RD |
3864 | } |
3865 | ||
3866 | ||
554f62e9 RD |
3867 | SWIGINTERN PyObject *_wrap_HtmlParser_GetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3868 | PyObject *resultobj = 0; | |
3869 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3870 | wxFileSystem *result = 0 ; | |
3871 | void *argp1 = 0 ; | |
3872 | int res1 = 0 ; | |
3873 | PyObject *swig_obj[1] ; | |
3874 | ||
3875 | if (!args) SWIG_fail; | |
3876 | swig_obj[0] = args; | |
3877 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3878 | if (!SWIG_IsOK(res1)) { | |
3879 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3880 | } | |
3881 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3882 | { | |
3883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3884 | result = (wxFileSystem *)(arg1)->GetFS(); | |
3885 | wxPyEndAllowThreads(__tstate); | |
3886 | if (PyErr_Occurred()) SWIG_fail; | |
3887 | } | |
3888 | { | |
3889 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
3890 | } | |
3891 | return resultobj; | |
3892 | fail: | |
3893 | return NULL; | |
3894 | } | |
3895 | ||
3896 | ||
3897 | SWIGINTERN PyObject *_wrap_HtmlParser_Parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3898 | PyObject *resultobj = 0; | |
3899 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3900 | wxString *arg2 = 0 ; | |
3901 | wxObject *result = 0 ; | |
3902 | void *argp1 = 0 ; | |
3903 | int res1 = 0 ; | |
3904 | bool temp2 = false ; | |
3905 | PyObject * obj0 = 0 ; | |
3906 | PyObject * obj1 = 0 ; | |
3907 | char * kwnames[] = { | |
3908 | (char *) "self",(char *) "source", NULL | |
3909 | }; | |
3910 | ||
3911 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) SWIG_fail; | |
3912 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3913 | if (!SWIG_IsOK(res1)) { | |
3914 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3915 | } | |
3916 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3917 | { | |
3918 | arg2 = wxString_in_helper(obj1); | |
3919 | if (arg2 == NULL) SWIG_fail; | |
3920 | temp2 = true; | |
3921 | } | |
3922 | { | |
3923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3924 | result = (wxObject *)(arg1)->Parse((wxString const &)*arg2); | |
3925 | wxPyEndAllowThreads(__tstate); | |
3926 | if (PyErr_Occurred()) SWIG_fail; | |
3927 | } | |
3928 | { | |
3929 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
3930 | } | |
3931 | { | |
3932 | if (temp2) | |
3933 | delete arg2; | |
3934 | } | |
3935 | return resultobj; | |
3936 | fail: | |
3937 | { | |
3938 | if (temp2) | |
3939 | delete arg2; | |
3940 | } | |
3941 | return NULL; | |
d14a1e28 RD |
3942 | } |
3943 | ||
3944 | ||
554f62e9 RD |
3945 | SWIGINTERN PyObject *_wrap_HtmlParser_InitParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
3946 | PyObject *resultobj = 0; | |
3947 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3948 | wxString *arg2 = 0 ; | |
3949 | void *argp1 = 0 ; | |
3950 | int res1 = 0 ; | |
3951 | bool temp2 = false ; | |
3952 | PyObject * obj0 = 0 ; | |
3953 | PyObject * obj1 = 0 ; | |
3954 | char * kwnames[] = { | |
3955 | (char *) "self",(char *) "source", NULL | |
3956 | }; | |
3957 | ||
3958 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) SWIG_fail; | |
3959 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3960 | if (!SWIG_IsOK(res1)) { | |
3961 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3962 | } | |
3963 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3964 | { | |
3965 | arg2 = wxString_in_helper(obj1); | |
3966 | if (arg2 == NULL) SWIG_fail; | |
3967 | temp2 = true; | |
3968 | } | |
3969 | { | |
3970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3971 | (arg1)->InitParser((wxString const &)*arg2); | |
3972 | wxPyEndAllowThreads(__tstate); | |
3973 | if (PyErr_Occurred()) SWIG_fail; | |
3974 | } | |
3975 | resultobj = SWIG_Py_Void(); | |
3976 | { | |
3977 | if (temp2) | |
3978 | delete arg2; | |
3979 | } | |
3980 | return resultobj; | |
3981 | fail: | |
3982 | { | |
3983 | if (temp2) | |
3984 | delete arg2; | |
3985 | } | |
3986 | return NULL; | |
d14a1e28 RD |
3987 | } |
3988 | ||
3989 | ||
554f62e9 RD |
3990 | SWIGINTERN PyObject *_wrap_HtmlParser_DoneParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3991 | PyObject *resultobj = 0; | |
3992 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3993 | void *argp1 = 0 ; | |
3994 | int res1 = 0 ; | |
3995 | PyObject *swig_obj[1] ; | |
3996 | ||
3997 | if (!args) SWIG_fail; | |
3998 | swig_obj[0] = args; | |
3999 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4000 | if (!SWIG_IsOK(res1)) { | |
4001 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4002 | } | |
4003 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4004 | { | |
4005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4006 | (arg1)->DoneParser(); | |
4007 | wxPyEndAllowThreads(__tstate); | |
4008 | if (PyErr_Occurred()) SWIG_fail; | |
4009 | } | |
4010 | resultobj = SWIG_Py_Void(); | |
4011 | return resultobj; | |
4012 | fail: | |
4013 | return NULL; | |
4014 | } | |
4015 | ||
4016 | ||
4017 | SWIGINTERN PyObject *_wrap_HtmlParser_DoParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4018 | PyObject *resultobj = 0; | |
4019 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4020 | int arg2 ; | |
4021 | int arg3 ; | |
4022 | void *argp1 = 0 ; | |
4023 | int res1 = 0 ; | |
4024 | int val2 ; | |
4025 | int ecode2 = 0 ; | |
4026 | int val3 ; | |
4027 | int ecode3 = 0 ; | |
4028 | PyObject * obj0 = 0 ; | |
4029 | PyObject * obj1 = 0 ; | |
4030 | PyObject * obj2 = 0 ; | |
4031 | char * kwnames[] = { | |
4032 | (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL | |
4033 | }; | |
4034 | ||
4035 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
4036 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4037 | if (!SWIG_IsOK(res1)) { | |
4038 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4039 | } | |
4040 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4041 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4042 | if (!SWIG_IsOK(ecode2)) { | |
4043 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'"); | |
4044 | } | |
4045 | arg2 = static_cast< int >(val2); | |
4046 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
4047 | if (!SWIG_IsOK(ecode3)) { | |
4048 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'"); | |
4049 | } | |
4050 | arg3 = static_cast< int >(val3); | |
4051 | { | |
4052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4053 | (arg1)->DoParsing(arg2,arg3); | |
4054 | wxPyEndAllowThreads(__tstate); | |
4055 | if (PyErr_Occurred()) SWIG_fail; | |
4056 | } | |
4057 | resultobj = SWIG_Py_Void(); | |
4058 | return resultobj; | |
4059 | fail: | |
4060 | return NULL; | |
d14a1e28 RD |
4061 | } |
4062 | ||
4063 | ||
554f62e9 RD |
4064 | SWIGINTERN PyObject *_wrap_HtmlParser_StopParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4065 | PyObject *resultobj = 0; | |
4066 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4067 | void *argp1 = 0 ; | |
4068 | int res1 = 0 ; | |
4069 | PyObject *swig_obj[1] ; | |
4070 | ||
4071 | if (!args) SWIG_fail; | |
4072 | swig_obj[0] = args; | |
4073 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4074 | if (!SWIG_IsOK(res1)) { | |
4075 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4076 | } | |
4077 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4078 | { | |
4079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4080 | (arg1)->StopParsing(); | |
4081 | wxPyEndAllowThreads(__tstate); | |
4082 | if (PyErr_Occurred()) SWIG_fail; | |
4083 | } | |
4084 | resultobj = SWIG_Py_Void(); | |
4085 | return resultobj; | |
4086 | fail: | |
4087 | return NULL; | |
4088 | } | |
4089 | ||
4090 | ||
4091 | SWIGINTERN PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4092 | PyObject *resultobj = 0; | |
4093 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4094 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
4095 | void *argp1 = 0 ; | |
4096 | int res1 = 0 ; | |
4097 | void *argp2 = 0 ; | |
4098 | int res2 = 0 ; | |
4099 | PyObject * obj0 = 0 ; | |
4100 | PyObject * obj1 = 0 ; | |
4101 | char * kwnames[] = { | |
4102 | (char *) "self",(char *) "handler", NULL | |
4103 | }; | |
4104 | ||
4105 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) SWIG_fail; | |
4106 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4107 | if (!SWIG_IsOK(res1)) { | |
4108 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4109 | } | |
4110 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4111 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 ); | |
4112 | if (!SWIG_IsOK(res2)) { | |
4113 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'"); | |
4114 | } | |
4115 | arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2); | |
4116 | { | |
4117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4118 | (arg1)->AddTagHandler(arg2); | |
4119 | wxPyEndAllowThreads(__tstate); | |
4120 | if (PyErr_Occurred()) SWIG_fail; | |
4121 | } | |
4122 | resultobj = SWIG_Py_Void(); | |
4123 | return resultobj; | |
4124 | fail: | |
4125 | return NULL; | |
d14a1e28 RD |
4126 | } |
4127 | ||
4128 | ||
554f62e9 RD |
4129 | SWIGINTERN PyObject *_wrap_HtmlParser_GetSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4130 | PyObject *resultobj = 0; | |
4131 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4132 | wxString *result = 0 ; | |
4133 | void *argp1 = 0 ; | |
4134 | int res1 = 0 ; | |
4135 | PyObject *swig_obj[1] ; | |
4136 | ||
4137 | if (!args) SWIG_fail; | |
4138 | swig_obj[0] = args; | |
4139 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4140 | if (!SWIG_IsOK(res1)) { | |
4141 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4142 | } | |
4143 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4144 | { | |
4145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4146 | result = (wxString *)(arg1)->GetSource(); | |
4147 | wxPyEndAllowThreads(__tstate); | |
4148 | if (PyErr_Occurred()) SWIG_fail; | |
4149 | } | |
4150 | { | |
4151 | #if wxUSE_UNICODE | |
4152 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
4153 | #else | |
4154 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
4155 | #endif | |
4156 | } | |
4157 | return resultobj; | |
4158 | fail: | |
4159 | return NULL; | |
4160 | } | |
4161 | ||
4162 | ||
4163 | SWIGINTERN PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4164 | PyObject *resultobj = 0; | |
4165 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4166 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
4167 | wxString arg3 ; | |
4168 | void *argp1 = 0 ; | |
4169 | int res1 = 0 ; | |
4170 | void *argp2 = 0 ; | |
4171 | int res2 = 0 ; | |
4172 | PyObject * obj0 = 0 ; | |
4173 | PyObject * obj1 = 0 ; | |
4174 | PyObject * obj2 = 0 ; | |
4175 | char * kwnames[] = { | |
4176 | (char *) "self",(char *) "handler",(char *) "tags", NULL | |
4177 | }; | |
4178 | ||
4179 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
4180 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4181 | if (!SWIG_IsOK(res1)) { | |
4182 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4183 | } | |
4184 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4185 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 ); | |
4186 | if (!SWIG_IsOK(res2)) { | |
4187 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'"); | |
4188 | } | |
4189 | arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2); | |
4190 | { | |
4191 | wxString* sptr = wxString_in_helper(obj2); | |
4192 | if (sptr == NULL) SWIG_fail; | |
4193 | arg3 = *sptr; | |
4194 | delete sptr; | |
4195 | } | |
4196 | { | |
4197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4198 | (arg1)->PushTagHandler(arg2,arg3); | |
4199 | wxPyEndAllowThreads(__tstate); | |
4200 | if (PyErr_Occurred()) SWIG_fail; | |
4201 | } | |
4202 | resultobj = SWIG_Py_Void(); | |
4203 | return resultobj; | |
4204 | fail: | |
4205 | return NULL; | |
d14a1e28 RD |
4206 | } |
4207 | ||
4208 | ||
554f62e9 RD |
4209 | SWIGINTERN PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4210 | PyObject *resultobj = 0; | |
4211 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4212 | void *argp1 = 0 ; | |
4213 | int res1 = 0 ; | |
4214 | PyObject *swig_obj[1] ; | |
4215 | ||
4216 | if (!args) SWIG_fail; | |
4217 | swig_obj[0] = args; | |
4218 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4219 | if (!SWIG_IsOK(res1)) { | |
4220 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4221 | } | |
4222 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4223 | { | |
4224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4225 | (arg1)->PopTagHandler(); | |
4226 | wxPyEndAllowThreads(__tstate); | |
4227 | if (PyErr_Occurred()) SWIG_fail; | |
4228 | } | |
4229 | resultobj = SWIG_Py_Void(); | |
4230 | return resultobj; | |
4231 | fail: | |
4232 | return NULL; | |
d14a1e28 RD |
4233 | } |
4234 | ||
4235 | ||
e9d6f3a4 RD |
4236 | SWIGINTERN PyObject *_wrap_HtmlParser_GetInnerSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
4237 | PyObject *resultobj = 0; | |
4238 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4239 | wxHtmlTag *arg2 = 0 ; | |
4240 | wxString result; | |
4241 | void *argp1 = 0 ; | |
4242 | int res1 = 0 ; | |
4243 | void *argp2 = 0 ; | |
4244 | int res2 = 0 ; | |
4245 | PyObject * obj0 = 0 ; | |
4246 | PyObject * obj1 = 0 ; | |
4247 | char * kwnames[] = { | |
4248 | (char *) "self",(char *) "tag", NULL | |
4249 | }; | |
4250 | ||
4251 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_GetInnerSource",kwnames,&obj0,&obj1)) SWIG_fail; | |
4252 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4253 | if (!SWIG_IsOK(res1)) { | |
4254 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4255 | } | |
4256 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4257 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
4258 | if (!SWIG_IsOK(res2)) { | |
4259 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
4260 | } | |
4261 | if (!argp2) { | |
4262 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
4263 | } | |
4264 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
4265 | { | |
4266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4267 | result = (arg1)->GetInnerSource((wxHtmlTag const &)*arg2); | |
4268 | wxPyEndAllowThreads(__tstate); | |
4269 | if (PyErr_Occurred()) SWIG_fail; | |
4270 | } | |
4271 | { | |
4272 | #if wxUSE_UNICODE | |
4273 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4274 | #else | |
4275 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4276 | #endif | |
4277 | } | |
4278 | return resultobj; | |
4279 | fail: | |
4280 | return NULL; | |
4281 | } | |
4282 | ||
4283 | ||
554f62e9 RD |
4284 | SWIGINTERN PyObject *HtmlParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4285 | PyObject *obj; | |
4286 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
4287 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser, SWIG_NewClientData(obj)); | |
4288 | return SWIG_Py_Void(); | |
d14a1e28 RD |
4289 | } |
4290 | ||
554f62e9 RD |
4291 | SWIGINTERN PyObject *_wrap_new_HtmlWinParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
4292 | PyObject *resultobj = 0; | |
4293 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ; | |
4294 | wxHtmlWinParser *result = 0 ; | |
4295 | void *argp1 = 0 ; | |
4296 | int res1 = 0 ; | |
4297 | PyObject * obj0 = 0 ; | |
4298 | char * kwnames[] = { | |
4299 | (char *) "wnd", NULL | |
4300 | }; | |
4301 | ||
4302 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) SWIG_fail; | |
4303 | if (obj0) { | |
4304 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
4305 | if (!SWIG_IsOK(res1)) { | |
4306 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
d14a1e28 | 4307 | } |
554f62e9 RD |
4308 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); |
4309 | } | |
4310 | { | |
4311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4312 | result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1); | |
4313 | wxPyEndAllowThreads(__tstate); | |
4314 | if (PyErr_Occurred()) SWIG_fail; | |
4315 | } | |
4316 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_NEW | 0 ); | |
4317 | return resultobj; | |
4318 | fail: | |
4319 | return NULL; | |
4320 | } | |
4321 | ||
4322 | ||
4323 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4324 | PyObject *resultobj = 0; | |
4325 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4326 | wxDC *arg2 = (wxDC *) 0 ; | |
4327 | void *argp1 = 0 ; | |
4328 | int res1 = 0 ; | |
4329 | void *argp2 = 0 ; | |
4330 | int res2 = 0 ; | |
4331 | PyObject * obj0 = 0 ; | |
4332 | PyObject * obj1 = 0 ; | |
4333 | char * kwnames[] = { | |
4334 | (char *) "self",(char *) "dc", NULL | |
4335 | }; | |
4336 | ||
4337 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) SWIG_fail; | |
4338 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4339 | if (!SWIG_IsOK(res1)) { | |
4340 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4341 | } | |
4342 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4343 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); | |
4344 | if (!SWIG_IsOK(res2)) { | |
4345 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); | |
4346 | } | |
4347 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
4348 | { | |
4349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4350 | (arg1)->SetDC(arg2); | |
4351 | wxPyEndAllowThreads(__tstate); | |
4352 | if (PyErr_Occurred()) SWIG_fail; | |
4353 | } | |
4354 | resultobj = SWIG_Py_Void(); | |
4355 | return resultobj; | |
4356 | fail: | |
4357 | return NULL; | |
d14a1e28 RD |
4358 | } |
4359 | ||
4360 | ||
554f62e9 RD |
4361 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4362 | PyObject *resultobj = 0; | |
4363 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4364 | wxDC *result = 0 ; | |
4365 | void *argp1 = 0 ; | |
4366 | int res1 = 0 ; | |
4367 | PyObject *swig_obj[1] ; | |
4368 | ||
4369 | if (!args) SWIG_fail; | |
4370 | swig_obj[0] = args; | |
4371 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4372 | if (!SWIG_IsOK(res1)) { | |
4373 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4374 | } | |
4375 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4376 | { | |
4377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4378 | result = (wxDC *)(arg1)->GetDC(); | |
4379 | wxPyEndAllowThreads(__tstate); | |
4380 | if (PyErr_Occurred()) SWIG_fail; | |
4381 | } | |
4382 | { | |
4383 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
4384 | } | |
4385 | return resultobj; | |
4386 | fail: | |
4387 | return NULL; | |
d14a1e28 RD |
4388 | } |
4389 | ||
4390 | ||
554f62e9 RD |
4391 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4392 | PyObject *resultobj = 0; | |
4393 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4394 | int result; | |
4395 | void *argp1 = 0 ; | |
4396 | int res1 = 0 ; | |
4397 | PyObject *swig_obj[1] ; | |
4398 | ||
4399 | if (!args) SWIG_fail; | |
4400 | swig_obj[0] = args; | |
4401 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4402 | if (!SWIG_IsOK(res1)) { | |
4403 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4404 | } | |
4405 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4406 | { | |
4407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4408 | result = (int)(arg1)->GetCharHeight(); | |
4409 | wxPyEndAllowThreads(__tstate); | |
4410 | if (PyErr_Occurred()) SWIG_fail; | |
4411 | } | |
4412 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4413 | return resultobj; | |
4414 | fail: | |
4415 | return NULL; | |
d14a1e28 RD |
4416 | } |
4417 | ||
4418 | ||
554f62e9 RD |
4419 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4420 | PyObject *resultobj = 0; | |
4421 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4422 | int result; | |
4423 | void *argp1 = 0 ; | |
4424 | int res1 = 0 ; | |
4425 | PyObject *swig_obj[1] ; | |
4426 | ||
4427 | if (!args) SWIG_fail; | |
4428 | swig_obj[0] = args; | |
4429 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4430 | if (!SWIG_IsOK(res1)) { | |
4431 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4432 | } | |
4433 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4434 | { | |
4435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4436 | result = (int)(arg1)->GetCharWidth(); | |
4437 | wxPyEndAllowThreads(__tstate); | |
4438 | if (PyErr_Occurred()) SWIG_fail; | |
4439 | } | |
4440 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4441 | return resultobj; | |
4442 | fail: | |
4443 | return NULL; | |
d14a1e28 RD |
4444 | } |
4445 | ||
4446 | ||
554f62e9 RD |
4447 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4448 | PyObject *resultobj = 0; | |
4449 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4450 | wxPyHtmlWindow *result = 0 ; | |
4451 | void *argp1 = 0 ; | |
4452 | int res1 = 0 ; | |
4453 | PyObject *swig_obj[1] ; | |
4454 | ||
4455 | if (!args) SWIG_fail; | |
4456 | swig_obj[0] = args; | |
4457 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4458 | if (!SWIG_IsOK(res1)) { | |
4459 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4460 | } | |
4461 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4462 | { | |
4463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4464 | result = (wxPyHtmlWindow *)(arg1)->GetWindow(); | |
4465 | wxPyEndAllowThreads(__tstate); | |
4466 | if (PyErr_Occurred()) SWIG_fail; | |
4467 | } | |
4468 | { | |
4469 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
4470 | } | |
4471 | return resultobj; | |
4472 | fail: | |
4473 | return NULL; | |
4474 | } | |
4475 | ||
4476 | ||
e9d6f3a4 RD |
4477 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4478 | PyObject *resultobj = 0; | |
4479 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4480 | wxHtmlWindowInterface *result = 0 ; | |
4481 | void *argp1 = 0 ; | |
4482 | int res1 = 0 ; | |
4483 | PyObject *swig_obj[1] ; | |
4484 | ||
4485 | if (!args) SWIG_fail; | |
4486 | swig_obj[0] = args; | |
4487 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4488 | if (!SWIG_IsOK(res1)) { | |
4489 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4490 | } | |
4491 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4492 | { | |
4493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4494 | result = (wxHtmlWindowInterface *)(arg1)->GetWindowInterface(); | |
4495 | wxPyEndAllowThreads(__tstate); | |
4496 | if (PyErr_Occurred()) SWIG_fail; | |
4497 | } | |
4498 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
4499 | return resultobj; | |
4500 | fail: | |
4501 | return NULL; | |
4502 | } | |
4503 | ||
4504 | ||
554f62e9 RD |
4505 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
4506 | PyObject *resultobj = 0; | |
4507 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4508 | wxString arg2 ; | |
4509 | wxString arg3 ; | |
4510 | PyObject *arg4 = (PyObject *) NULL ; | |
4511 | void *argp1 = 0 ; | |
4512 | int res1 = 0 ; | |
4513 | PyObject * obj0 = 0 ; | |
4514 | PyObject * obj1 = 0 ; | |
4515 | PyObject * obj2 = 0 ; | |
4516 | PyObject * obj3 = 0 ; | |
4517 | char * kwnames[] = { | |
4518 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
4519 | }; | |
4520 | ||
4521 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
4522 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4523 | if (!SWIG_IsOK(res1)) { | |
4524 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4525 | } | |
4526 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4527 | { | |
4528 | wxString* sptr = wxString_in_helper(obj1); | |
4529 | if (sptr == NULL) SWIG_fail; | |
4530 | arg2 = *sptr; | |
4531 | delete sptr; | |
4532 | } | |
4533 | { | |
4534 | wxString* sptr = wxString_in_helper(obj2); | |
4535 | if (sptr == NULL) SWIG_fail; | |
4536 | arg3 = *sptr; | |
4537 | delete sptr; | |
4538 | } | |
4539 | if (obj3) { | |
4540 | arg4 = obj3; | |
4541 | } | |
4542 | { | |
4543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4544 | wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4); | |
4545 | wxPyEndAllowThreads(__tstate); | |
4546 | if (PyErr_Occurred()) SWIG_fail; | |
4547 | } | |
4548 | resultobj = SWIG_Py_Void(); | |
4549 | return resultobj; | |
4550 | fail: | |
4551 | return NULL; | |
4552 | } | |
4553 | ||
4554 | ||
4555 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4556 | PyObject *resultobj = 0; | |
4557 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4558 | int arg2 = (int) -1 ; | |
4559 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4560 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
4561 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4562 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
4563 | void *argp1 = 0 ; | |
4564 | int res1 = 0 ; | |
4565 | int val2 ; | |
4566 | int ecode2 = 0 ; | |
4567 | bool temp3 = false ; | |
4568 | bool temp4 = false ; | |
4569 | PyObject * obj0 = 0 ; | |
4570 | PyObject * obj1 = 0 ; | |
4571 | PyObject * obj2 = 0 ; | |
4572 | PyObject * obj3 = 0 ; | |
4573 | char * kwnames[] = { | |
4574 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
4575 | }; | |
4576 | ||
4577 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
4578 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4579 | if (!SWIG_IsOK(res1)) { | |
4580 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4581 | } | |
4582 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4583 | if (obj1) { | |
4584 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4585 | if (!SWIG_IsOK(ecode2)) { | |
4586 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
4587 | } | |
4588 | arg2 = static_cast< int >(val2); | |
4589 | } | |
4590 | if (obj2) { | |
d14a1e28 | 4591 | { |
554f62e9 RD |
4592 | arg3 = wxString_in_helper(obj2); |
4593 | if (arg3 == NULL) SWIG_fail; | |
4594 | temp3 = true; | |
d14a1e28 | 4595 | } |
554f62e9 RD |
4596 | } |
4597 | if (obj3) { | |
d14a1e28 | 4598 | { |
554f62e9 RD |
4599 | arg4 = wxString_in_helper(obj3); |
4600 | if (arg4 == NULL) SWIG_fail; | |
4601 | temp4 = true; | |
d14a1e28 | 4602 | } |
554f62e9 RD |
4603 | } |
4604 | { | |
4605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4606 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
4607 | wxPyEndAllowThreads(__tstate); | |
4608 | if (PyErr_Occurred()) SWIG_fail; | |
4609 | } | |
4610 | resultobj = SWIG_Py_Void(); | |
4611 | { | |
4612 | if (temp3) | |
4613 | delete arg3; | |
4614 | } | |
4615 | { | |
4616 | if (temp4) | |
4617 | delete arg4; | |
4618 | } | |
4619 | return resultobj; | |
4620 | fail: | |
4621 | { | |
4622 | if (temp3) | |
4623 | delete arg3; | |
4624 | } | |
4625 | { | |
4626 | if (temp4) | |
4627 | delete arg4; | |
4628 | } | |
4629 | return NULL; | |
d14a1e28 RD |
4630 | } |
4631 | ||
4632 | ||
554f62e9 RD |
4633 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4634 | PyObject *resultobj = 0; | |
4635 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4636 | wxHtmlContainerCell *result = 0 ; | |
4637 | void *argp1 = 0 ; | |
4638 | int res1 = 0 ; | |
4639 | PyObject *swig_obj[1] ; | |
4640 | ||
4641 | if (!args) SWIG_fail; | |
4642 | swig_obj[0] = args; | |
4643 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4644 | if (!SWIG_IsOK(res1)) { | |
4645 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4646 | } | |
4647 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4648 | { | |
4649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4650 | result = (wxHtmlContainerCell *)(arg1)->GetContainer(); | |
4651 | wxPyEndAllowThreads(__tstate); | |
4652 | if (PyErr_Occurred()) SWIG_fail; | |
4653 | } | |
4654 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4655 | return resultobj; | |
4656 | fail: | |
4657 | return NULL; | |
d14a1e28 RD |
4658 | } |
4659 | ||
4660 | ||
554f62e9 RD |
4661 | SWIGINTERN PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4662 | PyObject *resultobj = 0; | |
4663 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4664 | wxHtmlContainerCell *result = 0 ; | |
4665 | void *argp1 = 0 ; | |
4666 | int res1 = 0 ; | |
4667 | PyObject *swig_obj[1] ; | |
4668 | ||
4669 | if (!args) SWIG_fail; | |
4670 | swig_obj[0] = args; | |
4671 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4672 | if (!SWIG_IsOK(res1)) { | |
4673 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4674 | } | |
4675 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4676 | { | |
4677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4678 | result = (wxHtmlContainerCell *)(arg1)->OpenContainer(); | |
4679 | wxPyEndAllowThreads(__tstate); | |
4680 | if (PyErr_Occurred()) SWIG_fail; | |
4681 | } | |
4682 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4683 | return resultobj; | |
4684 | fail: | |
4685 | return NULL; | |
4686 | } | |
4687 | ||
4688 | ||
4689 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4690 | PyObject *resultobj = 0; | |
4691 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4692 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
4693 | wxHtmlContainerCell *result = 0 ; | |
4694 | void *argp1 = 0 ; | |
4695 | int res1 = 0 ; | |
4696 | void *argp2 = 0 ; | |
4697 | int res2 = 0 ; | |
4698 | PyObject * obj0 = 0 ; | |
4699 | PyObject * obj1 = 0 ; | |
4700 | char * kwnames[] = { | |
4701 | (char *) "self",(char *) "c", NULL | |
4702 | }; | |
4703 | ||
4704 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) SWIG_fail; | |
4705 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4706 | if (!SWIG_IsOK(res1)) { | |
4707 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4708 | } | |
4709 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4710 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4711 | if (!SWIG_IsOK(res2)) { | |
4712 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'"); | |
4713 | } | |
4714 | arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2); | |
4715 | { | |
4716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4717 | result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2); | |
4718 | wxPyEndAllowThreads(__tstate); | |
4719 | if (PyErr_Occurred()) SWIG_fail; | |
4720 | } | |
4721 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4722 | return resultobj; | |
4723 | fail: | |
4724 | return NULL; | |
d14a1e28 RD |
4725 | } |
4726 | ||
4727 | ||
554f62e9 RD |
4728 | SWIGINTERN PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4729 | PyObject *resultobj = 0; | |
4730 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4731 | wxHtmlContainerCell *result = 0 ; | |
4732 | void *argp1 = 0 ; | |
4733 | int res1 = 0 ; | |
4734 | PyObject *swig_obj[1] ; | |
4735 | ||
4736 | if (!args) SWIG_fail; | |
4737 | swig_obj[0] = args; | |
4738 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4739 | if (!SWIG_IsOK(res1)) { | |
4740 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4741 | } | |
4742 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4743 | { | |
4744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4745 | result = (wxHtmlContainerCell *)(arg1)->CloseContainer(); | |
4746 | wxPyEndAllowThreads(__tstate); | |
4747 | if (PyErr_Occurred()) SWIG_fail; | |
4748 | } | |
4749 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4750 | return resultobj; | |
4751 | fail: | |
4752 | return NULL; | |
d14a1e28 RD |
4753 | } |
4754 | ||
4755 | ||
554f62e9 RD |
4756 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4757 | PyObject *resultobj = 0; | |
4758 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4759 | int result; | |
4760 | void *argp1 = 0 ; | |
4761 | int res1 = 0 ; | |
4762 | PyObject *swig_obj[1] ; | |
4763 | ||
4764 | if (!args) SWIG_fail; | |
4765 | swig_obj[0] = args; | |
4766 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4767 | if (!SWIG_IsOK(res1)) { | |
4768 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4769 | } | |
4770 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4771 | { | |
4772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4773 | result = (int)(arg1)->GetFontSize(); | |
4774 | wxPyEndAllowThreads(__tstate); | |
4775 | if (PyErr_Occurred()) SWIG_fail; | |
4776 | } | |
4777 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4778 | return resultobj; | |
4779 | fail: | |
4780 | return NULL; | |
4781 | } | |
4782 | ||
4783 | ||
4784 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4785 | PyObject *resultobj = 0; | |
4786 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4787 | int arg2 ; | |
4788 | void *argp1 = 0 ; | |
4789 | int res1 = 0 ; | |
4790 | int val2 ; | |
4791 | int ecode2 = 0 ; | |
4792 | PyObject * obj0 = 0 ; | |
4793 | PyObject * obj1 = 0 ; | |
4794 | char * kwnames[] = { | |
4795 | (char *) "self",(char *) "s", NULL | |
4796 | }; | |
4797 | ||
4798 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
4799 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4800 | if (!SWIG_IsOK(res1)) { | |
4801 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4802 | } | |
4803 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4804 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4805 | if (!SWIG_IsOK(ecode2)) { | |
4806 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'"); | |
4807 | } | |
4808 | arg2 = static_cast< int >(val2); | |
4809 | { | |
4810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4811 | (arg1)->SetFontSize(arg2); | |
4812 | wxPyEndAllowThreads(__tstate); | |
4813 | if (PyErr_Occurred()) SWIG_fail; | |
4814 | } | |
4815 | resultobj = SWIG_Py_Void(); | |
4816 | return resultobj; | |
4817 | fail: | |
4818 | return NULL; | |
d14a1e28 RD |
4819 | } |
4820 | ||
4821 | ||
554f62e9 RD |
4822 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4823 | PyObject *resultobj = 0; | |
4824 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4825 | int result; | |
4826 | void *argp1 = 0 ; | |
4827 | int res1 = 0 ; | |
4828 | PyObject *swig_obj[1] ; | |
4829 | ||
4830 | if (!args) SWIG_fail; | |
4831 | swig_obj[0] = args; | |
4832 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4833 | if (!SWIG_IsOK(res1)) { | |
4834 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4835 | } | |
4836 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4837 | { | |
4838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4839 | result = (int)(arg1)->GetFontBold(); | |
4840 | wxPyEndAllowThreads(__tstate); | |
4841 | if (PyErr_Occurred()) SWIG_fail; | |
4842 | } | |
4843 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4844 | return resultobj; | |
4845 | fail: | |
4846 | return NULL; | |
4847 | } | |
4848 | ||
4849 | ||
4850 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4851 | PyObject *resultobj = 0; | |
4852 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4853 | int arg2 ; | |
4854 | void *argp1 = 0 ; | |
4855 | int res1 = 0 ; | |
4856 | int val2 ; | |
4857 | int ecode2 = 0 ; | |
4858 | PyObject * obj0 = 0 ; | |
4859 | PyObject * obj1 = 0 ; | |
4860 | char * kwnames[] = { | |
4861 | (char *) "self",(char *) "x", NULL | |
4862 | }; | |
4863 | ||
4864 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) SWIG_fail; | |
4865 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4866 | if (!SWIG_IsOK(res1)) { | |
4867 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4868 | } | |
4869 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4870 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4871 | if (!SWIG_IsOK(ecode2)) { | |
4872 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'"); | |
4873 | } | |
4874 | arg2 = static_cast< int >(val2); | |
4875 | { | |
4876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4877 | (arg1)->SetFontBold(arg2); | |
4878 | wxPyEndAllowThreads(__tstate); | |
4879 | if (PyErr_Occurred()) SWIG_fail; | |
4880 | } | |
4881 | resultobj = SWIG_Py_Void(); | |
4882 | return resultobj; | |
4883 | fail: | |
4884 | return NULL; | |
d14a1e28 RD |
4885 | } |
4886 | ||
4887 | ||
554f62e9 RD |
4888 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4889 | PyObject *resultobj = 0; | |
4890 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4891 | int result; | |
4892 | void *argp1 = 0 ; | |
4893 | int res1 = 0 ; | |
4894 | PyObject *swig_obj[1] ; | |
4895 | ||
4896 | if (!args) SWIG_fail; | |
4897 | swig_obj[0] = args; | |
4898 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4899 | if (!SWIG_IsOK(res1)) { | |
4900 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4901 | } | |
4902 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4903 | { | |
4904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4905 | result = (int)(arg1)->GetFontItalic(); | |
4906 | wxPyEndAllowThreads(__tstate); | |
4907 | if (PyErr_Occurred()) SWIG_fail; | |
4908 | } | |
4909 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4910 | return resultobj; | |
4911 | fail: | |
4912 | return NULL; | |
4913 | } | |
4914 | ||
4915 | ||
4916 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4917 | PyObject *resultobj = 0; | |
4918 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4919 | int arg2 ; | |
4920 | void *argp1 = 0 ; | |
4921 | int res1 = 0 ; | |
4922 | int val2 ; | |
4923 | int ecode2 = 0 ; | |
4924 | PyObject * obj0 = 0 ; | |
4925 | PyObject * obj1 = 0 ; | |
4926 | char * kwnames[] = { | |
4927 | (char *) "self",(char *) "x", NULL | |
4928 | }; | |
4929 | ||
4930 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) SWIG_fail; | |
4931 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4932 | if (!SWIG_IsOK(res1)) { | |
4933 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4934 | } | |
4935 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4936 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4937 | if (!SWIG_IsOK(ecode2)) { | |
4938 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'"); | |
4939 | } | |
4940 | arg2 = static_cast< int >(val2); | |
4941 | { | |
4942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4943 | (arg1)->SetFontItalic(arg2); | |
4944 | wxPyEndAllowThreads(__tstate); | |
4945 | if (PyErr_Occurred()) SWIG_fail; | |
4946 | } | |
4947 | resultobj = SWIG_Py_Void(); | |
4948 | return resultobj; | |
4949 | fail: | |
4950 | return NULL; | |
d14a1e28 RD |
4951 | } |
4952 | ||
4953 | ||
554f62e9 RD |
4954 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4955 | PyObject *resultobj = 0; | |
4956 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4957 | int result; | |
4958 | void *argp1 = 0 ; | |
4959 | int res1 = 0 ; | |
4960 | PyObject *swig_obj[1] ; | |
4961 | ||
4962 | if (!args) SWIG_fail; | |
4963 | swig_obj[0] = args; | |
4964 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4965 | if (!SWIG_IsOK(res1)) { | |
4966 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4967 | } | |
4968 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4969 | { | |
4970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4971 | result = (int)(arg1)->GetFontUnderlined(); | |
4972 | wxPyEndAllowThreads(__tstate); | |
4973 | if (PyErr_Occurred()) SWIG_fail; | |
4974 | } | |
4975 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4976 | return resultobj; | |
4977 | fail: | |
4978 | return NULL; | |
4979 | } | |
4980 | ||
4981 | ||
4982 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4983 | PyObject *resultobj = 0; | |
4984 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4985 | int arg2 ; | |
4986 | void *argp1 = 0 ; | |
4987 | int res1 = 0 ; | |
4988 | int val2 ; | |
4989 | int ecode2 = 0 ; | |
4990 | PyObject * obj0 = 0 ; | |
4991 | PyObject * obj1 = 0 ; | |
4992 | char * kwnames[] = { | |
4993 | (char *) "self",(char *) "x", NULL | |
4994 | }; | |
4995 | ||
4996 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail; | |
4997 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4998 | if (!SWIG_IsOK(res1)) { | |
4999 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5000 | } | |
5001 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5002 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5003 | if (!SWIG_IsOK(ecode2)) { | |
5004 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'"); | |
5005 | } | |
5006 | arg2 = static_cast< int >(val2); | |
5007 | { | |
5008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5009 | (arg1)->SetFontUnderlined(arg2); | |
5010 | wxPyEndAllowThreads(__tstate); | |
5011 | if (PyErr_Occurred()) SWIG_fail; | |
5012 | } | |
5013 | resultobj = SWIG_Py_Void(); | |
5014 | return resultobj; | |
5015 | fail: | |
5016 | return NULL; | |
d14a1e28 RD |
5017 | } |
5018 | ||
5019 | ||
554f62e9 RD |
5020 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5021 | PyObject *resultobj = 0; | |
5022 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5023 | int result; | |
5024 | void *argp1 = 0 ; | |
5025 | int res1 = 0 ; | |
5026 | PyObject *swig_obj[1] ; | |
5027 | ||
5028 | if (!args) SWIG_fail; | |
5029 | swig_obj[0] = args; | |
5030 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5031 | if (!SWIG_IsOK(res1)) { | |
5032 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5033 | } | |
5034 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5035 | { | |
5036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5037 | result = (int)(arg1)->GetFontFixed(); | |
5038 | wxPyEndAllowThreads(__tstate); | |
5039 | if (PyErr_Occurred()) SWIG_fail; | |
5040 | } | |
5041 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5042 | return resultobj; | |
5043 | fail: | |
5044 | return NULL; | |
5045 | } | |
5046 | ||
5047 | ||
5048 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5049 | PyObject *resultobj = 0; | |
5050 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5051 | int arg2 ; | |
5052 | void *argp1 = 0 ; | |
5053 | int res1 = 0 ; | |
5054 | int val2 ; | |
5055 | int ecode2 = 0 ; | |
5056 | PyObject * obj0 = 0 ; | |
5057 | PyObject * obj1 = 0 ; | |
5058 | char * kwnames[] = { | |
5059 | (char *) "self",(char *) "x", NULL | |
5060 | }; | |
5061 | ||
5062 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) SWIG_fail; | |
5063 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5064 | if (!SWIG_IsOK(res1)) { | |
5065 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5066 | } | |
5067 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5068 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5069 | if (!SWIG_IsOK(ecode2)) { | |
5070 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'"); | |
5071 | } | |
5072 | arg2 = static_cast< int >(val2); | |
5073 | { | |
5074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5075 | (arg1)->SetFontFixed(arg2); | |
5076 | wxPyEndAllowThreads(__tstate); | |
5077 | if (PyErr_Occurred()) SWIG_fail; | |
5078 | } | |
5079 | resultobj = SWIG_Py_Void(); | |
5080 | return resultobj; | |
5081 | fail: | |
5082 | return NULL; | |
30ee79f7 RD |
5083 | } |
5084 | ||
5085 | ||
554f62e9 RD |
5086 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5087 | PyObject *resultobj = 0; | |
5088 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5089 | int result; | |
5090 | void *argp1 = 0 ; | |
5091 | int res1 = 0 ; | |
5092 | PyObject *swig_obj[1] ; | |
5093 | ||
5094 | if (!args) SWIG_fail; | |
5095 | swig_obj[0] = args; | |
5096 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5097 | if (!SWIG_IsOK(res1)) { | |
5098 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5099 | } | |
5100 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5101 | { | |
5102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5103 | result = (int)(arg1)->GetAlign(); | |
5104 | wxPyEndAllowThreads(__tstate); | |
5105 | if (PyErr_Occurred()) SWIG_fail; | |
5106 | } | |
5107 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5108 | return resultobj; | |
5109 | fail: | |
5110 | return NULL; | |
5111 | } | |
5112 | ||
5113 | ||
5114 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5115 | PyObject *resultobj = 0; | |
5116 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5117 | int arg2 ; | |
5118 | void *argp1 = 0 ; | |
5119 | int res1 = 0 ; | |
5120 | int val2 ; | |
5121 | int ecode2 = 0 ; | |
5122 | PyObject * obj0 = 0 ; | |
5123 | PyObject * obj1 = 0 ; | |
5124 | char * kwnames[] = { | |
5125 | (char *) "self",(char *) "a", NULL | |
5126 | }; | |
5127 | ||
5128 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail; | |
5129 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5130 | if (!SWIG_IsOK(res1)) { | |
5131 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5132 | } | |
5133 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5134 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5135 | if (!SWIG_IsOK(ecode2)) { | |
5136 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'"); | |
5137 | } | |
5138 | arg2 = static_cast< int >(val2); | |
5139 | { | |
5140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5141 | (arg1)->SetAlign(arg2); | |
5142 | wxPyEndAllowThreads(__tstate); | |
5143 | if (PyErr_Occurred()) SWIG_fail; | |
5144 | } | |
5145 | resultobj = SWIG_Py_Void(); | |
5146 | return resultobj; | |
5147 | fail: | |
5148 | return NULL; | |
d14a1e28 RD |
5149 | } |
5150 | ||
5151 | ||
554f62e9 RD |
5152 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5153 | PyObject *resultobj = 0; | |
5154 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5155 | wxColour result; | |
5156 | void *argp1 = 0 ; | |
5157 | int res1 = 0 ; | |
5158 | PyObject *swig_obj[1] ; | |
5159 | ||
5160 | if (!args) SWIG_fail; | |
5161 | swig_obj[0] = args; | |
5162 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5163 | if (!SWIG_IsOK(res1)) { | |
5164 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5165 | } | |
5166 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5167 | { | |
5168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5169 | result = (arg1)->GetLinkColor(); | |
5170 | wxPyEndAllowThreads(__tstate); | |
5171 | if (PyErr_Occurred()) SWIG_fail; | |
5172 | } | |
5173 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
5174 | return resultobj; | |
5175 | fail: | |
5176 | return NULL; | |
5177 | } | |
5178 | ||
5179 | ||
5180 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5181 | PyObject *resultobj = 0; | |
5182 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5183 | wxColour *arg2 = 0 ; | |
5184 | void *argp1 = 0 ; | |
5185 | int res1 = 0 ; | |
5186 | wxColour temp2 ; | |
5187 | PyObject * obj0 = 0 ; | |
5188 | PyObject * obj1 = 0 ; | |
5189 | char * kwnames[] = { | |
5190 | (char *) "self",(char *) "clr", NULL | |
5191 | }; | |
5192 | ||
5193 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) SWIG_fail; | |
5194 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5195 | if (!SWIG_IsOK(res1)) { | |
5196 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5197 | } | |
5198 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5199 | { | |
5200 | arg2 = &temp2; | |
5201 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5202 | } | |
5203 | { | |
5204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5205 | (arg1)->SetLinkColor((wxColour const &)*arg2); | |
5206 | wxPyEndAllowThreads(__tstate); | |
5207 | if (PyErr_Occurred()) SWIG_fail; | |
5208 | } | |
5209 | resultobj = SWIG_Py_Void(); | |
5210 | return resultobj; | |
5211 | fail: | |
5212 | return NULL; | |
d14a1e28 RD |
5213 | } |
5214 | ||
5215 | ||
554f62e9 RD |
5216 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5217 | PyObject *resultobj = 0; | |
5218 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5219 | wxColour result; | |
5220 | void *argp1 = 0 ; | |
5221 | int res1 = 0 ; | |
5222 | PyObject *swig_obj[1] ; | |
5223 | ||
5224 | if (!args) SWIG_fail; | |
5225 | swig_obj[0] = args; | |
5226 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5227 | if (!SWIG_IsOK(res1)) { | |
5228 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5229 | } | |
5230 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5231 | { | |
5232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5233 | result = (arg1)->GetActualColor(); | |
5234 | wxPyEndAllowThreads(__tstate); | |
5235 | if (PyErr_Occurred()) SWIG_fail; | |
5236 | } | |
5237 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
5238 | return resultobj; | |
5239 | fail: | |
5240 | return NULL; | |
5241 | } | |
5242 | ||
5243 | ||
5244 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5245 | PyObject *resultobj = 0; | |
5246 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5247 | wxColour *arg2 = 0 ; | |
5248 | void *argp1 = 0 ; | |
5249 | int res1 = 0 ; | |
5250 | wxColour temp2 ; | |
5251 | PyObject * obj0 = 0 ; | |
5252 | PyObject * obj1 = 0 ; | |
5253 | char * kwnames[] = { | |
5254 | (char *) "self",(char *) "clr", NULL | |
5255 | }; | |
5256 | ||
5257 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) SWIG_fail; | |
5258 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5259 | if (!SWIG_IsOK(res1)) { | |
5260 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5261 | } | |
5262 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5263 | { | |
5264 | arg2 = &temp2; | |
5265 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5266 | } | |
5267 | { | |
5268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5269 | (arg1)->SetActualColor((wxColour const &)*arg2); | |
5270 | wxPyEndAllowThreads(__tstate); | |
5271 | if (PyErr_Occurred()) SWIG_fail; | |
5272 | } | |
5273 | resultobj = SWIG_Py_Void(); | |
5274 | return resultobj; | |
5275 | fail: | |
5276 | return NULL; | |
5277 | } | |
5278 | ||
5279 | ||
5280 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5281 | PyObject *resultobj = 0; | |
5282 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5283 | wxString *arg2 = 0 ; | |
5284 | void *argp1 = 0 ; | |
5285 | int res1 = 0 ; | |
5286 | bool temp2 = false ; | |
5287 | PyObject * obj0 = 0 ; | |
5288 | PyObject * obj1 = 0 ; | |
5289 | char * kwnames[] = { | |
5290 | (char *) "self",(char *) "link", NULL | |
5291 | }; | |
5292 | ||
5293 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) SWIG_fail; | |
5294 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5295 | if (!SWIG_IsOK(res1)) { | |
5296 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5297 | } | |
5298 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5299 | { | |
5300 | arg2 = wxString_in_helper(obj1); | |
5301 | if (arg2 == NULL) SWIG_fail; | |
5302 | temp2 = true; | |
5303 | } | |
5304 | { | |
5305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5306 | (arg1)->SetLink((wxString const &)*arg2); | |
5307 | wxPyEndAllowThreads(__tstate); | |
5308 | if (PyErr_Occurred()) SWIG_fail; | |
5309 | } | |
5310 | resultobj = SWIG_Py_Void(); | |
5311 | { | |
5312 | if (temp2) | |
5313 | delete arg2; | |
5314 | } | |
5315 | return resultobj; | |
5316 | fail: | |
5317 | { | |
5318 | if (temp2) | |
5319 | delete arg2; | |
5320 | } | |
5321 | return NULL; | |
d14a1e28 RD |
5322 | } |
5323 | ||
5324 | ||
554f62e9 RD |
5325 | SWIGINTERN PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5326 | PyObject *resultobj = 0; | |
5327 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5328 | wxFont *result = 0 ; | |
5329 | void *argp1 = 0 ; | |
5330 | int res1 = 0 ; | |
5331 | PyObject *swig_obj[1] ; | |
5332 | ||
5333 | if (!args) SWIG_fail; | |
5334 | swig_obj[0] = args; | |
5335 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5336 | if (!SWIG_IsOK(res1)) { | |
5337 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5338 | } | |
5339 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5340 | { | |
5341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5342 | result = (wxFont *)(arg1)->CreateCurrentFont(); | |
5343 | wxPyEndAllowThreads(__tstate); | |
5344 | if (PyErr_Occurred()) SWIG_fail; | |
5345 | } | |
5346 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 ); | |
5347 | return resultobj; | |
5348 | fail: | |
5349 | return NULL; | |
d14a1e28 RD |
5350 | } |
5351 | ||
5352 | ||
554f62e9 RD |
5353 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5354 | PyObject *resultobj = 0; | |
5355 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5356 | SwigValueWrapper<wxHtmlLinkInfo > result; | |
5357 | void *argp1 = 0 ; | |
5358 | int res1 = 0 ; | |
5359 | PyObject *swig_obj[1] ; | |
5360 | ||
5361 | if (!args) SWIG_fail; | |
5362 | swig_obj[0] = args; | |
5363 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5364 | if (!SWIG_IsOK(res1)) { | |
5365 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5366 | } | |
5367 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5368 | { | |
5369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5370 | result = (arg1)->GetLink(); | |
5371 | wxPyEndAllowThreads(__tstate); | |
5372 | if (PyErr_Occurred()) SWIG_fail; | |
5373 | } | |
5374 | resultobj = SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo& >(result))), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_OWN | 0 ); | |
5375 | return resultobj; | |
5376 | fail: | |
5377 | return NULL; | |
d14a1e28 RD |
5378 | } |
5379 | ||
5380 | ||
554f62e9 RD |
5381 | SWIGINTERN PyObject *HtmlWinParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5382 | PyObject *obj; | |
5383 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5384 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser, SWIG_NewClientData(obj)); | |
5385 | return SWIG_Py_Void(); | |
d14a1e28 RD |
5386 | } |
5387 | ||
554f62e9 RD |
5388 | SWIGINTERN PyObject *HtmlWinParser_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5389 | return SWIG_Python_InitShadowInstance(args); | |
d14a1e28 RD |
5390 | } |
5391 | ||
554f62e9 RD |
5392 | SWIGINTERN PyObject *_wrap_new_HtmlTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5393 | PyObject *resultobj = 0; | |
5394 | wxPyHtmlTagHandler *result = 0 ; | |
5395 | ||
5396 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlTagHandler",0,0,0)) SWIG_fail; | |
5397 | { | |
5398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5399 | result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler(); | |
5400 | wxPyEndAllowThreads(__tstate); | |
5401 | if (PyErr_Occurred()) SWIG_fail; | |
5402 | } | |
5403 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_NEW | 0 ); | |
5404 | return resultobj; | |
5405 | fail: | |
5406 | return NULL; | |
5407 | } | |
5408 | ||
5409 | ||
5410 | SWIGINTERN PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5411 | PyObject *resultobj = 0; | |
5412 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5413 | PyObject *arg2 = (PyObject *) 0 ; | |
5414 | PyObject *arg3 = (PyObject *) 0 ; | |
5415 | void *argp1 = 0 ; | |
5416 | int res1 = 0 ; | |
5417 | PyObject * obj0 = 0 ; | |
5418 | PyObject * obj1 = 0 ; | |
5419 | PyObject * obj2 = 0 ; | |
5420 | char * kwnames[] = { | |
5421 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5422 | }; | |
5423 | ||
5424 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5425 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5426 | if (!SWIG_IsOK(res1)) { | |
5427 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5428 | } | |
5429 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5430 | arg2 = obj1; | |
5431 | arg3 = obj2; | |
5432 | { | |
5433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5434 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5435 | wxPyEndAllowThreads(__tstate); | |
5436 | if (PyErr_Occurred()) SWIG_fail; | |
5437 | } | |
5438 | resultobj = SWIG_Py_Void(); | |
5439 | return resultobj; | |
5440 | fail: | |
5441 | return NULL; | |
5442 | } | |
5443 | ||
5444 | ||
5445 | SWIGINTERN PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5446 | PyObject *resultobj = 0; | |
5447 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5448 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
5449 | void *argp1 = 0 ; | |
5450 | int res1 = 0 ; | |
5451 | void *argp2 = 0 ; | |
5452 | int res2 = 0 ; | |
5453 | PyObject * obj0 = 0 ; | |
5454 | PyObject * obj1 = 0 ; | |
5455 | char * kwnames[] = { | |
5456 | (char *) "self",(char *) "parser", NULL | |
5457 | }; | |
5458 | ||
5459 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail; | |
5460 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5461 | if (!SWIG_IsOK(res1)) { | |
5462 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5463 | } | |
5464 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5465 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
5466 | if (!SWIG_IsOK(res2)) { | |
5467 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'"); | |
5468 | } | |
5469 | arg2 = reinterpret_cast< wxHtmlParser * >(argp2); | |
5470 | { | |
5471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5472 | (arg1)->SetParser(arg2); | |
5473 | wxPyEndAllowThreads(__tstate); | |
5474 | if (PyErr_Occurred()) SWIG_fail; | |
5475 | } | |
5476 | resultobj = SWIG_Py_Void(); | |
5477 | return resultobj; | |
5478 | fail: | |
5479 | return NULL; | |
d14a1e28 RD |
5480 | } |
5481 | ||
5482 | ||
554f62e9 RD |
5483 | SWIGINTERN PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5484 | PyObject *resultobj = 0; | |
5485 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5486 | wxHtmlParser *result = 0 ; | |
5487 | void *argp1 = 0 ; | |
5488 | int res1 = 0 ; | |
5489 | PyObject *swig_obj[1] ; | |
5490 | ||
5491 | if (!args) SWIG_fail; | |
5492 | swig_obj[0] = args; | |
5493 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5494 | if (!SWIG_IsOK(res1)) { | |
5495 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5496 | } | |
5497 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5498 | { | |
5499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5500 | result = (wxHtmlParser *)(arg1)->GetParser(); | |
5501 | wxPyEndAllowThreads(__tstate); | |
5502 | if (PyErr_Occurred()) SWIG_fail; | |
5503 | } | |
5504 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
5505 | return resultobj; | |
5506 | fail: | |
5507 | return NULL; | |
5508 | } | |
5509 | ||
5510 | ||
5511 | SWIGINTERN PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5512 | PyObject *resultobj = 0; | |
5513 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5514 | wxHtmlTag *arg2 = 0 ; | |
5515 | void *argp1 = 0 ; | |
5516 | int res1 = 0 ; | |
5517 | void *argp2 = 0 ; | |
5518 | int res2 = 0 ; | |
5519 | PyObject * obj0 = 0 ; | |
5520 | PyObject * obj1 = 0 ; | |
5521 | char * kwnames[] = { | |
5522 | (char *) "self",(char *) "tag", NULL | |
5523 | }; | |
5524 | ||
5525 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail; | |
5526 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5527 | if (!SWIG_IsOK(res1)) { | |
5528 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5529 | } | |
5530 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5531 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
5532 | if (!SWIG_IsOK(res2)) { | |
5533 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5534 | } | |
5535 | if (!argp2) { | |
5536 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5537 | } | |
5538 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
5539 | { | |
5540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5541 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
5542 | wxPyEndAllowThreads(__tstate); | |
5543 | if (PyErr_Occurred()) SWIG_fail; | |
5544 | } | |
5545 | resultobj = SWIG_Py_Void(); | |
5546 | return resultobj; | |
5547 | fail: | |
5548 | return NULL; | |
d14a1e28 RD |
5549 | } |
5550 | ||
5551 | ||
554f62e9 RD |
5552 | SWIGINTERN PyObject *HtmlTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5553 | PyObject *obj; | |
5554 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5555 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_NewClientData(obj)); | |
5556 | return SWIG_Py_Void(); | |
d14a1e28 RD |
5557 | } |
5558 | ||
554f62e9 RD |
5559 | SWIGINTERN PyObject *HtmlTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5560 | return SWIG_Python_InitShadowInstance(args); | |
5561 | } | |
d14a1e28 | 5562 | |
554f62e9 RD |
5563 | SWIGINTERN PyObject *_wrap_new_HtmlWinTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5564 | PyObject *resultobj = 0; | |
5565 | wxPyHtmlWinTagHandler *result = 0 ; | |
5566 | ||
5567 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail; | |
5568 | { | |
5569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5570 | result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler(); | |
5571 | wxPyEndAllowThreads(__tstate); | |
5572 | if (PyErr_Occurred()) SWIG_fail; | |
5573 | } | |
5574 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_NEW | 0 ); | |
5575 | return resultobj; | |
5576 | fail: | |
5577 | return NULL; | |
5578 | } | |
5579 | ||
5580 | ||
5581 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5582 | PyObject *resultobj = 0; | |
5583 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5584 | PyObject *arg2 = (PyObject *) 0 ; | |
5585 | PyObject *arg3 = (PyObject *) 0 ; | |
5586 | void *argp1 = 0 ; | |
5587 | int res1 = 0 ; | |
5588 | PyObject * obj0 = 0 ; | |
5589 | PyObject * obj1 = 0 ; | |
5590 | PyObject * obj2 = 0 ; | |
5591 | char * kwnames[] = { | |
5592 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5593 | }; | |
5594 | ||
5595 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5596 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5597 | if (!SWIG_IsOK(res1)) { | |
5598 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5599 | } | |
5600 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5601 | arg2 = obj1; | |
5602 | arg3 = obj2; | |
5603 | { | |
5604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5605 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5606 | wxPyEndAllowThreads(__tstate); | |
5607 | if (PyErr_Occurred()) SWIG_fail; | |
5608 | } | |
5609 | resultobj = SWIG_Py_Void(); | |
5610 | return resultobj; | |
5611 | fail: | |
5612 | return NULL; | |
5613 | } | |
5614 | ||
5615 | ||
5616 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5617 | PyObject *resultobj = 0; | |
5618 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5619 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
5620 | void *argp1 = 0 ; | |
5621 | int res1 = 0 ; | |
5622 | void *argp2 = 0 ; | |
5623 | int res2 = 0 ; | |
5624 | PyObject * obj0 = 0 ; | |
5625 | PyObject * obj1 = 0 ; | |
5626 | char * kwnames[] = { | |
5627 | (char *) "self",(char *) "parser", NULL | |
5628 | }; | |
5629 | ||
5630 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail; | |
5631 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5632 | if (!SWIG_IsOK(res1)) { | |
5633 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5634 | } | |
5635 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5636 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
5637 | if (!SWIG_IsOK(res2)) { | |
5638 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'"); | |
5639 | } | |
5640 | arg2 = reinterpret_cast< wxHtmlParser * >(argp2); | |
5641 | { | |
5642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5643 | (arg1)->SetParser(arg2); | |
5644 | wxPyEndAllowThreads(__tstate); | |
5645 | if (PyErr_Occurred()) SWIG_fail; | |
5646 | } | |
5647 | resultobj = SWIG_Py_Void(); | |
5648 | return resultobj; | |
5649 | fail: | |
5650 | return NULL; | |
d14a1e28 RD |
5651 | } |
5652 | ||
5653 | ||
554f62e9 RD |
5654 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5655 | PyObject *resultobj = 0; | |
5656 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5657 | wxHtmlWinParser *result = 0 ; | |
5658 | void *argp1 = 0 ; | |
5659 | int res1 = 0 ; | |
5660 | PyObject *swig_obj[1] ; | |
5661 | ||
5662 | if (!args) SWIG_fail; | |
5663 | swig_obj[0] = args; | |
5664 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5665 | if (!SWIG_IsOK(res1)) { | |
5666 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5667 | } | |
5668 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5669 | { | |
5670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5671 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
5672 | wxPyEndAllowThreads(__tstate); | |
5673 | if (PyErr_Occurred()) SWIG_fail; | |
5674 | } | |
5675 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5676 | return resultobj; | |
5677 | fail: | |
5678 | return NULL; | |
5679 | } | |
5680 | ||
5681 | ||
5682 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5683 | PyObject *resultobj = 0; | |
5684 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5685 | wxHtmlTag *arg2 = 0 ; | |
5686 | void *argp1 = 0 ; | |
5687 | int res1 = 0 ; | |
5688 | void *argp2 = 0 ; | |
5689 | int res2 = 0 ; | |
5690 | PyObject * obj0 = 0 ; | |
5691 | PyObject * obj1 = 0 ; | |
5692 | char * kwnames[] = { | |
5693 | (char *) "self",(char *) "tag", NULL | |
5694 | }; | |
5695 | ||
5696 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail; | |
5697 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5698 | if (!SWIG_IsOK(res1)) { | |
5699 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5700 | } | |
5701 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5702 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
5703 | if (!SWIG_IsOK(res2)) { | |
5704 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5705 | } | |
5706 | if (!argp2) { | |
5707 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5708 | } | |
5709 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
5710 | { | |
5711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5712 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
5713 | wxPyEndAllowThreads(__tstate); | |
5714 | if (PyErr_Occurred()) SWIG_fail; | |
5715 | } | |
5716 | resultobj = SWIG_Py_Void(); | |
5717 | return resultobj; | |
5718 | fail: | |
5719 | return NULL; | |
d14a1e28 RD |
5720 | } |
5721 | ||
5722 | ||
554f62e9 RD |
5723 | SWIGINTERN PyObject *HtmlWinTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5724 | PyObject *obj; | |
5725 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5726 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_NewClientData(obj)); | |
5727 | return SWIG_Py_Void(); | |
d14a1e28 RD |
5728 | } |
5729 | ||
554f62e9 RD |
5730 | SWIGINTERN PyObject *HtmlWinTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5731 | return SWIG_Python_InitShadowInstance(args); | |
5732 | } | |
d14a1e28 | 5733 | |
554f62e9 RD |
5734 | SWIGINTERN PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5735 | PyObject *resultobj = 0; | |
5736 | PyObject *arg1 = (PyObject *) 0 ; | |
5737 | PyObject * obj0 = 0 ; | |
5738 | char * kwnames[] = { | |
5739 | (char *) "tagHandlerClass", NULL | |
5740 | }; | |
5741 | ||
5742 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) SWIG_fail; | |
5743 | arg1 = obj0; | |
5744 | { | |
5745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5746 | wxHtmlWinParser_AddTagHandler(arg1); | |
5747 | wxPyEndAllowThreads(__tstate); | |
5748 | if (PyErr_Occurred()) SWIG_fail; | |
5749 | } | |
5750 | resultobj = SWIG_Py_Void(); | |
5751 | return resultobj; | |
5752 | fail: | |
5753 | return NULL; | |
d14a1e28 RD |
5754 | } |
5755 | ||
5756 | ||
554f62e9 RD |
5757 | SWIGINTERN PyObject *_wrap_new_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5758 | PyObject *resultobj = 0; | |
5759 | wxHtmlSelection *result = 0 ; | |
5760 | ||
5761 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlSelection",0,0,0)) SWIG_fail; | |
5762 | { | |
5763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5764 | result = (wxHtmlSelection *)new wxHtmlSelection(); | |
5765 | wxPyEndAllowThreads(__tstate); | |
5766 | if (PyErr_Occurred()) SWIG_fail; | |
5767 | } | |
5768 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_NEW | 0 ); | |
5769 | return resultobj; | |
5770 | fail: | |
5771 | return NULL; | |
d14a1e28 RD |
5772 | } |
5773 | ||
5774 | ||
554f62e9 RD |
5775 | SWIGINTERN PyObject *_wrap_delete_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5776 | PyObject *resultobj = 0; | |
5777 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5778 | void *argp1 = 0 ; | |
5779 | int res1 = 0 ; | |
5780 | PyObject *swig_obj[1] ; | |
5781 | ||
5782 | if (!args) SWIG_fail; | |
5783 | swig_obj[0] = args; | |
5784 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_DISOWN | 0 ); | |
5785 | if (!SWIG_IsOK(res1)) { | |
5786 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
5787 | } | |
5788 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5789 | { | |
5790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5791 | delete arg1; | |
d14a1e28 | 5792 | |
554f62e9 RD |
5793 | wxPyEndAllowThreads(__tstate); |
5794 | if (PyErr_Occurred()) SWIG_fail; | |
5795 | } | |
5796 | resultobj = SWIG_Py_Void(); | |
5797 | return resultobj; | |
5798 | fail: | |
5799 | return NULL; | |
5800 | } | |
5801 | ||
5802 | ||
5803 | SWIGINTERN PyObject *_wrap_HtmlSelection_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5804 | PyObject *resultobj = 0; | |
5805 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5806 | wxPoint *arg2 = 0 ; | |
5807 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
5808 | wxPoint *arg4 = 0 ; | |
5809 | wxHtmlCell *arg5 = (wxHtmlCell *) 0 ; | |
5810 | void *argp1 = 0 ; | |
5811 | int res1 = 0 ; | |
5812 | wxPoint temp2 ; | |
5813 | void *argp3 = 0 ; | |
5814 | int res3 = 0 ; | |
5815 | wxPoint temp4 ; | |
5816 | void *argp5 = 0 ; | |
5817 | int res5 = 0 ; | |
5818 | PyObject * obj0 = 0 ; | |
5819 | PyObject * obj1 = 0 ; | |
5820 | PyObject * obj2 = 0 ; | |
5821 | PyObject * obj3 = 0 ; | |
5822 | PyObject * obj4 = 0 ; | |
5823 | char * kwnames[] = { | |
5824 | (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL | |
5825 | }; | |
5826 | ||
5827 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
5828 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5829 | if (!SWIG_IsOK(res1)) { | |
5830 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
5831 | } | |
5832 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5833 | { | |
5834 | arg2 = &temp2; | |
5835 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
5836 | } | |
5837 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5838 | if (!SWIG_IsOK(res3)) { | |
5839 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'"); | |
5840 | } | |
5841 | arg3 = reinterpret_cast< wxHtmlCell * >(argp3); | |
5842 | { | |
5843 | arg4 = &temp4; | |
5844 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5845 | } | |
5846 | res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5847 | if (!SWIG_IsOK(res5)) { | |
5848 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'"); | |
5849 | } | |
5850 | arg5 = reinterpret_cast< wxHtmlCell * >(argp5); | |
5851 | { | |
5852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5853 | (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5); | |
5854 | wxPyEndAllowThreads(__tstate); | |
5855 | if (PyErr_Occurred()) SWIG_fail; | |
5856 | } | |
5857 | resultobj = SWIG_Py_Void(); | |
5858 | return resultobj; | |
5859 | fail: | |
5860 | return NULL; | |
5861 | } | |
5862 | ||
5863 | ||
5864 | SWIGINTERN PyObject *_wrap_HtmlSelection_SetCells(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5865 | PyObject *resultobj = 0; | |
5866 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5867 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
5868 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
5869 | void *argp1 = 0 ; | |
5870 | int res1 = 0 ; | |
5871 | void *argp2 = 0 ; | |
5872 | int res2 = 0 ; | |
5873 | void *argp3 = 0 ; | |
5874 | int res3 = 0 ; | |
5875 | PyObject * obj0 = 0 ; | |
5876 | PyObject * obj1 = 0 ; | |
5877 | PyObject * obj2 = 0 ; | |
5878 | char * kwnames[] = { | |
5879 | (char *) "self",(char *) "fromCell",(char *) "toCell", NULL | |
5880 | }; | |
5881 | ||
5882 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5883 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5884 | if (!SWIG_IsOK(res1)) { | |
5885 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
5886 | } | |
5887 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5888 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5889 | if (!SWIG_IsOK(res2)) { | |
5890 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'"); | |
5891 | } | |
5892 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
5893 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5894 | if (!SWIG_IsOK(res3)) { | |
5895 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'"); | |
5896 | } | |
5897 | arg3 = reinterpret_cast< wxHtmlCell * >(argp3); | |
5898 | { | |
5899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5900 | (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3); | |
5901 | wxPyEndAllowThreads(__tstate); | |
5902 | if (PyErr_Occurred()) SWIG_fail; | |
5903 | } | |
5904 | resultobj = SWIG_Py_Void(); | |
5905 | return resultobj; | |
5906 | fail: | |
5907 | return NULL; | |
d14a1e28 RD |
5908 | } |
5909 | ||
5910 | ||
554f62e9 RD |
5911 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5912 | PyObject *resultobj = 0; | |
5913 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5914 | wxHtmlCell *result = 0 ; | |
5915 | void *argp1 = 0 ; | |
5916 | int res1 = 0 ; | |
5917 | PyObject *swig_obj[1] ; | |
5918 | ||
5919 | if (!args) SWIG_fail; | |
5920 | swig_obj[0] = args; | |
5921 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5922 | if (!SWIG_IsOK(res1)) { | |
5923 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5924 | } | |
5925 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5926 | { | |
5927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5928 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell(); | |
5929 | wxPyEndAllowThreads(__tstate); | |
5930 | if (PyErr_Occurred()) SWIG_fail; | |
5931 | } | |
5932 | { | |
5933 | resultobj = wxPyMake_wxObject(result, 0); | |
5934 | } | |
5935 | return resultobj; | |
5936 | fail: | |
5937 | return NULL; | |
d14a1e28 RD |
5938 | } |
5939 | ||
5940 | ||
554f62e9 RD |
5941 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetToCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5942 | PyObject *resultobj = 0; | |
5943 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5944 | wxHtmlCell *result = 0 ; | |
5945 | void *argp1 = 0 ; | |
5946 | int res1 = 0 ; | |
5947 | PyObject *swig_obj[1] ; | |
5948 | ||
5949 | if (!args) SWIG_fail; | |
5950 | swig_obj[0] = args; | |
5951 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5952 | if (!SWIG_IsOK(res1)) { | |
5953 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5954 | } | |
5955 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5956 | { | |
5957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5958 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell(); | |
5959 | wxPyEndAllowThreads(__tstate); | |
5960 | if (PyErr_Occurred()) SWIG_fail; | |
5961 | } | |
5962 | { | |
5963 | resultobj = wxPyMake_wxObject(result, 0); | |
5964 | } | |
5965 | return resultobj; | |
5966 | fail: | |
5967 | return NULL; | |
d14a1e28 RD |
5968 | } |
5969 | ||
5970 | ||
554f62e9 RD |
5971 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5972 | PyObject *resultobj = 0; | |
5973 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5974 | wxPoint *result = 0 ; | |
5975 | void *argp1 = 0 ; | |
5976 | int res1 = 0 ; | |
5977 | PyObject *swig_obj[1] ; | |
5978 | ||
5979 | if (!args) SWIG_fail; | |
5980 | swig_obj[0] = args; | |
5981 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5982 | if (!SWIG_IsOK(res1)) { | |
5983 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5984 | } | |
5985 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5986 | { | |
5987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 5988 | { |
554f62e9 RD |
5989 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos(); |
5990 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 5991 | } |
554f62e9 RD |
5992 | wxPyEndAllowThreads(__tstate); |
5993 | if (PyErr_Occurred()) SWIG_fail; | |
5994 | } | |
5995 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
5996 | return resultobj; | |
5997 | fail: | |
5998 | return NULL; | |
d14a1e28 RD |
5999 | } |
6000 | ||
6001 | ||
554f62e9 RD |
6002 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6003 | PyObject *resultobj = 0; | |
6004 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6005 | wxPoint *result = 0 ; | |
6006 | void *argp1 = 0 ; | |
6007 | int res1 = 0 ; | |
6008 | PyObject *swig_obj[1] ; | |
6009 | ||
6010 | if (!args) SWIG_fail; | |
6011 | swig_obj[0] = args; | |
6012 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6013 | if (!SWIG_IsOK(res1)) { | |
6014 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
6015 | } | |
6016 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6017 | { | |
6018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6019 | { |
554f62e9 RD |
6020 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos(); |
6021 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 6022 | } |
554f62e9 RD |
6023 | wxPyEndAllowThreads(__tstate); |
6024 | if (PyErr_Occurred()) SWIG_fail; | |
6025 | } | |
6026 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6027 | return resultobj; | |
6028 | fail: | |
6029 | return NULL; | |
d14a1e28 RD |
6030 | } |
6031 | ||
6032 | ||
554f62e9 RD |
6033 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6034 | PyObject *resultobj = 0; | |
6035 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6036 | wxPoint *result = 0 ; | |
6037 | void *argp1 = 0 ; | |
6038 | int res1 = 0 ; | |
6039 | PyObject *swig_obj[1] ; | |
6040 | ||
6041 | if (!args) SWIG_fail; | |
6042 | swig_obj[0] = args; | |
6043 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6044 | if (!SWIG_IsOK(res1)) { | |
6045 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
6046 | } | |
6047 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6048 | { | |
6049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6050 | { |
554f62e9 RD |
6051 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos(); |
6052 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 6053 | } |
554f62e9 RD |
6054 | wxPyEndAllowThreads(__tstate); |
6055 | if (PyErr_Occurred()) SWIG_fail; | |
6056 | } | |
6057 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6058 | return resultobj; | |
6059 | fail: | |
6060 | return NULL; | |
d14a1e28 RD |
6061 | } |
6062 | ||
6063 | ||
554f62e9 RD |
6064 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6065 | PyObject *resultobj = 0; | |
6066 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6067 | wxPoint *result = 0 ; | |
6068 | void *argp1 = 0 ; | |
6069 | int res1 = 0 ; | |
6070 | PyObject *swig_obj[1] ; | |
6071 | ||
6072 | if (!args) SWIG_fail; | |
6073 | swig_obj[0] = args; | |
6074 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6075 | if (!SWIG_IsOK(res1)) { | |
6076 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
6077 | } | |
6078 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6079 | { | |
6080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6081 | { |
554f62e9 RD |
6082 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos(); |
6083 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 6084 | } |
554f62e9 RD |
6085 | wxPyEndAllowThreads(__tstate); |
6086 | if (PyErr_Occurred()) SWIG_fail; | |
6087 | } | |
6088 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6089 | return resultobj; | |
6090 | fail: | |
6091 | return NULL; | |
6092 | } | |
6093 | ||
6094 | ||
6095 | SWIGINTERN PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6096 | PyObject *resultobj = 0; | |
6097 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6098 | wxPoint *arg2 = 0 ; | |
6099 | void *argp1 = 0 ; | |
6100 | int res1 = 0 ; | |
6101 | wxPoint temp2 ; | |
6102 | PyObject * obj0 = 0 ; | |
6103 | PyObject * obj1 = 0 ; | |
6104 | char * kwnames[] = { | |
6105 | (char *) "self",(char *) "pos", NULL | |
6106 | }; | |
6107 | ||
6108 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) SWIG_fail; | |
6109 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6110 | if (!SWIG_IsOK(res1)) { | |
6111 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
6112 | } | |
6113 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6114 | { | |
6115 | arg2 = &temp2; | |
6116 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
6117 | } | |
6118 | { | |
6119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6120 | (arg1)->SetFromPrivPos((wxPoint const &)*arg2); | |
6121 | wxPyEndAllowThreads(__tstate); | |
6122 | if (PyErr_Occurred()) SWIG_fail; | |
6123 | } | |
6124 | resultobj = SWIG_Py_Void(); | |
6125 | return resultobj; | |
6126 | fail: | |
6127 | return NULL; | |
6128 | } | |
6129 | ||
6130 | ||
6131 | SWIGINTERN PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6132 | PyObject *resultobj = 0; | |
6133 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6134 | wxPoint *arg2 = 0 ; | |
6135 | void *argp1 = 0 ; | |
6136 | int res1 = 0 ; | |
6137 | wxPoint temp2 ; | |
6138 | PyObject * obj0 = 0 ; | |
6139 | PyObject * obj1 = 0 ; | |
6140 | char * kwnames[] = { | |
6141 | (char *) "self",(char *) "pos", NULL | |
6142 | }; | |
6143 | ||
6144 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) SWIG_fail; | |
6145 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6146 | if (!SWIG_IsOK(res1)) { | |
6147 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
6148 | } | |
6149 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6150 | { | |
6151 | arg2 = &temp2; | |
6152 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
6153 | } | |
6154 | { | |
6155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6156 | (arg1)->SetToPrivPos((wxPoint const &)*arg2); | |
6157 | wxPyEndAllowThreads(__tstate); | |
6158 | if (PyErr_Occurred()) SWIG_fail; | |
6159 | } | |
6160 | resultobj = SWIG_Py_Void(); | |
6161 | return resultobj; | |
6162 | fail: | |
6163 | return NULL; | |
d14a1e28 RD |
6164 | } |
6165 | ||
6166 | ||
554f62e9 RD |
6167 | SWIGINTERN PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6168 | PyObject *resultobj = 0; | |
6169 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6170 | void *argp1 = 0 ; | |
6171 | int res1 = 0 ; | |
6172 | PyObject *swig_obj[1] ; | |
6173 | ||
6174 | if (!args) SWIG_fail; | |
6175 | swig_obj[0] = args; | |
6176 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6177 | if (!SWIG_IsOK(res1)) { | |
6178 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
6179 | } | |
6180 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6181 | { | |
6182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6183 | (arg1)->ClearPrivPos(); | |
6184 | wxPyEndAllowThreads(__tstate); | |
6185 | if (PyErr_Occurred()) SWIG_fail; | |
6186 | } | |
6187 | resultobj = SWIG_Py_Void(); | |
6188 | return resultobj; | |
6189 | fail: | |
6190 | return NULL; | |
d14a1e28 RD |
6191 | } |
6192 | ||
6193 | ||
554f62e9 RD |
6194 | SWIGINTERN PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6195 | PyObject *resultobj = 0; | |
6196 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6197 | bool result; | |
6198 | void *argp1 = 0 ; | |
6199 | int res1 = 0 ; | |
6200 | PyObject *swig_obj[1] ; | |
6201 | ||
6202 | if (!args) SWIG_fail; | |
6203 | swig_obj[0] = args; | |
6204 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6205 | if (!SWIG_IsOK(res1)) { | |
6206 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
6207 | } | |
6208 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6209 | { | |
6210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6211 | result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty(); | |
6212 | wxPyEndAllowThreads(__tstate); | |
6213 | if (PyErr_Occurred()) SWIG_fail; | |
6214 | } | |
6215 | resultobj = SWIG_From_bool(static_cast< bool >(result)); | |
6216 | return resultobj; | |
6217 | fail: | |
6218 | return NULL; | |
d14a1e28 RD |
6219 | } |
6220 | ||
6221 | ||
554f62e9 RD |
6222 | SWIGINTERN PyObject *HtmlSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6223 | PyObject *obj; | |
6224 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6225 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection, SWIG_NewClientData(obj)); | |
6226 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6227 | } |
6228 | ||
554f62e9 RD |
6229 | SWIGINTERN PyObject *HtmlSelection_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6230 | return SWIG_Python_InitShadowInstance(args); | |
6231 | } | |
d14a1e28 | 6232 | |
554f62e9 RD |
6233 | SWIGINTERN PyObject *_wrap_new_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6234 | PyObject *resultobj = 0; | |
6235 | wxHtmlRenderingState *result = 0 ; | |
6236 | ||
6237 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingState",0,0,0)) SWIG_fail; | |
6238 | { | |
6239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6240 | result = (wxHtmlRenderingState *)new wxHtmlRenderingState(); | |
6241 | wxPyEndAllowThreads(__tstate); | |
6242 | if (PyErr_Occurred()) SWIG_fail; | |
6243 | } | |
6244 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_NEW | 0 ); | |
6245 | return resultobj; | |
6246 | fail: | |
6247 | return NULL; | |
d14a1e28 RD |
6248 | } |
6249 | ||
6250 | ||
554f62e9 RD |
6251 | SWIGINTERN PyObject *_wrap_delete_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6252 | PyObject *resultobj = 0; | |
6253 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6254 | void *argp1 = 0 ; | |
6255 | int res1 = 0 ; | |
6256 | PyObject *swig_obj[1] ; | |
6257 | ||
6258 | if (!args) SWIG_fail; | |
6259 | swig_obj[0] = args; | |
6260 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_DISOWN | 0 ); | |
6261 | if (!SWIG_IsOK(res1)) { | |
6262 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6263 | } | |
6264 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6265 | { | |
6266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6267 | delete arg1; | |
d14a1e28 | 6268 | |
554f62e9 RD |
6269 | wxPyEndAllowThreads(__tstate); |
6270 | if (PyErr_Occurred()) SWIG_fail; | |
6271 | } | |
6272 | resultobj = SWIG_Py_Void(); | |
6273 | return resultobj; | |
6274 | fail: | |
6275 | return NULL; | |
6276 | } | |
6277 | ||
6278 | ||
6279 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6280 | PyObject *resultobj = 0; | |
6281 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6282 | wxHtmlSelectionState arg2 ; | |
6283 | void *argp1 = 0 ; | |
6284 | int res1 = 0 ; | |
6285 | int val2 ; | |
6286 | int ecode2 = 0 ; | |
6287 | PyObject * obj0 = 0 ; | |
6288 | PyObject * obj1 = 0 ; | |
6289 | char * kwnames[] = { | |
6290 | (char *) "self",(char *) "s", NULL | |
6291 | }; | |
6292 | ||
6293 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) SWIG_fail; | |
6294 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6295 | if (!SWIG_IsOK(res1)) { | |
6296 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6297 | } | |
6298 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6299 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
6300 | if (!SWIG_IsOK(ecode2)) { | |
6301 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'"); | |
6302 | } | |
6303 | arg2 = static_cast< wxHtmlSelectionState >(val2); | |
6304 | { | |
6305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6306 | (arg1)->SetSelectionState(arg2); | |
6307 | wxPyEndAllowThreads(__tstate); | |
6308 | if (PyErr_Occurred()) SWIG_fail; | |
6309 | } | |
6310 | resultobj = SWIG_Py_Void(); | |
6311 | return resultobj; | |
6312 | fail: | |
6313 | return NULL; | |
d14a1e28 RD |
6314 | } |
6315 | ||
6316 | ||
554f62e9 RD |
6317 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6318 | PyObject *resultobj = 0; | |
6319 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6320 | wxHtmlSelectionState result; | |
6321 | void *argp1 = 0 ; | |
6322 | int res1 = 0 ; | |
6323 | PyObject *swig_obj[1] ; | |
6324 | ||
6325 | if (!args) SWIG_fail; | |
6326 | swig_obj[0] = args; | |
6327 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6328 | if (!SWIG_IsOK(res1)) { | |
6329 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); | |
6330 | } | |
6331 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6332 | { | |
6333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6334 | result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState(); | |
6335 | wxPyEndAllowThreads(__tstate); | |
6336 | if (PyErr_Occurred()) SWIG_fail; | |
6337 | } | |
6338 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6339 | return resultobj; | |
6340 | fail: | |
6341 | return NULL; | |
6342 | } | |
6343 | ||
6344 | ||
6345 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6346 | PyObject *resultobj = 0; | |
6347 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6348 | wxColour *arg2 = 0 ; | |
6349 | void *argp1 = 0 ; | |
6350 | int res1 = 0 ; | |
6351 | wxColour temp2 ; | |
6352 | PyObject * obj0 = 0 ; | |
6353 | PyObject * obj1 = 0 ; | |
6354 | char * kwnames[] = { | |
6355 | (char *) "self",(char *) "c", NULL | |
6356 | }; | |
6357 | ||
6358 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6359 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6360 | if (!SWIG_IsOK(res1)) { | |
6361 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6362 | } | |
6363 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6364 | { | |
6365 | arg2 = &temp2; | |
6366 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6367 | } | |
6368 | { | |
6369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6370 | (arg1)->SetFgColour((wxColour const &)*arg2); | |
6371 | wxPyEndAllowThreads(__tstate); | |
6372 | if (PyErr_Occurred()) SWIG_fail; | |
6373 | } | |
6374 | resultobj = SWIG_Py_Void(); | |
6375 | return resultobj; | |
6376 | fail: | |
6377 | return NULL; | |
d14a1e28 RD |
6378 | } |
6379 | ||
6380 | ||
554f62e9 RD |
6381 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6382 | PyObject *resultobj = 0; | |
6383 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6384 | wxColour *result = 0 ; | |
6385 | void *argp1 = 0 ; | |
6386 | int res1 = 0 ; | |
6387 | PyObject *swig_obj[1] ; | |
6388 | ||
6389 | if (!args) SWIG_fail; | |
6390 | swig_obj[0] = args; | |
6391 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6392 | if (!SWIG_IsOK(res1)) { | |
6393 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); | |
6394 | } | |
6395 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6396 | { | |
6397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6398 | { |
554f62e9 RD |
6399 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour(); |
6400 | result = (wxColour *) &_result_ref; | |
d14a1e28 | 6401 | } |
554f62e9 RD |
6402 | wxPyEndAllowThreads(__tstate); |
6403 | if (PyErr_Occurred()) SWIG_fail; | |
6404 | } | |
6405 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); | |
6406 | return resultobj; | |
6407 | fail: | |
6408 | return NULL; | |
6409 | } | |
6410 | ||
6411 | ||
6412 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6413 | PyObject *resultobj = 0; | |
6414 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6415 | wxColour *arg2 = 0 ; | |
6416 | void *argp1 = 0 ; | |
6417 | int res1 = 0 ; | |
6418 | wxColour temp2 ; | |
6419 | PyObject * obj0 = 0 ; | |
6420 | PyObject * obj1 = 0 ; | |
6421 | char * kwnames[] = { | |
6422 | (char *) "self",(char *) "c", NULL | |
6423 | }; | |
6424 | ||
6425 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6426 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6427 | if (!SWIG_IsOK(res1)) { | |
6428 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6429 | } | |
6430 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6431 | { | |
6432 | arg2 = &temp2; | |
6433 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6434 | } | |
6435 | { | |
6436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6437 | (arg1)->SetBgColour((wxColour const &)*arg2); | |
6438 | wxPyEndAllowThreads(__tstate); | |
6439 | if (PyErr_Occurred()) SWIG_fail; | |
6440 | } | |
6441 | resultobj = SWIG_Py_Void(); | |
6442 | return resultobj; | |
6443 | fail: | |
6444 | return NULL; | |
d14a1e28 RD |
6445 | } |
6446 | ||
6447 | ||
554f62e9 RD |
6448 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6449 | PyObject *resultobj = 0; | |
6450 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6451 | wxColour *result = 0 ; | |
6452 | void *argp1 = 0 ; | |
6453 | int res1 = 0 ; | |
6454 | PyObject *swig_obj[1] ; | |
6455 | ||
6456 | if (!args) SWIG_fail; | |
6457 | swig_obj[0] = args; | |
6458 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6459 | if (!SWIG_IsOK(res1)) { | |
6460 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); | |
6461 | } | |
6462 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6463 | { | |
6464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6465 | { |
554f62e9 RD |
6466 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour(); |
6467 | result = (wxColour *) &_result_ref; | |
d14a1e28 | 6468 | } |
554f62e9 RD |
6469 | wxPyEndAllowThreads(__tstate); |
6470 | if (PyErr_Occurred()) SWIG_fail; | |
6471 | } | |
6472 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); | |
6473 | return resultobj; | |
6474 | fail: | |
6475 | return NULL; | |
d14a1e28 RD |
6476 | } |
6477 | ||
6478 | ||
554f62e9 RD |
6479 | SWIGINTERN PyObject *HtmlRenderingState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6480 | PyObject *obj; | |
6481 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6482 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState, SWIG_NewClientData(obj)); | |
6483 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6484 | } |
6485 | ||
554f62e9 RD |
6486 | SWIGINTERN PyObject *HtmlRenderingState_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6487 | return SWIG_Python_InitShadowInstance(args); | |
d14a1e28 RD |
6488 | } |
6489 | ||
554f62e9 RD |
6490 | SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
6491 | PyObject *resultobj = 0; | |
6492 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
6493 | wxColour *arg2 = 0 ; | |
6494 | wxColour result; | |
6495 | void *argp1 = 0 ; | |
6496 | int res1 = 0 ; | |
6497 | wxColour temp2 ; | |
6498 | PyObject * obj0 = 0 ; | |
6499 | PyObject * obj1 = 0 ; | |
6500 | char * kwnames[] = { | |
6501 | (char *) "self",(char *) "clr", NULL | |
6502 | }; | |
6503 | ||
6504 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6505 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6506 | if (!SWIG_IsOK(res1)) { | |
6507 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'"); | |
6508 | } | |
6509 | arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1); | |
6510 | { | |
6511 | arg2 = &temp2; | |
6512 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6513 | } | |
6514 | { | |
6515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6516 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
6517 | wxPyEndAllowThreads(__tstate); | |
6518 | if (PyErr_Occurred()) SWIG_fail; | |
6519 | } | |
6520 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
6521 | return resultobj; | |
6522 | fail: | |
6523 | return NULL; | |
6524 | } | |
6525 | ||
6526 | ||
6527 | SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6528 | PyObject *resultobj = 0; | |
6529 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
6530 | wxColour *arg2 = 0 ; | |
6531 | wxColour result; | |
6532 | void *argp1 = 0 ; | |
6533 | int res1 = 0 ; | |
6534 | wxColour temp2 ; | |
6535 | PyObject * obj0 = 0 ; | |
6536 | PyObject * obj1 = 0 ; | |
6537 | char * kwnames[] = { | |
6538 | (char *) "self",(char *) "clr", NULL | |
6539 | }; | |
6540 | ||
6541 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6542 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6543 | if (!SWIG_IsOK(res1)) { | |
6544 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'"); | |
6545 | } | |
6546 | arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1); | |
6547 | { | |
6548 | arg2 = &temp2; | |
6549 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6550 | } | |
6551 | { | |
6552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6553 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
6554 | wxPyEndAllowThreads(__tstate); | |
6555 | if (PyErr_Occurred()) SWIG_fail; | |
6556 | } | |
6557 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
6558 | return resultobj; | |
6559 | fail: | |
6560 | return NULL; | |
d14a1e28 RD |
6561 | } |
6562 | ||
6563 | ||
554f62e9 RD |
6564 | SWIGINTERN PyObject *HtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6565 | PyObject *obj; | |
6566 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6567 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_NewClientData(obj)); | |
6568 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6569 | } |
6570 | ||
554f62e9 RD |
6571 | SWIGINTERN PyObject *DefaultHtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6572 | PyObject *obj; | |
6573 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6574 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_NewClientData(obj)); | |
6575 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6576 | } |
6577 | ||
554f62e9 RD |
6578 | SWIGINTERN PyObject *_wrap_new_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6579 | PyObject *resultobj = 0; | |
6580 | wxHtmlRenderingInfo *result = 0 ; | |
6581 | ||
6582 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail; | |
6583 | { | |
6584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6585 | result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo(); | |
6586 | wxPyEndAllowThreads(__tstate); | |
6587 | if (PyErr_Occurred()) SWIG_fail; | |
6588 | } | |
6589 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_NEW | 0 ); | |
6590 | return resultobj; | |
6591 | fail: | |
6592 | return NULL; | |
d14a1e28 RD |
6593 | } |
6594 | ||
6595 | ||
554f62e9 RD |
6596 | SWIGINTERN PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6597 | PyObject *resultobj = 0; | |
6598 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6599 | void *argp1 = 0 ; | |
6600 | int res1 = 0 ; | |
6601 | PyObject *swig_obj[1] ; | |
6602 | ||
6603 | if (!args) SWIG_fail; | |
6604 | swig_obj[0] = args; | |
6605 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_DISOWN | 0 ); | |
6606 | if (!SWIG_IsOK(res1)) { | |
6607 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6608 | } | |
6609 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6610 | { | |
6611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6612 | delete arg1; | |
d14a1e28 | 6613 | |
554f62e9 RD |
6614 | wxPyEndAllowThreads(__tstate); |
6615 | if (PyErr_Occurred()) SWIG_fail; | |
6616 | } | |
6617 | resultobj = SWIG_Py_Void(); | |
6618 | return resultobj; | |
6619 | fail: | |
6620 | return NULL; | |
6621 | } | |
6622 | ||
6623 | ||
6624 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6625 | PyObject *resultobj = 0; | |
6626 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6627 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
6628 | void *argp1 = 0 ; | |
6629 | int res1 = 0 ; | |
6630 | void *argp2 = 0 ; | |
6631 | int res2 = 0 ; | |
6632 | PyObject * obj0 = 0 ; | |
6633 | PyObject * obj1 = 0 ; | |
6634 | char * kwnames[] = { | |
6635 | (char *) "self",(char *) "s", NULL | |
6636 | }; | |
6637 | ||
6638 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
6639 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6640 | if (!SWIG_IsOK(res1)) { | |
6641 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6642 | } | |
6643 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6644 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6645 | if (!SWIG_IsOK(res2)) { | |
6646 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); | |
6647 | } | |
6648 | arg2 = reinterpret_cast< wxHtmlSelection * >(argp2); | |
6649 | { | |
6650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6651 | (arg1)->SetSelection(arg2); | |
6652 | wxPyEndAllowThreads(__tstate); | |
6653 | if (PyErr_Occurred()) SWIG_fail; | |
6654 | } | |
6655 | resultobj = SWIG_Py_Void(); | |
6656 | return resultobj; | |
6657 | fail: | |
6658 | return NULL; | |
d14a1e28 RD |
6659 | } |
6660 | ||
6661 | ||
554f62e9 RD |
6662 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6663 | PyObject *resultobj = 0; | |
6664 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6665 | wxHtmlSelection *result = 0 ; | |
6666 | void *argp1 = 0 ; | |
6667 | int res1 = 0 ; | |
6668 | PyObject *swig_obj[1] ; | |
6669 | ||
6670 | if (!args) SWIG_fail; | |
6671 | swig_obj[0] = args; | |
6672 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6673 | if (!SWIG_IsOK(res1)) { | |
6674 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'"); | |
6675 | } | |
6676 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6677 | { | |
6678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6679 | result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection(); | |
6680 | wxPyEndAllowThreads(__tstate); | |
6681 | if (PyErr_Occurred()) SWIG_fail; | |
6682 | } | |
6683 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6684 | return resultobj; | |
6685 | fail: | |
6686 | return NULL; | |
6687 | } | |
6688 | ||
6689 | ||
6690 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6691 | PyObject *resultobj = 0; | |
6692 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6693 | wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; | |
6694 | void *argp1 = 0 ; | |
6695 | int res1 = 0 ; | |
6696 | void *argp2 = 0 ; | |
6697 | int res2 = 0 ; | |
6698 | PyObject * obj0 = 0 ; | |
6699 | PyObject * obj1 = 0 ; | |
6700 | char * kwnames[] = { | |
6701 | (char *) "self",(char *) "style", NULL | |
6702 | }; | |
6703 | ||
6704 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail; | |
6705 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6706 | if (!SWIG_IsOK(res1)) { | |
6707 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6708 | } | |
6709 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6710 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6711 | if (!SWIG_IsOK(res2)) { | |
6712 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'"); | |
6713 | } | |
6714 | arg2 = reinterpret_cast< wxHtmlRenderingStyle * >(argp2); | |
6715 | { | |
6716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6717 | (arg1)->SetStyle(arg2); | |
6718 | wxPyEndAllowThreads(__tstate); | |
6719 | if (PyErr_Occurred()) SWIG_fail; | |
6720 | } | |
6721 | resultobj = SWIG_Py_Void(); | |
6722 | return resultobj; | |
6723 | fail: | |
6724 | return NULL; | |
d14a1e28 RD |
6725 | } |
6726 | ||
6727 | ||
554f62e9 RD |
6728 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6729 | PyObject *resultobj = 0; | |
6730 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6731 | wxHtmlRenderingStyle *result = 0 ; | |
6732 | void *argp1 = 0 ; | |
6733 | int res1 = 0 ; | |
6734 | PyObject *swig_obj[1] ; | |
6735 | ||
6736 | if (!args) SWIG_fail; | |
6737 | swig_obj[0] = args; | |
6738 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6739 | if (!SWIG_IsOK(res1)) { | |
6740 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6741 | } | |
6742 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6743 | { | |
6744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b1fcee84 | 6745 | { |
554f62e9 RD |
6746 | wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle(); |
6747 | result = (wxHtmlRenderingStyle *) &_result_ref; | |
b1fcee84 | 6748 | } |
554f62e9 RD |
6749 | wxPyEndAllowThreads(__tstate); |
6750 | if (PyErr_Occurred()) SWIG_fail; | |
6751 | } | |
6752 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6753 | return resultobj; | |
6754 | fail: | |
6755 | return NULL; | |
d14a1e28 RD |
6756 | } |
6757 | ||
6758 | ||
554f62e9 RD |
6759 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6760 | PyObject *resultobj = 0; | |
6761 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6762 | wxHtmlRenderingState *result = 0 ; | |
6763 | void *argp1 = 0 ; | |
6764 | int res1 = 0 ; | |
6765 | PyObject *swig_obj[1] ; | |
6766 | ||
6767 | if (!args) SWIG_fail; | |
6768 | swig_obj[0] = args; | |
6769 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6770 | if (!SWIG_IsOK(res1)) { | |
6771 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6772 | } | |
6773 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6774 | { | |
6775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b1fcee84 | 6776 | { |
554f62e9 RD |
6777 | wxHtmlRenderingState &_result_ref = (arg1)->GetState(); |
6778 | result = (wxHtmlRenderingState *) &_result_ref; | |
b1fcee84 | 6779 | } |
554f62e9 RD |
6780 | wxPyEndAllowThreads(__tstate); |
6781 | if (PyErr_Occurred()) SWIG_fail; | |
6782 | } | |
6783 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6784 | return resultobj; | |
6785 | fail: | |
6786 | return NULL; | |
d14a1e28 RD |
6787 | } |
6788 | ||
6789 | ||
554f62e9 RD |
6790 | SWIGINTERN PyObject *HtmlRenderingInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6791 | PyObject *obj; | |
6792 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6793 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_NewClientData(obj)); | |
6794 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6795 | } |
6796 | ||
554f62e9 RD |
6797 | SWIGINTERN PyObject *HtmlRenderingInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6798 | return SWIG_Python_InitShadowInstance(args); | |
6799 | } | |
d14a1e28 | 6800 | |
554f62e9 RD |
6801 | SWIGINTERN PyObject *_wrap_new_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6802 | PyObject *resultobj = 0; | |
6803 | wxHtmlCell *result = 0 ; | |
6804 | ||
6805 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlCell",0,0,0)) SWIG_fail; | |
6806 | { | |
6807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6808 | result = (wxHtmlCell *)new wxHtmlCell(); | |
6809 | wxPyEndAllowThreads(__tstate); | |
6810 | if (PyErr_Occurred()) SWIG_fail; | |
6811 | } | |
6812 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_NEW | 0 ); | |
6813 | return resultobj; | |
6814 | fail: | |
6815 | return NULL; | |
d14a1e28 RD |
6816 | } |
6817 | ||
6818 | ||
554f62e9 RD |
6819 | SWIGINTERN PyObject *_wrap_delete_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6820 | PyObject *resultobj = 0; | |
6821 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6822 | void *argp1 = 0 ; | |
6823 | int res1 = 0 ; | |
6824 | PyObject *swig_obj[1] ; | |
6825 | ||
6826 | if (!args) SWIG_fail; | |
6827 | swig_obj[0] = args; | |
6828 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
6829 | if (!SWIG_IsOK(res1)) { | |
6830 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6831 | } | |
6832 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6833 | { | |
6834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6835 | delete arg1; | |
d14a1e28 | 6836 | |
554f62e9 RD |
6837 | wxPyEndAllowThreads(__tstate); |
6838 | if (PyErr_Occurred()) SWIG_fail; | |
6839 | } | |
6840 | resultobj = SWIG_Py_Void(); | |
6841 | return resultobj; | |
6842 | fail: | |
6843 | return NULL; | |
d14a1e28 RD |
6844 | } |
6845 | ||
6846 | ||
554f62e9 RD |
6847 | SWIGINTERN PyObject *_wrap_HtmlCell_GetPosX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6848 | PyObject *resultobj = 0; | |
6849 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6850 | int result; | |
6851 | void *argp1 = 0 ; | |
6852 | int res1 = 0 ; | |
6853 | PyObject *swig_obj[1] ; | |
6854 | ||
6855 | if (!args) SWIG_fail; | |
6856 | swig_obj[0] = args; | |
6857 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6858 | if (!SWIG_IsOK(res1)) { | |
6859 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6860 | } | |
6861 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6862 | { | |
6863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6864 | result = (int)(arg1)->GetPosX(); | |
6865 | wxPyEndAllowThreads(__tstate); | |
6866 | if (PyErr_Occurred()) SWIG_fail; | |
6867 | } | |
6868 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6869 | return resultobj; | |
6870 | fail: | |
6871 | return NULL; | |
d14a1e28 RD |
6872 | } |
6873 | ||
6874 | ||
554f62e9 RD |
6875 | SWIGINTERN PyObject *_wrap_HtmlCell_GetPosY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6876 | PyObject *resultobj = 0; | |
6877 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6878 | int result; | |
6879 | void *argp1 = 0 ; | |
6880 | int res1 = 0 ; | |
6881 | PyObject *swig_obj[1] ; | |
6882 | ||
6883 | if (!args) SWIG_fail; | |
6884 | swig_obj[0] = args; | |
6885 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6886 | if (!SWIG_IsOK(res1)) { | |
6887 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6888 | } | |
6889 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6890 | { | |
6891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6892 | result = (int)(arg1)->GetPosY(); | |
6893 | wxPyEndAllowThreads(__tstate); | |
6894 | if (PyErr_Occurred()) SWIG_fail; | |
6895 | } | |
6896 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6897 | return resultobj; | |
6898 | fail: | |
6899 | return NULL; | |
d14a1e28 RD |
6900 | } |
6901 | ||
6902 | ||
554f62e9 RD |
6903 | SWIGINTERN PyObject *_wrap_HtmlCell_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6904 | PyObject *resultobj = 0; | |
6905 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6906 | int result; | |
6907 | void *argp1 = 0 ; | |
6908 | int res1 = 0 ; | |
6909 | PyObject *swig_obj[1] ; | |
6910 | ||
6911 | if (!args) SWIG_fail; | |
6912 | swig_obj[0] = args; | |
6913 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6914 | if (!SWIG_IsOK(res1)) { | |
6915 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6916 | } | |
6917 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6918 | { | |
6919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6920 | result = (int)(arg1)->GetWidth(); | |
6921 | wxPyEndAllowThreads(__tstate); | |
6922 | if (PyErr_Occurred()) SWIG_fail; | |
6923 | } | |
6924 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6925 | return resultobj; | |
6926 | fail: | |
6927 | return NULL; | |
d14a1e28 RD |
6928 | } |
6929 | ||
6930 | ||
554f62e9 RD |
6931 | SWIGINTERN PyObject *_wrap_HtmlCell_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6932 | PyObject *resultobj = 0; | |
6933 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6934 | int result; | |
6935 | void *argp1 = 0 ; | |
6936 | int res1 = 0 ; | |
6937 | PyObject *swig_obj[1] ; | |
6938 | ||
6939 | if (!args) SWIG_fail; | |
6940 | swig_obj[0] = args; | |
6941 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6942 | if (!SWIG_IsOK(res1)) { | |
6943 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6944 | } | |
6945 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6946 | { | |
6947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6948 | result = (int)(arg1)->GetHeight(); | |
6949 | wxPyEndAllowThreads(__tstate); | |
6950 | if (PyErr_Occurred()) SWIG_fail; | |
6951 | } | |
6952 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6953 | return resultobj; | |
6954 | fail: | |
6955 | return NULL; | |
d14a1e28 RD |
6956 | } |
6957 | ||
6958 | ||
554f62e9 RD |
6959 | SWIGINTERN PyObject *_wrap_HtmlCell_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6960 | PyObject *resultobj = 0; | |
6961 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6962 | int result; | |
6963 | void *argp1 = 0 ; | |
6964 | int res1 = 0 ; | |
6965 | PyObject *swig_obj[1] ; | |
6966 | ||
6967 | if (!args) SWIG_fail; | |
6968 | swig_obj[0] = args; | |
6969 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6970 | if (!SWIG_IsOK(res1)) { | |
6971 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6972 | } | |
6973 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6974 | { | |
6975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6976 | result = (int)(arg1)->GetDescent(); | |
6977 | wxPyEndAllowThreads(__tstate); | |
6978 | if (PyErr_Occurred()) SWIG_fail; | |
6979 | } | |
6980 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6981 | return resultobj; | |
6982 | fail: | |
6983 | return NULL; | |
d14a1e28 RD |
6984 | } |
6985 | ||
6986 | ||
554f62e9 RD |
6987 | SWIGINTERN PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6988 | PyObject *resultobj = 0; | |
6989 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6990 | int result; | |
6991 | void *argp1 = 0 ; | |
6992 | int res1 = 0 ; | |
6993 | PyObject *swig_obj[1] ; | |
6994 | ||
6995 | if (!args) SWIG_fail; | |
6996 | swig_obj[0] = args; | |
6997 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6998 | if (!SWIG_IsOK(res1)) { | |
6999 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7000 | } | |
7001 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7002 | { | |
7003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7004 | result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth(); | |
7005 | wxPyEndAllowThreads(__tstate); | |
7006 | if (PyErr_Occurred()) SWIG_fail; | |
7007 | } | |
7008 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
7009 | return resultobj; | |
7010 | fail: | |
7011 | return NULL; | |
d14a1e28 RD |
7012 | } |
7013 | ||
7014 | ||
554f62e9 RD |
7015 | SWIGINTERN PyObject *_wrap_HtmlCell_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7016 | PyObject *resultobj = 0; | |
7017 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7018 | wxString *result = 0 ; | |
7019 | void *argp1 = 0 ; | |
7020 | int res1 = 0 ; | |
7021 | PyObject *swig_obj[1] ; | |
7022 | ||
7023 | if (!args) SWIG_fail; | |
7024 | swig_obj[0] = args; | |
7025 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7026 | if (!SWIG_IsOK(res1)) { | |
7027 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7028 | } | |
7029 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7030 | { | |
7031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 7032 | { |
554f62e9 RD |
7033 | wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId(); |
7034 | result = (wxString *) &_result_ref; | |
d14a1e28 | 7035 | } |
554f62e9 RD |
7036 | wxPyEndAllowThreads(__tstate); |
7037 | if (PyErr_Occurred()) SWIG_fail; | |
7038 | } | |
7039 | { | |
7040 | #if wxUSE_UNICODE | |
7041 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
7042 | #else | |
7043 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
7044 | #endif | |
7045 | } | |
7046 | return resultobj; | |
7047 | fail: | |
7048 | return NULL; | |
7049 | } | |
7050 | ||
7051 | ||
7052 | SWIGINTERN PyObject *_wrap_HtmlCell_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7053 | PyObject *resultobj = 0; | |
7054 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7055 | wxString *arg2 = 0 ; | |
7056 | void *argp1 = 0 ; | |
7057 | int res1 = 0 ; | |
7058 | bool temp2 = false ; | |
7059 | PyObject * obj0 = 0 ; | |
7060 | PyObject * obj1 = 0 ; | |
7061 | char * kwnames[] = { | |
7062 | (char *) "self",(char *) "id", NULL | |
7063 | }; | |
7064 | ||
7065 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) SWIG_fail; | |
7066 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7067 | if (!SWIG_IsOK(res1)) { | |
7068 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7069 | } | |
7070 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7071 | { | |
7072 | arg2 = wxString_in_helper(obj1); | |
7073 | if (arg2 == NULL) SWIG_fail; | |
7074 | temp2 = true; | |
7075 | } | |
7076 | { | |
7077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7078 | (arg1)->SetId((wxString const &)*arg2); | |
7079 | wxPyEndAllowThreads(__tstate); | |
7080 | if (PyErr_Occurred()) SWIG_fail; | |
7081 | } | |
7082 | resultobj = SWIG_Py_Void(); | |
7083 | { | |
7084 | if (temp2) | |
7085 | delete arg2; | |
7086 | } | |
7087 | return resultobj; | |
7088 | fail: | |
7089 | { | |
7090 | if (temp2) | |
7091 | delete arg2; | |
7092 | } | |
7093 | return NULL; | |
7094 | } | |
7095 | ||
7096 | ||
7097 | SWIGINTERN PyObject *_wrap_HtmlCell_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7098 | PyObject *resultobj = 0; | |
7099 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7100 | int arg2 = (int) 0 ; | |
7101 | int arg3 = (int) 0 ; | |
7102 | wxHtmlLinkInfo *result = 0 ; | |
7103 | void *argp1 = 0 ; | |
7104 | int res1 = 0 ; | |
7105 | int val2 ; | |
7106 | int ecode2 = 0 ; | |
7107 | int val3 ; | |
7108 | int ecode3 = 0 ; | |
7109 | PyObject * obj0 = 0 ; | |
7110 | PyObject * obj1 = 0 ; | |
7111 | PyObject * obj2 = 0 ; | |
7112 | char * kwnames[] = { | |
7113 | (char *) "self",(char *) "x",(char *) "y", NULL | |
7114 | }; | |
7115 | ||
7116 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7117 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7118 | if (!SWIG_IsOK(res1)) { | |
7119 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7120 | } | |
7121 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7122 | if (obj1) { | |
7123 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7124 | if (!SWIG_IsOK(ecode2)) { | |
7125 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'"); | |
7126 | } | |
7127 | arg2 = static_cast< int >(val2); | |
7128 | } | |
7129 | if (obj2) { | |
7130 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7131 | if (!SWIG_IsOK(ecode3)) { | |
7132 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'"); | |
7133 | } | |
7134 | arg3 = static_cast< int >(val3); | |
7135 | } | |
7136 | { | |
7137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7138 | result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3); | |
7139 | wxPyEndAllowThreads(__tstate); | |
7140 | if (PyErr_Occurred()) SWIG_fail; | |
7141 | } | |
7142 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
7143 | return resultobj; | |
7144 | fail: | |
7145 | return NULL; | |
d14a1e28 RD |
7146 | } |
7147 | ||
7148 | ||
554f62e9 RD |
7149 | SWIGINTERN PyObject *_wrap_HtmlCell_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7150 | PyObject *resultobj = 0; | |
7151 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7152 | wxHtmlCell *result = 0 ; | |
7153 | void *argp1 = 0 ; | |
7154 | int res1 = 0 ; | |
7155 | PyObject *swig_obj[1] ; | |
7156 | ||
7157 | if (!args) SWIG_fail; | |
7158 | swig_obj[0] = args; | |
7159 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7160 | if (!SWIG_IsOK(res1)) { | |
7161 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7162 | } | |
7163 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7164 | { | |
7165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7166 | result = (wxHtmlCell *)(arg1)->GetNext(); | |
7167 | wxPyEndAllowThreads(__tstate); | |
7168 | if (PyErr_Occurred()) SWIG_fail; | |
7169 | } | |
7170 | { | |
7171 | resultobj = wxPyMake_wxObject(result, 0); | |
7172 | } | |
7173 | return resultobj; | |
7174 | fail: | |
7175 | return NULL; | |
d14a1e28 RD |
7176 | } |
7177 | ||
7178 | ||
554f62e9 RD |
7179 | SWIGINTERN PyObject *_wrap_HtmlCell_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7180 | PyObject *resultobj = 0; | |
7181 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7182 | wxHtmlContainerCell *result = 0 ; | |
7183 | void *argp1 = 0 ; | |
7184 | int res1 = 0 ; | |
7185 | PyObject *swig_obj[1] ; | |
7186 | ||
7187 | if (!args) SWIG_fail; | |
7188 | swig_obj[0] = args; | |
7189 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7190 | if (!SWIG_IsOK(res1)) { | |
7191 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7192 | } | |
7193 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7194 | { | |
7195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7196 | result = (wxHtmlContainerCell *)(arg1)->GetParent(); | |
7197 | wxPyEndAllowThreads(__tstate); | |
7198 | if (PyErr_Occurred()) SWIG_fail; | |
7199 | } | |
7200 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
7201 | return resultobj; | |
7202 | fail: | |
7203 | return NULL; | |
d14a1e28 RD |
7204 | } |
7205 | ||
7206 | ||
554f62e9 RD |
7207 | SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7208 | PyObject *resultobj = 0; | |
7209 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7210 | wxHtmlCell *result = 0 ; | |
7211 | void *argp1 = 0 ; | |
7212 | int res1 = 0 ; | |
7213 | PyObject *swig_obj[1] ; | |
7214 | ||
7215 | if (!args) SWIG_fail; | |
7216 | swig_obj[0] = args; | |
7217 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7218 | if (!SWIG_IsOK(res1)) { | |
7219 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7220 | } | |
7221 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7222 | { | |
7223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7224 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild(); | |
7225 | wxPyEndAllowThreads(__tstate); | |
7226 | if (PyErr_Occurred()) SWIG_fail; | |
7227 | } | |
7228 | { | |
7229 | resultobj = wxPyMake_wxObject(result, 0); | |
7230 | } | |
7231 | return resultobj; | |
7232 | fail: | |
7233 | return NULL; | |
d14a1e28 RD |
7234 | } |
7235 | ||
7236 | ||
e9d6f3a4 RD |
7237 | SWIGINTERN PyObject *_wrap_HtmlCell_GetMouseCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7238 | PyObject *resultobj = 0; | |
7239 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7240 | wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ; | |
7241 | wxCursor result; | |
7242 | void *argp1 = 0 ; | |
7243 | int res1 = 0 ; | |
7244 | void *argp2 = 0 ; | |
7245 | int res2 = 0 ; | |
7246 | PyObject * obj0 = 0 ; | |
7247 | PyObject * obj1 = 0 ; | |
7248 | char * kwnames[] = { | |
7249 | (char *) "self",(char *) "window", NULL | |
7250 | }; | |
7251 | ||
7252 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_GetMouseCursor",kwnames,&obj0,&obj1)) SWIG_fail; | |
7253 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7254 | if (!SWIG_IsOK(res1)) { | |
7255 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7256 | } | |
7257 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7258 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
7259 | if (!SWIG_IsOK(res2)) { | |
7260 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'"); | |
7261 | } | |
7262 | arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2); | |
7263 | { | |
7264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7265 | result = ((wxHtmlCell const *)arg1)->GetMouseCursor(arg2); | |
7266 | wxPyEndAllowThreads(__tstate); | |
7267 | if (PyErr_Occurred()) SWIG_fail; | |
7268 | } | |
7269 | resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 ); | |
7270 | return resultobj; | |
7271 | fail: | |
7272 | return NULL; | |
7273 | } | |
7274 | ||
7275 | ||
554f62e9 RD |
7276 | SWIGINTERN PyObject *_wrap_HtmlCell_GetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7277 | PyObject *resultobj = 0; | |
7278 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7279 | wxCursor result; | |
7280 | void *argp1 = 0 ; | |
7281 | int res1 = 0 ; | |
7282 | PyObject *swig_obj[1] ; | |
7283 | ||
7284 | if (!args) SWIG_fail; | |
7285 | swig_obj[0] = args; | |
7286 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7287 | if (!SWIG_IsOK(res1)) { | |
7288 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7289 | } | |
7290 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7291 | { | |
7292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7293 | result = ((wxHtmlCell const *)arg1)->GetCursor(); | |
7294 | wxPyEndAllowThreads(__tstate); | |
7295 | if (PyErr_Occurred()) SWIG_fail; | |
7296 | } | |
7297 | resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 ); | |
7298 | return resultobj; | |
7299 | fail: | |
7300 | return NULL; | |
d14a1e28 RD |
7301 | } |
7302 | ||
7303 | ||
554f62e9 RD |
7304 | SWIGINTERN PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7305 | PyObject *resultobj = 0; | |
7306 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7307 | bool result; | |
7308 | void *argp1 = 0 ; | |
7309 | int res1 = 0 ; | |
7310 | PyObject *swig_obj[1] ; | |
7311 | ||
7312 | if (!args) SWIG_fail; | |
7313 | swig_obj[0] = args; | |
7314 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7315 | if (!SWIG_IsOK(res1)) { | |
7316 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7317 | } | |
7318 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7319 | { | |
7320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7321 | result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell(); | |
7322 | wxPyEndAllowThreads(__tstate); | |
7323 | if (PyErr_Occurred()) SWIG_fail; | |
7324 | } | |
7325 | { | |
7326 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7327 | } | |
7328 | return resultobj; | |
7329 | fail: | |
7330 | return NULL; | |
7331 | } | |
7332 | ||
7333 | ||
7334 | SWIGINTERN PyObject *_wrap_HtmlCell_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7335 | PyObject *resultobj = 0; | |
7336 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7337 | wxHtmlLinkInfo *arg2 = 0 ; | |
7338 | void *argp1 = 0 ; | |
7339 | int res1 = 0 ; | |
7340 | void *argp2 = 0 ; | |
7341 | int res2 = 0 ; | |
7342 | PyObject * obj0 = 0 ; | |
7343 | PyObject * obj1 = 0 ; | |
7344 | char * kwnames[] = { | |
7345 | (char *) "self",(char *) "link", NULL | |
7346 | }; | |
7347 | ||
7348 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) SWIG_fail; | |
7349 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7350 | if (!SWIG_IsOK(res1)) { | |
7351 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7352 | } | |
7353 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7354 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0); | |
7355 | if (!SWIG_IsOK(res2)) { | |
7356 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
7357 | } | |
7358 | if (!argp2) { | |
7359 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
7360 | } | |
7361 | arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2); | |
7362 | { | |
7363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7364 | (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2); | |
7365 | wxPyEndAllowThreads(__tstate); | |
7366 | if (PyErr_Occurred()) SWIG_fail; | |
7367 | } | |
7368 | resultobj = SWIG_Py_Void(); | |
7369 | return resultobj; | |
7370 | fail: | |
7371 | return NULL; | |
7372 | } | |
7373 | ||
7374 | ||
7375 | SWIGINTERN PyObject *_wrap_HtmlCell_SetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7376 | PyObject *resultobj = 0; | |
7377 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7378 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
7379 | int res1 = 0 ; | |
7380 | int res2 = 0 ; | |
7381 | PyObject * obj0 = 0 ; | |
7382 | PyObject * obj1 = 0 ; | |
7383 | char * kwnames[] = { | |
7384 | (char *) "self",(char *) "cell", NULL | |
7385 | }; | |
7386 | ||
7387 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) SWIG_fail; | |
7388 | res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
7389 | if (!SWIG_IsOK(res1)) { | |
7390 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7391 | } | |
7392 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
7393 | if (!SWIG_IsOK(res2)) { | |
7394 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
7395 | } | |
7396 | { | |
7397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7398 | (arg1)->SetNext(arg2); | |
7399 | wxPyEndAllowThreads(__tstate); | |
7400 | if (PyErr_Occurred()) SWIG_fail; | |
7401 | } | |
7402 | resultobj = SWIG_Py_Void(); | |
7403 | return resultobj; | |
7404 | fail: | |
7405 | return NULL; | |
7406 | } | |
7407 | ||
7408 | ||
7409 | SWIGINTERN PyObject *_wrap_HtmlCell_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7410 | PyObject *resultobj = 0; | |
7411 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7412 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
7413 | void *argp1 = 0 ; | |
7414 | int res1 = 0 ; | |
7415 | void *argp2 = 0 ; | |
7416 | int res2 = 0 ; | |
7417 | PyObject * obj0 = 0 ; | |
7418 | PyObject * obj1 = 0 ; | |
7419 | char * kwnames[] = { | |
7420 | (char *) "self",(char *) "p", NULL | |
7421 | }; | |
7422 | ||
7423 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) SWIG_fail; | |
7424 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7425 | if (!SWIG_IsOK(res1)) { | |
7426 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7427 | } | |
7428 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7429 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
7430 | if (!SWIG_IsOK(res2)) { | |
7431 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'"); | |
7432 | } | |
7433 | arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2); | |
7434 | { | |
7435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7436 | (arg1)->SetParent(arg2); | |
7437 | wxPyEndAllowThreads(__tstate); | |
7438 | if (PyErr_Occurred()) SWIG_fail; | |
7439 | } | |
7440 | resultobj = SWIG_Py_Void(); | |
7441 | return resultobj; | |
7442 | fail: | |
7443 | return NULL; | |
7444 | } | |
7445 | ||
7446 | ||
7447 | SWIGINTERN PyObject *_wrap_HtmlCell_SetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7448 | PyObject *resultobj = 0; | |
7449 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7450 | int arg2 ; | |
7451 | int arg3 ; | |
7452 | void *argp1 = 0 ; | |
7453 | int res1 = 0 ; | |
7454 | int val2 ; | |
7455 | int ecode2 = 0 ; | |
7456 | int val3 ; | |
7457 | int ecode3 = 0 ; | |
7458 | PyObject * obj0 = 0 ; | |
7459 | PyObject * obj1 = 0 ; | |
7460 | PyObject * obj2 = 0 ; | |
7461 | char * kwnames[] = { | |
7462 | (char *) "self",(char *) "x",(char *) "y", NULL | |
7463 | }; | |
7464 | ||
7465 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7466 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7467 | if (!SWIG_IsOK(res1)) { | |
7468 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7469 | } | |
7470 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7471 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7472 | if (!SWIG_IsOK(ecode2)) { | |
7473 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'"); | |
7474 | } | |
7475 | arg2 = static_cast< int >(val2); | |
7476 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7477 | if (!SWIG_IsOK(ecode3)) { | |
7478 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'"); | |
7479 | } | |
7480 | arg3 = static_cast< int >(val3); | |
7481 | { | |
7482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7483 | (arg1)->SetPos(arg2,arg3); | |
7484 | wxPyEndAllowThreads(__tstate); | |
7485 | if (PyErr_Occurred()) SWIG_fail; | |
7486 | } | |
7487 | resultobj = SWIG_Py_Void(); | |
7488 | return resultobj; | |
7489 | fail: | |
7490 | return NULL; | |
7491 | } | |
7492 | ||
7493 | ||
7494 | SWIGINTERN PyObject *_wrap_HtmlCell_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7495 | PyObject *resultobj = 0; | |
7496 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7497 | int arg2 ; | |
7498 | void *argp1 = 0 ; | |
7499 | int res1 = 0 ; | |
7500 | int val2 ; | |
7501 | int ecode2 = 0 ; | |
7502 | PyObject * obj0 = 0 ; | |
7503 | PyObject * obj1 = 0 ; | |
7504 | char * kwnames[] = { | |
7505 | (char *) "self",(char *) "w", NULL | |
7506 | }; | |
7507 | ||
7508 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) SWIG_fail; | |
7509 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7510 | if (!SWIG_IsOK(res1)) { | |
7511 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7512 | } | |
7513 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7514 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7515 | if (!SWIG_IsOK(ecode2)) { | |
7516 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'"); | |
7517 | } | |
7518 | arg2 = static_cast< int >(val2); | |
7519 | { | |
7520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7521 | (arg1)->Layout(arg2); | |
7522 | wxPyEndAllowThreads(__tstate); | |
7523 | if (PyErr_Occurred()) SWIG_fail; | |
7524 | } | |
7525 | resultobj = SWIG_Py_Void(); | |
7526 | return resultobj; | |
7527 | fail: | |
7528 | return NULL; | |
7529 | } | |
7530 | ||
7531 | ||
7532 | SWIGINTERN PyObject *_wrap_HtmlCell_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7533 | PyObject *resultobj = 0; | |
7534 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7535 | wxDC *arg2 = 0 ; | |
7536 | int arg3 ; | |
7537 | int arg4 ; | |
7538 | int arg5 ; | |
7539 | int arg6 ; | |
7540 | wxHtmlRenderingInfo *arg7 = 0 ; | |
7541 | void *argp1 = 0 ; | |
7542 | int res1 = 0 ; | |
7543 | void *argp2 = 0 ; | |
7544 | int res2 = 0 ; | |
7545 | int val3 ; | |
7546 | int ecode3 = 0 ; | |
7547 | int val4 ; | |
7548 | int ecode4 = 0 ; | |
7549 | int val5 ; | |
7550 | int ecode5 = 0 ; | |
7551 | int val6 ; | |
7552 | int ecode6 = 0 ; | |
7553 | void *argp7 = 0 ; | |
7554 | int res7 = 0 ; | |
7555 | PyObject * obj0 = 0 ; | |
7556 | PyObject * obj1 = 0 ; | |
7557 | PyObject * obj2 = 0 ; | |
7558 | PyObject * obj3 = 0 ; | |
7559 | PyObject * obj4 = 0 ; | |
7560 | PyObject * obj5 = 0 ; | |
7561 | PyObject * obj6 = 0 ; | |
7562 | char * kwnames[] = { | |
7563 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL | |
7564 | }; | |
7565 | ||
7566 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
7567 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7568 | if (!SWIG_IsOK(res1)) { | |
7569 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7570 | } | |
7571 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7572 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
7573 | if (!SWIG_IsOK(res2)) { | |
7574 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7575 | } | |
7576 | if (!argp2) { | |
7577 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7578 | } | |
7579 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
7580 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7581 | if (!SWIG_IsOK(ecode3)) { | |
7582 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'"); | |
7583 | } | |
7584 | arg3 = static_cast< int >(val3); | |
7585 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7586 | if (!SWIG_IsOK(ecode4)) { | |
7587 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'"); | |
7588 | } | |
7589 | arg4 = static_cast< int >(val4); | |
7590 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
7591 | if (!SWIG_IsOK(ecode5)) { | |
7592 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'"); | |
7593 | } | |
7594 | arg5 = static_cast< int >(val5); | |
7595 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
7596 | if (!SWIG_IsOK(ecode6)) { | |
7597 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'"); | |
7598 | } | |
7599 | arg6 = static_cast< int >(val6); | |
7600 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxHtmlRenderingInfo, 0 ); | |
7601 | if (!SWIG_IsOK(res7)) { | |
7602 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'"); | |
7603 | } | |
7604 | if (!argp7) { | |
7605 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'"); | |
7606 | } | |
7607 | arg7 = reinterpret_cast< wxHtmlRenderingInfo * >(argp7); | |
7608 | { | |
7609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7610 | (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7); | |
7611 | wxPyEndAllowThreads(__tstate); | |
7612 | if (PyErr_Occurred()) SWIG_fail; | |
7613 | } | |
7614 | resultobj = SWIG_Py_Void(); | |
7615 | return resultobj; | |
7616 | fail: | |
7617 | return NULL; | |
7618 | } | |
7619 | ||
7620 | ||
7621 | SWIGINTERN PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7622 | PyObject *resultobj = 0; | |
7623 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7624 | wxDC *arg2 = 0 ; | |
7625 | int arg3 ; | |
7626 | int arg4 ; | |
7627 | wxHtmlRenderingInfo *arg5 = 0 ; | |
7628 | void *argp1 = 0 ; | |
7629 | int res1 = 0 ; | |
7630 | void *argp2 = 0 ; | |
7631 | int res2 = 0 ; | |
7632 | int val3 ; | |
7633 | int ecode3 = 0 ; | |
7634 | int val4 ; | |
7635 | int ecode4 = 0 ; | |
7636 | void *argp5 = 0 ; | |
7637 | int res5 = 0 ; | |
7638 | PyObject * obj0 = 0 ; | |
7639 | PyObject * obj1 = 0 ; | |
7640 | PyObject * obj2 = 0 ; | |
7641 | PyObject * obj3 = 0 ; | |
7642 | PyObject * obj4 = 0 ; | |
7643 | char * kwnames[] = { | |
7644 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL | |
7645 | }; | |
7646 | ||
7647 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
7648 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7649 | if (!SWIG_IsOK(res1)) { | |
7650 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7651 | } | |
7652 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7653 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
7654 | if (!SWIG_IsOK(res2)) { | |
7655 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7656 | } | |
7657 | if (!argp2) { | |
7658 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7659 | } | |
7660 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
7661 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7662 | if (!SWIG_IsOK(ecode3)) { | |
7663 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'"); | |
7664 | } | |
7665 | arg3 = static_cast< int >(val3); | |
7666 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7667 | if (!SWIG_IsOK(ecode4)) { | |
7668 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'"); | |
7669 | } | |
7670 | arg4 = static_cast< int >(val4); | |
7671 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxHtmlRenderingInfo, 0 ); | |
7672 | if (!SWIG_IsOK(res5)) { | |
7673 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'"); | |
7674 | } | |
7675 | if (!argp5) { | |
7676 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'"); | |
7677 | } | |
7678 | arg5 = reinterpret_cast< wxHtmlRenderingInfo * >(argp5); | |
7679 | { | |
7680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7681 | (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5); | |
7682 | wxPyEndAllowThreads(__tstate); | |
7683 | if (PyErr_Occurred()) SWIG_fail; | |
7684 | } | |
7685 | resultobj = SWIG_Py_Void(); | |
7686 | return resultobj; | |
7687 | fail: | |
7688 | return NULL; | |
7689 | } | |
7690 | ||
7691 | ||
7692 | SWIGINTERN PyObject *_wrap_HtmlCell_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7693 | PyObject *resultobj = 0; | |
7694 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7695 | int arg2 ; | |
7696 | void *arg3 = (void *) 0 ; | |
7697 | wxHtmlCell *result = 0 ; | |
7698 | void *argp1 = 0 ; | |
7699 | int res1 = 0 ; | |
7700 | int val2 ; | |
7701 | int ecode2 = 0 ; | |
7702 | int res3 ; | |
7703 | PyObject * obj0 = 0 ; | |
7704 | PyObject * obj1 = 0 ; | |
7705 | PyObject * obj2 = 0 ; | |
7706 | char * kwnames[] = { | |
7707 | (char *) "self",(char *) "condition",(char *) "param", NULL | |
7708 | }; | |
7709 | ||
7710 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7711 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7712 | if (!SWIG_IsOK(res1)) { | |
7713 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7714 | } | |
7715 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7716 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7717 | if (!SWIG_IsOK(ecode2)) { | |
7718 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'"); | |
7719 | } | |
7720 | arg2 = static_cast< int >(val2); | |
7721 | res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); | |
7722 | if (!SWIG_IsOK(res3)) { | |
7723 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'"); | |
7724 | } | |
7725 | { | |
7726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7727 | result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3); | |
7728 | wxPyEndAllowThreads(__tstate); | |
7729 | if (PyErr_Occurred()) SWIG_fail; | |
7730 | } | |
7731 | { | |
7732 | resultobj = wxPyMake_wxObject(result, 0); | |
7733 | } | |
7734 | return resultobj; | |
7735 | fail: | |
7736 | return NULL; | |
7737 | } | |
7738 | ||
7739 | ||
e9d6f3a4 RD |
7740 | SWIGINTERN PyObject *_wrap_HtmlCell_ProcessMouseClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7741 | PyObject *resultobj = 0; | |
7742 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7743 | wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ; | |
7744 | wxPoint *arg3 = 0 ; | |
7745 | wxMouseEvent *arg4 = 0 ; | |
7746 | bool result; | |
7747 | void *argp1 = 0 ; | |
7748 | int res1 = 0 ; | |
7749 | void *argp2 = 0 ; | |
7750 | int res2 = 0 ; | |
7751 | wxPoint temp3 ; | |
7752 | void *argp4 = 0 ; | |
7753 | int res4 = 0 ; | |
7754 | PyObject * obj0 = 0 ; | |
7755 | PyObject * obj1 = 0 ; | |
7756 | PyObject * obj2 = 0 ; | |
7757 | PyObject * obj3 = 0 ; | |
7758 | char * kwnames[] = { | |
7759 | (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL | |
7760 | }; | |
7761 | ||
7762 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7763 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7764 | if (!SWIG_IsOK(res1)) { | |
7765 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7766 | } | |
7767 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7768 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
7769 | if (!SWIG_IsOK(res2)) { | |
7770 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'"); | |
7771 | } | |
7772 | arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2); | |
7773 | { | |
7774 | arg3 = &temp3; | |
7775 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7776 | } | |
7777 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxMouseEvent, 0 | 0); | |
7778 | if (!SWIG_IsOK(res4)) { | |
7779 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'"); | |
7780 | } | |
7781 | if (!argp4) { | |
7782 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'"); | |
7783 | } | |
7784 | arg4 = reinterpret_cast< wxMouseEvent * >(argp4); | |
7785 | { | |
7786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7787 | result = (bool)(arg1)->ProcessMouseClick(arg2,(wxPoint const &)*arg3,(wxMouseEvent const &)*arg4); | |
7788 | wxPyEndAllowThreads(__tstate); | |
7789 | if (PyErr_Occurred()) SWIG_fail; | |
7790 | } | |
7791 | { | |
7792 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7793 | } | |
7794 | return resultobj; | |
7795 | fail: | |
7796 | return NULL; | |
7797 | } | |
7798 | ||
7799 | ||
554f62e9 RD |
7800 | SWIGINTERN PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7801 | PyObject *resultobj = 0; | |
7802 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7803 | bool arg2 ; | |
7804 | void *argp1 = 0 ; | |
7805 | int res1 = 0 ; | |
7806 | bool val2 ; | |
7807 | int ecode2 = 0 ; | |
7808 | PyObject * obj0 = 0 ; | |
7809 | PyObject * obj1 = 0 ; | |
7810 | char * kwnames[] = { | |
7811 | (char *) "self",(char *) "can", NULL | |
7812 | }; | |
7813 | ||
7814 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) SWIG_fail; | |
7815 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7816 | if (!SWIG_IsOK(res1)) { | |
7817 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7818 | } | |
7819 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7820 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
7821 | if (!SWIG_IsOK(ecode2)) { | |
7822 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'"); | |
7823 | } | |
7824 | arg2 = static_cast< bool >(val2); | |
7825 | { | |
7826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7827 | (arg1)->SetCanLiveOnPagebreak(arg2); | |
7828 | wxPyEndAllowThreads(__tstate); | |
7829 | if (PyErr_Occurred()) SWIG_fail; | |
7830 | } | |
7831 | resultobj = SWIG_Py_Void(); | |
7832 | return resultobj; | |
7833 | fail: | |
7834 | return NULL; | |
d14a1e28 RD |
7835 | } |
7836 | ||
7837 | ||
554f62e9 RD |
7838 | SWIGINTERN PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7839 | PyObject *resultobj = 0; | |
7840 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7841 | bool result; | |
7842 | void *argp1 = 0 ; | |
7843 | int res1 = 0 ; | |
7844 | PyObject *swig_obj[1] ; | |
7845 | ||
7846 | if (!args) SWIG_fail; | |
7847 | swig_obj[0] = args; | |
7848 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7849 | if (!SWIG_IsOK(res1)) { | |
7850 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7851 | } | |
7852 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7853 | { | |
7854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7855 | result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed(); | |
7856 | wxPyEndAllowThreads(__tstate); | |
7857 | if (PyErr_Occurred()) SWIG_fail; | |
7858 | } | |
7859 | { | |
7860 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7861 | } | |
7862 | return resultobj; | |
7863 | fail: | |
7864 | return NULL; | |
d14a1e28 RD |
7865 | } |
7866 | ||
7867 | ||
554f62e9 RD |
7868 | SWIGINTERN PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7869 | PyObject *resultobj = 0; | |
7870 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7871 | bool result; | |
7872 | void *argp1 = 0 ; | |
7873 | int res1 = 0 ; | |
7874 | PyObject *swig_obj[1] ; | |
7875 | ||
7876 | if (!args) SWIG_fail; | |
7877 | swig_obj[0] = args; | |
7878 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7879 | if (!SWIG_IsOK(res1)) { | |
7880 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7881 | } | |
7882 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7883 | { | |
7884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7885 | result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell(); | |
7886 | wxPyEndAllowThreads(__tstate); | |
7887 | if (PyErr_Occurred()) SWIG_fail; | |
7888 | } | |
7889 | { | |
7890 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7891 | } | |
7892 | return resultobj; | |
7893 | fail: | |
7894 | return NULL; | |
7895 | } | |
7896 | ||
7897 | ||
7898 | SWIGINTERN PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7899 | PyObject *resultobj = 0; | |
7900 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7901 | int arg2 ; | |
7902 | int arg3 ; | |
7903 | unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; | |
7904 | wxHtmlCell *result = 0 ; | |
7905 | void *argp1 = 0 ; | |
7906 | int res1 = 0 ; | |
7907 | int val2 ; | |
7908 | int ecode2 = 0 ; | |
7909 | int val3 ; | |
7910 | int ecode3 = 0 ; | |
7911 | unsigned int val4 ; | |
7912 | int ecode4 = 0 ; | |
7913 | PyObject * obj0 = 0 ; | |
7914 | PyObject * obj1 = 0 ; | |
7915 | PyObject * obj2 = 0 ; | |
7916 | PyObject * obj3 = 0 ; | |
7917 | char * kwnames[] = { | |
7918 | (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL | |
7919 | }; | |
7920 | ||
7921 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7922 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7923 | if (!SWIG_IsOK(res1)) { | |
7924 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7925 | } | |
7926 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7927 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7928 | if (!SWIG_IsOK(ecode2)) { | |
7929 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'"); | |
7930 | } | |
7931 | arg2 = static_cast< int >(val2); | |
7932 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7933 | if (!SWIG_IsOK(ecode3)) { | |
7934 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'"); | |
7935 | } | |
7936 | arg3 = static_cast< int >(val3); | |
7937 | if (obj3) { | |
7938 | ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); | |
7939 | if (!SWIG_IsOK(ecode4)) { | |
7940 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'"); | |
7941 | } | |
7942 | arg4 = static_cast< unsigned int >(val4); | |
7943 | } | |
7944 | { | |
7945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7946 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4); | |
7947 | wxPyEndAllowThreads(__tstate); | |
7948 | if (PyErr_Occurred()) SWIG_fail; | |
7949 | } | |
7950 | { | |
7951 | resultobj = wxPyMake_wxObject(result, 0); | |
7952 | } | |
7953 | return resultobj; | |
7954 | fail: | |
7955 | return NULL; | |
d14a1e28 RD |
7956 | } |
7957 | ||
7958 | ||
e9d6f3a4 | 7959 | SWIGINTERN PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
554f62e9 RD |
7960 | PyObject *resultobj = 0; |
7961 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
e9d6f3a4 | 7962 | wxHtmlCell *arg2 = (wxHtmlCell *) NULL ; |
554f62e9 RD |
7963 | wxPoint result; |
7964 | void *argp1 = 0 ; | |
7965 | int res1 = 0 ; | |
e9d6f3a4 RD |
7966 | void *argp2 = 0 ; |
7967 | int res2 = 0 ; | |
7968 | PyObject * obj0 = 0 ; | |
7969 | PyObject * obj1 = 0 ; | |
7970 | char * kwnames[] = { | |
7971 | (char *) "self",(char *) "rootCell", NULL | |
7972 | }; | |
7973 | ||
7974 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlCell_GetAbsPos",kwnames,&obj0,&obj1)) SWIG_fail; | |
7975 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7976 | if (!SWIG_IsOK(res1)) { | |
7977 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7978 | } | |
7979 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7980 | if (obj1) { | |
7981 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7982 | if (!SWIG_IsOK(res2)) { | |
7983 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
7984 | } | |
7985 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
7986 | } | |
7987 | { | |
7988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7989 | result = ((wxHtmlCell const *)arg1)->GetAbsPos(arg2); | |
7990 | wxPyEndAllowThreads(__tstate); | |
7991 | if (PyErr_Occurred()) SWIG_fail; | |
7992 | } | |
7993 | resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 ); | |
7994 | return resultobj; | |
7995 | fail: | |
7996 | return NULL; | |
7997 | } | |
7998 | ||
7999 | ||
8000 | SWIGINTERN PyObject *_wrap_HtmlCell_GetRootCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8001 | PyObject *resultobj = 0; | |
8002 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8003 | wxHtmlCell *result = 0 ; | |
8004 | void *argp1 = 0 ; | |
8005 | int res1 = 0 ; | |
554f62e9 RD |
8006 | PyObject *swig_obj[1] ; |
8007 | ||
8008 | if (!args) SWIG_fail; | |
8009 | swig_obj[0] = args; | |
8010 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8011 | if (!SWIG_IsOK(res1)) { | |
e9d6f3a4 | 8012 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); |
554f62e9 RD |
8013 | } |
8014 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8015 | { | |
8016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e9d6f3a4 | 8017 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetRootCell(); |
554f62e9 RD |
8018 | wxPyEndAllowThreads(__tstate); |
8019 | if (PyErr_Occurred()) SWIG_fail; | |
8020 | } | |
e9d6f3a4 RD |
8021 | { |
8022 | resultobj = wxPyMake_wxObject(result, 0); | |
8023 | } | |
554f62e9 RD |
8024 | return resultobj; |
8025 | fail: | |
8026 | return NULL; | |
d14a1e28 RD |
8027 | } |
8028 | ||
8029 | ||
554f62e9 RD |
8030 | SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8031 | PyObject *resultobj = 0; | |
8032 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8033 | wxHtmlCell *result = 0 ; | |
8034 | void *argp1 = 0 ; | |
8035 | int res1 = 0 ; | |
8036 | PyObject *swig_obj[1] ; | |
8037 | ||
8038 | if (!args) SWIG_fail; | |
8039 | swig_obj[0] = args; | |
8040 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8041 | if (!SWIG_IsOK(res1)) { | |
8042 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8043 | } | |
8044 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8045 | { | |
8046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8047 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal(); | |
8048 | wxPyEndAllowThreads(__tstate); | |
8049 | if (PyErr_Occurred()) SWIG_fail; | |
8050 | } | |
8051 | { | |
8052 | resultobj = wxPyMake_wxObject(result, 0); | |
8053 | } | |
8054 | return resultobj; | |
8055 | fail: | |
8056 | return NULL; | |
d14a1e28 RD |
8057 | } |
8058 | ||
8059 | ||
554f62e9 RD |
8060 | SWIGINTERN PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8061 | PyObject *resultobj = 0; | |
8062 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8063 | wxHtmlCell *result = 0 ; | |
8064 | void *argp1 = 0 ; | |
8065 | int res1 = 0 ; | |
8066 | PyObject *swig_obj[1] ; | |
8067 | ||
8068 | if (!args) SWIG_fail; | |
8069 | swig_obj[0] = args; | |
8070 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8071 | if (!SWIG_IsOK(res1)) { | |
8072 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8073 | } | |
8074 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8075 | { | |
8076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8077 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal(); | |
8078 | wxPyEndAllowThreads(__tstate); | |
8079 | if (PyErr_Occurred()) SWIG_fail; | |
8080 | } | |
8081 | { | |
8082 | resultobj = wxPyMake_wxObject(result, 0); | |
8083 | } | |
8084 | return resultobj; | |
8085 | fail: | |
8086 | return NULL; | |
d14a1e28 RD |
8087 | } |
8088 | ||
8089 | ||
554f62e9 RD |
8090 | SWIGINTERN PyObject *_wrap_HtmlCell_GetDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8091 | PyObject *resultobj = 0; | |
8092 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8093 | unsigned int result; | |
8094 | void *argp1 = 0 ; | |
8095 | int res1 = 0 ; | |
8096 | PyObject *swig_obj[1] ; | |
8097 | ||
8098 | if (!args) SWIG_fail; | |
8099 | swig_obj[0] = args; | |
8100 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8101 | if (!SWIG_IsOK(res1)) { | |
8102 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8103 | } | |
8104 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8105 | { | |
8106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8107 | result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth(); | |
8108 | wxPyEndAllowThreads(__tstate); | |
8109 | if (PyErr_Occurred()) SWIG_fail; | |
8110 | } | |
8111 | resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); | |
8112 | return resultobj; | |
8113 | fail: | |
8114 | return NULL; | |
8115 | } | |
8116 | ||
8117 | ||
8118 | SWIGINTERN PyObject *_wrap_HtmlCell_IsBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8119 | PyObject *resultobj = 0; | |
8120 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8121 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
8122 | bool result; | |
8123 | void *argp1 = 0 ; | |
8124 | int res1 = 0 ; | |
8125 | void *argp2 = 0 ; | |
8126 | int res2 = 0 ; | |
8127 | PyObject * obj0 = 0 ; | |
8128 | PyObject * obj1 = 0 ; | |
8129 | char * kwnames[] = { | |
8130 | (char *) "self",(char *) "cell", NULL | |
8131 | }; | |
8132 | ||
8133 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) SWIG_fail; | |
8134 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8135 | if (!SWIG_IsOK(res1)) { | |
8136 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8137 | } | |
8138 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8139 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8140 | if (!SWIG_IsOK(res2)) { | |
8141 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
8142 | } | |
8143 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
8144 | { | |
8145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8146 | result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2); | |
8147 | wxPyEndAllowThreads(__tstate); | |
8148 | if (PyErr_Occurred()) SWIG_fail; | |
8149 | } | |
8150 | { | |
8151 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8152 | } | |
8153 | return resultobj; | |
8154 | fail: | |
8155 | return NULL; | |
8156 | } | |
8157 | ||
8158 | ||
8159 | SWIGINTERN PyObject *_wrap_HtmlCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8160 | PyObject *resultobj = 0; | |
8161 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8162 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
8163 | wxString result; | |
8164 | void *argp1 = 0 ; | |
8165 | int res1 = 0 ; | |
8166 | void *argp2 = 0 ; | |
8167 | int res2 = 0 ; | |
8168 | PyObject * obj0 = 0 ; | |
8169 | PyObject * obj1 = 0 ; | |
8170 | char * kwnames[] = { | |
8171 | (char *) "self",(char *) "sel", NULL | |
8172 | }; | |
8173 | ||
8174 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail; | |
8175 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8176 | if (!SWIG_IsOK(res1)) { | |
8177 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8178 | } | |
8179 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8180 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
8181 | if (!SWIG_IsOK(res2)) { | |
8182 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); | |
8183 | } | |
8184 | arg2 = reinterpret_cast< wxHtmlSelection * >(argp2); | |
8185 | { | |
8186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8187 | result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2); | |
8188 | wxPyEndAllowThreads(__tstate); | |
8189 | if (PyErr_Occurred()) SWIG_fail; | |
8190 | } | |
8191 | { | |
8192 | #if wxUSE_UNICODE | |
8193 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8194 | #else | |
8195 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8196 | #endif | |
8197 | } | |
8198 | return resultobj; | |
8199 | fail: | |
8200 | return NULL; | |
d14a1e28 RD |
8201 | } |
8202 | ||
8203 | ||
554f62e9 RD |
8204 | SWIGINTERN PyObject *HtmlCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8205 | PyObject *obj; | |
8206 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8207 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell, SWIG_NewClientData(obj)); | |
8208 | return SWIG_Py_Void(); | |
d14a1e28 RD |
8209 | } |
8210 | ||
554f62e9 RD |
8211 | SWIGINTERN PyObject *HtmlCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8212 | return SWIG_Python_InitShadowInstance(args); | |
8213 | } | |
d14a1e28 | 8214 | |
554f62e9 RD |
8215 | SWIGINTERN PyObject *_wrap_new_HtmlWordCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8216 | PyObject *resultobj = 0; | |
8217 | wxString *arg1 = 0 ; | |
8218 | wxDC *arg2 = 0 ; | |
8219 | wxHtmlWordCell *result = 0 ; | |
8220 | bool temp1 = false ; | |
8221 | void *argp2 = 0 ; | |
8222 | int res2 = 0 ; | |
8223 | PyObject * obj0 = 0 ; | |
8224 | PyObject * obj1 = 0 ; | |
8225 | char * kwnames[] = { | |
8226 | (char *) "word",(char *) "dc", NULL | |
8227 | }; | |
8228 | ||
8229 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
8230 | { | |
8231 | arg1 = wxString_in_helper(obj0); | |
8232 | if (arg1 == NULL) SWIG_fail; | |
8233 | temp1 = true; | |
8234 | } | |
8235 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
8236 | if (!SWIG_IsOK(res2)) { | |
8237 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'"); | |
8238 | } | |
8239 | if (!argp2) { | |
8240 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'"); | |
8241 | } | |
8242 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8243 | { | |
8244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8245 | result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2); | |
8246 | wxPyEndAllowThreads(__tstate); | |
8247 | if (PyErr_Occurred()) SWIG_fail; | |
8248 | } | |
8249 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_NEW | 0 ); | |
8250 | { | |
8251 | if (temp1) | |
8252 | delete arg1; | |
8253 | } | |
8254 | return resultobj; | |
8255 | fail: | |
8256 | { | |
8257 | if (temp1) | |
8258 | delete arg1; | |
8259 | } | |
8260 | return NULL; | |
8261 | } | |
8262 | ||
8263 | ||
8264 | SWIGINTERN PyObject *_wrap_HtmlWordCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8265 | PyObject *resultobj = 0; | |
8266 | wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ; | |
8267 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
8268 | wxString result; | |
8269 | void *argp1 = 0 ; | |
8270 | int res1 = 0 ; | |
8271 | void *argp2 = 0 ; | |
8272 | int res2 = 0 ; | |
8273 | PyObject * obj0 = 0 ; | |
8274 | PyObject * obj1 = 0 ; | |
8275 | char * kwnames[] = { | |
8276 | (char *) "self",(char *) "sel", NULL | |
8277 | }; | |
8278 | ||
8279 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail; | |
8280 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8281 | if (!SWIG_IsOK(res1)) { | |
8282 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'"); | |
8283 | } | |
8284 | arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1); | |
8285 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
8286 | if (!SWIG_IsOK(res2)) { | |
8287 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); | |
8288 | } | |
8289 | arg2 = reinterpret_cast< wxHtmlSelection * >(argp2); | |
8290 | { | |
8291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8292 | result = ((wxHtmlWordCell const *)arg1)->ConvertToText(arg2); | |
8293 | wxPyEndAllowThreads(__tstate); | |
8294 | if (PyErr_Occurred()) SWIG_fail; | |
8295 | } | |
8296 | { | |
8297 | #if wxUSE_UNICODE | |
8298 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8299 | #else | |
8300 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8301 | #endif | |
8302 | } | |
8303 | return resultobj; | |
8304 | fail: | |
8305 | return NULL; | |
d14a1e28 RD |
8306 | } |
8307 | ||
8308 | ||
554f62e9 RD |
8309 | SWIGINTERN PyObject *_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8310 | PyObject *resultobj = 0; | |
8311 | wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ; | |
8312 | bool result; | |
8313 | void *argp1 = 0 ; | |
8314 | int res1 = 0 ; | |
8315 | PyObject *swig_obj[1] ; | |
8316 | ||
8317 | if (!args) SWIG_fail; | |
8318 | swig_obj[0] = args; | |
8319 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8320 | if (!SWIG_IsOK(res1)) { | |
8321 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'"); | |
8322 | } | |
8323 | arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1); | |
8324 | { | |
8325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8326 | result = (bool)((wxHtmlWordCell const *)arg1)->IsLinebreakAllowed(); | |
8327 | wxPyEndAllowThreads(__tstate); | |
8328 | if (PyErr_Occurred()) SWIG_fail; | |
8329 | } | |
8330 | { | |
8331 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8332 | } | |
8333 | return resultobj; | |
8334 | fail: | |
8335 | return NULL; | |
8336 | } | |
8337 | ||
8338 | ||
8339 | SWIGINTERN PyObject *_wrap_HtmlWordCell_SetPreviousWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8340 | PyObject *resultobj = 0; | |
8341 | wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ; | |
8342 | wxHtmlWordCell *arg2 = (wxHtmlWordCell *) 0 ; | |
8343 | void *argp1 = 0 ; | |
8344 | int res1 = 0 ; | |
8345 | void *argp2 = 0 ; | |
8346 | int res2 = 0 ; | |
8347 | PyObject * obj0 = 0 ; | |
8348 | PyObject * obj1 = 0 ; | |
8349 | char * kwnames[] = { | |
8350 | (char *) "self",(char *) "cell", NULL | |
8351 | }; | |
8352 | ||
8353 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames,&obj0,&obj1)) SWIG_fail; | |
8354 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8355 | if (!SWIG_IsOK(res1)) { | |
8356 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'"); | |
8357 | } | |
8358 | arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1); | |
8359 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8360 | if (!SWIG_IsOK(res2)) { | |
8361 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'"); | |
8362 | } | |
8363 | arg2 = reinterpret_cast< wxHtmlWordCell * >(argp2); | |
8364 | { | |
8365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8366 | (arg1)->SetPreviousWord(arg2); | |
8367 | wxPyEndAllowThreads(__tstate); | |
8368 | if (PyErr_Occurred()) SWIG_fail; | |
8369 | } | |
8370 | resultobj = SWIG_Py_Void(); | |
8371 | return resultobj; | |
8372 | fail: | |
8373 | return NULL; | |
d14a1e28 RD |
8374 | } |
8375 | ||
8376 | ||
554f62e9 RD |
8377 | SWIGINTERN PyObject *HtmlWordCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8378 | PyObject *obj; | |
8379 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8380 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell, SWIG_NewClientData(obj)); | |
8381 | return SWIG_Py_Void(); | |
d14a1e28 RD |
8382 | } |
8383 | ||
554f62e9 RD |
8384 | SWIGINTERN PyObject *HtmlWordCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8385 | return SWIG_Python_InitShadowInstance(args); | |
8386 | } | |
d14a1e28 | 8387 | |
554f62e9 RD |
8388 | SWIGINTERN PyObject *_wrap_new_HtmlContainerCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8389 | PyObject *resultobj = 0; | |
8390 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8391 | wxHtmlContainerCell *result = 0 ; | |
8392 | void *argp1 = 0 ; | |
8393 | int res1 = 0 ; | |
8394 | PyObject * obj0 = 0 ; | |
8395 | char * kwnames[] = { | |
8396 | (char *) "parent", NULL | |
8397 | }; | |
8398 | ||
8399 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) SWIG_fail; | |
8400 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8401 | if (!SWIG_IsOK(res1)) { | |
8402 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8403 | } | |
8404 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8405 | { | |
8406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8407 | result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1); | |
8408 | wxPyEndAllowThreads(__tstate); | |
8409 | if (PyErr_Occurred()) SWIG_fail; | |
8410 | } | |
8411 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_NEW | 0 ); | |
8412 | return resultobj; | |
8413 | fail: | |
8414 | return NULL; | |
8415 | } | |
8416 | ||
8417 | ||
8418 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8419 | PyObject *resultobj = 0; | |
8420 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8421 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
8422 | void *argp1 = 0 ; | |
8423 | int res1 = 0 ; | |
8424 | int res2 = 0 ; | |
8425 | PyObject * obj0 = 0 ; | |
8426 | PyObject * obj1 = 0 ; | |
8427 | char * kwnames[] = { | |
8428 | (char *) "self",(char *) "cell", NULL | |
8429 | }; | |
8430 | ||
8431 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
8432 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8433 | if (!SWIG_IsOK(res1)) { | |
8434 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8435 | } | |
8436 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8437 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
8438 | if (!SWIG_IsOK(res2)) { | |
8439 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
8440 | } | |
8441 | { | |
8442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8443 | (arg1)->InsertCell(arg2); | |
8444 | wxPyEndAllowThreads(__tstate); | |
8445 | if (PyErr_Occurred()) SWIG_fail; | |
8446 | } | |
8447 | resultobj = SWIG_Py_Void(); | |
8448 | return resultobj; | |
8449 | fail: | |
8450 | return NULL; | |
8451 | } | |
8452 | ||
8453 | ||
8454 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8455 | PyObject *resultobj = 0; | |
8456 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8457 | int arg2 ; | |
8458 | void *argp1 = 0 ; | |
8459 | int res1 = 0 ; | |
8460 | int val2 ; | |
8461 | int ecode2 = 0 ; | |
8462 | PyObject * obj0 = 0 ; | |
8463 | PyObject * obj1 = 0 ; | |
8464 | char * kwnames[] = { | |
8465 | (char *) "self",(char *) "al", NULL | |
8466 | }; | |
8467 | ||
8468 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) SWIG_fail; | |
8469 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8470 | if (!SWIG_IsOK(res1)) { | |
8471 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8472 | } | |
8473 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8474 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8475 | if (!SWIG_IsOK(ecode2)) { | |
8476 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'"); | |
8477 | } | |
8478 | arg2 = static_cast< int >(val2); | |
8479 | { | |
8480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8481 | (arg1)->SetAlignHor(arg2); | |
8482 | wxPyEndAllowThreads(__tstate); | |
8483 | if (PyErr_Occurred()) SWIG_fail; | |
8484 | } | |
8485 | resultobj = SWIG_Py_Void(); | |
8486 | return resultobj; | |
8487 | fail: | |
8488 | return NULL; | |
d14a1e28 | 8489 | } |
554f62e9 RD |
8490 | |
8491 | ||
8492 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8493 | PyObject *resultobj = 0; | |
8494 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8495 | int result; | |
8496 | void *argp1 = 0 ; | |
8497 | int res1 = 0 ; | |
8498 | PyObject *swig_obj[1] ; | |
8499 | ||
8500 | if (!args) SWIG_fail; | |
8501 | swig_obj[0] = args; | |
8502 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8503 | if (!SWIG_IsOK(res1)) { | |
8504 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8505 | } | |
8506 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8507 | { | |
8508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8509 | result = (int)(arg1)->GetAlignHor(); | |
8510 | wxPyEndAllowThreads(__tstate); | |
8511 | if (PyErr_Occurred()) SWIG_fail; | |
8512 | } | |
8513 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8514 | return resultobj; | |
8515 | fail: | |
8516 | return NULL; | |
8517 | } | |
8518 | ||
8519 | ||
8520 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8521 | PyObject *resultobj = 0; | |
8522 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8523 | int arg2 ; | |
8524 | void *argp1 = 0 ; | |
8525 | int res1 = 0 ; | |
8526 | int val2 ; | |
8527 | int ecode2 = 0 ; | |
8528 | PyObject * obj0 = 0 ; | |
8529 | PyObject * obj1 = 0 ; | |
8530 | char * kwnames[] = { | |
8531 | (char *) "self",(char *) "al", NULL | |
8532 | }; | |
8533 | ||
8534 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) SWIG_fail; | |
8535 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8536 | if (!SWIG_IsOK(res1)) { | |
8537 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8538 | } | |
8539 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8540 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8541 | if (!SWIG_IsOK(ecode2)) { | |
8542 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'"); | |
8543 | } | |
8544 | arg2 = static_cast< int >(val2); | |
8545 | { | |
8546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8547 | (arg1)->SetAlignVer(arg2); | |
8548 | wxPyEndAllowThreads(__tstate); | |
8549 | if (PyErr_Occurred()) SWIG_fail; | |
8550 | } | |
8551 | resultobj = SWIG_Py_Void(); | |
8552 | return resultobj; | |
8553 | fail: | |
8554 | return NULL; | |
d14a1e28 RD |
8555 | } |
8556 | ||
8557 | ||
554f62e9 RD |
8558 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8559 | PyObject *resultobj = 0; | |
8560 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8561 | int result; | |
8562 | void *argp1 = 0 ; | |
8563 | int res1 = 0 ; | |
8564 | PyObject *swig_obj[1] ; | |
8565 | ||
8566 | if (!args) SWIG_fail; | |
8567 | swig_obj[0] = args; | |
8568 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8569 | if (!SWIG_IsOK(res1)) { | |
8570 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8571 | } | |
8572 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8573 | { | |
8574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8575 | result = (int)(arg1)->GetAlignVer(); | |
8576 | wxPyEndAllowThreads(__tstate); | |
8577 | if (PyErr_Occurred()) SWIG_fail; | |
8578 | } | |
8579 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8580 | return resultobj; | |
8581 | fail: | |
8582 | return NULL; | |
8583 | } | |
8584 | ||
8585 | ||
8586 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8587 | PyObject *resultobj = 0; | |
8588 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8589 | int arg2 ; | |
8590 | int arg3 ; | |
8591 | int arg4 = (int) wxHTML_UNITS_PIXELS ; | |
8592 | void *argp1 = 0 ; | |
8593 | int res1 = 0 ; | |
8594 | int val2 ; | |
8595 | int ecode2 = 0 ; | |
8596 | int val3 ; | |
8597 | int ecode3 = 0 ; | |
8598 | int val4 ; | |
8599 | int ecode4 = 0 ; | |
8600 | PyObject * obj0 = 0 ; | |
8601 | PyObject * obj1 = 0 ; | |
8602 | PyObject * obj2 = 0 ; | |
8603 | PyObject * obj3 = 0 ; | |
8604 | char * kwnames[] = { | |
8605 | (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL | |
8606 | }; | |
8607 | ||
8608 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
8609 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8610 | if (!SWIG_IsOK(res1)) { | |
8611 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8612 | } | |
8613 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8614 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8615 | if (!SWIG_IsOK(ecode2)) { | |
8616 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'"); | |
8617 | } | |
8618 | arg2 = static_cast< int >(val2); | |
8619 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8620 | if (!SWIG_IsOK(ecode3)) { | |
8621 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'"); | |
8622 | } | |
8623 | arg3 = static_cast< int >(val3); | |
8624 | if (obj3) { | |
8625 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
8626 | if (!SWIG_IsOK(ecode4)) { | |
8627 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'"); | |
8628 | } | |
8629 | arg4 = static_cast< int >(val4); | |
8630 | } | |
8631 | { | |
8632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8633 | (arg1)->SetIndent(arg2,arg3,arg4); | |
8634 | wxPyEndAllowThreads(__tstate); | |
8635 | if (PyErr_Occurred()) SWIG_fail; | |
8636 | } | |
8637 | resultobj = SWIG_Py_Void(); | |
8638 | return resultobj; | |
8639 | fail: | |
8640 | return NULL; | |
8641 | } | |
8642 | ||
8643 | ||
8644 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8645 | PyObject *resultobj = 0; | |
8646 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8647 | int arg2 ; | |
8648 | int result; | |
8649 | void *argp1 = 0 ; | |
8650 | int res1 = 0 ; | |
8651 | int val2 ; | |
8652 | int ecode2 = 0 ; | |
8653 | PyObject * obj0 = 0 ; | |
8654 | PyObject * obj1 = 0 ; | |
8655 | char * kwnames[] = { | |
8656 | (char *) "self",(char *) "ind", NULL | |
8657 | }; | |
8658 | ||
8659 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) SWIG_fail; | |
8660 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8661 | if (!SWIG_IsOK(res1)) { | |
8662 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8663 | } | |
8664 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8665 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8666 | if (!SWIG_IsOK(ecode2)) { | |
8667 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'"); | |
8668 | } | |
8669 | arg2 = static_cast< int >(val2); | |
8670 | { | |
8671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8672 | result = (int)(arg1)->GetIndent(arg2); | |
8673 | wxPyEndAllowThreads(__tstate); | |
8674 | if (PyErr_Occurred()) SWIG_fail; | |
8675 | } | |
8676 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8677 | return resultobj; | |
8678 | fail: | |
8679 | return NULL; | |
8680 | } | |
8681 | ||
8682 | ||
8683 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8684 | PyObject *resultobj = 0; | |
8685 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8686 | int arg2 ; | |
8687 | int result; | |
8688 | void *argp1 = 0 ; | |
8689 | int res1 = 0 ; | |
8690 | int val2 ; | |
8691 | int ecode2 = 0 ; | |
8692 | PyObject * obj0 = 0 ; | |
8693 | PyObject * obj1 = 0 ; | |
8694 | char * kwnames[] = { | |
8695 | (char *) "self",(char *) "ind", NULL | |
8696 | }; | |
8697 | ||
8698 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) SWIG_fail; | |
8699 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8700 | if (!SWIG_IsOK(res1)) { | |
8701 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8702 | } | |
8703 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8704 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8705 | if (!SWIG_IsOK(ecode2)) { | |
8706 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'"); | |
8707 | } | |
8708 | arg2 = static_cast< int >(val2); | |
8709 | { | |
8710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8711 | result = (int)(arg1)->GetIndentUnits(arg2); | |
8712 | wxPyEndAllowThreads(__tstate); | |
8713 | if (PyErr_Occurred()) SWIG_fail; | |
8714 | } | |
8715 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8716 | return resultobj; | |
8717 | fail: | |
8718 | return NULL; | |
8719 | } | |
8720 | ||
8721 | ||
8722 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8723 | PyObject *resultobj = 0; | |
8724 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8725 | wxHtmlTag *arg2 = 0 ; | |
8726 | void *argp1 = 0 ; | |
8727 | int res1 = 0 ; | |
8728 | void *argp2 = 0 ; | |
8729 | int res2 = 0 ; | |
8730 | PyObject * obj0 = 0 ; | |
8731 | PyObject * obj1 = 0 ; | |
8732 | char * kwnames[] = { | |
8733 | (char *) "self",(char *) "tag", NULL | |
8734 | }; | |
8735 | ||
8736 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail; | |
8737 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8738 | if (!SWIG_IsOK(res1)) { | |
8739 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8740 | } | |
8741 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8742 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
8743 | if (!SWIG_IsOK(res2)) { | |
8744 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8745 | } | |
8746 | if (!argp2) { | |
8747 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8748 | } | |
8749 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
8750 | { | |
8751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8752 | (arg1)->SetAlign((wxHtmlTag const &)*arg2); | |
8753 | wxPyEndAllowThreads(__tstate); | |
8754 | if (PyErr_Occurred()) SWIG_fail; | |
8755 | } | |
8756 | resultobj = SWIG_Py_Void(); | |
8757 | return resultobj; | |
8758 | fail: | |
8759 | return NULL; | |
8760 | } | |
8761 | ||
8762 | ||
8763 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8764 | PyObject *resultobj = 0; | |
8765 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8766 | int arg2 ; | |
8767 | int arg3 ; | |
8768 | void *argp1 = 0 ; | |
8769 | int res1 = 0 ; | |
8770 | int val2 ; | |
8771 | int ecode2 = 0 ; | |
8772 | int val3 ; | |
8773 | int ecode3 = 0 ; | |
8774 | PyObject * obj0 = 0 ; | |
8775 | PyObject * obj1 = 0 ; | |
8776 | PyObject * obj2 = 0 ; | |
8777 | char * kwnames[] = { | |
8778 | (char *) "self",(char *) "w",(char *) "units", NULL | |
8779 | }; | |
8780 | ||
8781 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8782 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8783 | if (!SWIG_IsOK(res1)) { | |
8784 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8785 | } | |
8786 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8787 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8788 | if (!SWIG_IsOK(ecode2)) { | |
8789 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'"); | |
8790 | } | |
8791 | arg2 = static_cast< int >(val2); | |
8792 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8793 | if (!SWIG_IsOK(ecode3)) { | |
8794 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'"); | |
8795 | } | |
8796 | arg3 = static_cast< int >(val3); | |
8797 | { | |
8798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8799 | (arg1)->SetWidthFloat(arg2,arg3); | |
8800 | wxPyEndAllowThreads(__tstate); | |
8801 | if (PyErr_Occurred()) SWIG_fail; | |
8802 | } | |
8803 | resultobj = SWIG_Py_Void(); | |
8804 | return resultobj; | |
8805 | fail: | |
8806 | return NULL; | |
8807 | } | |
8808 | ||
8809 | ||
8810 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8811 | PyObject *resultobj = 0; | |
8812 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8813 | wxHtmlTag *arg2 = 0 ; | |
8814 | void *argp1 = 0 ; | |
8815 | int res1 = 0 ; | |
8816 | void *argp2 = 0 ; | |
8817 | int res2 = 0 ; | |
8818 | PyObject * obj0 = 0 ; | |
8819 | PyObject * obj1 = 0 ; | |
8820 | char * kwnames[] = { | |
8821 | (char *) "self",(char *) "tag", NULL | |
8822 | }; | |
8823 | ||
8824 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) SWIG_fail; | |
8825 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8826 | if (!SWIG_IsOK(res1)) { | |
8827 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8828 | } | |
8829 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8830 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
8831 | if (!SWIG_IsOK(res2)) { | |
8832 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8833 | } | |
8834 | if (!argp2) { | |
8835 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8836 | } | |
8837 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
8838 | { | |
8839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8840 | (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2); | |
8841 | wxPyEndAllowThreads(__tstate); | |
8842 | if (PyErr_Occurred()) SWIG_fail; | |
8843 | } | |
8844 | resultobj = SWIG_Py_Void(); | |
8845 | return resultobj; | |
8846 | fail: | |
8847 | return NULL; | |
8848 | } | |
8849 | ||
8850 | ||
8851 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8852 | PyObject *resultobj = 0; | |
8853 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8854 | int arg2 ; | |
8855 | int arg3 = (int) wxHTML_ALIGN_TOP ; | |
8856 | void *argp1 = 0 ; | |
8857 | int res1 = 0 ; | |
8858 | int val2 ; | |
8859 | int ecode2 = 0 ; | |
8860 | int val3 ; | |
8861 | int ecode3 = 0 ; | |
8862 | PyObject * obj0 = 0 ; | |
8863 | PyObject * obj1 = 0 ; | |
8864 | PyObject * obj2 = 0 ; | |
8865 | char * kwnames[] = { | |
8866 | (char *) "self",(char *) "h",(char *) "align", NULL | |
8867 | }; | |
8868 | ||
8869 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8870 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8871 | if (!SWIG_IsOK(res1)) { | |
8872 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8873 | } | |
8874 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8875 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8876 | if (!SWIG_IsOK(ecode2)) { | |
8877 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'"); | |
8878 | } | |
8879 | arg2 = static_cast< int >(val2); | |
8880 | if (obj2) { | |
8881 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8882 | if (!SWIG_IsOK(ecode3)) { | |
8883 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'"); | |
8884 | } | |
8885 | arg3 = static_cast< int >(val3); | |
8886 | } | |
8887 | { | |
8888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8889 | (arg1)->SetMinHeight(arg2,arg3); | |
8890 | wxPyEndAllowThreads(__tstate); | |
8891 | if (PyErr_Occurred()) SWIG_fail; | |
8892 | } | |
8893 | resultobj = SWIG_Py_Void(); | |
8894 | return resultobj; | |
8895 | fail: | |
8896 | return NULL; | |
8897 | } | |
8898 | ||
8899 | ||
8900 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8901 | PyObject *resultobj = 0; | |
8902 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8903 | wxColour *arg2 = 0 ; | |
8904 | void *argp1 = 0 ; | |
8905 | int res1 = 0 ; | |
8906 | wxColour temp2 ; | |
8907 | PyObject * obj0 = 0 ; | |
8908 | PyObject * obj1 = 0 ; | |
8909 | char * kwnames[] = { | |
8910 | (char *) "self",(char *) "clr", NULL | |
8911 | }; | |
8912 | ||
8913 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
8914 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8915 | if (!SWIG_IsOK(res1)) { | |
8916 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8917 | } | |
8918 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8919 | { | |
8920 | arg2 = &temp2; | |
8921 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8922 | } | |
8923 | { | |
8924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8925 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); | |
8926 | wxPyEndAllowThreads(__tstate); | |
8927 | if (PyErr_Occurred()) SWIG_fail; | |
8928 | } | |
8929 | resultobj = SWIG_Py_Void(); | |
8930 | return resultobj; | |
8931 | fail: | |
8932 | return NULL; | |
d14a1e28 RD |
8933 | } |
8934 | ||
8935 | ||
554f62e9 RD |
8936 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8937 | PyObject *resultobj = 0; | |
8938 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8939 | wxColour result; | |
8940 | void *argp1 = 0 ; | |
8941 | int res1 = 0 ; | |
8942 | PyObject *swig_obj[1] ; | |
8943 | ||
8944 | if (!args) SWIG_fail; | |
8945 | swig_obj[0] = args; | |
8946 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8947 | if (!SWIG_IsOK(res1)) { | |
8948 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8949 | } | |
8950 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8951 | { | |
8952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8953 | result = (arg1)->GetBackgroundColour(); | |
8954 | wxPyEndAllowThreads(__tstate); | |
8955 | if (PyErr_Occurred()) SWIG_fail; | |
8956 | } | |
8957 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
8958 | return resultobj; | |
8959 | fail: | |
8960 | return NULL; | |
8961 | } | |
8962 | ||
8963 | ||
8964 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8965 | PyObject *resultobj = 0; | |
8966 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8967 | wxColour *arg2 = 0 ; | |
8968 | wxColour *arg3 = 0 ; | |
8969 | void *argp1 = 0 ; | |
8970 | int res1 = 0 ; | |
8971 | wxColour temp2 ; | |
8972 | wxColour temp3 ; | |
8973 | PyObject * obj0 = 0 ; | |
8974 | PyObject * obj1 = 0 ; | |
8975 | PyObject * obj2 = 0 ; | |
8976 | char * kwnames[] = { | |
8977 | (char *) "self",(char *) "clr1",(char *) "clr2", NULL | |
8978 | }; | |
8979 | ||
8980 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8981 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8982 | if (!SWIG_IsOK(res1)) { | |
8983 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8984 | } | |
8985 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8986 | { | |
8987 | arg2 = &temp2; | |
8988 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8989 | } | |
8990 | { | |
8991 | arg3 = &temp3; | |
8992 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
8993 | } | |
8994 | { | |
8995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8996 | (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3); | |
8997 | wxPyEndAllowThreads(__tstate); | |
8998 | if (PyErr_Occurred()) SWIG_fail; | |
8999 | } | |
9000 | resultobj = SWIG_Py_Void(); | |
9001 | return resultobj; | |
9002 | fail: | |
9003 | return NULL; | |
d14a1e28 RD |
9004 | } |
9005 | ||
9006 | ||
554f62e9 RD |
9007 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9008 | PyObject *resultobj = 0; | |
9009 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
9010 | wxHtmlCell *result = 0 ; | |
9011 | void *argp1 = 0 ; | |
9012 | int res1 = 0 ; | |
9013 | PyObject *swig_obj[1] ; | |
9014 | ||
9015 | if (!args) SWIG_fail; | |
9016 | swig_obj[0] = args; | |
9017 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
9018 | if (!SWIG_IsOK(res1)) { | |
9019 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
9020 | } | |
9021 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
9022 | { | |
9023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9024 | result = (wxHtmlCell *)(arg1)->GetFirstChild(); | |
9025 | wxPyEndAllowThreads(__tstate); | |
9026 | if (PyErr_Occurred()) SWIG_fail; | |
9027 | } | |
9028 | { | |
9029 | resultobj = wxPyMake_wxObject(result, 0); | |
9030 | } | |
9031 | return resultobj; | |
9032 | fail: | |
9033 | return NULL; | |
d14a1e28 RD |
9034 | } |
9035 | ||
9036 | ||
554f62e9 RD |
9037 | SWIGINTERN PyObject *HtmlContainerCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9038 | PyObject *obj; | |
9039 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9040 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell, SWIG_NewClientData(obj)); | |
9041 | return SWIG_Py_Void(); | |
d14a1e28 RD |
9042 | } |
9043 | ||
554f62e9 RD |
9044 | SWIGINTERN PyObject *HtmlContainerCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9045 | return SWIG_Python_InitShadowInstance(args); | |
9046 | } | |
d14a1e28 | 9047 | |
554f62e9 RD |
9048 | SWIGINTERN PyObject *_wrap_new_HtmlColourCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9049 | PyObject *resultobj = 0; | |
9050 | wxColour *arg1 = 0 ; | |
9051 | int arg2 = (int) wxHTML_CLR_FOREGROUND ; | |
9052 | wxHtmlColourCell *result = 0 ; | |
9053 | wxColour temp1 ; | |
9054 | int val2 ; | |
9055 | int ecode2 = 0 ; | |
9056 | PyObject * obj0 = 0 ; | |
9057 | PyObject * obj1 = 0 ; | |
9058 | char * kwnames[] = { | |
9059 | (char *) "clr",(char *) "flags", NULL | |
9060 | }; | |
9061 | ||
9062 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
9063 | { | |
9064 | arg1 = &temp1; | |
9065 | if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail; | |
9066 | } | |
9067 | if (obj1) { | |
9068 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9069 | if (!SWIG_IsOK(ecode2)) { | |
9070 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'"); | |
9071 | } | |
9072 | arg2 = static_cast< int >(val2); | |
9073 | } | |
9074 | { | |
9075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9076 | result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2); | |
9077 | wxPyEndAllowThreads(__tstate); | |
9078 | if (PyErr_Occurred()) SWIG_fail; | |
9079 | } | |
9080 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlColourCell, SWIG_POINTER_NEW | 0 ); | |
9081 | return resultobj; | |
9082 | fail: | |
9083 | return NULL; | |
d14a1e28 RD |
9084 | } |
9085 | ||
9086 | ||
554f62e9 RD |
9087 | SWIGINTERN PyObject *HtmlColourCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9088 | PyObject *obj; | |
9089 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9090 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell, SWIG_NewClientData(obj)); | |
9091 | return SWIG_Py_Void(); | |
d00d1b88 RD |
9092 | } |
9093 | ||
554f62e9 RD |
9094 | SWIGINTERN PyObject *HtmlColourCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9095 | return SWIG_Python_InitShadowInstance(args); | |
9096 | } | |
d00d1b88 | 9097 | |
554f62e9 RD |
9098 | SWIGINTERN PyObject *_wrap_new_HtmlFontCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9099 | PyObject *resultobj = 0; | |
9100 | wxFont *arg1 = (wxFont *) 0 ; | |
9101 | wxHtmlFontCell *result = 0 ; | |
9102 | void *argp1 = 0 ; | |
9103 | int res1 = 0 ; | |
9104 | PyObject * obj0 = 0 ; | |
9105 | char * kwnames[] = { | |
9106 | (char *) "font", NULL | |
9107 | }; | |
9108 | ||
9109 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) SWIG_fail; | |
9110 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFont, 0 | 0 ); | |
9111 | if (!SWIG_IsOK(res1)) { | |
9112 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'"); | |
9113 | } | |
9114 | arg1 = reinterpret_cast< wxFont * >(argp1); | |
9115 | { | |
9116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9117 | result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1); | |
9118 | wxPyEndAllowThreads(__tstate); | |
9119 | if (PyErr_Occurred()) SWIG_fail; | |
9120 | } | |
9121 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlFontCell, SWIG_POINTER_NEW | 0 ); | |
9122 | return resultobj; | |
9123 | fail: | |
9124 | return NULL; | |
cbd72d4f RD |
9125 | } |
9126 | ||
9127 | ||
554f62e9 RD |
9128 | SWIGINTERN PyObject *HtmlFontCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9129 | PyObject *obj; | |
9130 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9131 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell, SWIG_NewClientData(obj)); | |
9132 | return SWIG_Py_Void(); | |
cbd72d4f RD |
9133 | } |
9134 | ||
554f62e9 RD |
9135 | SWIGINTERN PyObject *HtmlFontCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9136 | return SWIG_Python_InitShadowInstance(args); | |
9137 | } | |
cbd72d4f | 9138 | |
554f62e9 RD |
9139 | SWIGINTERN PyObject *_wrap_new_HtmlWidgetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9140 | PyObject *resultobj = 0; | |
9141 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9142 | int arg2 = (int) 0 ; | |
9143 | wxHtmlWidgetCell *result = 0 ; | |
9144 | void *argp1 = 0 ; | |
9145 | int res1 = 0 ; | |
9146 | int val2 ; | |
9147 | int ecode2 = 0 ; | |
9148 | PyObject * obj0 = 0 ; | |
9149 | PyObject * obj1 = 0 ; | |
9150 | char * kwnames[] = { | |
9151 | (char *) "wnd",(char *) "w", NULL | |
9152 | }; | |
9153 | ||
9154 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
9155 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
9156 | if (!SWIG_IsOK(res1)) { | |
9157 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
9158 | } | |
9159 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
9160 | if (obj1) { | |
9161 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9162 | if (!SWIG_IsOK(ecode2)) { | |
9163 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'"); | |
9164 | } | |
9165 | arg2 = static_cast< int >(val2); | |
9166 | } | |
9167 | { | |
9168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9169 | result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2); | |
9170 | wxPyEndAllowThreads(__tstate); | |
9171 | if (PyErr_Occurred()) SWIG_fail; | |
9172 | } | |
9173 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWidgetCell, SWIG_POINTER_NEW | 0 ); | |
9174 | return resultobj; | |
9175 | fail: | |
9176 | return NULL; | |
d14a1e28 RD |
9177 | } |
9178 | ||
9179 | ||
554f62e9 RD |
9180 | SWIGINTERN PyObject *HtmlWidgetCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9181 | PyObject *obj; | |
9182 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9183 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell, SWIG_NewClientData(obj)); | |
9184 | return SWIG_Py_Void(); | |
d14a1e28 RD |
9185 | } |
9186 | ||
554f62e9 RD |
9187 | SWIGINTERN PyObject *HtmlWidgetCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9188 | return SWIG_Python_InitShadowInstance(args); | |
9189 | } | |
d14a1e28 | 9190 | |
554f62e9 RD |
9191 | SWIGINTERN PyObject *_wrap_new_HtmlFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9192 | PyObject *resultobj = 0; | |
9193 | wxPyHtmlFilter *result = 0 ; | |
9194 | ||
9195 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlFilter",0,0,0)) SWIG_fail; | |
9196 | { | |
9197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9198 | result = (wxPyHtmlFilter *)new wxPyHtmlFilter(); | |
9199 | wxPyEndAllowThreads(__tstate); | |
9200 | if (PyErr_Occurred()) SWIG_fail; | |
9201 | } | |
9202 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_NEW | 0 ); | |
9203 | return resultobj; | |
9204 | fail: | |
9205 | return NULL; | |
9206 | } | |
9207 | ||
9208 | ||
9209 | SWIGINTERN PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9210 | PyObject *resultobj = 0; | |
9211 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
9212 | PyObject *arg2 = (PyObject *) 0 ; | |
9213 | PyObject *arg3 = (PyObject *) 0 ; | |
9214 | void *argp1 = 0 ; | |
9215 | int res1 = 0 ; | |
9216 | PyObject * obj0 = 0 ; | |
9217 | PyObject * obj1 = 0 ; | |
9218 | PyObject * obj2 = 0 ; | |
9219 | char * kwnames[] = { | |
9220 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9221 | }; | |
9222 | ||
9223 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9224 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 ); | |
9225 | if (!SWIG_IsOK(res1)) { | |
9226 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'"); | |
9227 | } | |
9228 | arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1); | |
9229 | arg2 = obj1; | |
9230 | arg3 = obj2; | |
9231 | { | |
9232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9233 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9234 | wxPyEndAllowThreads(__tstate); | |
9235 | if (PyErr_Occurred()) SWIG_fail; | |
9236 | } | |
9237 | resultobj = SWIG_Py_Void(); | |
9238 | return resultobj; | |
9239 | fail: | |
9240 | return NULL; | |
9241 | } | |
9242 | ||
9243 | ||
9244 | SWIGINTERN PyObject *HtmlFilter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9245 | PyObject *obj; | |
9246 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9247 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter, SWIG_NewClientData(obj)); | |
9248 | return SWIG_Py_Void(); | |
9249 | } | |
9250 | ||
9251 | SWIGINTERN PyObject *HtmlFilter_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9252 | return SWIG_Python_InitShadowInstance(args); | |
9253 | } | |
9254 | ||
e9d6f3a4 RD |
9255 | SWIGINTERN PyObject *_wrap_delete_HtmlWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9256 | PyObject *resultobj = 0; | |
9257 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9258 | void *argp1 = 0 ; | |
9259 | int res1 = 0 ; | |
9260 | PyObject *swig_obj[1] ; | |
9261 | ||
9262 | if (!args) SWIG_fail; | |
9263 | swig_obj[0] = args; | |
9264 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, SWIG_POINTER_DISOWN | 0 ); | |
9265 | if (!SWIG_IsOK(res1)) { | |
9266 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9267 | } | |
9268 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9269 | { | |
9270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9271 | delete arg1; | |
9272 | ||
9273 | wxPyEndAllowThreads(__tstate); | |
9274 | if (PyErr_Occurred()) SWIG_fail; | |
9275 | } | |
9276 | resultobj = SWIG_Py_Void(); | |
9277 | return resultobj; | |
9278 | fail: | |
9279 | return NULL; | |
9280 | } | |
9281 | ||
9282 | ||
9283 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9284 | PyObject *resultobj = 0; | |
9285 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9286 | wxString *arg2 = 0 ; | |
9287 | void *argp1 = 0 ; | |
9288 | int res1 = 0 ; | |
9289 | bool temp2 = false ; | |
9290 | PyObject * obj0 = 0 ; | |
9291 | PyObject * obj1 = 0 ; | |
9292 | char * kwnames[] = { | |
9293 | (char *) "self",(char *) "title", NULL | |
9294 | }; | |
9295 | ||
9296 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames,&obj0,&obj1)) SWIG_fail; | |
9297 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9298 | if (!SWIG_IsOK(res1)) { | |
9299 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9300 | } | |
9301 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9302 | { | |
9303 | arg2 = wxString_in_helper(obj1); | |
9304 | if (arg2 == NULL) SWIG_fail; | |
9305 | temp2 = true; | |
9306 | } | |
9307 | { | |
9308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9309 | (arg1)->SetHTMLWindowTitle((wxString const &)*arg2); | |
9310 | wxPyEndAllowThreads(__tstate); | |
9311 | if (PyErr_Occurred()) SWIG_fail; | |
9312 | } | |
9313 | resultobj = SWIG_Py_Void(); | |
9314 | { | |
9315 | if (temp2) | |
9316 | delete arg2; | |
9317 | } | |
9318 | return resultobj; | |
9319 | fail: | |
9320 | { | |
9321 | if (temp2) | |
9322 | delete arg2; | |
9323 | } | |
9324 | return NULL; | |
9325 | } | |
9326 | ||
9327 | ||
9328 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9329 | PyObject *resultobj = 0; | |
9330 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9331 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
9332 | wxPoint *arg3 = 0 ; | |
9333 | wxPoint result; | |
9334 | void *argp1 = 0 ; | |
9335 | int res1 = 0 ; | |
9336 | void *argp2 = 0 ; | |
9337 | int res2 = 0 ; | |
9338 | wxPoint temp3 ; | |
9339 | PyObject * obj0 = 0 ; | |
9340 | PyObject * obj1 = 0 ; | |
9341 | PyObject * obj2 = 0 ; | |
9342 | char * kwnames[] = { | |
9343 | (char *) "self",(char *) "cell",(char *) "pos", NULL | |
9344 | }; | |
9345 | ||
9346 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9347 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9348 | if (!SWIG_IsOK(res1)) { | |
9349 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'"); | |
9350 | } | |
9351 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9352 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
9353 | if (!SWIG_IsOK(res2)) { | |
9354 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
9355 | } | |
9356 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
9357 | { | |
9358 | arg3 = &temp3; | |
9359 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9360 | } | |
9361 | { | |
9362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9363 | result = ((wxHtmlWindowInterface const *)arg1)->HTMLCoordsToWindow(arg2,(wxPoint const &)*arg3); | |
9364 | wxPyEndAllowThreads(__tstate); | |
9365 | if (PyErr_Occurred()) SWIG_fail; | |
9366 | } | |
9367 | resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 ); | |
9368 | return resultobj; | |
9369 | fail: | |
9370 | return NULL; | |
9371 | } | |
9372 | ||
9373 | ||
9374 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9375 | PyObject *resultobj = 0; | |
9376 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9377 | wxWindow *result = 0 ; | |
9378 | void *argp1 = 0 ; | |
9379 | int res1 = 0 ; | |
9380 | PyObject *swig_obj[1] ; | |
9381 | ||
9382 | if (!args) SWIG_fail; | |
9383 | swig_obj[0] = args; | |
9384 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9385 | if (!SWIG_IsOK(res1)) { | |
9386 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9387 | } | |
9388 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9389 | { | |
9390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9391 | result = (wxWindow *)(arg1)->GetHTMLWindow(); | |
9392 | wxPyEndAllowThreads(__tstate); | |
9393 | if (PyErr_Occurred()) SWIG_fail; | |
9394 | } | |
9395 | { | |
9396 | resultobj = wxPyMake_wxObject(result, 0); | |
9397 | } | |
9398 | return resultobj; | |
9399 | fail: | |
9400 | return NULL; | |
9401 | } | |
9402 | ||
9403 | ||
9404 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9405 | PyObject *resultobj = 0; | |
9406 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9407 | wxColour result; | |
9408 | void *argp1 = 0 ; | |
9409 | int res1 = 0 ; | |
9410 | PyObject *swig_obj[1] ; | |
9411 | ||
9412 | if (!args) SWIG_fail; | |
9413 | swig_obj[0] = args; | |
9414 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9415 | if (!SWIG_IsOK(res1)) { | |
9416 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'"); | |
9417 | } | |
9418 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9419 | { | |
9420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9421 | result = ((wxHtmlWindowInterface const *)arg1)->GetHTMLBackgroundColour(); | |
9422 | wxPyEndAllowThreads(__tstate); | |
9423 | if (PyErr_Occurred()) SWIG_fail; | |
9424 | } | |
9425 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
9426 | return resultobj; | |
9427 | fail: | |
9428 | return NULL; | |
9429 | } | |
9430 | ||
9431 | ||
9432 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9433 | PyObject *resultobj = 0; | |
9434 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9435 | wxColour *arg2 = 0 ; | |
9436 | void *argp1 = 0 ; | |
9437 | int res1 = 0 ; | |
9438 | wxColour temp2 ; | |
9439 | PyObject * obj0 = 0 ; | |
9440 | PyObject * obj1 = 0 ; | |
9441 | char * kwnames[] = { | |
9442 | (char *) "self",(char *) "clr", NULL | |
9443 | }; | |
9444 | ||
9445 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
9446 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9447 | if (!SWIG_IsOK(res1)) { | |
9448 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9449 | } | |
9450 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9451 | { | |
9452 | arg2 = &temp2; | |
9453 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
9454 | } | |
9455 | { | |
9456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9457 | (arg1)->SetHTMLBackgroundColour((wxColour const &)*arg2); | |
9458 | wxPyEndAllowThreads(__tstate); | |
9459 | if (PyErr_Occurred()) SWIG_fail; | |
9460 | } | |
9461 | resultobj = SWIG_Py_Void(); | |
9462 | return resultobj; | |
9463 | fail: | |
9464 | return NULL; | |
9465 | } | |
9466 | ||
9467 | ||
9468 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9469 | PyObject *resultobj = 0; | |
9470 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9471 | wxBitmap *arg2 = 0 ; | |
9472 | void *argp1 = 0 ; | |
9473 | int res1 = 0 ; | |
9474 | void *argp2 = 0 ; | |
9475 | int res2 = 0 ; | |
9476 | PyObject * obj0 = 0 ; | |
9477 | PyObject * obj1 = 0 ; | |
9478 | char * kwnames[] = { | |
9479 | (char *) "self",(char *) "bmpBg", NULL | |
9480 | }; | |
9481 | ||
9482 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9483 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9484 | if (!SWIG_IsOK(res1)) { | |
9485 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9486 | } | |
9487 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9488 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); | |
9489 | if (!SWIG_IsOK(res2)) { | |
9490 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
9491 | } | |
9492 | if (!argp2) { | |
9493 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
9494 | } | |
9495 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
9496 | { | |
9497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9498 | (arg1)->SetHTMLBackgroundImage((wxBitmap const &)*arg2); | |
9499 | wxPyEndAllowThreads(__tstate); | |
9500 | if (PyErr_Occurred()) SWIG_fail; | |
9501 | } | |
9502 | resultobj = SWIG_Py_Void(); | |
9503 | return resultobj; | |
9504 | fail: | |
9505 | return NULL; | |
9506 | } | |
9507 | ||
9508 | ||
9509 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9510 | PyObject *resultobj = 0; | |
9511 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9512 | wxString *arg2 = 0 ; | |
9513 | void *argp1 = 0 ; | |
9514 | int res1 = 0 ; | |
9515 | bool temp2 = false ; | |
9516 | PyObject * obj0 = 0 ; | |
9517 | PyObject * obj1 = 0 ; | |
9518 | char * kwnames[] = { | |
9519 | (char *) "self",(char *) "text", NULL | |
9520 | }; | |
9521 | ||
9522 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames,&obj0,&obj1)) SWIG_fail; | |
9523 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9524 | if (!SWIG_IsOK(res1)) { | |
9525 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9526 | } | |
9527 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9528 | { | |
9529 | arg2 = wxString_in_helper(obj1); | |
9530 | if (arg2 == NULL) SWIG_fail; | |
9531 | temp2 = true; | |
9532 | } | |
9533 | { | |
9534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9535 | (arg1)->SetHTMLStatusText((wxString const &)*arg2); | |
9536 | wxPyEndAllowThreads(__tstate); | |
9537 | if (PyErr_Occurred()) SWIG_fail; | |
9538 | } | |
9539 | resultobj = SWIG_Py_Void(); | |
9540 | { | |
9541 | if (temp2) | |
9542 | delete arg2; | |
9543 | } | |
9544 | return resultobj; | |
9545 | fail: | |
9546 | { | |
9547 | if (temp2) | |
9548 | delete arg2; | |
9549 | } | |
9550 | return NULL; | |
9551 | } | |
9552 | ||
9553 | ||
9554 | SWIGINTERN PyObject *HtmlWindowInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9555 | PyObject *obj; | |
9556 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9557 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface, SWIG_NewClientData(obj)); | |
9558 | return SWIG_Py_Void(); | |
9559 | } | |
9560 | ||
554f62e9 RD |
9561 | SWIGINTERN PyObject *_wrap_new_HtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9562 | PyObject *resultobj = 0; | |
9563 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9564 | int arg2 = (int) -1 ; | |
9565 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
9566 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9567 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9568 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9569 | int arg5 = (int) wxHW_DEFAULT_STYLE ; | |
9570 | wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ; | |
9571 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9572 | wxPyHtmlWindow *result = 0 ; | |
9573 | void *argp1 = 0 ; | |
9574 | int res1 = 0 ; | |
9575 | int val2 ; | |
9576 | int ecode2 = 0 ; | |
9577 | wxPoint temp3 ; | |
9578 | wxSize temp4 ; | |
9579 | int val5 ; | |
9580 | int ecode5 = 0 ; | |
9581 | bool temp6 = false ; | |
9582 | PyObject * obj0 = 0 ; | |
9583 | PyObject * obj1 = 0 ; | |
9584 | PyObject * obj2 = 0 ; | |
9585 | PyObject * obj3 = 0 ; | |
9586 | PyObject * obj4 = 0 ; | |
9587 | PyObject * obj5 = 0 ; | |
9588 | char * kwnames[] = { | |
9589 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9590 | }; | |
9591 | ||
9592 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
9593 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
9594 | if (!SWIG_IsOK(res1)) { | |
9595 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
9596 | } | |
9597 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
9598 | if (obj1) { | |
9599 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9600 | if (!SWIG_IsOK(ecode2)) { | |
9601 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'"); | |
9602 | } | |
9603 | arg2 = static_cast< int >(val2); | |
9604 | } | |
9605 | if (obj2) { | |
d14a1e28 | 9606 | { |
554f62e9 RD |
9607 | arg3 = &temp3; |
9608 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
d14a1e28 | 9609 | } |
554f62e9 RD |
9610 | } |
9611 | if (obj3) { | |
d14a1e28 | 9612 | { |
554f62e9 RD |
9613 | arg4 = &temp4; |
9614 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 9615 | } |
554f62e9 RD |
9616 | } |
9617 | if (obj4) { | |
9618 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
9619 | if (!SWIG_IsOK(ecode5)) { | |
9620 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'"); | |
9621 | } | |
9622 | arg5 = static_cast< int >(val5); | |
9623 | } | |
9624 | if (obj5) { | |
b1fcee84 | 9625 | { |
554f62e9 RD |
9626 | arg6 = wxString_in_helper(obj5); |
9627 | if (arg6 == NULL) SWIG_fail; | |
9628 | temp6 = true; | |
b1fcee84 | 9629 | } |
554f62e9 RD |
9630 | } |
9631 | { | |
9632 | if (!wxPyCheckForApp()) SWIG_fail; | |
9633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9634 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9635 | wxPyEndAllowThreads(__tstate); | |
9636 | if (PyErr_Occurred()) SWIG_fail; | |
9637 | } | |
9638 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_NEW | 0 ); | |
9639 | { | |
9640 | if (temp6) | |
9641 | delete arg6; | |
9642 | } | |
9643 | return resultobj; | |
9644 | fail: | |
9645 | { | |
9646 | if (temp6) | |
9647 | delete arg6; | |
9648 | } | |
9649 | return NULL; | |
d14a1e28 RD |
9650 | } |
9651 | ||
9652 | ||
554f62e9 RD |
9653 | SWIGINTERN PyObject *_wrap_new_PreHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9654 | PyObject *resultobj = 0; | |
9655 | wxPyHtmlWindow *result = 0 ; | |
9656 | ||
9657 | if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlWindow",0,0,0)) SWIG_fail; | |
9658 | { | |
9659 | if (!wxPyCheckForApp()) SWIG_fail; | |
9660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9661 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(); | |
9662 | wxPyEndAllowThreads(__tstate); | |
9663 | if (PyErr_Occurred()) SWIG_fail; | |
9664 | } | |
9665 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_OWN | 0 ); | |
9666 | return resultobj; | |
9667 | fail: | |
9668 | return NULL; | |
9669 | } | |
9670 | ||
9671 | ||
9672 | SWIGINTERN PyObject *_wrap_HtmlWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9673 | PyObject *resultobj = 0; | |
9674 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9675 | wxWindow *arg2 = (wxWindow *) 0 ; | |
9676 | int arg3 = (int) -1 ; | |
9677 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
9678 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9679 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9680 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9681 | int arg6 = (int) wxHW_SCROLLBAR_AUTO ; | |
9682 | wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ; | |
9683 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9684 | bool result; | |
9685 | void *argp1 = 0 ; | |
9686 | int res1 = 0 ; | |
9687 | void *argp2 = 0 ; | |
9688 | int res2 = 0 ; | |
9689 | int val3 ; | |
9690 | int ecode3 = 0 ; | |
9691 | wxPoint temp4 ; | |
9692 | wxSize temp5 ; | |
9693 | int val6 ; | |
9694 | int ecode6 = 0 ; | |
9695 | bool temp7 = false ; | |
9696 | PyObject * obj0 = 0 ; | |
9697 | PyObject * obj1 = 0 ; | |
9698 | PyObject * obj2 = 0 ; | |
9699 | PyObject * obj3 = 0 ; | |
9700 | PyObject * obj4 = 0 ; | |
9701 | PyObject * obj5 = 0 ; | |
9702 | PyObject * obj6 = 0 ; | |
9703 | char * kwnames[] = { | |
9704 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9705 | }; | |
9706 | ||
9707 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
9708 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9709 | if (!SWIG_IsOK(res1)) { | |
9710 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9711 | } | |
9712 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9713 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
9714 | if (!SWIG_IsOK(res2)) { | |
9715 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
9716 | } | |
9717 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
9718 | if (obj2) { | |
9719 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
9720 | if (!SWIG_IsOK(ecode3)) { | |
9721 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'"); | |
9722 | } | |
9723 | arg3 = static_cast< int >(val3); | |
9724 | } | |
9725 | if (obj3) { | |
d14a1e28 | 9726 | { |
554f62e9 RD |
9727 | arg4 = &temp4; |
9728 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 9729 | } |
554f62e9 RD |
9730 | } |
9731 | if (obj4) { | |
d14a1e28 | 9732 | { |
554f62e9 RD |
9733 | arg5 = &temp5; |
9734 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
d14a1e28 | 9735 | } |
554f62e9 RD |
9736 | } |
9737 | if (obj5) { | |
9738 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
9739 | if (!SWIG_IsOK(ecode6)) { | |
9740 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'"); | |
9741 | } | |
9742 | arg6 = static_cast< int >(val6); | |
9743 | } | |
9744 | if (obj6) { | |
4f89f6a3 | 9745 | { |
554f62e9 RD |
9746 | arg7 = wxString_in_helper(obj6); |
9747 | if (arg7 == NULL) SWIG_fail; | |
9748 | temp7 = true; | |
4f89f6a3 | 9749 | } |
554f62e9 RD |
9750 | } |
9751 | { | |
9752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9753 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9754 | wxPyEndAllowThreads(__tstate); | |
9755 | if (PyErr_Occurred()) SWIG_fail; | |
9756 | } | |
9757 | { | |
9758 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9759 | } | |
9760 | { | |
9761 | if (temp7) | |
9762 | delete arg7; | |
9763 | } | |
9764 | return resultobj; | |
9765 | fail: | |
9766 | { | |
9767 | if (temp7) | |
9768 | delete arg7; | |
9769 | } | |
9770 | return NULL; | |
9771 | } | |
9772 | ||
9773 | ||
9774 | SWIGINTERN PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9775 | PyObject *resultobj = 0; | |
9776 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9777 | PyObject *arg2 = (PyObject *) 0 ; | |
9778 | PyObject *arg3 = (PyObject *) 0 ; | |
9779 | void *argp1 = 0 ; | |
9780 | int res1 = 0 ; | |
9781 | PyObject * obj0 = 0 ; | |
9782 | PyObject * obj1 = 0 ; | |
9783 | PyObject * obj2 = 0 ; | |
9784 | char * kwnames[] = { | |
9785 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9786 | }; | |
9787 | ||
9788 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9789 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9790 | if (!SWIG_IsOK(res1)) { | |
9791 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9792 | } | |
9793 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9794 | arg2 = obj1; | |
9795 | arg3 = obj2; | |
9796 | { | |
9797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9798 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9799 | wxPyEndAllowThreads(__tstate); | |
9800 | if (PyErr_Occurred()) SWIG_fail; | |
9801 | } | |
9802 | resultobj = SWIG_Py_Void(); | |
9803 | return resultobj; | |
9804 | fail: | |
9805 | return NULL; | |
9806 | } | |
9807 | ||
9808 | ||
9809 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9810 | PyObject *resultobj = 0; | |
9811 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9812 | wxString *arg2 = 0 ; | |
9813 | bool result; | |
9814 | void *argp1 = 0 ; | |
9815 | int res1 = 0 ; | |
9816 | bool temp2 = false ; | |
9817 | PyObject * obj0 = 0 ; | |
9818 | PyObject * obj1 = 0 ; | |
9819 | char * kwnames[] = { | |
9820 | (char *) "self",(char *) "source", NULL | |
9821 | }; | |
9822 | ||
9823 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9824 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9825 | if (!SWIG_IsOK(res1)) { | |
9826 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9827 | } | |
9828 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9829 | { | |
9830 | arg2 = wxString_in_helper(obj1); | |
9831 | if (arg2 == NULL) SWIG_fail; | |
9832 | temp2 = true; | |
9833 | } | |
9834 | { | |
9835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9836 | result = (bool)(arg1)->SetPage((wxString const &)*arg2); | |
9837 | wxPyEndAllowThreads(__tstate); | |
9838 | if (PyErr_Occurred()) SWIG_fail; | |
9839 | } | |
9840 | { | |
9841 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9842 | } | |
9843 | { | |
9844 | if (temp2) | |
9845 | delete arg2; | |
9846 | } | |
9847 | return resultobj; | |
9848 | fail: | |
9849 | { | |
9850 | if (temp2) | |
9851 | delete arg2; | |
9852 | } | |
9853 | return NULL; | |
9854 | } | |
9855 | ||
9856 | ||
9857 | SWIGINTERN PyObject *_wrap_HtmlWindow_LoadPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9858 | PyObject *resultobj = 0; | |
9859 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9860 | wxString *arg2 = 0 ; | |
9861 | bool result; | |
9862 | void *argp1 = 0 ; | |
9863 | int res1 = 0 ; | |
9864 | bool temp2 = false ; | |
9865 | PyObject * obj0 = 0 ; | |
9866 | PyObject * obj1 = 0 ; | |
9867 | char * kwnames[] = { | |
9868 | (char *) "self",(char *) "location", NULL | |
9869 | }; | |
9870 | ||
9871 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9872 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9873 | if (!SWIG_IsOK(res1)) { | |
9874 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9875 | } | |
9876 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9877 | { | |
9878 | arg2 = wxString_in_helper(obj1); | |
9879 | if (arg2 == NULL) SWIG_fail; | |
9880 | temp2 = true; | |
9881 | } | |
9882 | { | |
9883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9884 | result = (bool)(arg1)->LoadPage((wxString const &)*arg2); | |
9885 | wxPyEndAllowThreads(__tstate); | |
9886 | if (PyErr_Occurred()) SWIG_fail; | |
9887 | } | |
9888 | { | |
9889 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9890 | } | |
9891 | { | |
9892 | if (temp2) | |
9893 | delete arg2; | |
9894 | } | |
9895 | return resultobj; | |
9896 | fail: | |
9897 | { | |
9898 | if (temp2) | |
9899 | delete arg2; | |
9900 | } | |
9901 | return NULL; | |
9902 | } | |
9903 | ||
9904 | ||
9905 | SWIGINTERN PyObject *_wrap_HtmlWindow_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9906 | PyObject *resultobj = 0; | |
9907 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9908 | wxString *arg2 = 0 ; | |
9909 | bool result; | |
9910 | void *argp1 = 0 ; | |
9911 | int res1 = 0 ; | |
9912 | bool temp2 = false ; | |
9913 | PyObject * obj0 = 0 ; | |
9914 | PyObject * obj1 = 0 ; | |
9915 | char * kwnames[] = { | |
9916 | (char *) "self",(char *) "filename", NULL | |
9917 | }; | |
9918 | ||
9919 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
9920 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9921 | if (!SWIG_IsOK(res1)) { | |
9922 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9923 | } | |
9924 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9925 | { | |
9926 | arg2 = wxString_in_helper(obj1); | |
9927 | if (arg2 == NULL) SWIG_fail; | |
9928 | temp2 = true; | |
9929 | } | |
9930 | { | |
9931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9932 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
9933 | wxPyEndAllowThreads(__tstate); | |
9934 | if (PyErr_Occurred()) SWIG_fail; | |
9935 | } | |
9936 | { | |
9937 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9938 | } | |
9939 | { | |
9940 | if (temp2) | |
9941 | delete arg2; | |
9942 | } | |
9943 | return resultobj; | |
9944 | fail: | |
9945 | { | |
9946 | if (temp2) | |
9947 | delete arg2; | |
9948 | } | |
9949 | return NULL; | |
9950 | } | |
9951 | ||
9952 | ||
9953 | SWIGINTERN PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9954 | PyObject *resultobj = 0; | |
9955 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9956 | wxString *arg2 = 0 ; | |
9957 | bool result; | |
9958 | void *argp1 = 0 ; | |
9959 | int res1 = 0 ; | |
9960 | bool temp2 = false ; | |
9961 | PyObject * obj0 = 0 ; | |
9962 | PyObject * obj1 = 0 ; | |
9963 | char * kwnames[] = { | |
9964 | (char *) "self",(char *) "source", NULL | |
9965 | }; | |
9966 | ||
9967 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9968 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9969 | if (!SWIG_IsOK(res1)) { | |
9970 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9971 | } | |
9972 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9973 | { | |
9974 | arg2 = wxString_in_helper(obj1); | |
9975 | if (arg2 == NULL) SWIG_fail; | |
9976 | temp2 = true; | |
9977 | } | |
9978 | { | |
9979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9980 | result = (bool)(arg1)->AppendToPage((wxString const &)*arg2); | |
9981 | wxPyEndAllowThreads(__tstate); | |
9982 | if (PyErr_Occurred()) SWIG_fail; | |
9983 | } | |
9984 | { | |
9985 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9986 | } | |
9987 | { | |
9988 | if (temp2) | |
9989 | delete arg2; | |
9990 | } | |
9991 | return resultobj; | |
9992 | fail: | |
9993 | { | |
9994 | if (temp2) | |
9995 | delete arg2; | |
9996 | } | |
9997 | return NULL; | |
d14a1e28 RD |
9998 | } |
9999 | ||
10000 | ||
554f62e9 RD |
10001 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10002 | PyObject *resultobj = 0; | |
10003 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10004 | wxString result; | |
10005 | void *argp1 = 0 ; | |
10006 | int res1 = 0 ; | |
10007 | PyObject *swig_obj[1] ; | |
10008 | ||
10009 | if (!args) SWIG_fail; | |
10010 | swig_obj[0] = args; | |
10011 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10012 | if (!SWIG_IsOK(res1)) { | |
10013 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10014 | } | |
10015 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10016 | { | |
10017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10018 | result = (arg1)->GetOpenedPage(); | |
10019 | wxPyEndAllowThreads(__tstate); | |
10020 | if (PyErr_Occurred()) SWIG_fail; | |
10021 | } | |
10022 | { | |
10023 | #if wxUSE_UNICODE | |
10024 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10025 | #else | |
10026 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10027 | #endif | |
10028 | } | |
10029 | return resultobj; | |
10030 | fail: | |
10031 | return NULL; | |
d14a1e28 RD |
10032 | } |
10033 | ||
10034 | ||
554f62e9 RD |
10035 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10036 | PyObject *resultobj = 0; | |
10037 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10038 | wxString result; | |
10039 | void *argp1 = 0 ; | |
10040 | int res1 = 0 ; | |
10041 | PyObject *swig_obj[1] ; | |
10042 | ||
10043 | if (!args) SWIG_fail; | |
10044 | swig_obj[0] = args; | |
10045 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10046 | if (!SWIG_IsOK(res1)) { | |
10047 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10048 | } | |
10049 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10050 | { | |
10051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10052 | result = (arg1)->GetOpenedAnchor(); | |
10053 | wxPyEndAllowThreads(__tstate); | |
10054 | if (PyErr_Occurred()) SWIG_fail; | |
10055 | } | |
10056 | { | |
10057 | #if wxUSE_UNICODE | |
10058 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10059 | #else | |
10060 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10061 | #endif | |
10062 | } | |
10063 | return resultobj; | |
10064 | fail: | |
10065 | return NULL; | |
d14a1e28 RD |
10066 | } |
10067 | ||
10068 | ||
554f62e9 RD |
10069 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10070 | PyObject *resultobj = 0; | |
10071 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10072 | wxString result; | |
10073 | void *argp1 = 0 ; | |
10074 | int res1 = 0 ; | |
10075 | PyObject *swig_obj[1] ; | |
10076 | ||
10077 | if (!args) SWIG_fail; | |
10078 | swig_obj[0] = args; | |
10079 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10080 | if (!SWIG_IsOK(res1)) { | |
10081 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10082 | } | |
10083 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10084 | { | |
10085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10086 | result = (arg1)->GetOpenedPageTitle(); | |
10087 | wxPyEndAllowThreads(__tstate); | |
10088 | if (PyErr_Occurred()) SWIG_fail; | |
10089 | } | |
10090 | { | |
10091 | #if wxUSE_UNICODE | |
10092 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10093 | #else | |
10094 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10095 | #endif | |
10096 | } | |
10097 | return resultobj; | |
10098 | fail: | |
10099 | return NULL; | |
10100 | } | |
10101 | ||
10102 | ||
10103 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10104 | PyObject *resultobj = 0; | |
10105 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10106 | wxFrame *arg2 = (wxFrame *) 0 ; | |
10107 | wxString *arg3 = 0 ; | |
10108 | void *argp1 = 0 ; | |
10109 | int res1 = 0 ; | |
10110 | void *argp2 = 0 ; | |
10111 | int res2 = 0 ; | |
10112 | bool temp3 = false ; | |
10113 | PyObject * obj0 = 0 ; | |
10114 | PyObject * obj1 = 0 ; | |
10115 | PyObject * obj2 = 0 ; | |
10116 | char * kwnames[] = { | |
10117 | (char *) "self",(char *) "frame",(char *) "format", NULL | |
10118 | }; | |
10119 | ||
10120 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10121 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10122 | if (!SWIG_IsOK(res1)) { | |
10123 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10124 | } | |
10125 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10126 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 ); | |
10127 | if (!SWIG_IsOK(res2)) { | |
10128 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'"); | |
10129 | } | |
10130 | arg2 = reinterpret_cast< wxFrame * >(argp2); | |
10131 | { | |
10132 | arg3 = wxString_in_helper(obj2); | |
10133 | if (arg3 == NULL) SWIG_fail; | |
10134 | temp3 = true; | |
10135 | } | |
10136 | { | |
10137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10138 | (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3); | |
10139 | wxPyEndAllowThreads(__tstate); | |
10140 | if (PyErr_Occurred()) SWIG_fail; | |
10141 | } | |
10142 | resultobj = SWIG_Py_Void(); | |
10143 | { | |
10144 | if (temp3) | |
10145 | delete arg3; | |
10146 | } | |
10147 | return resultobj; | |
10148 | fail: | |
10149 | { | |
10150 | if (temp3) | |
10151 | delete arg3; | |
10152 | } | |
10153 | return NULL; | |
d14a1e28 RD |
10154 | } |
10155 | ||
10156 | ||
554f62e9 RD |
10157 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10158 | PyObject *resultobj = 0; | |
10159 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10160 | wxFrame *result = 0 ; | |
10161 | void *argp1 = 0 ; | |
10162 | int res1 = 0 ; | |
10163 | PyObject *swig_obj[1] ; | |
10164 | ||
10165 | if (!args) SWIG_fail; | |
10166 | swig_obj[0] = args; | |
10167 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10168 | if (!SWIG_IsOK(res1)) { | |
10169 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10170 | } | |
10171 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10172 | { | |
10173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10174 | result = (wxFrame *)(arg1)->GetRelatedFrame(); | |
10175 | wxPyEndAllowThreads(__tstate); | |
10176 | if (PyErr_Occurred()) SWIG_fail; | |
10177 | } | |
10178 | { | |
10179 | resultobj = wxPyMake_wxObject(result, 0); | |
10180 | } | |
10181 | return resultobj; | |
10182 | fail: | |
10183 | return NULL; | |
10184 | } | |
10185 | ||
10186 | ||
10187 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10188 | PyObject *resultobj = 0; | |
10189 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10190 | int arg2 ; | |
10191 | void *argp1 = 0 ; | |
10192 | int res1 = 0 ; | |
10193 | int val2 ; | |
10194 | int ecode2 = 0 ; | |
10195 | PyObject * obj0 = 0 ; | |
10196 | PyObject * obj1 = 0 ; | |
10197 | char * kwnames[] = { | |
10198 | (char *) "self",(char *) "bar", NULL | |
10199 | }; | |
10200 | ||
10201 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) SWIG_fail; | |
10202 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10203 | if (!SWIG_IsOK(res1)) { | |
10204 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10205 | } | |
10206 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10207 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10208 | if (!SWIG_IsOK(ecode2)) { | |
10209 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'"); | |
10210 | } | |
10211 | arg2 = static_cast< int >(val2); | |
10212 | { | |
10213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10214 | (arg1)->SetRelatedStatusBar(arg2); | |
10215 | wxPyEndAllowThreads(__tstate); | |
10216 | if (PyErr_Occurred()) SWIG_fail; | |
10217 | } | |
10218 | resultobj = SWIG_Py_Void(); | |
10219 | return resultobj; | |
10220 | fail: | |
10221 | return NULL; | |
10222 | } | |
10223 | ||
10224 | ||
10225 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10226 | PyObject *resultobj = 0; | |
10227 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10228 | wxString arg2 ; | |
10229 | wxString arg3 ; | |
10230 | PyObject *arg4 = (PyObject *) NULL ; | |
10231 | void *argp1 = 0 ; | |
10232 | int res1 = 0 ; | |
10233 | PyObject * obj0 = 0 ; | |
10234 | PyObject * obj1 = 0 ; | |
10235 | PyObject * obj2 = 0 ; | |
10236 | PyObject * obj3 = 0 ; | |
10237 | char * kwnames[] = { | |
10238 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
10239 | }; | |
10240 | ||
10241 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
10242 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10243 | if (!SWIG_IsOK(res1)) { | |
10244 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10245 | } | |
10246 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10247 | { | |
10248 | wxString* sptr = wxString_in_helper(obj1); | |
10249 | if (sptr == NULL) SWIG_fail; | |
10250 | arg2 = *sptr; | |
10251 | delete sptr; | |
10252 | } | |
10253 | { | |
10254 | wxString* sptr = wxString_in_helper(obj2); | |
10255 | if (sptr == NULL) SWIG_fail; | |
10256 | arg3 = *sptr; | |
10257 | delete sptr; | |
10258 | } | |
10259 | if (obj3) { | |
10260 | arg4 = obj3; | |
10261 | } | |
10262 | { | |
10263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10264 | wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4); | |
10265 | wxPyEndAllowThreads(__tstate); | |
10266 | if (PyErr_Occurred()) SWIG_fail; | |
10267 | } | |
10268 | resultobj = SWIG_Py_Void(); | |
10269 | return resultobj; | |
10270 | fail: | |
10271 | return NULL; | |
10272 | } | |
10273 | ||
10274 | ||
10275 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10276 | PyObject *resultobj = 0; | |
10277 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10278 | int arg2 = (int) -1 ; | |
10279 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10280 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10281 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
10282 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
10283 | void *argp1 = 0 ; | |
10284 | int res1 = 0 ; | |
10285 | int val2 ; | |
10286 | int ecode2 = 0 ; | |
10287 | bool temp3 = false ; | |
10288 | bool temp4 = false ; | |
10289 | PyObject * obj0 = 0 ; | |
10290 | PyObject * obj1 = 0 ; | |
10291 | PyObject * obj2 = 0 ; | |
10292 | PyObject * obj3 = 0 ; | |
10293 | char * kwnames[] = { | |
10294 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
10295 | }; | |
10296 | ||
10297 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
10298 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10299 | if (!SWIG_IsOK(res1)) { | |
10300 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10301 | } | |
10302 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10303 | if (obj1) { | |
10304 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10305 | if (!SWIG_IsOK(ecode2)) { | |
10306 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
10307 | } | |
10308 | arg2 = static_cast< int >(val2); | |
10309 | } | |
10310 | if (obj2) { | |
093d3ff1 | 10311 | { |
554f62e9 RD |
10312 | arg3 = wxString_in_helper(obj2); |
10313 | if (arg3 == NULL) SWIG_fail; | |
10314 | temp3 = true; | |
093d3ff1 | 10315 | } |
554f62e9 RD |
10316 | } |
10317 | if (obj3) { | |
d14a1e28 | 10318 | { |
554f62e9 RD |
10319 | arg4 = wxString_in_helper(obj3); |
10320 | if (arg4 == NULL) SWIG_fail; | |
10321 | temp4 = true; | |
093d3ff1 | 10322 | } |
554f62e9 RD |
10323 | } |
10324 | { | |
10325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10326 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
10327 | wxPyEndAllowThreads(__tstate); | |
10328 | if (PyErr_Occurred()) SWIG_fail; | |
10329 | } | |
10330 | resultobj = SWIG_Py_Void(); | |
10331 | { | |
10332 | if (temp3) | |
10333 | delete arg3; | |
10334 | } | |
10335 | { | |
10336 | if (temp4) | |
10337 | delete arg4; | |
10338 | } | |
10339 | return resultobj; | |
10340 | fail: | |
10341 | { | |
10342 | if (temp3) | |
10343 | delete arg3; | |
10344 | } | |
10345 | { | |
10346 | if (temp4) | |
10347 | delete arg4; | |
10348 | } | |
10349 | return NULL; | |
10350 | } | |
10351 | ||
10352 | ||
10353 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetBorders(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10354 | PyObject *resultobj = 0; | |
10355 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10356 | int arg2 ; | |
10357 | void *argp1 = 0 ; | |
10358 | int res1 = 0 ; | |
10359 | int val2 ; | |
10360 | int ecode2 = 0 ; | |
10361 | PyObject * obj0 = 0 ; | |
10362 | PyObject * obj1 = 0 ; | |
10363 | char * kwnames[] = { | |
10364 | (char *) "self",(char *) "b", NULL | |
10365 | }; | |
10366 | ||
10367 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) SWIG_fail; | |
10368 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10369 | if (!SWIG_IsOK(res1)) { | |
10370 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10371 | } | |
10372 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10373 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10374 | if (!SWIG_IsOK(ecode2)) { | |
10375 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'"); | |
10376 | } | |
10377 | arg2 = static_cast< int >(val2); | |
10378 | { | |
10379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10380 | (arg1)->SetBorders(arg2); | |
10381 | wxPyEndAllowThreads(__tstate); | |
10382 | if (PyErr_Occurred()) SWIG_fail; | |
10383 | } | |
10384 | resultobj = SWIG_Py_Void(); | |
10385 | return resultobj; | |
10386 | fail: | |
10387 | return NULL; | |
10388 | } | |
10389 | ||
10390 | ||
10391 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10392 | PyObject *resultobj = 0; | |
10393 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10394 | wxBitmap *arg2 = 0 ; | |
10395 | void *argp1 = 0 ; | |
10396 | int res1 = 0 ; | |
10397 | void *argp2 = 0 ; | |
10398 | int res2 = 0 ; | |
10399 | PyObject * obj0 = 0 ; | |
10400 | PyObject * obj1 = 0 ; | |
10401 | char * kwnames[] = { | |
10402 | (char *) "self",(char *) "bmpBg", NULL | |
10403 | }; | |
10404 | ||
10405 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail; | |
10406 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10407 | if (!SWIG_IsOK(res1)) { | |
10408 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10409 | } | |
10410 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10411 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); | |
10412 | if (!SWIG_IsOK(res2)) { | |
10413 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
10414 | } | |
10415 | if (!argp2) { | |
10416 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
10417 | } | |
10418 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
10419 | { | |
10420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10421 | (arg1)->SetBackgroundImage((wxBitmap const &)*arg2); | |
10422 | wxPyEndAllowThreads(__tstate); | |
10423 | if (PyErr_Occurred()) SWIG_fail; | |
10424 | } | |
10425 | resultobj = SWIG_Py_Void(); | |
10426 | return resultobj; | |
10427 | fail: | |
10428 | return NULL; | |
10429 | } | |
10430 | ||
10431 | ||
10432 | SWIGINTERN PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10433 | PyObject *resultobj = 0; | |
10434 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10435 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10436 | wxString arg3 = (wxString) wxPyEmptyString ; | |
10437 | void *argp1 = 0 ; | |
10438 | int res1 = 0 ; | |
10439 | void *argp2 = 0 ; | |
10440 | int res2 = 0 ; | |
10441 | PyObject * obj0 = 0 ; | |
10442 | PyObject * obj1 = 0 ; | |
10443 | PyObject * obj2 = 0 ; | |
10444 | char * kwnames[] = { | |
10445 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10446 | }; | |
10447 | ||
10448 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10449 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10450 | if (!SWIG_IsOK(res1)) { | |
10451 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10452 | } | |
10453 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10454 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
10455 | if (!SWIG_IsOK(res2)) { | |
10456 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
10457 | } | |
10458 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
10459 | if (obj2) { | |
093d3ff1 | 10460 | { |
554f62e9 RD |
10461 | wxString* sptr = wxString_in_helper(obj2); |
10462 | if (sptr == NULL) SWIG_fail; | |
10463 | arg3 = *sptr; | |
10464 | delete sptr; | |
d14a1e28 | 10465 | } |
554f62e9 RD |
10466 | } |
10467 | { | |
10468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10469 | (arg1)->ReadCustomization(arg2,arg3); | |
10470 | wxPyEndAllowThreads(__tstate); | |
10471 | if (PyErr_Occurred()) SWIG_fail; | |
10472 | } | |
10473 | resultobj = SWIG_Py_Void(); | |
10474 | return resultobj; | |
10475 | fail: | |
10476 | return NULL; | |
10477 | } | |
10478 | ||
10479 | ||
10480 | SWIGINTERN PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10481 | PyObject *resultobj = 0; | |
10482 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10483 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10484 | wxString arg3 = (wxString) wxPyEmptyString ; | |
10485 | void *argp1 = 0 ; | |
10486 | int res1 = 0 ; | |
10487 | void *argp2 = 0 ; | |
10488 | int res2 = 0 ; | |
10489 | PyObject * obj0 = 0 ; | |
10490 | PyObject * obj1 = 0 ; | |
10491 | PyObject * obj2 = 0 ; | |
10492 | char * kwnames[] = { | |
10493 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10494 | }; | |
10495 | ||
10496 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10497 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10498 | if (!SWIG_IsOK(res1)) { | |
10499 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10500 | } | |
10501 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10502 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
10503 | if (!SWIG_IsOK(res2)) { | |
10504 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
10505 | } | |
10506 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
10507 | if (obj2) { | |
d14a1e28 | 10508 | { |
554f62e9 RD |
10509 | wxString* sptr = wxString_in_helper(obj2); |
10510 | if (sptr == NULL) SWIG_fail; | |
10511 | arg3 = *sptr; | |
10512 | delete sptr; | |
d14a1e28 | 10513 | } |
554f62e9 RD |
10514 | } |
10515 | { | |
10516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10517 | (arg1)->WriteCustomization(arg2,arg3); | |
10518 | wxPyEndAllowThreads(__tstate); | |
10519 | if (PyErr_Occurred()) SWIG_fail; | |
10520 | } | |
10521 | resultobj = SWIG_Py_Void(); | |
10522 | return resultobj; | |
10523 | fail: | |
10524 | return NULL; | |
d14a1e28 RD |
10525 | } |
10526 | ||
10527 | ||
554f62e9 RD |
10528 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10529 | PyObject *resultobj = 0; | |
10530 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10531 | bool result; | |
10532 | void *argp1 = 0 ; | |
10533 | int res1 = 0 ; | |
10534 | PyObject *swig_obj[1] ; | |
10535 | ||
10536 | if (!args) SWIG_fail; | |
10537 | swig_obj[0] = args; | |
10538 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10539 | if (!SWIG_IsOK(res1)) { | |
10540 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10541 | } | |
10542 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10543 | { | |
10544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10545 | result = (bool)(arg1)->HistoryBack(); | |
10546 | wxPyEndAllowThreads(__tstate); | |
10547 | if (PyErr_Occurred()) SWIG_fail; | |
10548 | } | |
10549 | { | |
10550 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10551 | } | |
10552 | return resultobj; | |
10553 | fail: | |
10554 | return NULL; | |
d14a1e28 RD |
10555 | } |
10556 | ||
10557 | ||
554f62e9 RD |
10558 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10559 | PyObject *resultobj = 0; | |
10560 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10561 | bool result; | |
10562 | void *argp1 = 0 ; | |
10563 | int res1 = 0 ; | |
10564 | PyObject *swig_obj[1] ; | |
10565 | ||
10566 | if (!args) SWIG_fail; | |
10567 | swig_obj[0] = args; | |
10568 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10569 | if (!SWIG_IsOK(res1)) { | |
10570 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10571 | } | |
10572 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10573 | { | |
10574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10575 | result = (bool)(arg1)->HistoryForward(); | |
10576 | wxPyEndAllowThreads(__tstate); | |
10577 | if (PyErr_Occurred()) SWIG_fail; | |
10578 | } | |
10579 | { | |
10580 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10581 | } | |
10582 | return resultobj; | |
10583 | fail: | |
10584 | return NULL; | |
d14a1e28 RD |
10585 | } |
10586 | ||
10587 | ||
554f62e9 RD |
10588 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10589 | PyObject *resultobj = 0; | |
10590 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10591 | bool result; | |
10592 | void *argp1 = 0 ; | |
10593 | int res1 = 0 ; | |
10594 | PyObject *swig_obj[1] ; | |
10595 | ||
10596 | if (!args) SWIG_fail; | |
10597 | swig_obj[0] = args; | |
10598 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10599 | if (!SWIG_IsOK(res1)) { | |
10600 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10601 | } | |
10602 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10603 | { | |
10604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10605 | result = (bool)(arg1)->HistoryCanBack(); | |
10606 | wxPyEndAllowThreads(__tstate); | |
10607 | if (PyErr_Occurred()) SWIG_fail; | |
10608 | } | |
10609 | { | |
10610 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10611 | } | |
10612 | return resultobj; | |
10613 | fail: | |
10614 | return NULL; | |
d14a1e28 RD |
10615 | } |
10616 | ||
10617 | ||
554f62e9 RD |
10618 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10619 | PyObject *resultobj = 0; | |
10620 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10621 | bool result; | |
10622 | void *argp1 = 0 ; | |
10623 | int res1 = 0 ; | |
10624 | PyObject *swig_obj[1] ; | |
10625 | ||
10626 | if (!args) SWIG_fail; | |
10627 | swig_obj[0] = args; | |
10628 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10629 | if (!SWIG_IsOK(res1)) { | |
10630 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10631 | } | |
10632 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10633 | { | |
10634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10635 | result = (bool)(arg1)->HistoryCanForward(); | |
10636 | wxPyEndAllowThreads(__tstate); | |
10637 | if (PyErr_Occurred()) SWIG_fail; | |
10638 | } | |
10639 | { | |
10640 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10641 | } | |
10642 | return resultobj; | |
10643 | fail: | |
10644 | return NULL; | |
d14a1e28 RD |
10645 | } |
10646 | ||
10647 | ||
554f62e9 RD |
10648 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10649 | PyObject *resultobj = 0; | |
10650 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10651 | void *argp1 = 0 ; | |
10652 | int res1 = 0 ; | |
10653 | PyObject *swig_obj[1] ; | |
10654 | ||
10655 | if (!args) SWIG_fail; | |
10656 | swig_obj[0] = args; | |
10657 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10658 | if (!SWIG_IsOK(res1)) { | |
10659 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10660 | } | |
10661 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10662 | { | |
10663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10664 | (arg1)->HistoryClear(); | |
10665 | wxPyEndAllowThreads(__tstate); | |
10666 | if (PyErr_Occurred()) SWIG_fail; | |
10667 | } | |
10668 | resultobj = SWIG_Py_Void(); | |
10669 | return resultobj; | |
10670 | fail: | |
10671 | return NULL; | |
d14a1e28 RD |
10672 | } |
10673 | ||
10674 | ||
554f62e9 RD |
10675 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10676 | PyObject *resultobj = 0; | |
10677 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10678 | wxHtmlContainerCell *result = 0 ; | |
10679 | void *argp1 = 0 ; | |
10680 | int res1 = 0 ; | |
10681 | PyObject *swig_obj[1] ; | |
10682 | ||
10683 | if (!args) SWIG_fail; | |
10684 | swig_obj[0] = args; | |
10685 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10686 | if (!SWIG_IsOK(res1)) { | |
10687 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10688 | } | |
10689 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10690 | { | |
10691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10692 | result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation(); | |
10693 | wxPyEndAllowThreads(__tstate); | |
10694 | if (PyErr_Occurred()) SWIG_fail; | |
10695 | } | |
10696 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
10697 | return resultobj; | |
10698 | fail: | |
10699 | return NULL; | |
d14a1e28 RD |
10700 | } |
10701 | ||
10702 | ||
554f62e9 RD |
10703 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10704 | PyObject *resultobj = 0; | |
10705 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10706 | wxHtmlWinParser *result = 0 ; | |
10707 | void *argp1 = 0 ; | |
10708 | int res1 = 0 ; | |
10709 | PyObject *swig_obj[1] ; | |
10710 | ||
10711 | if (!args) SWIG_fail; | |
10712 | swig_obj[0] = args; | |
10713 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10714 | if (!SWIG_IsOK(res1)) { | |
10715 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10716 | } | |
10717 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10718 | { | |
10719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10720 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
10721 | wxPyEndAllowThreads(__tstate); | |
10722 | if (PyErr_Occurred()) SWIG_fail; | |
10723 | } | |
10724 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
10725 | return resultobj; | |
10726 | fail: | |
10727 | return NULL; | |
10728 | } | |
10729 | ||
10730 | ||
10731 | SWIGINTERN PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10732 | PyObject *resultobj = 0; | |
10733 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10734 | wxString *arg2 = 0 ; | |
10735 | bool result; | |
10736 | void *argp1 = 0 ; | |
10737 | int res1 = 0 ; | |
10738 | bool temp2 = false ; | |
10739 | PyObject * obj0 = 0 ; | |
10740 | PyObject * obj1 = 0 ; | |
10741 | char * kwnames[] = { | |
10742 | (char *) "self",(char *) "anchor", NULL | |
10743 | }; | |
10744 | ||
10745 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) SWIG_fail; | |
10746 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10747 | if (!SWIG_IsOK(res1)) { | |
10748 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10749 | } | |
10750 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10751 | { | |
10752 | arg2 = wxString_in_helper(obj1); | |
10753 | if (arg2 == NULL) SWIG_fail; | |
10754 | temp2 = true; | |
10755 | } | |
10756 | { | |
10757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10758 | result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2); | |
10759 | wxPyEndAllowThreads(__tstate); | |
10760 | if (PyErr_Occurred()) SWIG_fail; | |
10761 | } | |
10762 | { | |
10763 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10764 | } | |
10765 | { | |
10766 | if (temp2) | |
10767 | delete arg2; | |
10768 | } | |
10769 | return resultobj; | |
10770 | fail: | |
10771 | { | |
10772 | if (temp2) | |
10773 | delete arg2; | |
10774 | } | |
10775 | return NULL; | |
10776 | } | |
10777 | ||
10778 | ||
10779 | SWIGINTERN PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10780 | PyObject *resultobj = 0; | |
10781 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10782 | wxString *arg2 = 0 ; | |
10783 | bool result; | |
10784 | void *argp1 = 0 ; | |
10785 | int res1 = 0 ; | |
10786 | bool temp2 = false ; | |
10787 | PyObject * obj0 = 0 ; | |
10788 | PyObject * obj1 = 0 ; | |
10789 | char * kwnames[] = { | |
10790 | (char *) "self",(char *) "anchor", NULL | |
10791 | }; | |
10792 | ||
10793 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) SWIG_fail; | |
10794 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10795 | if (!SWIG_IsOK(res1)) { | |
10796 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10797 | } | |
10798 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10799 | { | |
10800 | arg2 = wxString_in_helper(obj1); | |
10801 | if (arg2 == NULL) SWIG_fail; | |
10802 | temp2 = true; | |
10803 | } | |
10804 | { | |
10805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10806 | result = (bool)(arg1)->HasAnchor((wxString const &)*arg2); | |
10807 | wxPyEndAllowThreads(__tstate); | |
10808 | if (PyErr_Occurred()) SWIG_fail; | |
10809 | } | |
10810 | { | |
10811 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10812 | } | |
10813 | { | |
10814 | if (temp2) | |
10815 | delete arg2; | |
10816 | } | |
10817 | return resultobj; | |
10818 | fail: | |
10819 | { | |
10820 | if (temp2) | |
10821 | delete arg2; | |
10822 | } | |
10823 | return NULL; | |
d14a1e28 RD |
10824 | } |
10825 | ||
10826 | ||
554f62e9 RD |
10827 | SWIGINTERN PyObject *_wrap_HtmlWindow_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10828 | PyObject *resultobj = 0; | |
10829 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
10830 | void *argp1 = 0 ; | |
10831 | int res1 = 0 ; | |
10832 | PyObject * obj0 = 0 ; | |
10833 | char * kwnames[] = { | |
10834 | (char *) "filter", NULL | |
10835 | }; | |
10836 | ||
10837 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) SWIG_fail; | |
10838 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 ); | |
10839 | if (!SWIG_IsOK(res1)) { | |
10840 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'"); | |
10841 | } | |
10842 | arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1); | |
10843 | { | |
10844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10845 | wxPyHtmlWindow::AddFilter(arg1); | |
10846 | wxPyEndAllowThreads(__tstate); | |
10847 | if (PyErr_Occurred()) SWIG_fail; | |
10848 | } | |
10849 | resultobj = SWIG_Py_Void(); | |
10850 | return resultobj; | |
10851 | fail: | |
10852 | return NULL; | |
10853 | } | |
10854 | ||
10855 | ||
10856 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10857 | PyObject *resultobj = 0; | |
10858 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10859 | wxPoint *arg2 = 0 ; | |
10860 | void *argp1 = 0 ; | |
10861 | int res1 = 0 ; | |
10862 | wxPoint temp2 ; | |
10863 | PyObject * obj0 = 0 ; | |
10864 | PyObject * obj1 = 0 ; | |
10865 | char * kwnames[] = { | |
10866 | (char *) "self",(char *) "pos", NULL | |
10867 | }; | |
10868 | ||
10869 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail; | |
10870 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10871 | if (!SWIG_IsOK(res1)) { | |
10872 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10873 | } | |
10874 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10875 | { | |
10876 | arg2 = &temp2; | |
10877 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10878 | } | |
10879 | { | |
10880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10881 | (arg1)->SelectWord((wxPoint const &)*arg2); | |
10882 | wxPyEndAllowThreads(__tstate); | |
10883 | if (PyErr_Occurred()) SWIG_fail; | |
10884 | } | |
10885 | resultobj = SWIG_Py_Void(); | |
10886 | return resultobj; | |
10887 | fail: | |
10888 | return NULL; | |
10889 | } | |
10890 | ||
10891 | ||
10892 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10893 | PyObject *resultobj = 0; | |
10894 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10895 | wxPoint *arg2 = 0 ; | |
10896 | void *argp1 = 0 ; | |
10897 | int res1 = 0 ; | |
10898 | wxPoint temp2 ; | |
10899 | PyObject * obj0 = 0 ; | |
10900 | PyObject * obj1 = 0 ; | |
10901 | char * kwnames[] = { | |
10902 | (char *) "self",(char *) "pos", NULL | |
10903 | }; | |
10904 | ||
10905 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) SWIG_fail; | |
10906 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10907 | if (!SWIG_IsOK(res1)) { | |
10908 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10909 | } | |
10910 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10911 | { | |
10912 | arg2 = &temp2; | |
10913 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10914 | } | |
10915 | { | |
10916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10917 | (arg1)->SelectLine((wxPoint const &)*arg2); | |
10918 | wxPyEndAllowThreads(__tstate); | |
10919 | if (PyErr_Occurred()) SWIG_fail; | |
10920 | } | |
10921 | resultobj = SWIG_Py_Void(); | |
10922 | return resultobj; | |
10923 | fail: | |
10924 | return NULL; | |
d14a1e28 RD |
10925 | } |
10926 | ||
10927 | ||
554f62e9 RD |
10928 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10929 | PyObject *resultobj = 0; | |
10930 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10931 | void *argp1 = 0 ; | |
10932 | int res1 = 0 ; | |
10933 | PyObject *swig_obj[1] ; | |
10934 | ||
10935 | if (!args) SWIG_fail; | |
10936 | swig_obj[0] = args; | |
10937 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10938 | if (!SWIG_IsOK(res1)) { | |
10939 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10940 | } | |
10941 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10942 | { | |
10943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10944 | (arg1)->SelectAll(); | |
10945 | wxPyEndAllowThreads(__tstate); | |
10946 | if (PyErr_Occurred()) SWIG_fail; | |
10947 | } | |
10948 | resultobj = SWIG_Py_Void(); | |
10949 | return resultobj; | |
10950 | fail: | |
10951 | return NULL; | |
d14a1e28 RD |
10952 | } |
10953 | ||
10954 | ||
554f62e9 RD |
10955 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10956 | PyObject *resultobj = 0; | |
10957 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10958 | wxString result; | |
10959 | void *argp1 = 0 ; | |
10960 | int res1 = 0 ; | |
10961 | PyObject *swig_obj[1] ; | |
10962 | ||
10963 | if (!args) SWIG_fail; | |
10964 | swig_obj[0] = args; | |
10965 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10966 | if (!SWIG_IsOK(res1)) { | |
10967 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10968 | } | |
10969 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10970 | { | |
10971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10972 | result = (arg1)->SelectionToText(); | |
10973 | wxPyEndAllowThreads(__tstate); | |
10974 | if (PyErr_Occurred()) SWIG_fail; | |
10975 | } | |
10976 | { | |
10977 | #if wxUSE_UNICODE | |
10978 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10979 | #else | |
10980 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10981 | #endif | |
10982 | } | |
10983 | return resultobj; | |
10984 | fail: | |
10985 | return NULL; | |
d14a1e28 RD |
10986 | } |
10987 | ||
10988 | ||
554f62e9 RD |
10989 | SWIGINTERN PyObject *_wrap_HtmlWindow_ToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10990 | PyObject *resultobj = 0; | |
10991 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10992 | wxString result; | |
10993 | void *argp1 = 0 ; | |
10994 | int res1 = 0 ; | |
10995 | PyObject *swig_obj[1] ; | |
10996 | ||
10997 | if (!args) SWIG_fail; | |
10998 | swig_obj[0] = args; | |
10999 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11000 | if (!SWIG_IsOK(res1)) { | |
11001 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11002 | } | |
11003 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11004 | { | |
11005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11006 | result = (arg1)->ToText(); | |
11007 | wxPyEndAllowThreads(__tstate); | |
11008 | if (PyErr_Occurred()) SWIG_fail; | |
11009 | } | |
11010 | { | |
d14a1e28 | 11011 | #if wxUSE_UNICODE |
554f62e9 | 11012 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 11013 | #else |
554f62e9 | 11014 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 11015 | #endif |
554f62e9 RD |
11016 | } |
11017 | return resultobj; | |
11018 | fail: | |
11019 | return NULL; | |
11020 | } | |
11021 | ||
11022 | ||
11023 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11024 | PyObject *resultobj = 0; | |
11025 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11026 | wxHtmlLinkInfo *arg2 = 0 ; | |
11027 | void *argp1 = 0 ; | |
11028 | int res1 = 0 ; | |
11029 | void *argp2 = 0 ; | |
11030 | int res2 = 0 ; | |
11031 | PyObject * obj0 = 0 ; | |
11032 | PyObject * obj1 = 0 ; | |
11033 | char * kwnames[] = { | |
11034 | (char *) "self",(char *) "link", NULL | |
11035 | }; | |
11036 | ||
11037 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail; | |
11038 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11039 | if (!SWIG_IsOK(res1)) { | |
11040 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11041 | } | |
11042 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11043 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0); | |
11044 | if (!SWIG_IsOK(res2)) { | |
11045 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
11046 | } | |
11047 | if (!argp2) { | |
11048 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
11049 | } | |
11050 | arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2); | |
11051 | { | |
11052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11053 | (arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2); | |
11054 | wxPyEndAllowThreads(__tstate); | |
11055 | if (PyErr_Occurred()) SWIG_fail; | |
11056 | } | |
11057 | resultobj = SWIG_Py_Void(); | |
11058 | return resultobj; | |
11059 | fail: | |
11060 | return NULL; | |
11061 | } | |
11062 | ||
11063 | ||
11064 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11065 | PyObject *resultobj = 0; | |
11066 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11067 | wxString *arg2 = 0 ; | |
11068 | void *argp1 = 0 ; | |
11069 | int res1 = 0 ; | |
11070 | bool temp2 = false ; | |
11071 | PyObject * obj0 = 0 ; | |
11072 | PyObject * obj1 = 0 ; | |
11073 | char * kwnames[] = { | |
11074 | (char *) "self",(char *) "title", NULL | |
11075 | }; | |
11076 | ||
11077 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) SWIG_fail; | |
11078 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11079 | if (!SWIG_IsOK(res1)) { | |
11080 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11081 | } | |
11082 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11083 | { | |
11084 | arg2 = wxString_in_helper(obj1); | |
11085 | if (arg2 == NULL) SWIG_fail; | |
11086 | temp2 = true; | |
11087 | } | |
11088 | { | |
11089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11090 | (arg1)->OnSetTitle((wxString const &)*arg2); | |
11091 | wxPyEndAllowThreads(__tstate); | |
11092 | if (PyErr_Occurred()) SWIG_fail; | |
11093 | } | |
11094 | resultobj = SWIG_Py_Void(); | |
11095 | { | |
11096 | if (temp2) | |
11097 | delete arg2; | |
11098 | } | |
11099 | return resultobj; | |
11100 | fail: | |
11101 | { | |
11102 | if (temp2) | |
11103 | delete arg2; | |
11104 | } | |
11105 | return NULL; | |
11106 | } | |
11107 | ||
11108 | ||
11109 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11110 | PyObject *resultobj = 0; | |
11111 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11112 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
11113 | int arg3 ; | |
11114 | int arg4 ; | |
11115 | void *argp1 = 0 ; | |
11116 | int res1 = 0 ; | |
11117 | void *argp2 = 0 ; | |
11118 | int res2 = 0 ; | |
11119 | int val3 ; | |
11120 | int ecode3 = 0 ; | |
11121 | int val4 ; | |
11122 | int ecode4 = 0 ; | |
11123 | PyObject * obj0 = 0 ; | |
11124 | PyObject * obj1 = 0 ; | |
11125 | PyObject * obj2 = 0 ; | |
11126 | PyObject * obj3 = 0 ; | |
11127 | char * kwnames[] = { | |
11128 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL | |
11129 | }; | |
11130 | ||
11131 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11132 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11133 | if (!SWIG_IsOK(res1)) { | |
11134 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11135 | } | |
11136 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11137 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
11138 | if (!SWIG_IsOK(res2)) { | |
11139 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
11140 | } | |
11141 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
11142 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11143 | if (!SWIG_IsOK(ecode3)) { | |
11144 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'"); | |
11145 | } | |
11146 | arg3 = static_cast< int >(val3); | |
11147 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11148 | if (!SWIG_IsOK(ecode4)) { | |
11149 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'"); | |
11150 | } | |
11151 | arg4 = static_cast< int >(val4); | |
11152 | { | |
11153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11154 | (arg1)->OnCellMouseHover(arg2,arg3,arg4); | |
11155 | wxPyEndAllowThreads(__tstate); | |
11156 | if (PyErr_Occurred()) SWIG_fail; | |
11157 | } | |
11158 | resultobj = SWIG_Py_Void(); | |
11159 | return resultobj; | |
11160 | fail: | |
11161 | return NULL; | |
11162 | } | |
11163 | ||
11164 | ||
11165 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11166 | PyObject *resultobj = 0; | |
11167 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11168 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
11169 | int arg3 ; | |
11170 | int arg4 ; | |
11171 | wxMouseEvent *arg5 = 0 ; | |
e9d6f3a4 | 11172 | bool result; |
554f62e9 RD |
11173 | void *argp1 = 0 ; |
11174 | int res1 = 0 ; | |
11175 | void *argp2 = 0 ; | |
11176 | int res2 = 0 ; | |
11177 | int val3 ; | |
11178 | int ecode3 = 0 ; | |
11179 | int val4 ; | |
11180 | int ecode4 = 0 ; | |
11181 | void *argp5 = 0 ; | |
11182 | int res5 = 0 ; | |
11183 | PyObject * obj0 = 0 ; | |
11184 | PyObject * obj1 = 0 ; | |
11185 | PyObject * obj2 = 0 ; | |
11186 | PyObject * obj3 = 0 ; | |
11187 | PyObject * obj4 = 0 ; | |
11188 | char * kwnames[] = { | |
11189 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL | |
11190 | }; | |
11191 | ||
11192 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
11193 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11194 | if (!SWIG_IsOK(res1)) { | |
11195 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11196 | } | |
11197 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11198 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
11199 | if (!SWIG_IsOK(res2)) { | |
11200 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
11201 | } | |
11202 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
11203 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11204 | if (!SWIG_IsOK(ecode3)) { | |
11205 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'"); | |
11206 | } | |
11207 | arg3 = static_cast< int >(val3); | |
11208 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11209 | if (!SWIG_IsOK(ecode4)) { | |
11210 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'"); | |
11211 | } | |
11212 | arg4 = static_cast< int >(val4); | |
11213 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0); | |
11214 | if (!SWIG_IsOK(res5)) { | |
11215 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); | |
11216 | } | |
11217 | if (!argp5) { | |
11218 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); | |
11219 | } | |
11220 | arg5 = reinterpret_cast< wxMouseEvent * >(argp5); | |
11221 | { | |
11222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e9d6f3a4 | 11223 | result = (bool)(arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5); |
554f62e9 RD |
11224 | wxPyEndAllowThreads(__tstate); |
11225 | if (PyErr_Occurred()) SWIG_fail; | |
11226 | } | |
e9d6f3a4 RD |
11227 | { |
11228 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11229 | } | |
11230 | return resultobj; | |
11231 | fail: | |
11232 | return NULL; | |
11233 | } | |
11234 | ||
11235 | ||
11236 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnOpeningURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11237 | PyObject *resultobj = 0; | |
11238 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11239 | wxHtmlURLType arg2 ; | |
11240 | wxString *arg3 = 0 ; | |
11241 | wxString *arg4 = (wxString *) 0 ; | |
11242 | wxHtmlOpeningStatus result; | |
11243 | void *argp1 = 0 ; | |
11244 | int res1 = 0 ; | |
11245 | int val2 ; | |
11246 | int ecode2 = 0 ; | |
11247 | bool temp3 = false ; | |
11248 | bool temp4 = false ; | |
11249 | PyObject * obj0 = 0 ; | |
11250 | PyObject * obj1 = 0 ; | |
11251 | PyObject * obj2 = 0 ; | |
11252 | PyObject * obj3 = 0 ; | |
11253 | char * kwnames[] = { | |
11254 | (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL | |
11255 | }; | |
11256 | ||
11257 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11258 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11259 | if (!SWIG_IsOK(res1)) { | |
11260 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'"); | |
11261 | } | |
11262 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11263 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11264 | if (!SWIG_IsOK(ecode2)) { | |
11265 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'"); | |
11266 | } | |
11267 | arg2 = static_cast< wxHtmlURLType >(val2); | |
11268 | { | |
11269 | arg3 = wxString_in_helper(obj2); | |
11270 | if (arg3 == NULL) SWIG_fail; | |
11271 | temp3 = true; | |
11272 | } | |
11273 | { | |
11274 | arg4 = wxString_in_helper(obj3); | |
11275 | if (arg4 == NULL) SWIG_fail; | |
11276 | temp4 = true; | |
11277 | } | |
11278 | { | |
11279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11280 | result = (wxHtmlOpeningStatus)((wxPyHtmlWindow const *)arg1)->OnOpeningURL(arg2,(wxString const &)*arg3,arg4); | |
11281 | wxPyEndAllowThreads(__tstate); | |
11282 | if (PyErr_Occurred()) SWIG_fail; | |
11283 | } | |
11284 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11285 | { | |
11286 | if (temp3) | |
11287 | delete arg3; | |
11288 | } | |
11289 | { | |
11290 | if (temp4) | |
11291 | delete arg4; | |
11292 | } | |
554f62e9 RD |
11293 | return resultobj; |
11294 | fail: | |
e9d6f3a4 RD |
11295 | { |
11296 | if (temp3) | |
11297 | delete arg3; | |
11298 | } | |
11299 | { | |
11300 | if (temp4) | |
11301 | delete arg4; | |
11302 | } | |
554f62e9 RD |
11303 | return NULL; |
11304 | } | |
11305 | ||
11306 | ||
11307 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11308 | PyObject *resultobj = 0; | |
11309 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; | |
11310 | SwigValueWrapper<wxVisualAttributes > result; | |
11311 | int val1 ; | |
11312 | int ecode1 = 0 ; | |
11313 | PyObject * obj0 = 0 ; | |
11314 | char * kwnames[] = { | |
11315 | (char *) "variant", NULL | |
11316 | }; | |
11317 | ||
11318 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail; | |
11319 | if (obj0) { | |
11320 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11321 | if (!SWIG_IsOK(ecode1)) { | |
11322 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); | |
11323 | } | |
11324 | arg1 = static_cast< wxWindowVariant >(val1); | |
11325 | } | |
11326 | { | |
11327 | if (!wxPyCheckForApp()) SWIG_fail; | |
11328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11329 | result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1); | |
11330 | wxPyEndAllowThreads(__tstate); | |
11331 | if (PyErr_Occurred()) SWIG_fail; | |
11332 | } | |
11333 | resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 ); | |
11334 | return resultobj; | |
11335 | fail: | |
11336 | return NULL; | |
d14a1e28 RD |
11337 | } |
11338 | ||
11339 | ||
e9d6f3a4 RD |
11340 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11341 | PyObject *resultobj = 0; | |
11342 | wxPyHtmlWindow::HTMLCursor arg1 ; | |
11343 | wxCursor result; | |
11344 | int val1 ; | |
11345 | int ecode1 = 0 ; | |
11346 | PyObject * obj0 = 0 ; | |
11347 | char * kwnames[] = { | |
11348 | (char *) "type", NULL | |
11349 | }; | |
11350 | ||
11351 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames,&obj0)) SWIG_fail; | |
11352 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11353 | if (!SWIG_IsOK(ecode1)) { | |
11354 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'"); | |
11355 | } | |
11356 | arg1 = static_cast< wxPyHtmlWindow::HTMLCursor >(val1); | |
11357 | { | |
11358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11359 | result = wxPyHtmlWindow::GetDefaultHTMLCursor(arg1); | |
11360 | wxPyEndAllowThreads(__tstate); | |
11361 | if (PyErr_Occurred()) SWIG_fail; | |
11362 | } | |
11363 | resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 ); | |
11364 | return resultobj; | |
11365 | fail: | |
11366 | return NULL; | |
11367 | } | |
11368 | ||
11369 | ||
554f62e9 RD |
11370 | SWIGINTERN PyObject *HtmlWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11371 | PyObject *obj; | |
11372 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11373 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow, SWIG_NewClientData(obj)); | |
11374 | return SWIG_Py_Void(); | |
b1fcee84 RD |
11375 | } |
11376 | ||
554f62e9 RD |
11377 | SWIGINTERN PyObject *HtmlWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11378 | return SWIG_Python_InitShadowInstance(args); | |
b1fcee84 RD |
11379 | } |
11380 | ||
554f62e9 RD |
11381 | SWIGINTERN PyObject *_wrap_new_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11382 | PyObject *resultobj = 0; | |
11383 | wxHtmlDCRenderer *result = 0 ; | |
11384 | ||
11385 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlDCRenderer",0,0,0)) SWIG_fail; | |
11386 | { | |
11387 | if (!wxPyCheckForApp()) SWIG_fail; | |
11388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11389 | result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer(); | |
11390 | wxPyEndAllowThreads(__tstate); | |
11391 | if (PyErr_Occurred()) SWIG_fail; | |
11392 | } | |
11393 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_NEW | 0 ); | |
11394 | return resultobj; | |
11395 | fail: | |
11396 | return NULL; | |
b1fcee84 RD |
11397 | } |
11398 | ||
11399 | ||
554f62e9 RD |
11400 | SWIGINTERN PyObject *_wrap_delete_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11401 | PyObject *resultobj = 0; | |
11402 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11403 | void *argp1 = 0 ; | |
11404 | int res1 = 0 ; | |
11405 | PyObject *swig_obj[1] ; | |
11406 | ||
11407 | if (!args) SWIG_fail; | |
11408 | swig_obj[0] = args; | |
11409 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_DISOWN | 0 ); | |
11410 | if (!SWIG_IsOK(res1)) { | |
11411 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11412 | } | |
11413 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11414 | { | |
11415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11416 | delete arg1; | |
d14a1e28 | 11417 | |
554f62e9 RD |
11418 | wxPyEndAllowThreads(__tstate); |
11419 | if (PyErr_Occurred()) SWIG_fail; | |
11420 | } | |
11421 | resultobj = SWIG_Py_Void(); | |
11422 | return resultobj; | |
11423 | fail: | |
11424 | return NULL; | |
11425 | } | |
11426 | ||
11427 | ||
11428 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11429 | PyObject *resultobj = 0; | |
11430 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11431 | wxDC *arg2 = (wxDC *) 0 ; | |
11432 | int arg3 ; | |
11433 | void *argp1 = 0 ; | |
11434 | int res1 = 0 ; | |
11435 | void *argp2 = 0 ; | |
11436 | int res2 = 0 ; | |
11437 | int val3 ; | |
11438 | int ecode3 = 0 ; | |
11439 | PyObject * obj0 = 0 ; | |
11440 | PyObject * obj1 = 0 ; | |
11441 | PyObject * obj2 = 0 ; | |
11442 | char * kwnames[] = { | |
11443 | (char *) "self",(char *) "dc",(char *) "maxwidth", NULL | |
11444 | }; | |
11445 | ||
11446 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
11447 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11448 | if (!SWIG_IsOK(res1)) { | |
11449 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11450 | } | |
11451 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11452 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); | |
11453 | if (!SWIG_IsOK(res2)) { | |
11454 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); | |
11455 | } | |
11456 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
11457 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11458 | if (!SWIG_IsOK(ecode3)) { | |
11459 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'"); | |
11460 | } | |
11461 | arg3 = static_cast< int >(val3); | |
11462 | { | |
11463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11464 | (arg1)->SetDC(arg2,arg3); | |
11465 | wxPyEndAllowThreads(__tstate); | |
11466 | if (PyErr_Occurred()) SWIG_fail; | |
11467 | } | |
11468 | resultobj = SWIG_Py_Void(); | |
11469 | return resultobj; | |
11470 | fail: | |
11471 | return NULL; | |
11472 | } | |
11473 | ||
11474 | ||
11475 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11476 | PyObject *resultobj = 0; | |
11477 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11478 | int arg2 ; | |
11479 | int arg3 ; | |
11480 | void *argp1 = 0 ; | |
11481 | int res1 = 0 ; | |
11482 | int val2 ; | |
11483 | int ecode2 = 0 ; | |
11484 | int val3 ; | |
11485 | int ecode3 = 0 ; | |
11486 | PyObject * obj0 = 0 ; | |
11487 | PyObject * obj1 = 0 ; | |
11488 | PyObject * obj2 = 0 ; | |
11489 | char * kwnames[] = { | |
11490 | (char *) "self",(char *) "width",(char *) "height", NULL | |
11491 | }; | |
11492 | ||
11493 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
11494 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11495 | if (!SWIG_IsOK(res1)) { | |
11496 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11497 | } | |
11498 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11499 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11500 | if (!SWIG_IsOK(ecode2)) { | |
11501 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'"); | |
11502 | } | |
11503 | arg2 = static_cast< int >(val2); | |
11504 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11505 | if (!SWIG_IsOK(ecode3)) { | |
11506 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'"); | |
11507 | } | |
11508 | arg3 = static_cast< int >(val3); | |
11509 | { | |
11510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11511 | (arg1)->SetSize(arg2,arg3); | |
11512 | wxPyEndAllowThreads(__tstate); | |
11513 | if (PyErr_Occurred()) SWIG_fail; | |
11514 | } | |
11515 | resultobj = SWIG_Py_Void(); | |
11516 | return resultobj; | |
11517 | fail: | |
11518 | return NULL; | |
11519 | } | |
11520 | ||
11521 | ||
11522 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11523 | PyObject *resultobj = 0; | |
11524 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11525 | wxString *arg2 = 0 ; | |
11526 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11527 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11528 | bool arg4 = (bool) true ; | |
11529 | void *argp1 = 0 ; | |
11530 | int res1 = 0 ; | |
11531 | bool temp2 = false ; | |
11532 | bool temp3 = false ; | |
11533 | bool val4 ; | |
11534 | int ecode4 = 0 ; | |
11535 | PyObject * obj0 = 0 ; | |
11536 | PyObject * obj1 = 0 ; | |
11537 | PyObject * obj2 = 0 ; | |
11538 | PyObject * obj3 = 0 ; | |
11539 | char * kwnames[] = { | |
11540 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
11541 | }; | |
11542 | ||
11543 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11544 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11545 | if (!SWIG_IsOK(res1)) { | |
11546 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11547 | } | |
11548 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11549 | { | |
11550 | arg2 = wxString_in_helper(obj1); | |
11551 | if (arg2 == NULL) SWIG_fail; | |
11552 | temp2 = true; | |
11553 | } | |
11554 | if (obj2) { | |
d14a1e28 | 11555 | { |
554f62e9 RD |
11556 | arg3 = wxString_in_helper(obj2); |
11557 | if (arg3 == NULL) SWIG_fail; | |
11558 | temp3 = true; | |
d14a1e28 | 11559 | } |
554f62e9 RD |
11560 | } |
11561 | if (obj3) { | |
11562 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
11563 | if (!SWIG_IsOK(ecode4)) { | |
11564 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'"); | |
11565 | } | |
11566 | arg4 = static_cast< bool >(val4); | |
11567 | } | |
11568 | { | |
11569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11570 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
11571 | wxPyEndAllowThreads(__tstate); | |
11572 | if (PyErr_Occurred()) SWIG_fail; | |
11573 | } | |
11574 | resultobj = SWIG_Py_Void(); | |
11575 | { | |
11576 | if (temp2) | |
11577 | delete arg2; | |
11578 | } | |
11579 | { | |
11580 | if (temp3) | |
11581 | delete arg3; | |
11582 | } | |
11583 | return resultobj; | |
11584 | fail: | |
11585 | { | |
11586 | if (temp2) | |
11587 | delete arg2; | |
11588 | } | |
11589 | { | |
11590 | if (temp3) | |
11591 | delete arg3; | |
11592 | } | |
11593 | return NULL; | |
11594 | } | |
11595 | ||
11596 | ||
11597 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11598 | PyObject *resultobj = 0; | |
11599 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11600 | wxString arg2 ; | |
11601 | wxString arg3 ; | |
11602 | PyObject *arg4 = (PyObject *) NULL ; | |
11603 | void *argp1 = 0 ; | |
11604 | int res1 = 0 ; | |
11605 | PyObject * obj0 = 0 ; | |
11606 | PyObject * obj1 = 0 ; | |
11607 | PyObject * obj2 = 0 ; | |
11608 | PyObject * obj3 = 0 ; | |
11609 | char * kwnames[] = { | |
11610 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
11611 | }; | |
11612 | ||
11613 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11614 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11615 | if (!SWIG_IsOK(res1)) { | |
11616 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11617 | } | |
11618 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11619 | { | |
11620 | wxString* sptr = wxString_in_helper(obj1); | |
11621 | if (sptr == NULL) SWIG_fail; | |
11622 | arg2 = *sptr; | |
11623 | delete sptr; | |
11624 | } | |
11625 | { | |
11626 | wxString* sptr = wxString_in_helper(obj2); | |
11627 | if (sptr == NULL) SWIG_fail; | |
11628 | arg3 = *sptr; | |
11629 | delete sptr; | |
11630 | } | |
11631 | if (obj3) { | |
11632 | arg4 = obj3; | |
11633 | } | |
11634 | { | |
11635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11636 | wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4); | |
11637 | wxPyEndAllowThreads(__tstate); | |
11638 | if (PyErr_Occurred()) SWIG_fail; | |
11639 | } | |
11640 | resultobj = SWIG_Py_Void(); | |
11641 | return resultobj; | |
11642 | fail: | |
11643 | return NULL; | |
11644 | } | |
11645 | ||
11646 | ||
11647 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11648 | PyObject *resultobj = 0; | |
11649 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11650 | int arg2 = (int) -1 ; | |
11651 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11652 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11653 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
11654 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
11655 | void *argp1 = 0 ; | |
11656 | int res1 = 0 ; | |
11657 | int val2 ; | |
11658 | int ecode2 = 0 ; | |
11659 | bool temp3 = false ; | |
11660 | bool temp4 = false ; | |
11661 | PyObject * obj0 = 0 ; | |
11662 | PyObject * obj1 = 0 ; | |
11663 | PyObject * obj2 = 0 ; | |
11664 | PyObject * obj3 = 0 ; | |
11665 | char * kwnames[] = { | |
11666 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
11667 | }; | |
11668 | ||
11669 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11670 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11671 | if (!SWIG_IsOK(res1)) { | |
11672 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11673 | } | |
11674 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11675 | if (obj1) { | |
11676 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11677 | if (!SWIG_IsOK(ecode2)) { | |
11678 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
11679 | } | |
11680 | arg2 = static_cast< int >(val2); | |
11681 | } | |
11682 | if (obj2) { | |
d14a1e28 | 11683 | { |
554f62e9 RD |
11684 | arg3 = wxString_in_helper(obj2); |
11685 | if (arg3 == NULL) SWIG_fail; | |
11686 | temp3 = true; | |
d14a1e28 | 11687 | } |
554f62e9 RD |
11688 | } |
11689 | if (obj3) { | |
093d3ff1 | 11690 | { |
554f62e9 RD |
11691 | arg4 = wxString_in_helper(obj3); |
11692 | if (arg4 == NULL) SWIG_fail; | |
11693 | temp4 = true; | |
093d3ff1 | 11694 | } |
554f62e9 RD |
11695 | } |
11696 | { | |
11697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11698 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
11699 | wxPyEndAllowThreads(__tstate); | |
11700 | if (PyErr_Occurred()) SWIG_fail; | |
11701 | } | |
11702 | resultobj = SWIG_Py_Void(); | |
11703 | { | |
11704 | if (temp3) | |
11705 | delete arg3; | |
11706 | } | |
11707 | { | |
11708 | if (temp4) | |
11709 | delete arg4; | |
11710 | } | |
11711 | return resultobj; | |
11712 | fail: | |
11713 | { | |
11714 | if (temp3) | |
11715 | delete arg3; | |
11716 | } | |
11717 | { | |
11718 | if (temp4) | |
11719 | delete arg4; | |
11720 | } | |
11721 | return NULL; | |
11722 | } | |
11723 | ||
11724 | ||
11725 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_Render(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11726 | PyObject *resultobj = 0; | |
11727 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11728 | int arg2 ; | |
11729 | int arg3 ; | |
704eda0c RD |
11730 | wxArrayInt *arg4 = 0 ; |
11731 | int arg5 = (int) 0 ; | |
11732 | int arg6 = (int) FALSE ; | |
11733 | int arg7 = (int) INT_MAX ; | |
554f62e9 RD |
11734 | int result; |
11735 | void *argp1 = 0 ; | |
11736 | int res1 = 0 ; | |
11737 | int val2 ; | |
11738 | int ecode2 = 0 ; | |
11739 | int val3 ; | |
11740 | int ecode3 = 0 ; | |
704eda0c | 11741 | bool temp4 = false ; |
554f62e9 RD |
11742 | int val5 ; |
11743 | int ecode5 = 0 ; | |
11744 | int val6 ; | |
11745 | int ecode6 = 0 ; | |
704eda0c RD |
11746 | int val7 ; |
11747 | int ecode7 = 0 ; | |
554f62e9 RD |
11748 | PyObject * obj0 = 0 ; |
11749 | PyObject * obj1 = 0 ; | |
11750 | PyObject * obj2 = 0 ; | |
11751 | PyObject * obj3 = 0 ; | |
11752 | PyObject * obj4 = 0 ; | |
11753 | PyObject * obj5 = 0 ; | |
11754 | PyObject * obj6 = 0 ; | |
554f62e9 | 11755 | char * kwnames[] = { |
704eda0c | 11756 | (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL |
554f62e9 RD |
11757 | }; |
11758 | ||
704eda0c | 11759 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
554f62e9 RD |
11760 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); |
11761 | if (!SWIG_IsOK(res1)) { | |
11762 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11763 | } | |
11764 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11765 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11766 | if (!SWIG_IsOK(ecode2)) { | |
11767 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'"); | |
11768 | } | |
11769 | arg2 = static_cast< int >(val2); | |
11770 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11771 | if (!SWIG_IsOK(ecode3)) { | |
11772 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'"); | |
11773 | } | |
11774 | arg3 = static_cast< int >(val3); | |
704eda0c RD |
11775 | { |
11776 | if (! PySequence_Check(obj3)) { | |
11777 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
11778 | SWIG_fail; | |
11779 | } | |
11780 | arg4 = new wxArrayInt; | |
11781 | temp4 = true; | |
11782 | int i, len=PySequence_Length(obj3); | |
11783 | for (i=0; i<len; i++) { | |
11784 | PyObject* item = PySequence_GetItem(obj3, i); | |
11785 | PyObject* number = PyNumber_Int(item); | |
11786 | arg4->Add(PyInt_AS_LONG(number)); | |
11787 | Py_DECREF(item); | |
11788 | Py_DECREF(number); | |
11789 | } | |
554f62e9 RD |
11790 | } |
11791 | if (obj4) { | |
11792 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
11793 | if (!SWIG_IsOK(ecode5)) { | |
11794 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'"); | |
11795 | } | |
11796 | arg5 = static_cast< int >(val5); | |
11797 | } | |
11798 | if (obj5) { | |
11799 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
11800 | if (!SWIG_IsOK(ecode6)) { | |
11801 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'"); | |
11802 | } | |
11803 | arg6 = static_cast< int >(val6); | |
11804 | } | |
11805 | if (obj6) { | |
704eda0c RD |
11806 | ecode7 = SWIG_AsVal_int(obj6, &val7); |
11807 | if (!SWIG_IsOK(ecode7)) { | |
11808 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'"); | |
554f62e9 | 11809 | } |
704eda0c | 11810 | arg7 = static_cast< int >(val7); |
554f62e9 RD |
11811 | } |
11812 | { | |
11813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
704eda0c | 11814 | result = (int)(arg1)->Render(arg2,arg3,*arg4,arg5,arg6,arg7); |
554f62e9 RD |
11815 | wxPyEndAllowThreads(__tstate); |
11816 | if (PyErr_Occurred()) SWIG_fail; | |
11817 | } | |
11818 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
704eda0c RD |
11819 | { |
11820 | if (temp4) delete arg4; | |
11821 | } | |
554f62e9 RD |
11822 | return resultobj; |
11823 | fail: | |
704eda0c RD |
11824 | { |
11825 | if (temp4) delete arg4; | |
11826 | } | |
554f62e9 | 11827 | return NULL; |
d14a1e28 RD |
11828 | } |
11829 | ||
11830 | ||
554f62e9 RD |
11831 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11832 | PyObject *resultobj = 0; | |
11833 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11834 | int result; | |
11835 | void *argp1 = 0 ; | |
11836 | int res1 = 0 ; | |
11837 | PyObject *swig_obj[1] ; | |
11838 | ||
11839 | if (!args) SWIG_fail; | |
11840 | swig_obj[0] = args; | |
11841 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11842 | if (!SWIG_IsOK(res1)) { | |
11843 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11844 | } | |
11845 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11846 | { | |
11847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11848 | result = (int)(arg1)->GetTotalHeight(); | |
11849 | wxPyEndAllowThreads(__tstate); | |
11850 | if (PyErr_Occurred()) SWIG_fail; | |
11851 | } | |
11852 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11853 | return resultobj; | |
11854 | fail: | |
11855 | return NULL; | |
d14a1e28 RD |
11856 | } |
11857 | ||
11858 | ||
554f62e9 RD |
11859 | SWIGINTERN PyObject *HtmlDCRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11860 | PyObject *obj; | |
11861 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11862 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer, SWIG_NewClientData(obj)); | |
11863 | return SWIG_Py_Void(); | |
d14a1e28 RD |
11864 | } |
11865 | ||
554f62e9 RD |
11866 | SWIGINTERN PyObject *HtmlDCRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11867 | return SWIG_Python_InitShadowInstance(args); | |
11868 | } | |
d14a1e28 | 11869 | |
554f62e9 RD |
11870 | SWIGINTERN PyObject *_wrap_new_HtmlPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11871 | PyObject *resultobj = 0; | |
11872 | wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; | |
11873 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
11874 | wxHtmlPrintout *result = 0 ; | |
11875 | bool temp1 = false ; | |
11876 | PyObject * obj0 = 0 ; | |
11877 | char * kwnames[] = { | |
11878 | (char *) "title", NULL | |
11879 | }; | |
11880 | ||
11881 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) SWIG_fail; | |
11882 | if (obj0) { | |
d14a1e28 | 11883 | { |
554f62e9 RD |
11884 | arg1 = wxString_in_helper(obj0); |
11885 | if (arg1 == NULL) SWIG_fail; | |
11886 | temp1 = true; | |
d14a1e28 | 11887 | } |
554f62e9 RD |
11888 | } |
11889 | { | |
11890 | if (!wxPyCheckForApp()) SWIG_fail; | |
11891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11892 | result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1); | |
11893 | wxPyEndAllowThreads(__tstate); | |
11894 | if (PyErr_Occurred()) SWIG_fail; | |
11895 | } | |
11896 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_NEW | 0 ); | |
11897 | { | |
11898 | if (temp1) | |
11899 | delete arg1; | |
11900 | } | |
11901 | return resultobj; | |
11902 | fail: | |
11903 | { | |
11904 | if (temp1) | |
11905 | delete arg1; | |
11906 | } | |
11907 | return NULL; | |
11908 | } | |
11909 | ||
11910 | ||
11911 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11912 | PyObject *resultobj = 0; | |
11913 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
11914 | wxString *arg2 = 0 ; | |
11915 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11916 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11917 | bool arg4 = (bool) true ; | |
11918 | void *argp1 = 0 ; | |
11919 | int res1 = 0 ; | |
11920 | bool temp2 = false ; | |
11921 | bool temp3 = false ; | |
11922 | bool val4 ; | |
11923 | int ecode4 = 0 ; | |
11924 | PyObject * obj0 = 0 ; | |
11925 | PyObject * obj1 = 0 ; | |
11926 | PyObject * obj2 = 0 ; | |
11927 | PyObject * obj3 = 0 ; | |
11928 | char * kwnames[] = { | |
11929 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
11930 | }; | |
11931 | ||
11932 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11933 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
11934 | if (!SWIG_IsOK(res1)) { | |
11935 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
11936 | } | |
11937 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
11938 | { | |
11939 | arg2 = wxString_in_helper(obj1); | |
11940 | if (arg2 == NULL) SWIG_fail; | |
11941 | temp2 = true; | |
11942 | } | |
11943 | if (obj2) { | |
093d3ff1 | 11944 | { |
554f62e9 RD |
11945 | arg3 = wxString_in_helper(obj2); |
11946 | if (arg3 == NULL) SWIG_fail; | |
11947 | temp3 = true; | |
093d3ff1 | 11948 | } |
554f62e9 RD |
11949 | } |
11950 | if (obj3) { | |
11951 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
11952 | if (!SWIG_IsOK(ecode4)) { | |
11953 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'"); | |
11954 | } | |
11955 | arg4 = static_cast< bool >(val4); | |
11956 | } | |
11957 | { | |
11958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11959 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
11960 | wxPyEndAllowThreads(__tstate); | |
11961 | if (PyErr_Occurred()) SWIG_fail; | |
11962 | } | |
11963 | resultobj = SWIG_Py_Void(); | |
11964 | { | |
11965 | if (temp2) | |
11966 | delete arg2; | |
11967 | } | |
11968 | { | |
11969 | if (temp3) | |
11970 | delete arg3; | |
11971 | } | |
11972 | return resultobj; | |
11973 | fail: | |
11974 | { | |
11975 | if (temp2) | |
11976 | delete arg2; | |
11977 | } | |
11978 | { | |
11979 | if (temp3) | |
11980 | delete arg3; | |
11981 | } | |
11982 | return NULL; | |
d14a1e28 RD |
11983 | } |
11984 | ||
11985 | ||
554f62e9 RD |
11986 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11987 | PyObject *resultobj = 0; | |
11988 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
11989 | wxString *arg2 = 0 ; | |
11990 | void *argp1 = 0 ; | |
11991 | int res1 = 0 ; | |
11992 | bool temp2 = false ; | |
11993 | PyObject * obj0 = 0 ; | |
11994 | PyObject * obj1 = 0 ; | |
11995 | char * kwnames[] = { | |
11996 | (char *) "self",(char *) "htmlfile", NULL | |
11997 | }; | |
11998 | ||
11999 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
12000 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12001 | if (!SWIG_IsOK(res1)) { | |
12002 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12003 | } | |
12004 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12005 | { | |
12006 | arg2 = wxString_in_helper(obj1); | |
12007 | if (arg2 == NULL) SWIG_fail; | |
12008 | temp2 = true; | |
12009 | } | |
12010 | { | |
12011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12012 | (arg1)->SetHtmlFile((wxString const &)*arg2); | |
12013 | wxPyEndAllowThreads(__tstate); | |
12014 | if (PyErr_Occurred()) SWIG_fail; | |
12015 | } | |
12016 | resultobj = SWIG_Py_Void(); | |
12017 | { | |
12018 | if (temp2) | |
12019 | delete arg2; | |
12020 | } | |
12021 | return resultobj; | |
12022 | fail: | |
12023 | { | |
12024 | if (temp2) | |
12025 | delete arg2; | |
12026 | } | |
12027 | return NULL; | |
12028 | } | |
12029 | ||
12030 | ||
12031 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12032 | PyObject *resultobj = 0; | |
12033 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12034 | wxString *arg2 = 0 ; | |
12035 | int arg3 = (int) wxPAGE_ALL ; | |
12036 | void *argp1 = 0 ; | |
12037 | int res1 = 0 ; | |
12038 | bool temp2 = false ; | |
12039 | int val3 ; | |
12040 | int ecode3 = 0 ; | |
12041 | PyObject * obj0 = 0 ; | |
12042 | PyObject * obj1 = 0 ; | |
12043 | PyObject * obj2 = 0 ; | |
12044 | char * kwnames[] = { | |
12045 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
12046 | }; | |
12047 | ||
12048 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12049 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12050 | if (!SWIG_IsOK(res1)) { | |
12051 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12052 | } | |
12053 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12054 | { | |
12055 | arg2 = wxString_in_helper(obj1); | |
12056 | if (arg2 == NULL) SWIG_fail; | |
12057 | temp2 = true; | |
12058 | } | |
12059 | if (obj2) { | |
12060 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12061 | if (!SWIG_IsOK(ecode3)) { | |
12062 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'"); | |
12063 | } | |
12064 | arg3 = static_cast< int >(val3); | |
12065 | } | |
12066 | { | |
12067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12068 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
12069 | wxPyEndAllowThreads(__tstate); | |
12070 | if (PyErr_Occurred()) SWIG_fail; | |
12071 | } | |
12072 | resultobj = SWIG_Py_Void(); | |
12073 | { | |
12074 | if (temp2) | |
12075 | delete arg2; | |
12076 | } | |
12077 | return resultobj; | |
12078 | fail: | |
12079 | { | |
12080 | if (temp2) | |
12081 | delete arg2; | |
12082 | } | |
12083 | return NULL; | |
12084 | } | |
12085 | ||
12086 | ||
12087 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12088 | PyObject *resultobj = 0; | |
12089 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12090 | wxString *arg2 = 0 ; | |
12091 | int arg3 = (int) wxPAGE_ALL ; | |
12092 | void *argp1 = 0 ; | |
12093 | int res1 = 0 ; | |
12094 | bool temp2 = false ; | |
12095 | int val3 ; | |
12096 | int ecode3 = 0 ; | |
12097 | PyObject * obj0 = 0 ; | |
12098 | PyObject * obj1 = 0 ; | |
12099 | PyObject * obj2 = 0 ; | |
12100 | char * kwnames[] = { | |
12101 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
12102 | }; | |
12103 | ||
12104 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12105 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12106 | if (!SWIG_IsOK(res1)) { | |
12107 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12108 | } | |
12109 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12110 | { | |
12111 | arg2 = wxString_in_helper(obj1); | |
12112 | if (arg2 == NULL) SWIG_fail; | |
12113 | temp2 = true; | |
12114 | } | |
12115 | if (obj2) { | |
12116 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12117 | if (!SWIG_IsOK(ecode3)) { | |
12118 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'"); | |
12119 | } | |
12120 | arg3 = static_cast< int >(val3); | |
12121 | } | |
12122 | { | |
12123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12124 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
12125 | wxPyEndAllowThreads(__tstate); | |
12126 | if (PyErr_Occurred()) SWIG_fail; | |
12127 | } | |
12128 | resultobj = SWIG_Py_Void(); | |
12129 | { | |
12130 | if (temp2) | |
12131 | delete arg2; | |
12132 | } | |
12133 | return resultobj; | |
12134 | fail: | |
12135 | { | |
12136 | if (temp2) | |
12137 | delete arg2; | |
12138 | } | |
12139 | return NULL; | |
12140 | } | |
12141 | ||
12142 | ||
12143 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12144 | PyObject *resultobj = 0; | |
12145 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12146 | wxString arg2 ; | |
12147 | wxString arg3 ; | |
12148 | PyObject *arg4 = (PyObject *) NULL ; | |
12149 | void *argp1 = 0 ; | |
12150 | int res1 = 0 ; | |
12151 | PyObject * obj0 = 0 ; | |
12152 | PyObject * obj1 = 0 ; | |
12153 | PyObject * obj2 = 0 ; | |
12154 | PyObject * obj3 = 0 ; | |
12155 | char * kwnames[] = { | |
12156 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
12157 | }; | |
12158 | ||
12159 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12160 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12161 | if (!SWIG_IsOK(res1)) { | |
12162 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12163 | } | |
12164 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12165 | { | |
12166 | wxString* sptr = wxString_in_helper(obj1); | |
12167 | if (sptr == NULL) SWIG_fail; | |
12168 | arg2 = *sptr; | |
12169 | delete sptr; | |
12170 | } | |
12171 | { | |
12172 | wxString* sptr = wxString_in_helper(obj2); | |
12173 | if (sptr == NULL) SWIG_fail; | |
12174 | arg3 = *sptr; | |
12175 | delete sptr; | |
12176 | } | |
12177 | if (obj3) { | |
12178 | arg4 = obj3; | |
12179 | } | |
12180 | { | |
12181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12182 | wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4); | |
12183 | wxPyEndAllowThreads(__tstate); | |
12184 | if (PyErr_Occurred()) SWIG_fail; | |
12185 | } | |
12186 | resultobj = SWIG_Py_Void(); | |
12187 | return resultobj; | |
12188 | fail: | |
12189 | return NULL; | |
12190 | } | |
12191 | ||
12192 | ||
12193 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12194 | PyObject *resultobj = 0; | |
12195 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12196 | int arg2 = (int) -1 ; | |
12197 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12198 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12199 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12200 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12201 | void *argp1 = 0 ; | |
12202 | int res1 = 0 ; | |
12203 | int val2 ; | |
12204 | int ecode2 = 0 ; | |
12205 | bool temp3 = false ; | |
12206 | bool temp4 = false ; | |
12207 | PyObject * obj0 = 0 ; | |
12208 | PyObject * obj1 = 0 ; | |
12209 | PyObject * obj2 = 0 ; | |
12210 | PyObject * obj3 = 0 ; | |
12211 | char * kwnames[] = { | |
12212 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
12213 | }; | |
12214 | ||
12215 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12216 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12217 | if (!SWIG_IsOK(res1)) { | |
12218 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12219 | } | |
12220 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12221 | if (obj1) { | |
12222 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12223 | if (!SWIG_IsOK(ecode2)) { | |
12224 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
12225 | } | |
12226 | arg2 = static_cast< int >(val2); | |
12227 | } | |
12228 | if (obj2) { | |
12229 | { | |
12230 | arg3 = wxString_in_helper(obj2); | |
12231 | if (arg3 == NULL) SWIG_fail; | |
12232 | temp3 = true; | |
8edf1c75 | 12233 | } |
554f62e9 RD |
12234 | } |
12235 | if (obj3) { | |
d14a1e28 | 12236 | { |
554f62e9 RD |
12237 | arg4 = wxString_in_helper(obj3); |
12238 | if (arg4 == NULL) SWIG_fail; | |
12239 | temp4 = true; | |
d14a1e28 | 12240 | } |
554f62e9 RD |
12241 | } |
12242 | { | |
12243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12244 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
12245 | wxPyEndAllowThreads(__tstate); | |
12246 | if (PyErr_Occurred()) SWIG_fail; | |
12247 | } | |
12248 | resultobj = SWIG_Py_Void(); | |
12249 | { | |
12250 | if (temp3) | |
12251 | delete arg3; | |
12252 | } | |
12253 | { | |
12254 | if (temp4) | |
12255 | delete arg4; | |
12256 | } | |
12257 | return resultobj; | |
12258 | fail: | |
12259 | { | |
12260 | if (temp3) | |
12261 | delete arg3; | |
12262 | } | |
12263 | { | |
12264 | if (temp4) | |
12265 | delete arg4; | |
12266 | } | |
12267 | return NULL; | |
12268 | } | |
12269 | ||
12270 | ||
12271 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12272 | PyObject *resultobj = 0; | |
12273 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12274 | float arg2 = (float) 25.2 ; | |
12275 | float arg3 = (float) 25.2 ; | |
12276 | float arg4 = (float) 25.2 ; | |
12277 | float arg5 = (float) 25.2 ; | |
12278 | float arg6 = (float) 5 ; | |
12279 | void *argp1 = 0 ; | |
12280 | int res1 = 0 ; | |
12281 | float val2 ; | |
12282 | int ecode2 = 0 ; | |
12283 | float val3 ; | |
12284 | int ecode3 = 0 ; | |
12285 | float val4 ; | |
12286 | int ecode4 = 0 ; | |
12287 | float val5 ; | |
12288 | int ecode5 = 0 ; | |
12289 | float val6 ; | |
12290 | int ecode6 = 0 ; | |
12291 | PyObject * obj0 = 0 ; | |
12292 | PyObject * obj1 = 0 ; | |
12293 | PyObject * obj2 = 0 ; | |
12294 | PyObject * obj3 = 0 ; | |
12295 | PyObject * obj4 = 0 ; | |
12296 | PyObject * obj5 = 0 ; | |
12297 | char * kwnames[] = { | |
12298 | (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL | |
12299 | }; | |
12300 | ||
12301 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
12302 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12303 | if (!SWIG_IsOK(res1)) { | |
12304 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12305 | } | |
12306 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12307 | if (obj1) { | |
12308 | ecode2 = SWIG_AsVal_float(obj1, &val2); | |
12309 | if (!SWIG_IsOK(ecode2)) { | |
12310 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'"); | |
12311 | } | |
12312 | arg2 = static_cast< float >(val2); | |
12313 | } | |
12314 | if (obj2) { | |
12315 | ecode3 = SWIG_AsVal_float(obj2, &val3); | |
12316 | if (!SWIG_IsOK(ecode3)) { | |
12317 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'"); | |
12318 | } | |
12319 | arg3 = static_cast< float >(val3); | |
12320 | } | |
12321 | if (obj3) { | |
12322 | ecode4 = SWIG_AsVal_float(obj3, &val4); | |
12323 | if (!SWIG_IsOK(ecode4)) { | |
12324 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'"); | |
12325 | } | |
12326 | arg4 = static_cast< float >(val4); | |
12327 | } | |
12328 | if (obj4) { | |
12329 | ecode5 = SWIG_AsVal_float(obj4, &val5); | |
12330 | if (!SWIG_IsOK(ecode5)) { | |
12331 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'"); | |
12332 | } | |
12333 | arg5 = static_cast< float >(val5); | |
12334 | } | |
12335 | if (obj5) { | |
12336 | ecode6 = SWIG_AsVal_float(obj5, &val6); | |
12337 | if (!SWIG_IsOK(ecode6)) { | |
12338 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'"); | |
12339 | } | |
12340 | arg6 = static_cast< float >(val6); | |
12341 | } | |
12342 | { | |
12343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12344 | (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6); | |
12345 | wxPyEndAllowThreads(__tstate); | |
12346 | if (PyErr_Occurred()) SWIG_fail; | |
12347 | } | |
12348 | resultobj = SWIG_Py_Void(); | |
12349 | return resultobj; | |
12350 | fail: | |
12351 | return NULL; | |
d14a1e28 RD |
12352 | } |
12353 | ||
12354 | ||
554f62e9 RD |
12355 | SWIGINTERN PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12356 | PyObject *resultobj = 0; | |
12357 | wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; | |
12358 | void *argp1 = 0 ; | |
12359 | int res1 = 0 ; | |
12360 | PyObject * obj0 = 0 ; | |
12361 | char * kwnames[] = { | |
12362 | (char *) "filter", NULL | |
12363 | }; | |
12364 | ||
12365 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) SWIG_fail; | |
12366 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlFilter, 0 | 0 ); | |
12367 | if (!SWIG_IsOK(res1)) { | |
12368 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'"); | |
12369 | } | |
12370 | arg1 = reinterpret_cast< wxHtmlFilter * >(argp1); | |
12371 | { | |
12372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12373 | wxHtmlPrintout::AddFilter(arg1); | |
12374 | wxPyEndAllowThreads(__tstate); | |
12375 | if (PyErr_Occurred()) SWIG_fail; | |
12376 | } | |
12377 | resultobj = SWIG_Py_Void(); | |
12378 | return resultobj; | |
12379 | fail: | |
12380 | return NULL; | |
d14a1e28 RD |
12381 | } |
12382 | ||
12383 | ||
554f62e9 RD |
12384 | SWIGINTERN PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12385 | PyObject *resultobj = 0; | |
12386 | ||
12387 | if (!SWIG_Python_UnpackTuple(args,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail; | |
12388 | { | |
12389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12390 | wxHtmlPrintout::CleanUpStatics(); | |
12391 | wxPyEndAllowThreads(__tstate); | |
12392 | if (PyErr_Occurred()) SWIG_fail; | |
12393 | } | |
12394 | resultobj = SWIG_Py_Void(); | |
12395 | return resultobj; | |
12396 | fail: | |
12397 | return NULL; | |
d14a1e28 RD |
12398 | } |
12399 | ||
12400 | ||
554f62e9 RD |
12401 | SWIGINTERN PyObject *HtmlPrintout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12402 | PyObject *obj; | |
12403 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12404 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout, SWIG_NewClientData(obj)); | |
12405 | return SWIG_Py_Void(); | |
d14a1e28 RD |
12406 | } |
12407 | ||
554f62e9 RD |
12408 | SWIGINTERN PyObject *HtmlPrintout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12409 | return SWIG_Python_InitShadowInstance(args); | |
12410 | } | |
d14a1e28 | 12411 | |
554f62e9 RD |
12412 | SWIGINTERN PyObject *_wrap_new_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12413 | PyObject *resultobj = 0; | |
12414 | wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; | |
12415 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
12416 | wxWindow *arg2 = (wxWindow *) NULL ; | |
12417 | wxHtmlEasyPrinting *result = 0 ; | |
12418 | bool temp1 = false ; | |
12419 | void *argp2 = 0 ; | |
12420 | int res2 = 0 ; | |
12421 | PyObject * obj0 = 0 ; | |
12422 | PyObject * obj1 = 0 ; | |
12423 | char * kwnames[] = { | |
12424 | (char *) "name",(char *) "parentWindow", NULL | |
12425 | }; | |
12426 | ||
12427 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) SWIG_fail; | |
12428 | if (obj0) { | |
093d3ff1 | 12429 | { |
554f62e9 RD |
12430 | arg1 = wxString_in_helper(obj0); |
12431 | if (arg1 == NULL) SWIG_fail; | |
12432 | temp1 = true; | |
093d3ff1 | 12433 | } |
554f62e9 RD |
12434 | } |
12435 | if (obj1) { | |
12436 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12437 | if (!SWIG_IsOK(res2)) { | |
12438 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
d14a1e28 | 12439 | } |
554f62e9 RD |
12440 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
12441 | } | |
12442 | { | |
12443 | if (!wxPyCheckForApp()) SWIG_fail; | |
12444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12445 | result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2); | |
12446 | wxPyEndAllowThreads(__tstate); | |
12447 | if (PyErr_Occurred()) SWIG_fail; | |
12448 | } | |
12449 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_NEW | 0 ); | |
12450 | { | |
12451 | if (temp1) | |
12452 | delete arg1; | |
12453 | } | |
12454 | return resultobj; | |
12455 | fail: | |
12456 | { | |
12457 | if (temp1) | |
12458 | delete arg1; | |
12459 | } | |
12460 | return NULL; | |
d14a1e28 RD |
12461 | } |
12462 | ||
12463 | ||
554f62e9 RD |
12464 | SWIGINTERN PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12465 | PyObject *resultobj = 0; | |
12466 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12467 | void *argp1 = 0 ; | |
12468 | int res1 = 0 ; | |
12469 | PyObject *swig_obj[1] ; | |
12470 | ||
12471 | if (!args) SWIG_fail; | |
12472 | swig_obj[0] = args; | |
12473 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_DISOWN | 0 ); | |
12474 | if (!SWIG_IsOK(res1)) { | |
12475 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12476 | } | |
12477 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12478 | { | |
12479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12480 | delete arg1; | |
d14a1e28 | 12481 | |
554f62e9 RD |
12482 | wxPyEndAllowThreads(__tstate); |
12483 | if (PyErr_Occurred()) SWIG_fail; | |
12484 | } | |
12485 | resultobj = SWIG_Py_Void(); | |
12486 | return resultobj; | |
12487 | fail: | |
12488 | return NULL; | |
12489 | } | |
12490 | ||
12491 | ||
12492 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12493 | PyObject *resultobj = 0; | |
12494 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12495 | wxString *arg2 = 0 ; | |
12496 | void *argp1 = 0 ; | |
12497 | int res1 = 0 ; | |
12498 | bool temp2 = false ; | |
12499 | PyObject * obj0 = 0 ; | |
12500 | PyObject * obj1 = 0 ; | |
12501 | char * kwnames[] = { | |
12502 | (char *) "self",(char *) "htmlfile", NULL | |
12503 | }; | |
12504 | ||
12505 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
12506 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12507 | if (!SWIG_IsOK(res1)) { | |
12508 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12509 | } | |
12510 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12511 | { | |
12512 | arg2 = wxString_in_helper(obj1); | |
12513 | if (arg2 == NULL) SWIG_fail; | |
12514 | temp2 = true; | |
12515 | } | |
12516 | { | |
12517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12518 | (arg1)->PreviewFile((wxString const &)*arg2); | |
12519 | wxPyEndAllowThreads(__tstate); | |
12520 | if (PyErr_Occurred()) SWIG_fail; | |
12521 | } | |
12522 | resultobj = SWIG_Py_Void(); | |
12523 | { | |
12524 | if (temp2) | |
12525 | delete arg2; | |
12526 | } | |
12527 | return resultobj; | |
12528 | fail: | |
12529 | { | |
12530 | if (temp2) | |
12531 | delete arg2; | |
12532 | } | |
12533 | return NULL; | |
12534 | } | |
12535 | ||
12536 | ||
12537 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12538 | PyObject *resultobj = 0; | |
12539 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12540 | wxString *arg2 = 0 ; | |
12541 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12542 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12543 | void *argp1 = 0 ; | |
12544 | int res1 = 0 ; | |
12545 | bool temp2 = false ; | |
12546 | bool temp3 = false ; | |
12547 | PyObject * obj0 = 0 ; | |
12548 | PyObject * obj1 = 0 ; | |
12549 | PyObject * obj2 = 0 ; | |
12550 | char * kwnames[] = { | |
12551 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
12552 | }; | |
12553 | ||
12554 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12555 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12556 | if (!SWIG_IsOK(res1)) { | |
12557 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12558 | } | |
12559 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12560 | { | |
12561 | arg2 = wxString_in_helper(obj1); | |
12562 | if (arg2 == NULL) SWIG_fail; | |
12563 | temp2 = true; | |
12564 | } | |
12565 | if (obj2) { | |
d14a1e28 | 12566 | { |
554f62e9 RD |
12567 | arg3 = wxString_in_helper(obj2); |
12568 | if (arg3 == NULL) SWIG_fail; | |
12569 | temp3 = true; | |
d14a1e28 | 12570 | } |
554f62e9 RD |
12571 | } |
12572 | { | |
12573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12574 | (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3); | |
12575 | wxPyEndAllowThreads(__tstate); | |
12576 | if (PyErr_Occurred()) SWIG_fail; | |
12577 | } | |
12578 | resultobj = SWIG_Py_Void(); | |
12579 | { | |
12580 | if (temp2) | |
12581 | delete arg2; | |
12582 | } | |
12583 | { | |
12584 | if (temp3) | |
12585 | delete arg3; | |
12586 | } | |
12587 | return resultobj; | |
12588 | fail: | |
12589 | { | |
12590 | if (temp2) | |
12591 | delete arg2; | |
12592 | } | |
12593 | { | |
12594 | if (temp3) | |
12595 | delete arg3; | |
12596 | } | |
12597 | return NULL; | |
d14a1e28 RD |
12598 | } |
12599 | ||
12600 | ||
554f62e9 RD |
12601 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12602 | PyObject *resultobj = 0; | |
12603 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12604 | wxString *arg2 = 0 ; | |
12605 | void *argp1 = 0 ; | |
12606 | int res1 = 0 ; | |
12607 | bool temp2 = false ; | |
12608 | PyObject * obj0 = 0 ; | |
12609 | PyObject * obj1 = 0 ; | |
12610 | char * kwnames[] = { | |
12611 | (char *) "self",(char *) "htmlfile", NULL | |
12612 | }; | |
12613 | ||
12614 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
12615 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12616 | if (!SWIG_IsOK(res1)) { | |
12617 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12618 | } | |
12619 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12620 | { | |
12621 | arg2 = wxString_in_helper(obj1); | |
12622 | if (arg2 == NULL) SWIG_fail; | |
12623 | temp2 = true; | |
12624 | } | |
12625 | { | |
12626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12627 | (arg1)->PrintFile((wxString const &)*arg2); | |
12628 | wxPyEndAllowThreads(__tstate); | |
12629 | if (PyErr_Occurred()) SWIG_fail; | |
12630 | } | |
12631 | resultobj = SWIG_Py_Void(); | |
12632 | { | |
12633 | if (temp2) | |
12634 | delete arg2; | |
12635 | } | |
12636 | return resultobj; | |
12637 | fail: | |
12638 | { | |
12639 | if (temp2) | |
12640 | delete arg2; | |
12641 | } | |
12642 | return NULL; | |
12643 | } | |
12644 | ||
12645 | ||
12646 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12647 | PyObject *resultobj = 0; | |
12648 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12649 | wxString *arg2 = 0 ; | |
12650 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12651 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12652 | void *argp1 = 0 ; | |
12653 | int res1 = 0 ; | |
12654 | bool temp2 = false ; | |
12655 | bool temp3 = false ; | |
12656 | PyObject * obj0 = 0 ; | |
12657 | PyObject * obj1 = 0 ; | |
12658 | PyObject * obj2 = 0 ; | |
12659 | char * kwnames[] = { | |
12660 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
12661 | }; | |
12662 | ||
12663 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12664 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12665 | if (!SWIG_IsOK(res1)) { | |
12666 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12667 | } | |
12668 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12669 | { | |
12670 | arg2 = wxString_in_helper(obj1); | |
12671 | if (arg2 == NULL) SWIG_fail; | |
12672 | temp2 = true; | |
12673 | } | |
12674 | if (obj2) { | |
d14a1e28 | 12675 | { |
554f62e9 RD |
12676 | arg3 = wxString_in_helper(obj2); |
12677 | if (arg3 == NULL) SWIG_fail; | |
12678 | temp3 = true; | |
d14a1e28 | 12679 | } |
554f62e9 RD |
12680 | } |
12681 | { | |
12682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12683 | (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3); | |
12684 | wxPyEndAllowThreads(__tstate); | |
12685 | if (PyErr_Occurred()) SWIG_fail; | |
12686 | } | |
12687 | resultobj = SWIG_Py_Void(); | |
12688 | { | |
12689 | if (temp2) | |
12690 | delete arg2; | |
12691 | } | |
12692 | { | |
12693 | if (temp3) | |
12694 | delete arg3; | |
12695 | } | |
12696 | return resultobj; | |
12697 | fail: | |
12698 | { | |
12699 | if (temp2) | |
12700 | delete arg2; | |
12701 | } | |
12702 | { | |
12703 | if (temp3) | |
12704 | delete arg3; | |
12705 | } | |
12706 | return NULL; | |
d14a1e28 RD |
12707 | } |
12708 | ||
12709 | ||
554f62e9 RD |
12710 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12711 | PyObject *resultobj = 0; | |
12712 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12713 | void *argp1 = 0 ; | |
12714 | int res1 = 0 ; | |
12715 | PyObject *swig_obj[1] ; | |
12716 | ||
12717 | if (!args) SWIG_fail; | |
12718 | swig_obj[0] = args; | |
12719 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12720 | if (!SWIG_IsOK(res1)) { | |
12721 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12722 | } | |
12723 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12724 | { | |
12725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12726 | (arg1)->PageSetup(); | |
12727 | wxPyEndAllowThreads(__tstate); | |
12728 | if (PyErr_Occurred()) SWIG_fail; | |
12729 | } | |
12730 | resultobj = SWIG_Py_Void(); | |
12731 | return resultobj; | |
12732 | fail: | |
12733 | return NULL; | |
12734 | } | |
12735 | ||
12736 | ||
12737 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12738 | PyObject *resultobj = 0; | |
12739 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12740 | wxString *arg2 = 0 ; | |
12741 | int arg3 = (int) wxPAGE_ALL ; | |
12742 | void *argp1 = 0 ; | |
12743 | int res1 = 0 ; | |
12744 | bool temp2 = false ; | |
12745 | int val3 ; | |
12746 | int ecode3 = 0 ; | |
12747 | PyObject * obj0 = 0 ; | |
12748 | PyObject * obj1 = 0 ; | |
12749 | PyObject * obj2 = 0 ; | |
12750 | char * kwnames[] = { | |
12751 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
12752 | }; | |
12753 | ||
12754 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12755 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12756 | if (!SWIG_IsOK(res1)) { | |
12757 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12758 | } | |
12759 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12760 | { | |
12761 | arg2 = wxString_in_helper(obj1); | |
12762 | if (arg2 == NULL) SWIG_fail; | |
12763 | temp2 = true; | |
12764 | } | |
12765 | if (obj2) { | |
12766 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12767 | if (!SWIG_IsOK(ecode3)) { | |
12768 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'"); | |
12769 | } | |
12770 | arg3 = static_cast< int >(val3); | |
12771 | } | |
12772 | { | |
12773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12774 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
12775 | wxPyEndAllowThreads(__tstate); | |
12776 | if (PyErr_Occurred()) SWIG_fail; | |
12777 | } | |
12778 | resultobj = SWIG_Py_Void(); | |
12779 | { | |
12780 | if (temp2) | |
12781 | delete arg2; | |
12782 | } | |
12783 | return resultobj; | |
12784 | fail: | |
12785 | { | |
12786 | if (temp2) | |
12787 | delete arg2; | |
12788 | } | |
12789 | return NULL; | |
12790 | } | |
12791 | ||
12792 | ||
12793 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12794 | PyObject *resultobj = 0; | |
12795 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12796 | wxString *arg2 = 0 ; | |
12797 | int arg3 = (int) wxPAGE_ALL ; | |
12798 | void *argp1 = 0 ; | |
12799 | int res1 = 0 ; | |
12800 | bool temp2 = false ; | |
12801 | int val3 ; | |
12802 | int ecode3 = 0 ; | |
12803 | PyObject * obj0 = 0 ; | |
12804 | PyObject * obj1 = 0 ; | |
12805 | PyObject * obj2 = 0 ; | |
12806 | char * kwnames[] = { | |
12807 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
12808 | }; | |
12809 | ||
12810 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12811 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12812 | if (!SWIG_IsOK(res1)) { | |
12813 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12814 | } | |
12815 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12816 | { | |
12817 | arg2 = wxString_in_helper(obj1); | |
12818 | if (arg2 == NULL) SWIG_fail; | |
12819 | temp2 = true; | |
12820 | } | |
12821 | if (obj2) { | |
12822 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12823 | if (!SWIG_IsOK(ecode3)) { | |
12824 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'"); | |
12825 | } | |
12826 | arg3 = static_cast< int >(val3); | |
12827 | } | |
12828 | { | |
12829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12830 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
12831 | wxPyEndAllowThreads(__tstate); | |
12832 | if (PyErr_Occurred()) SWIG_fail; | |
12833 | } | |
12834 | resultobj = SWIG_Py_Void(); | |
12835 | { | |
12836 | if (temp2) | |
12837 | delete arg2; | |
12838 | } | |
12839 | return resultobj; | |
12840 | fail: | |
12841 | { | |
12842 | if (temp2) | |
12843 | delete arg2; | |
12844 | } | |
12845 | return NULL; | |
12846 | } | |
12847 | ||
12848 | ||
12849 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12850 | PyObject *resultobj = 0; | |
12851 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12852 | wxString arg2 ; | |
12853 | wxString arg3 ; | |
12854 | PyObject *arg4 = (PyObject *) NULL ; | |
12855 | void *argp1 = 0 ; | |
12856 | int res1 = 0 ; | |
12857 | PyObject * obj0 = 0 ; | |
12858 | PyObject * obj1 = 0 ; | |
12859 | PyObject * obj2 = 0 ; | |
12860 | PyObject * obj3 = 0 ; | |
12861 | char * kwnames[] = { | |
12862 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
12863 | }; | |
12864 | ||
12865 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12866 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12867 | if (!SWIG_IsOK(res1)) { | |
12868 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12869 | } | |
12870 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12871 | { | |
12872 | wxString* sptr = wxString_in_helper(obj1); | |
12873 | if (sptr == NULL) SWIG_fail; | |
12874 | arg2 = *sptr; | |
12875 | delete sptr; | |
12876 | } | |
12877 | { | |
12878 | wxString* sptr = wxString_in_helper(obj2); | |
12879 | if (sptr == NULL) SWIG_fail; | |
12880 | arg3 = *sptr; | |
12881 | delete sptr; | |
12882 | } | |
12883 | if (obj3) { | |
12884 | arg4 = obj3; | |
12885 | } | |
12886 | { | |
12887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12888 | wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4); | |
12889 | wxPyEndAllowThreads(__tstate); | |
12890 | if (PyErr_Occurred()) SWIG_fail; | |
12891 | } | |
12892 | resultobj = SWIG_Py_Void(); | |
12893 | return resultobj; | |
12894 | fail: | |
12895 | return NULL; | |
12896 | } | |
12897 | ||
12898 | ||
12899 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12900 | PyObject *resultobj = 0; | |
12901 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12902 | int arg2 = (int) -1 ; | |
12903 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12904 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12905 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12906 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12907 | void *argp1 = 0 ; | |
12908 | int res1 = 0 ; | |
12909 | int val2 ; | |
12910 | int ecode2 = 0 ; | |
12911 | bool temp3 = false ; | |
12912 | bool temp4 = false ; | |
12913 | PyObject * obj0 = 0 ; | |
12914 | PyObject * obj1 = 0 ; | |
12915 | PyObject * obj2 = 0 ; | |
12916 | PyObject * obj3 = 0 ; | |
12917 | char * kwnames[] = { | |
12918 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
12919 | }; | |
12920 | ||
12921 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12922 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12923 | if (!SWIG_IsOK(res1)) { | |
12924 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12925 | } | |
12926 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12927 | if (obj1) { | |
12928 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12929 | if (!SWIG_IsOK(ecode2)) { | |
12930 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
12931 | } | |
12932 | arg2 = static_cast< int >(val2); | |
12933 | } | |
12934 | if (obj2) { | |
d14a1e28 | 12935 | { |
554f62e9 RD |
12936 | arg3 = wxString_in_helper(obj2); |
12937 | if (arg3 == NULL) SWIG_fail; | |
12938 | temp3 = true; | |
d14a1e28 | 12939 | } |
554f62e9 RD |
12940 | } |
12941 | if (obj3) { | |
d14a1e28 | 12942 | { |
554f62e9 RD |
12943 | arg4 = wxString_in_helper(obj3); |
12944 | if (arg4 == NULL) SWIG_fail; | |
12945 | temp4 = true; | |
d14a1e28 | 12946 | } |
554f62e9 RD |
12947 | } |
12948 | { | |
12949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12950 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
12951 | wxPyEndAllowThreads(__tstate); | |
12952 | if (PyErr_Occurred()) SWIG_fail; | |
12953 | } | |
12954 | resultobj = SWIG_Py_Void(); | |
12955 | { | |
12956 | if (temp3) | |
12957 | delete arg3; | |
12958 | } | |
12959 | { | |
12960 | if (temp4) | |
12961 | delete arg4; | |
12962 | } | |
12963 | return resultobj; | |
12964 | fail: | |
12965 | { | |
12966 | if (temp3) | |
12967 | delete arg3; | |
12968 | } | |
12969 | { | |
12970 | if (temp4) | |
12971 | delete arg4; | |
12972 | } | |
12973 | return NULL; | |
d14a1e28 RD |
12974 | } |
12975 | ||
12976 | ||
554f62e9 RD |
12977 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12978 | PyObject *resultobj = 0; | |
12979 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12980 | wxPrintData *result = 0 ; | |
12981 | void *argp1 = 0 ; | |
12982 | int res1 = 0 ; | |
12983 | PyObject *swig_obj[1] ; | |
12984 | ||
12985 | if (!args) SWIG_fail; | |
12986 | swig_obj[0] = args; | |
12987 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12988 | if (!SWIG_IsOK(res1)) { | |
12989 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12990 | } | |
12991 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12992 | { | |
12993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12994 | result = (wxPrintData *)(arg1)->GetPrintData(); | |
12995 | wxPyEndAllowThreads(__tstate); | |
12996 | if (PyErr_Occurred()) SWIG_fail; | |
12997 | } | |
12998 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 ); | |
12999 | return resultobj; | |
13000 | fail: | |
13001 | return NULL; | |
d14a1e28 RD |
13002 | } |
13003 | ||
13004 | ||
554f62e9 RD |
13005 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13006 | PyObject *resultobj = 0; | |
13007 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
13008 | wxPageSetupDialogData *result = 0 ; | |
13009 | void *argp1 = 0 ; | |
13010 | int res1 = 0 ; | |
13011 | PyObject *swig_obj[1] ; | |
13012 | ||
13013 | if (!args) SWIG_fail; | |
13014 | swig_obj[0] = args; | |
13015 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
13016 | if (!SWIG_IsOK(res1)) { | |
13017 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
13018 | } | |
13019 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
13020 | { | |
13021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13022 | result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData(); | |
13023 | wxPyEndAllowThreads(__tstate); | |
13024 | if (PyErr_Occurred()) SWIG_fail; | |
13025 | } | |
13026 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 ); | |
13027 | return resultobj; | |
13028 | fail: | |
13029 | return NULL; | |
13030 | } | |
13031 | ||
13032 | ||
13033 | SWIGINTERN PyObject *HtmlEasyPrinting_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13034 | PyObject *obj; | |
13035 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13036 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_NewClientData(obj)); | |
13037 | return SWIG_Py_Void(); | |
13038 | } | |
13039 | ||
13040 | SWIGINTERN PyObject *HtmlEasyPrinting_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13041 | return SWIG_Python_InitShadowInstance(args); | |
13042 | } | |
13043 | ||
13044 | SWIGINTERN PyObject *_wrap_new_HtmlBookRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13045 | PyObject *resultobj = 0; | |
13046 | wxString *arg1 = 0 ; | |
13047 | wxString *arg2 = 0 ; | |
13048 | wxString *arg3 = 0 ; | |
13049 | wxString *arg4 = 0 ; | |
13050 | wxHtmlBookRecord *result = 0 ; | |
13051 | bool temp1 = false ; | |
13052 | bool temp2 = false ; | |
13053 | bool temp3 = false ; | |
13054 | bool temp4 = false ; | |
13055 | PyObject * obj0 = 0 ; | |
13056 | PyObject * obj1 = 0 ; | |
13057 | PyObject * obj2 = 0 ; | |
13058 | PyObject * obj3 = 0 ; | |
13059 | char * kwnames[] = { | |
13060 | (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL | |
13061 | }; | |
13062 | ||
13063 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13064 | { | |
13065 | arg1 = wxString_in_helper(obj0); | |
13066 | if (arg1 == NULL) SWIG_fail; | |
13067 | temp1 = true; | |
13068 | } | |
13069 | { | |
13070 | arg2 = wxString_in_helper(obj1); | |
13071 | if (arg2 == NULL) SWIG_fail; | |
13072 | temp2 = true; | |
13073 | } | |
13074 | { | |
13075 | arg3 = wxString_in_helper(obj2); | |
13076 | if (arg3 == NULL) SWIG_fail; | |
13077 | temp3 = true; | |
13078 | } | |
13079 | { | |
13080 | arg4 = wxString_in_helper(obj3); | |
13081 | if (arg4 == NULL) SWIG_fail; | |
13082 | temp4 = true; | |
13083 | } | |
13084 | { | |
13085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13086 | result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
13087 | wxPyEndAllowThreads(__tstate); | |
13088 | if (PyErr_Occurred()) SWIG_fail; | |
13089 | } | |
13090 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_NEW | 0 ); | |
13091 | { | |
13092 | if (temp1) | |
13093 | delete arg1; | |
13094 | } | |
13095 | { | |
13096 | if (temp2) | |
13097 | delete arg2; | |
13098 | } | |
13099 | { | |
13100 | if (temp3) | |
13101 | delete arg3; | |
13102 | } | |
13103 | { | |
13104 | if (temp4) | |
13105 | delete arg4; | |
13106 | } | |
13107 | return resultobj; | |
13108 | fail: | |
13109 | { | |
13110 | if (temp1) | |
13111 | delete arg1; | |
13112 | } | |
13113 | { | |
13114 | if (temp2) | |
13115 | delete arg2; | |
13116 | } | |
13117 | { | |
13118 | if (temp3) | |
13119 | delete arg3; | |
13120 | } | |
13121 | { | |
13122 | if (temp4) | |
13123 | delete arg4; | |
13124 | } | |
13125 | return NULL; | |
d14a1e28 RD |
13126 | } |
13127 | ||
13128 | ||
554f62e9 RD |
13129 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13130 | PyObject *resultobj = 0; | |
13131 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13132 | wxString result; | |
13133 | void *argp1 = 0 ; | |
13134 | int res1 = 0 ; | |
13135 | PyObject *swig_obj[1] ; | |
13136 | ||
13137 | if (!args) SWIG_fail; | |
13138 | swig_obj[0] = args; | |
13139 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13140 | if (!SWIG_IsOK(res1)) { | |
13141 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13142 | } | |
13143 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13144 | { | |
13145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13146 | result = (arg1)->GetBookFile(); | |
13147 | wxPyEndAllowThreads(__tstate); | |
13148 | if (PyErr_Occurred()) SWIG_fail; | |
13149 | } | |
13150 | { | |
13151 | #if wxUSE_UNICODE | |
13152 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13153 | #else | |
13154 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13155 | #endif | |
13156 | } | |
13157 | return resultobj; | |
13158 | fail: | |
13159 | return NULL; | |
d14a1e28 RD |
13160 | } |
13161 | ||
13162 | ||
554f62e9 RD |
13163 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13164 | PyObject *resultobj = 0; | |
13165 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13166 | wxString result; | |
13167 | void *argp1 = 0 ; | |
13168 | int res1 = 0 ; | |
13169 | PyObject *swig_obj[1] ; | |
13170 | ||
13171 | if (!args) SWIG_fail; | |
13172 | swig_obj[0] = args; | |
13173 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13174 | if (!SWIG_IsOK(res1)) { | |
13175 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13176 | } | |
13177 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13178 | { | |
13179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13180 | result = (arg1)->GetTitle(); | |
13181 | wxPyEndAllowThreads(__tstate); | |
13182 | if (PyErr_Occurred()) SWIG_fail; | |
13183 | } | |
13184 | { | |
13185 | #if wxUSE_UNICODE | |
13186 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13187 | #else | |
13188 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13189 | #endif | |
13190 | } | |
13191 | return resultobj; | |
13192 | fail: | |
13193 | return NULL; | |
d14a1e28 RD |
13194 | } |
13195 | ||
13196 | ||
554f62e9 RD |
13197 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13198 | PyObject *resultobj = 0; | |
13199 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13200 | wxString result; | |
13201 | void *argp1 = 0 ; | |
13202 | int res1 = 0 ; | |
13203 | PyObject *swig_obj[1] ; | |
13204 | ||
13205 | if (!args) SWIG_fail; | |
13206 | swig_obj[0] = args; | |
13207 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13208 | if (!SWIG_IsOK(res1)) { | |
13209 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13210 | } | |
13211 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13212 | { | |
13213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13214 | result = (arg1)->GetStart(); | |
13215 | wxPyEndAllowThreads(__tstate); | |
13216 | if (PyErr_Occurred()) SWIG_fail; | |
13217 | } | |
13218 | { | |
13219 | #if wxUSE_UNICODE | |
13220 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13221 | #else | |
13222 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13223 | #endif | |
13224 | } | |
13225 | return resultobj; | |
13226 | fail: | |
13227 | return NULL; | |
d14a1e28 RD |
13228 | } |
13229 | ||
13230 | ||
554f62e9 RD |
13231 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13232 | PyObject *resultobj = 0; | |
13233 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13234 | wxString result; | |
13235 | void *argp1 = 0 ; | |
13236 | int res1 = 0 ; | |
13237 | PyObject *swig_obj[1] ; | |
13238 | ||
13239 | if (!args) SWIG_fail; | |
13240 | swig_obj[0] = args; | |
13241 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13242 | if (!SWIG_IsOK(res1)) { | |
13243 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13244 | } | |
13245 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13246 | { | |
13247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13248 | result = (arg1)->GetBasePath(); | |
13249 | wxPyEndAllowThreads(__tstate); | |
13250 | if (PyErr_Occurred()) SWIG_fail; | |
13251 | } | |
13252 | { | |
13253 | #if wxUSE_UNICODE | |
13254 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13255 | #else | |
13256 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13257 | #endif | |
13258 | } | |
13259 | return resultobj; | |
13260 | fail: | |
13261 | return NULL; | |
13262 | } | |
13263 | ||
13264 | ||
13265 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13266 | PyObject *resultobj = 0; | |
13267 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13268 | int arg2 ; | |
13269 | int arg3 ; | |
13270 | void *argp1 = 0 ; | |
13271 | int res1 = 0 ; | |
13272 | int val2 ; | |
13273 | int ecode2 = 0 ; | |
13274 | int val3 ; | |
13275 | int ecode3 = 0 ; | |
13276 | PyObject * obj0 = 0 ; | |
13277 | PyObject * obj1 = 0 ; | |
13278 | PyObject * obj2 = 0 ; | |
13279 | char * kwnames[] = { | |
13280 | (char *) "self",(char *) "start",(char *) "end", NULL | |
13281 | }; | |
13282 | ||
13283 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13284 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13285 | if (!SWIG_IsOK(res1)) { | |
13286 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13287 | } | |
13288 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13289 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13290 | if (!SWIG_IsOK(ecode2)) { | |
13291 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'"); | |
13292 | } | |
13293 | arg2 = static_cast< int >(val2); | |
13294 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
13295 | if (!SWIG_IsOK(ecode3)) { | |
13296 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'"); | |
13297 | } | |
13298 | arg3 = static_cast< int >(val3); | |
13299 | { | |
13300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13301 | (arg1)->SetContentsRange(arg2,arg3); | |
13302 | wxPyEndAllowThreads(__tstate); | |
13303 | if (PyErr_Occurred()) SWIG_fail; | |
13304 | } | |
13305 | resultobj = SWIG_Py_Void(); | |
13306 | return resultobj; | |
13307 | fail: | |
13308 | return NULL; | |
d14a1e28 RD |
13309 | } |
13310 | ||
13311 | ||
554f62e9 RD |
13312 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13313 | PyObject *resultobj = 0; | |
13314 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13315 | int result; | |
13316 | void *argp1 = 0 ; | |
13317 | int res1 = 0 ; | |
13318 | PyObject *swig_obj[1] ; | |
13319 | ||
13320 | if (!args) SWIG_fail; | |
13321 | swig_obj[0] = args; | |
13322 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13323 | if (!SWIG_IsOK(res1)) { | |
13324 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13325 | } | |
13326 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13327 | { | |
13328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13329 | result = (int)(arg1)->GetContentsStart(); | |
13330 | wxPyEndAllowThreads(__tstate); | |
13331 | if (PyErr_Occurred()) SWIG_fail; | |
13332 | } | |
13333 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13334 | return resultobj; | |
13335 | fail: | |
13336 | return NULL; | |
d14a1e28 | 13337 | } |
554f62e9 RD |
13338 | |
13339 | ||
13340 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13341 | PyObject *resultobj = 0; | |
13342 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13343 | int result; | |
13344 | void *argp1 = 0 ; | |
13345 | int res1 = 0 ; | |
13346 | PyObject *swig_obj[1] ; | |
13347 | ||
13348 | if (!args) SWIG_fail; | |
13349 | swig_obj[0] = args; | |
13350 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13351 | if (!SWIG_IsOK(res1)) { | |
13352 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13353 | } | |
13354 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13355 | { | |
13356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13357 | result = (int)(arg1)->GetContentsEnd(); | |
13358 | wxPyEndAllowThreads(__tstate); | |
13359 | if (PyErr_Occurred()) SWIG_fail; | |
13360 | } | |
13361 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13362 | return resultobj; | |
13363 | fail: | |
13364 | return NULL; | |
13365 | } | |
13366 | ||
13367 | ||
13368 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13369 | PyObject *resultobj = 0; | |
13370 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13371 | wxString *arg2 = 0 ; | |
13372 | void *argp1 = 0 ; | |
13373 | int res1 = 0 ; | |
13374 | bool temp2 = false ; | |
13375 | PyObject * obj0 = 0 ; | |
13376 | PyObject * obj1 = 0 ; | |
13377 | char * kwnames[] = { | |
13378 | (char *) "self",(char *) "title", NULL | |
13379 | }; | |
13380 | ||
13381 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail; | |
13382 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13383 | if (!SWIG_IsOK(res1)) { | |
13384 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13385 | } | |
13386 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13387 | { | |
13388 | arg2 = wxString_in_helper(obj1); | |
13389 | if (arg2 == NULL) SWIG_fail; | |
13390 | temp2 = true; | |
13391 | } | |
13392 | { | |
13393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13394 | (arg1)->SetTitle((wxString const &)*arg2); | |
13395 | wxPyEndAllowThreads(__tstate); | |
13396 | if (PyErr_Occurred()) SWIG_fail; | |
13397 | } | |
13398 | resultobj = SWIG_Py_Void(); | |
13399 | { | |
13400 | if (temp2) | |
13401 | delete arg2; | |
13402 | } | |
13403 | return resultobj; | |
13404 | fail: | |
13405 | { | |
13406 | if (temp2) | |
13407 | delete arg2; | |
13408 | } | |
13409 | return NULL; | |
d14a1e28 RD |
13410 | } |
13411 | ||
13412 | ||
554f62e9 RD |
13413 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13414 | PyObject *resultobj = 0; | |
13415 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13416 | wxString *arg2 = 0 ; | |
13417 | void *argp1 = 0 ; | |
13418 | int res1 = 0 ; | |
13419 | bool temp2 = false ; | |
13420 | PyObject * obj0 = 0 ; | |
13421 | PyObject * obj1 = 0 ; | |
13422 | char * kwnames[] = { | |
13423 | (char *) "self",(char *) "path", NULL | |
13424 | }; | |
13425 | ||
13426 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) SWIG_fail; | |
13427 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13428 | if (!SWIG_IsOK(res1)) { | |
13429 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13430 | } | |
13431 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13432 | { | |
13433 | arg2 = wxString_in_helper(obj1); | |
13434 | if (arg2 == NULL) SWIG_fail; | |
13435 | temp2 = true; | |
13436 | } | |
13437 | { | |
13438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13439 | (arg1)->SetBasePath((wxString const &)*arg2); | |
13440 | wxPyEndAllowThreads(__tstate); | |
13441 | if (PyErr_Occurred()) SWIG_fail; | |
13442 | } | |
13443 | resultobj = SWIG_Py_Void(); | |
13444 | { | |
13445 | if (temp2) | |
13446 | delete arg2; | |
13447 | } | |
13448 | return resultobj; | |
13449 | fail: | |
13450 | { | |
13451 | if (temp2) | |
13452 | delete arg2; | |
13453 | } | |
13454 | return NULL; | |
d14a1e28 RD |
13455 | } |
13456 | ||
13457 | ||
554f62e9 RD |
13458 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13459 | PyObject *resultobj = 0; | |
13460 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13461 | wxString *arg2 = 0 ; | |
13462 | void *argp1 = 0 ; | |
13463 | int res1 = 0 ; | |
13464 | bool temp2 = false ; | |
13465 | PyObject * obj0 = 0 ; | |
13466 | PyObject * obj1 = 0 ; | |
13467 | char * kwnames[] = { | |
13468 | (char *) "self",(char *) "start", NULL | |
13469 | }; | |
13470 | ||
13471 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) SWIG_fail; | |
13472 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13473 | if (!SWIG_IsOK(res1)) { | |
13474 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13475 | } | |
13476 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13477 | { | |
13478 | arg2 = wxString_in_helper(obj1); | |
13479 | if (arg2 == NULL) SWIG_fail; | |
13480 | temp2 = true; | |
13481 | } | |
13482 | { | |
13483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13484 | (arg1)->SetStart((wxString const &)*arg2); | |
13485 | wxPyEndAllowThreads(__tstate); | |
13486 | if (PyErr_Occurred()) SWIG_fail; | |
13487 | } | |
13488 | resultobj = SWIG_Py_Void(); | |
13489 | { | |
13490 | if (temp2) | |
13491 | delete arg2; | |
13492 | } | |
13493 | return resultobj; | |
13494 | fail: | |
13495 | { | |
13496 | if (temp2) | |
13497 | delete arg2; | |
13498 | } | |
13499 | return NULL; | |
13500 | } | |
13501 | ||
13502 | ||
13503 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13504 | PyObject *resultobj = 0; | |
13505 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13506 | wxString *arg2 = 0 ; | |
13507 | wxString result; | |
13508 | void *argp1 = 0 ; | |
13509 | int res1 = 0 ; | |
13510 | bool temp2 = false ; | |
13511 | PyObject * obj0 = 0 ; | |
13512 | PyObject * obj1 = 0 ; | |
13513 | char * kwnames[] = { | |
13514 | (char *) "self",(char *) "page", NULL | |
13515 | }; | |
13516 | ||
13517 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) SWIG_fail; | |
13518 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13519 | if (!SWIG_IsOK(res1)) { | |
13520 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'"); | |
13521 | } | |
13522 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13523 | { | |
13524 | arg2 = wxString_in_helper(obj1); | |
13525 | if (arg2 == NULL) SWIG_fail; | |
13526 | temp2 = true; | |
13527 | } | |
13528 | { | |
13529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13530 | result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2); | |
13531 | wxPyEndAllowThreads(__tstate); | |
13532 | if (PyErr_Occurred()) SWIG_fail; | |
13533 | } | |
13534 | { | |
13535 | #if wxUSE_UNICODE | |
13536 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13537 | #else | |
13538 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13539 | #endif | |
13540 | } | |
13541 | { | |
13542 | if (temp2) | |
13543 | delete arg2; | |
13544 | } | |
13545 | return resultobj; | |
13546 | fail: | |
13547 | { | |
13548 | if (temp2) | |
13549 | delete arg2; | |
13550 | } | |
13551 | return NULL; | |
d14a1e28 RD |
13552 | } |
13553 | ||
13554 | ||
554f62e9 RD |
13555 | SWIGINTERN PyObject *HtmlBookRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13556 | PyObject *obj; | |
13557 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13558 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord, SWIG_NewClientData(obj)); | |
13559 | return SWIG_Py_Void(); | |
d14a1e28 RD |
13560 | } |
13561 | ||
554f62e9 RD |
13562 | SWIGINTERN PyObject *HtmlBookRecord_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13563 | return SWIG_Python_InitShadowInstance(args); | |
13564 | } | |
d14a1e28 | 13565 | |
554f62e9 RD |
13566 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_Search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13567 | PyObject *resultobj = 0; | |
13568 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13569 | bool result; | |
13570 | void *argp1 = 0 ; | |
13571 | int res1 = 0 ; | |
13572 | PyObject *swig_obj[1] ; | |
13573 | ||
13574 | if (!args) SWIG_fail; | |
13575 | swig_obj[0] = args; | |
13576 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13577 | if (!SWIG_IsOK(res1)) { | |
13578 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13579 | } | |
13580 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13581 | { | |
13582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13583 | result = (bool)(arg1)->Search(); | |
13584 | wxPyEndAllowThreads(__tstate); | |
13585 | if (PyErr_Occurred()) SWIG_fail; | |
13586 | } | |
13587 | { | |
13588 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13589 | } | |
13590 | return resultobj; | |
13591 | fail: | |
13592 | return NULL; | |
d14a1e28 RD |
13593 | } |
13594 | ||
13595 | ||
554f62e9 RD |
13596 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13597 | PyObject *resultobj = 0; | |
13598 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13599 | bool result; | |
13600 | void *argp1 = 0 ; | |
13601 | int res1 = 0 ; | |
13602 | PyObject *swig_obj[1] ; | |
13603 | ||
13604 | if (!args) SWIG_fail; | |
13605 | swig_obj[0] = args; | |
13606 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13607 | if (!SWIG_IsOK(res1)) { | |
13608 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13609 | } | |
13610 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13611 | { | |
13612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13613 | result = (bool)(arg1)->IsActive(); | |
13614 | wxPyEndAllowThreads(__tstate); | |
13615 | if (PyErr_Occurred()) SWIG_fail; | |
13616 | } | |
13617 | { | |
13618 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13619 | } | |
13620 | return resultobj; | |
13621 | fail: | |
13622 | return NULL; | |
d14a1e28 RD |
13623 | } |
13624 | ||
13625 | ||
554f62e9 RD |
13626 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13627 | PyObject *resultobj = 0; | |
13628 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13629 | int result; | |
13630 | void *argp1 = 0 ; | |
13631 | int res1 = 0 ; | |
13632 | PyObject *swig_obj[1] ; | |
13633 | ||
13634 | if (!args) SWIG_fail; | |
13635 | swig_obj[0] = args; | |
13636 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13637 | if (!SWIG_IsOK(res1)) { | |
13638 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13639 | } | |
13640 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13641 | { | |
13642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13643 | result = (int)(arg1)->GetCurIndex(); | |
13644 | wxPyEndAllowThreads(__tstate); | |
13645 | if (PyErr_Occurred()) SWIG_fail; | |
13646 | } | |
13647 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13648 | return resultobj; | |
13649 | fail: | |
13650 | return NULL; | |
d14a1e28 RD |
13651 | } |
13652 | ||
13653 | ||
554f62e9 RD |
13654 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13655 | PyObject *resultobj = 0; | |
13656 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13657 | int result; | |
13658 | void *argp1 = 0 ; | |
13659 | int res1 = 0 ; | |
13660 | PyObject *swig_obj[1] ; | |
13661 | ||
13662 | if (!args) SWIG_fail; | |
13663 | swig_obj[0] = args; | |
13664 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13665 | if (!SWIG_IsOK(res1)) { | |
13666 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13667 | } | |
13668 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13669 | { | |
13670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13671 | result = (int)(arg1)->GetMaxIndex(); | |
13672 | wxPyEndAllowThreads(__tstate); | |
13673 | if (PyErr_Occurred()) SWIG_fail; | |
13674 | } | |
13675 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13676 | return resultobj; | |
13677 | fail: | |
13678 | return NULL; | |
d14a1e28 RD |
13679 | } |
13680 | ||
13681 | ||
554f62e9 RD |
13682 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13683 | PyObject *resultobj = 0; | |
13684 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13685 | wxString *result = 0 ; | |
13686 | void *argp1 = 0 ; | |
13687 | int res1 = 0 ; | |
13688 | PyObject *swig_obj[1] ; | |
13689 | ||
13690 | if (!args) SWIG_fail; | |
13691 | swig_obj[0] = args; | |
13692 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13693 | if (!SWIG_IsOK(res1)) { | |
13694 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13695 | } | |
13696 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13697 | { | |
13698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 13699 | { |
554f62e9 RD |
13700 | wxString const &_result_ref = (arg1)->GetName(); |
13701 | result = (wxString *) &_result_ref; | |
d14a1e28 | 13702 | } |
554f62e9 RD |
13703 | wxPyEndAllowThreads(__tstate); |
13704 | if (PyErr_Occurred()) SWIG_fail; | |
13705 | } | |
13706 | { | |
13707 | #if wxUSE_UNICODE | |
13708 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13709 | #else | |
13710 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13711 | #endif | |
13712 | } | |
13713 | return resultobj; | |
13714 | fail: | |
13715 | return NULL; | |
d14a1e28 RD |
13716 | } |
13717 | ||
13718 | ||
554f62e9 RD |
13719 | SWIGINTERN PyObject *HtmlSearchStatus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13720 | PyObject *obj; | |
13721 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13722 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus, SWIG_NewClientData(obj)); | |
13723 | return SWIG_Py_Void(); | |
13724 | } | |
13725 | ||
13726 | SWIGINTERN PyObject *_wrap_new_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13727 | PyObject *resultobj = 0; | |
13728 | wxHtmlHelpData *result = 0 ; | |
13729 | ||
13730 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlHelpData",0,0,0)) SWIG_fail; | |
13731 | { | |
13732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13733 | result = (wxHtmlHelpData *)new wxHtmlHelpData(); | |
13734 | wxPyEndAllowThreads(__tstate); | |
13735 | if (PyErr_Occurred()) SWIG_fail; | |
13736 | } | |
13737 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_NEW | 0 ); | |
13738 | return resultobj; | |
13739 | fail: | |
13740 | return NULL; | |
d14a1e28 RD |
13741 | } |
13742 | ||
13743 | ||
554f62e9 RD |
13744 | SWIGINTERN PyObject *_wrap_delete_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13745 | PyObject *resultobj = 0; | |
13746 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13747 | void *argp1 = 0 ; | |
13748 | int res1 = 0 ; | |
13749 | PyObject *swig_obj[1] ; | |
13750 | ||
13751 | if (!args) SWIG_fail; | |
13752 | swig_obj[0] = args; | |
13753 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_DISOWN | 0 ); | |
13754 | if (!SWIG_IsOK(res1)) { | |
13755 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13756 | } | |
13757 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13758 | { | |
13759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13760 | delete arg1; | |
d14a1e28 | 13761 | |
554f62e9 RD |
13762 | wxPyEndAllowThreads(__tstate); |
13763 | if (PyErr_Occurred()) SWIG_fail; | |
13764 | } | |
13765 | resultobj = SWIG_Py_Void(); | |
13766 | return resultobj; | |
13767 | fail: | |
13768 | return NULL; | |
13769 | } | |
13770 | ||
13771 | ||
13772 | SWIGINTERN PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13773 | PyObject *resultobj = 0; | |
13774 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13775 | wxString *arg2 = 0 ; | |
13776 | void *argp1 = 0 ; | |
13777 | int res1 = 0 ; | |
13778 | bool temp2 = false ; | |
13779 | PyObject * obj0 = 0 ; | |
13780 | PyObject * obj1 = 0 ; | |
13781 | char * kwnames[] = { | |
13782 | (char *) "self",(char *) "path", NULL | |
13783 | }; | |
13784 | ||
13785 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail; | |
13786 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13787 | if (!SWIG_IsOK(res1)) { | |
13788 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13789 | } | |
13790 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13791 | { | |
13792 | arg2 = wxString_in_helper(obj1); | |
13793 | if (arg2 == NULL) SWIG_fail; | |
13794 | temp2 = true; | |
13795 | } | |
13796 | { | |
13797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13798 | (arg1)->SetTempDir((wxString const &)*arg2); | |
13799 | wxPyEndAllowThreads(__tstate); | |
13800 | if (PyErr_Occurred()) SWIG_fail; | |
13801 | } | |
13802 | resultobj = SWIG_Py_Void(); | |
13803 | { | |
13804 | if (temp2) | |
13805 | delete arg2; | |
13806 | } | |
13807 | return resultobj; | |
13808 | fail: | |
13809 | { | |
13810 | if (temp2) | |
13811 | delete arg2; | |
13812 | } | |
13813 | return NULL; | |
13814 | } | |
13815 | ||
13816 | ||
13817 | SWIGINTERN PyObject *_wrap_HtmlHelpData_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13818 | PyObject *resultobj = 0; | |
13819 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13820 | wxString *arg2 = 0 ; | |
13821 | bool result; | |
13822 | void *argp1 = 0 ; | |
13823 | int res1 = 0 ; | |
13824 | bool temp2 = false ; | |
13825 | PyObject * obj0 = 0 ; | |
13826 | PyObject * obj1 = 0 ; | |
13827 | char * kwnames[] = { | |
13828 | (char *) "self",(char *) "book", NULL | |
13829 | }; | |
13830 | ||
13831 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) SWIG_fail; | |
13832 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13833 | if (!SWIG_IsOK(res1)) { | |
13834 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13835 | } | |
13836 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13837 | { | |
13838 | arg2 = wxString_in_helper(obj1); | |
13839 | if (arg2 == NULL) SWIG_fail; | |
13840 | temp2 = true; | |
13841 | } | |
13842 | { | |
13843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13844 | result = (bool)(arg1)->AddBook((wxString const &)*arg2); | |
13845 | wxPyEndAllowThreads(__tstate); | |
13846 | if (PyErr_Occurred()) SWIG_fail; | |
13847 | } | |
13848 | { | |
13849 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13850 | } | |
13851 | { | |
13852 | if (temp2) | |
13853 | delete arg2; | |
13854 | } | |
13855 | return resultobj; | |
13856 | fail: | |
13857 | { | |
13858 | if (temp2) | |
13859 | delete arg2; | |
13860 | } | |
13861 | return NULL; | |
13862 | } | |
13863 | ||
13864 | ||
13865 | SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13866 | PyObject *resultobj = 0; | |
13867 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13868 | wxString *arg2 = 0 ; | |
13869 | wxString result; | |
13870 | void *argp1 = 0 ; | |
13871 | int res1 = 0 ; | |
13872 | bool temp2 = false ; | |
13873 | PyObject * obj0 = 0 ; | |
13874 | PyObject * obj1 = 0 ; | |
13875 | char * kwnames[] = { | |
13876 | (char *) "self",(char *) "page", NULL | |
13877 | }; | |
13878 | ||
13879 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) SWIG_fail; | |
13880 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13881 | if (!SWIG_IsOK(res1)) { | |
13882 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13883 | } | |
13884 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13885 | { | |
13886 | arg2 = wxString_in_helper(obj1); | |
13887 | if (arg2 == NULL) SWIG_fail; | |
13888 | temp2 = true; | |
13889 | } | |
13890 | { | |
13891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13892 | result = (arg1)->FindPageByName((wxString const &)*arg2); | |
13893 | wxPyEndAllowThreads(__tstate); | |
13894 | if (PyErr_Occurred()) SWIG_fail; | |
13895 | } | |
13896 | { | |
d14a1e28 | 13897 | #if wxUSE_UNICODE |
554f62e9 | 13898 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13899 | #else |
554f62e9 | 13900 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13901 | #endif |
554f62e9 RD |
13902 | } |
13903 | { | |
13904 | if (temp2) | |
13905 | delete arg2; | |
13906 | } | |
13907 | return resultobj; | |
13908 | fail: | |
13909 | { | |
13910 | if (temp2) | |
13911 | delete arg2; | |
13912 | } | |
13913 | return NULL; | |
13914 | } | |
13915 | ||
13916 | ||
13917 | SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13918 | PyObject *resultobj = 0; | |
13919 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13920 | int arg2 ; | |
13921 | wxString result; | |
13922 | void *argp1 = 0 ; | |
13923 | int res1 = 0 ; | |
13924 | int val2 ; | |
13925 | int ecode2 = 0 ; | |
13926 | PyObject * obj0 = 0 ; | |
13927 | PyObject * obj1 = 0 ; | |
13928 | char * kwnames[] = { | |
13929 | (char *) "self",(char *) "id", NULL | |
13930 | }; | |
13931 | ||
13932 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) SWIG_fail; | |
13933 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13934 | if (!SWIG_IsOK(res1)) { | |
13935 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13936 | } | |
13937 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13938 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13939 | if (!SWIG_IsOK(ecode2)) { | |
13940 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'"); | |
13941 | } | |
13942 | arg2 = static_cast< int >(val2); | |
13943 | { | |
13944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13945 | result = (arg1)->FindPageById(arg2); | |
13946 | wxPyEndAllowThreads(__tstate); | |
13947 | if (PyErr_Occurred()) SWIG_fail; | |
13948 | } | |
13949 | { | |
d14a1e28 | 13950 | #if wxUSE_UNICODE |
554f62e9 | 13951 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13952 | #else |
554f62e9 | 13953 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13954 | #endif |
554f62e9 RD |
13955 | } |
13956 | return resultobj; | |
13957 | fail: | |
13958 | return NULL; | |
d14a1e28 RD |
13959 | } |
13960 | ||
13961 | ||
554f62e9 RD |
13962 | SWIGINTERN PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13963 | PyObject *resultobj = 0; | |
13964 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13965 | wxHtmlBookRecArray *result = 0 ; | |
13966 | void *argp1 = 0 ; | |
13967 | int res1 = 0 ; | |
13968 | PyObject *swig_obj[1] ; | |
13969 | ||
13970 | if (!args) SWIG_fail; | |
13971 | swig_obj[0] = args; | |
13972 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13973 | if (!SWIG_IsOK(res1)) { | |
13974 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13975 | } | |
13976 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13977 | { | |
13978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 13979 | { |
554f62e9 RD |
13980 | wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray(); |
13981 | result = (wxHtmlBookRecArray *) &_result_ref; | |
d14a1e28 | 13982 | } |
554f62e9 RD |
13983 | wxPyEndAllowThreads(__tstate); |
13984 | if (PyErr_Occurred()) SWIG_fail; | |
13985 | } | |
13986 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecArray, 0 | 0 ); | |
13987 | return resultobj; | |
13988 | fail: | |
13989 | return NULL; | |
13990 | } | |
13991 | ||
13992 | ||
13993 | SWIGINTERN PyObject *HtmlHelpData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13994 | PyObject *obj; | |
13995 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13996 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData, SWIG_NewClientData(obj)); | |
13997 | return SWIG_Py_Void(); | |
13998 | } | |
13999 | ||
14000 | SWIGINTERN PyObject *HtmlHelpData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14001 | return SWIG_Python_InitShadowInstance(args); | |
14002 | } | |
14003 | ||
14004 | SWIGINTERN PyObject *_wrap_new_HtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14005 | PyObject *resultobj = 0; | |
14006 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14007 | int arg2 ; | |
14008 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
14009 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14010 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14011 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14012 | int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
14013 | int arg6 = (int) wxHF_DEFAULT_STYLE ; | |
14014 | wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ; | |
14015 | wxHtmlHelpWindow *result = 0 ; | |
14016 | void *argp1 = 0 ; | |
14017 | int res1 = 0 ; | |
14018 | int val2 ; | |
14019 | int ecode2 = 0 ; | |
14020 | wxPoint temp3 ; | |
14021 | wxSize temp4 ; | |
14022 | int val5 ; | |
14023 | int ecode5 = 0 ; | |
14024 | int val6 ; | |
14025 | int ecode6 = 0 ; | |
14026 | void *argp7 = 0 ; | |
14027 | int res7 = 0 ; | |
14028 | PyObject * obj0 = 0 ; | |
14029 | PyObject * obj1 = 0 ; | |
14030 | PyObject * obj2 = 0 ; | |
14031 | PyObject * obj3 = 0 ; | |
14032 | PyObject * obj4 = 0 ; | |
14033 | PyObject * obj5 = 0 ; | |
14034 | PyObject * obj6 = 0 ; | |
14035 | char * kwnames[] = { | |
14036 | (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL | |
14037 | }; | |
14038 | ||
14039 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
14040 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14041 | if (!SWIG_IsOK(res1)) { | |
14042 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
14043 | } | |
14044 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14045 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14046 | if (!SWIG_IsOK(ecode2)) { | |
14047 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'"); | |
14048 | } | |
14049 | arg2 = static_cast< int >(val2); | |
14050 | if (obj2) { | |
d14a1e28 | 14051 | { |
554f62e9 RD |
14052 | arg3 = &temp3; |
14053 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
d14a1e28 | 14054 | } |
554f62e9 RD |
14055 | } |
14056 | if (obj3) { | |
d14a1e28 | 14057 | { |
554f62e9 RD |
14058 | arg4 = &temp4; |
14059 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 14060 | } |
554f62e9 RD |
14061 | } |
14062 | if (obj4) { | |
14063 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
14064 | if (!SWIG_IsOK(ecode5)) { | |
14065 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'"); | |
14066 | } | |
14067 | arg5 = static_cast< int >(val5); | |
14068 | } | |
14069 | if (obj5) { | |
14070 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
14071 | if (!SWIG_IsOK(ecode6)) { | |
14072 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'"); | |
14073 | } | |
14074 | arg6 = static_cast< int >(val6); | |
14075 | } | |
14076 | if (obj6) { | |
14077 | res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
14078 | if (!SWIG_IsOK(res7)) { | |
14079 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'"); | |
14080 | } | |
14081 | arg7 = reinterpret_cast< wxHtmlHelpData * >(argp7); | |
14082 | } | |
14083 | { | |
14084 | if (!wxPyCheckForApp()) SWIG_fail; | |
14085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14086 | result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7); | |
14087 | wxPyEndAllowThreads(__tstate); | |
14088 | if (PyErr_Occurred()) SWIG_fail; | |
14089 | } | |
14090 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_NEW | 0 ); | |
14091 | return resultobj; | |
14092 | fail: | |
14093 | return NULL; | |
14094 | } | |
14095 | ||
14096 | ||
14097 | SWIGINTERN PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14098 | PyObject *resultobj = 0; | |
14099 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; | |
14100 | wxHtmlHelpWindow *result = 0 ; | |
14101 | void *argp1 = 0 ; | |
14102 | int res1 = 0 ; | |
14103 | PyObject * obj0 = 0 ; | |
14104 | char * kwnames[] = { | |
14105 | (char *) "data", NULL | |
14106 | }; | |
14107 | ||
14108 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) SWIG_fail; | |
14109 | if (obj0) { | |
14110 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
14111 | if (!SWIG_IsOK(res1)) { | |
14112 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 14113 | } |
554f62e9 RD |
14114 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); |
14115 | } | |
14116 | { | |
14117 | if (!wxPyCheckForApp()) SWIG_fail; | |
14118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14119 | result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1); | |
14120 | wxPyEndAllowThreads(__tstate); | |
14121 | if (PyErr_Occurred()) SWIG_fail; | |
14122 | } | |
14123 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_OWN | 0 ); | |
14124 | return resultobj; | |
14125 | fail: | |
14126 | return NULL; | |
14127 | } | |
14128 | ||
14129 | ||
14130 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14131 | PyObject *resultobj = 0; | |
14132 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14133 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14134 | int arg3 ; | |
14135 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14136 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14137 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14138 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14139 | int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
14140 | int arg7 = (int) wxHF_DEFAULT_STYLE ; | |
14141 | bool result; | |
14142 | void *argp1 = 0 ; | |
14143 | int res1 = 0 ; | |
14144 | void *argp2 = 0 ; | |
14145 | int res2 = 0 ; | |
14146 | int val3 ; | |
14147 | int ecode3 = 0 ; | |
14148 | wxPoint temp4 ; | |
14149 | wxSize temp5 ; | |
14150 | int val6 ; | |
14151 | int ecode6 = 0 ; | |
14152 | int val7 ; | |
14153 | int ecode7 = 0 ; | |
14154 | PyObject * obj0 = 0 ; | |
14155 | PyObject * obj1 = 0 ; | |
14156 | PyObject * obj2 = 0 ; | |
14157 | PyObject * obj3 = 0 ; | |
14158 | PyObject * obj4 = 0 ; | |
14159 | PyObject * obj5 = 0 ; | |
14160 | PyObject * obj6 = 0 ; | |
14161 | char * kwnames[] = { | |
14162 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL | |
14163 | }; | |
14164 | ||
14165 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
14166 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14167 | if (!SWIG_IsOK(res1)) { | |
14168 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14169 | } | |
14170 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14171 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14172 | if (!SWIG_IsOK(res2)) { | |
14173 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14174 | } | |
14175 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14176 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14177 | if (!SWIG_IsOK(ecode3)) { | |
14178 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'"); | |
14179 | } | |
14180 | arg3 = static_cast< int >(val3); | |
14181 | if (obj3) { | |
d14a1e28 | 14182 | { |
554f62e9 RD |
14183 | arg4 = &temp4; |
14184 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 14185 | } |
554f62e9 RD |
14186 | } |
14187 | if (obj4) { | |
d14a1e28 | 14188 | { |
554f62e9 RD |
14189 | arg5 = &temp5; |
14190 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
d14a1e28 | 14191 | } |
554f62e9 RD |
14192 | } |
14193 | if (obj5) { | |
14194 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
14195 | if (!SWIG_IsOK(ecode6)) { | |
14196 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'"); | |
14197 | } | |
14198 | arg6 = static_cast< int >(val6); | |
14199 | } | |
14200 | if (obj6) { | |
14201 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
14202 | if (!SWIG_IsOK(ecode7)) { | |
14203 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'"); | |
14204 | } | |
14205 | arg7 = static_cast< int >(val7); | |
14206 | } | |
14207 | { | |
14208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14209 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7); | |
14210 | wxPyEndAllowThreads(__tstate); | |
14211 | if (PyErr_Occurred()) SWIG_fail; | |
14212 | } | |
14213 | { | |
14214 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14215 | } | |
14216 | return resultobj; | |
14217 | fail: | |
14218 | return NULL; | |
d14a1e28 RD |
14219 | } |
14220 | ||
14221 | ||
554f62e9 RD |
14222 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14223 | PyObject *resultobj = 0; | |
14224 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14225 | wxHtmlHelpData *result = 0 ; | |
14226 | void *argp1 = 0 ; | |
14227 | int res1 = 0 ; | |
14228 | PyObject *swig_obj[1] ; | |
14229 | ||
14230 | if (!args) SWIG_fail; | |
14231 | swig_obj[0] = args; | |
14232 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14233 | if (!SWIG_IsOK(res1)) { | |
14234 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14235 | } | |
14236 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14237 | { | |
14238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14239 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
14240 | wxPyEndAllowThreads(__tstate); | |
14241 | if (PyErr_Occurred()) SWIG_fail; | |
14242 | } | |
14243 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
14244 | return resultobj; | |
14245 | fail: | |
14246 | return NULL; | |
d14a1e28 RD |
14247 | } |
14248 | ||
14249 | ||
554f62e9 RD |
14250 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14251 | PyObject *resultobj = 0; | |
14252 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14253 | wxHtmlHelpController *result = 0 ; | |
14254 | void *argp1 = 0 ; | |
14255 | int res1 = 0 ; | |
14256 | PyObject *swig_obj[1] ; | |
14257 | ||
14258 | if (!args) SWIG_fail; | |
14259 | swig_obj[0] = args; | |
14260 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14261 | if (!SWIG_IsOK(res1)) { | |
14262 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14263 | } | |
14264 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14265 | { | |
14266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14267 | result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController(); | |
14268 | wxPyEndAllowThreads(__tstate); | |
14269 | if (PyErr_Occurred()) SWIG_fail; | |
14270 | } | |
14271 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
14272 | return resultobj; | |
14273 | fail: | |
14274 | return NULL; | |
14275 | } | |
14276 | ||
14277 | ||
14278 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14279 | PyObject *resultobj = 0; | |
14280 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14281 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
14282 | void *argp1 = 0 ; | |
14283 | int res1 = 0 ; | |
14284 | int res2 = 0 ; | |
14285 | PyObject * obj0 = 0 ; | |
14286 | PyObject * obj1 = 0 ; | |
14287 | char * kwnames[] = { | |
14288 | (char *) "self",(char *) "controller", NULL | |
14289 | }; | |
14290 | ||
14291 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) SWIG_fail; | |
14292 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14293 | if (!SWIG_IsOK(res1)) { | |
14294 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14295 | } | |
14296 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14297 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
14298 | if (!SWIG_IsOK(res2)) { | |
14299 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'"); | |
14300 | } | |
14301 | { | |
14302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14303 | (arg1)->SetController(arg2); | |
14304 | wxPyEndAllowThreads(__tstate); | |
14305 | if (PyErr_Occurred()) SWIG_fail; | |
14306 | } | |
14307 | resultobj = SWIG_Py_Void(); | |
14308 | return resultobj; | |
14309 | fail: | |
14310 | return NULL; | |
14311 | } | |
14312 | ||
14313 | ||
14314 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14315 | PyObject *resultobj = 0; | |
14316 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14317 | wxString *arg2 = 0 ; | |
14318 | bool result; | |
14319 | void *argp1 = 0 ; | |
14320 | int res1 = 0 ; | |
14321 | bool temp2 = false ; | |
14322 | PyObject * obj0 = 0 ; | |
14323 | PyObject * obj1 = 0 ; | |
14324 | char * kwnames[] = { | |
14325 | (char *) "self",(char *) "x", NULL | |
14326 | }; | |
14327 | ||
14328 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) SWIG_fail; | |
14329 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14330 | if (!SWIG_IsOK(res1)) { | |
14331 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14332 | } | |
14333 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14334 | { | |
14335 | arg2 = wxString_in_helper(obj1); | |
14336 | if (arg2 == NULL) SWIG_fail; | |
14337 | temp2 = true; | |
14338 | } | |
14339 | { | |
14340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14341 | result = (bool)(arg1)->Display((wxString const &)*arg2); | |
14342 | wxPyEndAllowThreads(__tstate); | |
14343 | if (PyErr_Occurred()) SWIG_fail; | |
14344 | } | |
14345 | { | |
14346 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14347 | } | |
14348 | { | |
14349 | if (temp2) | |
14350 | delete arg2; | |
14351 | } | |
14352 | return resultobj; | |
14353 | fail: | |
14354 | { | |
14355 | if (temp2) | |
14356 | delete arg2; | |
14357 | } | |
14358 | return NULL; | |
14359 | } | |
14360 | ||
14361 | ||
14362 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14363 | PyObject *resultobj = 0; | |
14364 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14365 | int arg2 ; | |
14366 | bool result; | |
14367 | void *argp1 = 0 ; | |
14368 | int res1 = 0 ; | |
14369 | int val2 ; | |
14370 | int ecode2 = 0 ; | |
14371 | PyObject * obj0 = 0 ; | |
14372 | PyObject * obj1 = 0 ; | |
14373 | char * kwnames[] = { | |
14374 | (char *) "self",(char *) "id", NULL | |
14375 | }; | |
14376 | ||
14377 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail; | |
14378 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14379 | if (!SWIG_IsOK(res1)) { | |
14380 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14381 | } | |
14382 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14383 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14384 | if (!SWIG_IsOK(ecode2)) { | |
14385 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'"); | |
14386 | } | |
14387 | arg2 = static_cast< int >(val2); | |
14388 | { | |
14389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14390 | result = (bool)(arg1)->Display(arg2); | |
14391 | wxPyEndAllowThreads(__tstate); | |
14392 | if (PyErr_Occurred()) SWIG_fail; | |
14393 | } | |
14394 | { | |
14395 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14396 | } | |
14397 | return resultobj; | |
14398 | fail: | |
14399 | return NULL; | |
d14a1e28 RD |
14400 | } |
14401 | ||
14402 | ||
554f62e9 RD |
14403 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14404 | PyObject *resultobj = 0; | |
14405 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14406 | bool result; | |
14407 | void *argp1 = 0 ; | |
14408 | int res1 = 0 ; | |
14409 | PyObject *swig_obj[1] ; | |
14410 | ||
14411 | if (!args) SWIG_fail; | |
14412 | swig_obj[0] = args; | |
14413 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14414 | if (!SWIG_IsOK(res1)) { | |
14415 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14416 | } | |
14417 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14418 | { | |
14419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14420 | result = (bool)(arg1)->DisplayContents(); | |
14421 | wxPyEndAllowThreads(__tstate); | |
14422 | if (PyErr_Occurred()) SWIG_fail; | |
14423 | } | |
14424 | { | |
14425 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14426 | } | |
14427 | return resultobj; | |
14428 | fail: | |
14429 | return NULL; | |
d14a1e28 RD |
14430 | } |
14431 | ||
14432 | ||
554f62e9 RD |
14433 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14434 | PyObject *resultobj = 0; | |
14435 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14436 | bool result; | |
14437 | void *argp1 = 0 ; | |
14438 | int res1 = 0 ; | |
14439 | PyObject *swig_obj[1] ; | |
14440 | ||
14441 | if (!args) SWIG_fail; | |
14442 | swig_obj[0] = args; | |
14443 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14444 | if (!SWIG_IsOK(res1)) { | |
14445 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14446 | } | |
14447 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14448 | { | |
14449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14450 | result = (bool)(arg1)->DisplayIndex(); | |
14451 | wxPyEndAllowThreads(__tstate); | |
14452 | if (PyErr_Occurred()) SWIG_fail; | |
14453 | } | |
14454 | { | |
14455 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14456 | } | |
14457 | return resultobj; | |
14458 | fail: | |
14459 | return NULL; | |
14460 | } | |
14461 | ||
14462 | ||
14463 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14464 | PyObject *resultobj = 0; | |
14465 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14466 | wxString *arg2 = 0 ; | |
14467 | wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ; | |
14468 | bool result; | |
14469 | void *argp1 = 0 ; | |
14470 | int res1 = 0 ; | |
14471 | bool temp2 = false ; | |
14472 | void *argp3 ; | |
14473 | int res3 = 0 ; | |
14474 | PyObject * obj0 = 0 ; | |
14475 | PyObject * obj1 = 0 ; | |
14476 | PyObject * obj2 = 0 ; | |
14477 | char * kwnames[] = { | |
14478 | (char *) "self",(char *) "keyword",(char *) "mode", NULL | |
14479 | }; | |
14480 | ||
14481 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14482 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14483 | if (!SWIG_IsOK(res1)) { | |
14484 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14485 | } | |
14486 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14487 | { | |
14488 | arg2 = wxString_in_helper(obj1); | |
14489 | if (arg2 == NULL) SWIG_fail; | |
14490 | temp2 = true; | |
14491 | } | |
14492 | if (obj2) { | |
14493 | { | |
14494 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0); | |
14495 | if (!SWIG_IsOK(res3)) { | |
14496 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
14497 | } | |
14498 | if (!argp3) { | |
14499 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
14500 | } else { | |
14501 | wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3); | |
14502 | arg3 = *temp; | |
14503 | if (SWIG_IsNewObj(res3)) delete temp; | |
14504 | } | |
ae8162c8 | 14505 | } |
554f62e9 RD |
14506 | } |
14507 | { | |
14508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14509 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3); | |
14510 | wxPyEndAllowThreads(__tstate); | |
14511 | if (PyErr_Occurred()) SWIG_fail; | |
14512 | } | |
14513 | { | |
14514 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14515 | } | |
14516 | { | |
14517 | if (temp2) | |
14518 | delete arg2; | |
14519 | } | |
14520 | return resultobj; | |
14521 | fail: | |
14522 | { | |
14523 | if (temp2) | |
14524 | delete arg2; | |
14525 | } | |
14526 | return NULL; | |
14527 | } | |
14528 | ||
14529 | ||
14530 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14531 | PyObject *resultobj = 0; | |
14532 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14533 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
14534 | wxString const &arg3_defvalue = wxEmptyString ; | |
14535 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14536 | void *argp1 = 0 ; | |
14537 | int res1 = 0 ; | |
14538 | void *argp2 = 0 ; | |
14539 | int res2 = 0 ; | |
14540 | bool temp3 = false ; | |
14541 | PyObject * obj0 = 0 ; | |
14542 | PyObject * obj1 = 0 ; | |
14543 | PyObject * obj2 = 0 ; | |
14544 | char * kwnames[] = { | |
14545 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
14546 | }; | |
14547 | ||
14548 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14549 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14550 | if (!SWIG_IsOK(res1)) { | |
14551 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14552 | } | |
14553 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14554 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
14555 | if (!SWIG_IsOK(res2)) { | |
14556 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
14557 | } | |
14558 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
14559 | if (obj2) { | |
ae8162c8 | 14560 | { |
554f62e9 RD |
14561 | arg3 = wxString_in_helper(obj2); |
14562 | if (arg3 == NULL) SWIG_fail; | |
14563 | temp3 = true; | |
ae8162c8 | 14564 | } |
554f62e9 RD |
14565 | } |
14566 | { | |
14567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14568 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
14569 | wxPyEndAllowThreads(__tstate); | |
14570 | if (PyErr_Occurred()) SWIG_fail; | |
14571 | } | |
14572 | resultobj = SWIG_Py_Void(); | |
14573 | { | |
14574 | if (temp3) | |
14575 | delete arg3; | |
14576 | } | |
14577 | return resultobj; | |
14578 | fail: | |
14579 | { | |
14580 | if (temp3) | |
14581 | delete arg3; | |
14582 | } | |
14583 | return NULL; | |
14584 | } | |
14585 | ||
14586 | ||
14587 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14588 | PyObject *resultobj = 0; | |
14589 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14590 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
14591 | wxString const &arg3_defvalue = wxEmptyString ; | |
14592 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14593 | void *argp1 = 0 ; | |
14594 | int res1 = 0 ; | |
14595 | void *argp2 = 0 ; | |
14596 | int res2 = 0 ; | |
14597 | bool temp3 = false ; | |
14598 | PyObject * obj0 = 0 ; | |
14599 | PyObject * obj1 = 0 ; | |
14600 | PyObject * obj2 = 0 ; | |
14601 | char * kwnames[] = { | |
14602 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
14603 | }; | |
14604 | ||
14605 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14606 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14607 | if (!SWIG_IsOK(res1)) { | |
14608 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14609 | } | |
14610 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14611 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
14612 | if (!SWIG_IsOK(res2)) { | |
14613 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
14614 | } | |
14615 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
14616 | if (obj2) { | |
ae8162c8 | 14617 | { |
554f62e9 RD |
14618 | arg3 = wxString_in_helper(obj2); |
14619 | if (arg3 == NULL) SWIG_fail; | |
14620 | temp3 = true; | |
ae8162c8 | 14621 | } |
554f62e9 RD |
14622 | } |
14623 | { | |
14624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14625 | (arg1)->ReadCustomization(arg2,(wxString const &)*arg3); | |
14626 | wxPyEndAllowThreads(__tstate); | |
14627 | if (PyErr_Occurred()) SWIG_fail; | |
14628 | } | |
14629 | resultobj = SWIG_Py_Void(); | |
14630 | { | |
14631 | if (temp3) | |
14632 | delete arg3; | |
14633 | } | |
14634 | return resultobj; | |
14635 | fail: | |
14636 | { | |
14637 | if (temp3) | |
14638 | delete arg3; | |
14639 | } | |
14640 | return NULL; | |
14641 | } | |
14642 | ||
14643 | ||
14644 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14645 | PyObject *resultobj = 0; | |
14646 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14647 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
14648 | wxString const &arg3_defvalue = wxEmptyString ; | |
14649 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14650 | void *argp1 = 0 ; | |
14651 | int res1 = 0 ; | |
14652 | void *argp2 = 0 ; | |
14653 | int res2 = 0 ; | |
14654 | bool temp3 = false ; | |
14655 | PyObject * obj0 = 0 ; | |
14656 | PyObject * obj1 = 0 ; | |
14657 | PyObject * obj2 = 0 ; | |
14658 | char * kwnames[] = { | |
14659 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
14660 | }; | |
14661 | ||
14662 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14663 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14664 | if (!SWIG_IsOK(res1)) { | |
14665 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14666 | } | |
14667 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14668 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
14669 | if (!SWIG_IsOK(res2)) { | |
14670 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
14671 | } | |
14672 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
14673 | if (obj2) { | |
ae8162c8 | 14674 | { |
554f62e9 RD |
14675 | arg3 = wxString_in_helper(obj2); |
14676 | if (arg3 == NULL) SWIG_fail; | |
14677 | temp3 = true; | |
ae8162c8 | 14678 | } |
554f62e9 RD |
14679 | } |
14680 | { | |
14681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14682 | (arg1)->WriteCustomization(arg2,(wxString const &)*arg3); | |
14683 | wxPyEndAllowThreads(__tstate); | |
14684 | if (PyErr_Occurred()) SWIG_fail; | |
14685 | } | |
14686 | resultobj = SWIG_Py_Void(); | |
14687 | { | |
14688 | if (temp3) | |
14689 | delete arg3; | |
14690 | } | |
14691 | return resultobj; | |
14692 | fail: | |
14693 | { | |
14694 | if (temp3) | |
14695 | delete arg3; | |
14696 | } | |
14697 | return NULL; | |
30ee79f7 RD |
14698 | } |
14699 | ||
14700 | ||
554f62e9 RD |
14701 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14702 | PyObject *resultobj = 0; | |
14703 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14704 | void *argp1 = 0 ; | |
14705 | int res1 = 0 ; | |
14706 | PyObject *swig_obj[1] ; | |
14707 | ||
14708 | if (!args) SWIG_fail; | |
14709 | swig_obj[0] = args; | |
14710 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14711 | if (!SWIG_IsOK(res1)) { | |
14712 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14713 | } | |
14714 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14715 | { | |
14716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14717 | (arg1)->NotifyPageChanged(); | |
14718 | wxPyEndAllowThreads(__tstate); | |
14719 | if (PyErr_Occurred()) SWIG_fail; | |
14720 | } | |
14721 | resultobj = SWIG_Py_Void(); | |
14722 | return resultobj; | |
14723 | fail: | |
14724 | return NULL; | |
d14a1e28 RD |
14725 | } |
14726 | ||
14727 | ||
554f62e9 RD |
14728 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14729 | PyObject *resultobj = 0; | |
14730 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14731 | void *argp1 = 0 ; | |
14732 | int res1 = 0 ; | |
14733 | PyObject *swig_obj[1] ; | |
14734 | ||
14735 | if (!args) SWIG_fail; | |
14736 | swig_obj[0] = args; | |
14737 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14738 | if (!SWIG_IsOK(res1)) { | |
14739 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14740 | } | |
14741 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14742 | { | |
14743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14744 | (arg1)->RefreshLists(); | |
14745 | wxPyEndAllowThreads(__tstate); | |
14746 | if (PyErr_Occurred()) SWIG_fail; | |
14747 | } | |
14748 | resultobj = SWIG_Py_Void(); | |
14749 | return resultobj; | |
14750 | fail: | |
14751 | return NULL; | |
d14a1e28 RD |
14752 | } |
14753 | ||
14754 | ||
554f62e9 RD |
14755 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14756 | PyObject *resultobj = 0; | |
14757 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14758 | wxHtmlWindow *result = 0 ; | |
14759 | void *argp1 = 0 ; | |
14760 | int res1 = 0 ; | |
14761 | PyObject *swig_obj[1] ; | |
14762 | ||
14763 | if (!args) SWIG_fail; | |
14764 | swig_obj[0] = args; | |
14765 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14766 | if (!SWIG_IsOK(res1)) { | |
14767 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14768 | } | |
14769 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14770 | { | |
14771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14772 | result = (wxHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow(); | |
14773 | wxPyEndAllowThreads(__tstate); | |
14774 | if (PyErr_Occurred()) SWIG_fail; | |
14775 | } | |
14776 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindow, 0 | 0 ); | |
14777 | return resultobj; | |
14778 | fail: | |
14779 | return NULL; | |
53aa7709 RD |
14780 | } |
14781 | ||
14782 | ||
554f62e9 RD |
14783 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14784 | PyObject *resultobj = 0; | |
14785 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14786 | wxSplitterWindow *result = 0 ; | |
14787 | void *argp1 = 0 ; | |
14788 | int res1 = 0 ; | |
14789 | PyObject *swig_obj[1] ; | |
14790 | ||
14791 | if (!args) SWIG_fail; | |
14792 | swig_obj[0] = args; | |
14793 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14794 | if (!SWIG_IsOK(res1)) { | |
14795 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14796 | } | |
14797 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14798 | { | |
14799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14800 | result = (wxSplitterWindow *)(arg1)->GetSplitterWindow(); | |
14801 | wxPyEndAllowThreads(__tstate); | |
14802 | if (PyErr_Occurred()) SWIG_fail; | |
14803 | } | |
14804 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, 0 | 0 ); | |
14805 | return resultobj; | |
14806 | fail: | |
14807 | return NULL; | |
d14a1e28 RD |
14808 | } |
14809 | ||
14810 | ||
554f62e9 RD |
14811 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14812 | PyObject *resultobj = 0; | |
14813 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14814 | wxToolBar *result = 0 ; | |
14815 | void *argp1 = 0 ; | |
14816 | int res1 = 0 ; | |
14817 | PyObject *swig_obj[1] ; | |
14818 | ||
14819 | if (!args) SWIG_fail; | |
14820 | swig_obj[0] = args; | |
14821 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14822 | if (!SWIG_IsOK(res1)) { | |
14823 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14824 | } | |
14825 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14826 | { | |
14827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14828 | result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar(); | |
14829 | wxPyEndAllowThreads(__tstate); | |
14830 | if (PyErr_Occurred()) SWIG_fail; | |
14831 | } | |
14832 | { | |
14833 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
14834 | } | |
14835 | return resultobj; | |
14836 | fail: | |
14837 | return NULL; | |
d14a1e28 RD |
14838 | } |
14839 | ||
14840 | ||
554f62e9 RD |
14841 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14842 | PyObject *resultobj = 0; | |
14843 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14844 | wxHtmlHelpFrameCfg *result = 0 ; | |
14845 | void *argp1 = 0 ; | |
14846 | int res1 = 0 ; | |
14847 | PyObject *swig_obj[1] ; | |
14848 | ||
14849 | if (!args) SWIG_fail; | |
14850 | swig_obj[0] = args; | |
14851 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14852 | if (!SWIG_IsOK(res1)) { | |
14853 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14854 | } | |
14855 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14856 | { | |
14857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4f89f6a3 | 14858 | { |
554f62e9 RD |
14859 | wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData(); |
14860 | result = (wxHtmlHelpFrameCfg *) &_result_ref; | |
4f89f6a3 | 14861 | } |
554f62e9 RD |
14862 | wxPyEndAllowThreads(__tstate); |
14863 | if (PyErr_Occurred()) SWIG_fail; | |
14864 | } | |
14865 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0 | 0 ); | |
14866 | return resultobj; | |
14867 | fail: | |
14868 | return NULL; | |
d14a1e28 RD |
14869 | } |
14870 | ||
14871 | ||
554f62e9 RD |
14872 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14873 | PyObject *resultobj = 0; | |
14874 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14875 | wxTreeCtrl *result = 0 ; | |
14876 | void *argp1 = 0 ; | |
14877 | int res1 = 0 ; | |
14878 | PyObject *swig_obj[1] ; | |
14879 | ||
14880 | if (!args) SWIG_fail; | |
14881 | swig_obj[0] = args; | |
14882 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14883 | if (!SWIG_IsOK(res1)) { | |
14884 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14885 | } | |
14886 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14887 | { | |
14888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14889 | result = (wxTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl(); | |
14890 | wxPyEndAllowThreads(__tstate); | |
14891 | if (PyErr_Occurred()) SWIG_fail; | |
14892 | } | |
14893 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeCtrl, 0 | 0 ); | |
14894 | return resultobj; | |
14895 | fail: | |
14896 | return NULL; | |
d14a1e28 RD |
14897 | } |
14898 | ||
14899 | ||
554f62e9 RD |
14900 | SWIGINTERN PyObject *HtmlHelpWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14901 | PyObject *obj; | |
14902 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14903 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow, SWIG_NewClientData(obj)); | |
14904 | return SWIG_Py_Void(); | |
14905 | } | |
14906 | ||
14907 | SWIGINTERN PyObject *HtmlHelpWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14908 | return SWIG_Python_InitShadowInstance(args); | |
14909 | } | |
14910 | ||
14911 | SWIGINTERN PyObject *_wrap_new_HtmlWindowEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14912 | PyObject *resultobj = 0; | |
14913 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
14914 | int arg2 = (int) 0 ; | |
14915 | wxHtmlWindowEvent *result = 0 ; | |
14916 | int val1 ; | |
14917 | int ecode1 = 0 ; | |
14918 | int val2 ; | |
14919 | int ecode2 = 0 ; | |
14920 | PyObject * obj0 = 0 ; | |
14921 | PyObject * obj1 = 0 ; | |
14922 | char * kwnames[] = { | |
14923 | (char *) "commandType",(char *) "id", NULL | |
14924 | }; | |
14925 | ||
14926 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlWindowEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
14927 | if (obj0) { | |
14928 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
14929 | if (!SWIG_IsOK(ecode1)) { | |
14930 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlWindowEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
14931 | } | |
14932 | arg1 = static_cast< wxEventType >(val1); | |
14933 | } | |
14934 | if (obj1) { | |
14935 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14936 | if (!SWIG_IsOK(ecode2)) { | |
14937 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindowEvent" "', expected argument " "2"" of type '" "int""'"); | |
14938 | } | |
14939 | arg2 = static_cast< int >(val2); | |
14940 | } | |
14941 | { | |
14942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14943 | result = (wxHtmlWindowEvent *)new wxHtmlWindowEvent(arg1,arg2); | |
14944 | wxPyEndAllowThreads(__tstate); | |
14945 | if (PyErr_Occurred()) SWIG_fail; | |
14946 | } | |
14947 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_NEW | 0 ); | |
14948 | return resultobj; | |
14949 | fail: | |
14950 | return NULL; | |
14951 | } | |
14952 | ||
14953 | ||
14954 | SWIGINTERN PyObject *_wrap_HtmlWindowEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14955 | PyObject *resultobj = 0; | |
14956 | wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ; | |
14957 | wxString *arg2 = 0 ; | |
14958 | void *argp1 = 0 ; | |
14959 | int res1 = 0 ; | |
14960 | bool temp2 = false ; | |
14961 | PyObject * obj0 = 0 ; | |
14962 | PyObject * obj1 = 0 ; | |
14963 | char * kwnames[] = { | |
14964 | (char *) "self",(char *) "url", NULL | |
14965 | }; | |
14966 | ||
14967 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail; | |
14968 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowEvent, 0 | 0 ); | |
14969 | if (!SWIG_IsOK(res1)) { | |
14970 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowEvent_SetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent *""'"); | |
14971 | } | |
14972 | arg1 = reinterpret_cast< wxHtmlWindowEvent * >(argp1); | |
14973 | { | |
14974 | arg2 = wxString_in_helper(obj1); | |
14975 | if (arg2 == NULL) SWIG_fail; | |
14976 | temp2 = true; | |
14977 | } | |
14978 | { | |
14979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14980 | (arg1)->SetURL((wxString const &)*arg2); | |
14981 | wxPyEndAllowThreads(__tstate); | |
14982 | if (PyErr_Occurred()) SWIG_fail; | |
14983 | } | |
14984 | resultobj = SWIG_Py_Void(); | |
14985 | { | |
14986 | if (temp2) | |
14987 | delete arg2; | |
14988 | } | |
14989 | return resultobj; | |
14990 | fail: | |
14991 | { | |
14992 | if (temp2) | |
14993 | delete arg2; | |
14994 | } | |
14995 | return NULL; | |
14996 | } | |
14997 | ||
14998 | ||
14999 | SWIGINTERN PyObject *_wrap_HtmlWindowEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15000 | PyObject *resultobj = 0; | |
15001 | wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ; | |
15002 | wxString *result = 0 ; | |
15003 | void *argp1 = 0 ; | |
15004 | int res1 = 0 ; | |
15005 | PyObject *swig_obj[1] ; | |
15006 | ||
15007 | if (!args) SWIG_fail; | |
15008 | swig_obj[0] = args; | |
15009 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowEvent, 0 | 0 ); | |
15010 | if (!SWIG_IsOK(res1)) { | |
15011 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowEvent_GetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent const *""'"); | |
15012 | } | |
15013 | arg1 = reinterpret_cast< wxHtmlWindowEvent * >(argp1); | |
15014 | { | |
15015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 15016 | { |
554f62e9 RD |
15017 | wxString const &_result_ref = ((wxHtmlWindowEvent const *)arg1)->GetURL(); |
15018 | result = (wxString *) &_result_ref; | |
d14a1e28 | 15019 | } |
554f62e9 RD |
15020 | wxPyEndAllowThreads(__tstate); |
15021 | if (PyErr_Occurred()) SWIG_fail; | |
15022 | } | |
15023 | { | |
15024 | #if wxUSE_UNICODE | |
15025 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
15026 | #else | |
15027 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
15028 | #endif | |
15029 | } | |
15030 | return resultobj; | |
15031 | fail: | |
15032 | return NULL; | |
15033 | } | |
15034 | ||
15035 | ||
15036 | SWIGINTERN PyObject *HtmlWindowEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15037 | PyObject *obj; | |
15038 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
15039 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowEvent, SWIG_NewClientData(obj)); | |
15040 | return SWIG_Py_Void(); | |
15041 | } | |
15042 | ||
15043 | SWIGINTERN PyObject *HtmlWindowEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15044 | return SWIG_Python_InitShadowInstance(args); | |
15045 | } | |
15046 | ||
15047 | SWIGINTERN PyObject *_wrap_new_HtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15048 | PyObject *resultobj = 0; | |
15049 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15050 | int arg2 ; | |
15051 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15052 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15053 | int arg4 = (int) wxHF_DEFAULTSTYLE ; | |
15054 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
15055 | wxHtmlHelpFrame *result = 0 ; | |
15056 | void *argp1 = 0 ; | |
15057 | int res1 = 0 ; | |
15058 | int val2 ; | |
15059 | int ecode2 = 0 ; | |
15060 | bool temp3 = false ; | |
15061 | int val4 ; | |
15062 | int ecode4 = 0 ; | |
15063 | void *argp5 = 0 ; | |
15064 | int res5 = 0 ; | |
15065 | PyObject * obj0 = 0 ; | |
15066 | PyObject * obj1 = 0 ; | |
15067 | PyObject * obj2 = 0 ; | |
15068 | PyObject * obj3 = 0 ; | |
15069 | PyObject * obj4 = 0 ; | |
15070 | char * kwnames[] = { | |
15071 | (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL | |
15072 | }; | |
15073 | ||
15074 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
15075 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15076 | if (!SWIG_IsOK(res1)) { | |
15077 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
15078 | } | |
15079 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
15080 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15081 | if (!SWIG_IsOK(ecode2)) { | |
15082 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'"); | |
15083 | } | |
15084 | arg2 = static_cast< int >(val2); | |
15085 | if (obj2) { | |
4f89f6a3 | 15086 | { |
554f62e9 RD |
15087 | arg3 = wxString_in_helper(obj2); |
15088 | if (arg3 == NULL) SWIG_fail; | |
15089 | temp3 = true; | |
4f89f6a3 | 15090 | } |
554f62e9 RD |
15091 | } |
15092 | if (obj3) { | |
15093 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
15094 | if (!SWIG_IsOK(ecode4)) { | |
15095 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'"); | |
15096 | } | |
15097 | arg4 = static_cast< int >(val4); | |
15098 | } | |
15099 | if (obj4) { | |
15100 | res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15101 | if (!SWIG_IsOK(res5)) { | |
15102 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'"); | |
15103 | } | |
15104 | arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5); | |
15105 | } | |
15106 | { | |
15107 | if (!wxPyCheckForApp()) SWIG_fail; | |
15108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15109 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5); | |
15110 | wxPyEndAllowThreads(__tstate); | |
15111 | if (PyErr_Occurred()) SWIG_fail; | |
15112 | } | |
15113 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_NEW | 0 ); | |
15114 | { | |
15115 | if (temp3) | |
15116 | delete arg3; | |
15117 | } | |
15118 | return resultobj; | |
15119 | fail: | |
15120 | { | |
15121 | if (temp3) | |
15122 | delete arg3; | |
15123 | } | |
15124 | return NULL; | |
d14a1e28 RD |
15125 | } |
15126 | ||
15127 | ||
554f62e9 RD |
15128 | SWIGINTERN PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15129 | PyObject *resultobj = 0; | |
15130 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; | |
15131 | wxHtmlHelpFrame *result = 0 ; | |
15132 | void *argp1 = 0 ; | |
15133 | int res1 = 0 ; | |
15134 | PyObject * obj0 = 0 ; | |
15135 | char * kwnames[] = { | |
15136 | (char *) "data", NULL | |
15137 | }; | |
15138 | ||
15139 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) SWIG_fail; | |
15140 | if (obj0) { | |
15141 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15142 | if (!SWIG_IsOK(res1)) { | |
15143 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 15144 | } |
554f62e9 RD |
15145 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); |
15146 | } | |
15147 | { | |
15148 | if (!wxPyCheckForApp()) SWIG_fail; | |
15149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15150 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1); | |
15151 | wxPyEndAllowThreads(__tstate); | |
15152 | if (PyErr_Occurred()) SWIG_fail; | |
15153 | } | |
15154 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_OWN | 0 ); | |
15155 | return resultobj; | |
15156 | fail: | |
15157 | return NULL; | |
15158 | } | |
15159 | ||
15160 | ||
15161 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15162 | PyObject *resultobj = 0; | |
15163 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15164 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15165 | int arg3 ; | |
15166 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15167 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
15168 | int arg5 = (int) wxHF_DEFAULT_STYLE ; | |
15169 | bool result; | |
15170 | void *argp1 = 0 ; | |
15171 | int res1 = 0 ; | |
15172 | void *argp2 = 0 ; | |
15173 | int res2 = 0 ; | |
15174 | int val3 ; | |
15175 | int ecode3 = 0 ; | |
15176 | bool temp4 = false ; | |
15177 | int val5 ; | |
15178 | int ecode5 = 0 ; | |
15179 | PyObject * obj0 = 0 ; | |
15180 | PyObject * obj1 = 0 ; | |
15181 | PyObject * obj2 = 0 ; | |
15182 | PyObject * obj3 = 0 ; | |
15183 | PyObject * obj4 = 0 ; | |
15184 | char * kwnames[] = { | |
15185 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL | |
15186 | }; | |
15187 | ||
15188 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
15189 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15190 | if (!SWIG_IsOK(res1)) { | |
15191 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15192 | } | |
15193 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15194 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15195 | if (!SWIG_IsOK(res2)) { | |
15196 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
15197 | } | |
15198 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15199 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
15200 | if (!SWIG_IsOK(ecode3)) { | |
15201 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'"); | |
15202 | } | |
15203 | arg3 = static_cast< int >(val3); | |
15204 | if (obj3) { | |
4f89f6a3 | 15205 | { |
554f62e9 RD |
15206 | arg4 = wxString_in_helper(obj3); |
15207 | if (arg4 == NULL) SWIG_fail; | |
15208 | temp4 = true; | |
4f89f6a3 | 15209 | } |
554f62e9 RD |
15210 | } |
15211 | if (obj4) { | |
15212 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
15213 | if (!SWIG_IsOK(ecode5)) { | |
15214 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'"); | |
15215 | } | |
15216 | arg5 = static_cast< int >(val5); | |
15217 | } | |
15218 | { | |
15219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15220 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
15221 | wxPyEndAllowThreads(__tstate); | |
15222 | if (PyErr_Occurred()) SWIG_fail; | |
15223 | } | |
15224 | { | |
15225 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15226 | } | |
15227 | { | |
15228 | if (temp4) | |
15229 | delete arg4; | |
15230 | } | |
15231 | return resultobj; | |
15232 | fail: | |
15233 | { | |
15234 | if (temp4) | |
15235 | delete arg4; | |
15236 | } | |
15237 | return NULL; | |
d14a1e28 RD |
15238 | } |
15239 | ||
15240 | ||
554f62e9 RD |
15241 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15242 | PyObject *resultobj = 0; | |
15243 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15244 | wxHtmlHelpData *result = 0 ; | |
15245 | void *argp1 = 0 ; | |
15246 | int res1 = 0 ; | |
15247 | PyObject *swig_obj[1] ; | |
15248 | ||
15249 | if (!args) SWIG_fail; | |
15250 | swig_obj[0] = args; | |
15251 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15252 | if (!SWIG_IsOK(res1)) { | |
15253 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15254 | } | |
15255 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15256 | { | |
15257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15258 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
15259 | wxPyEndAllowThreads(__tstate); | |
15260 | if (PyErr_Occurred()) SWIG_fail; | |
15261 | } | |
15262 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15263 | return resultobj; | |
15264 | fail: | |
15265 | return NULL; | |
15266 | } | |
15267 | ||
15268 | ||
15269 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15270 | PyObject *resultobj = 0; | |
15271 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15272 | wxString *arg2 = 0 ; | |
15273 | void *argp1 = 0 ; | |
15274 | int res1 = 0 ; | |
15275 | bool temp2 = false ; | |
15276 | PyObject * obj0 = 0 ; | |
15277 | PyObject * obj1 = 0 ; | |
15278 | char * kwnames[] = { | |
15279 | (char *) "self",(char *) "format", NULL | |
15280 | }; | |
15281 | ||
15282 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail; | |
15283 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15284 | if (!SWIG_IsOK(res1)) { | |
15285 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15286 | } | |
15287 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15288 | { | |
15289 | arg2 = wxString_in_helper(obj1); | |
15290 | if (arg2 == NULL) SWIG_fail; | |
15291 | temp2 = true; | |
15292 | } | |
15293 | { | |
15294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15295 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
15296 | wxPyEndAllowThreads(__tstate); | |
15297 | if (PyErr_Occurred()) SWIG_fail; | |
15298 | } | |
15299 | resultobj = SWIG_Py_Void(); | |
15300 | { | |
15301 | if (temp2) | |
15302 | delete arg2; | |
15303 | } | |
15304 | return resultobj; | |
15305 | fail: | |
15306 | { | |
15307 | if (temp2) | |
15308 | delete arg2; | |
15309 | } | |
15310 | return NULL; | |
d14a1e28 RD |
15311 | } |
15312 | ||
15313 | ||
554f62e9 RD |
15314 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15315 | PyObject *resultobj = 0; | |
15316 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15317 | void *argp1 = 0 ; | |
15318 | int res1 = 0 ; | |
15319 | PyObject *swig_obj[1] ; | |
15320 | ||
15321 | if (!args) SWIG_fail; | |
15322 | swig_obj[0] = args; | |
15323 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15324 | if (!SWIG_IsOK(res1)) { | |
15325 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15326 | } | |
15327 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15328 | { | |
15329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15330 | (arg1)->AddGrabIfNeeded(); | |
15331 | wxPyEndAllowThreads(__tstate); | |
15332 | if (PyErr_Occurred()) SWIG_fail; | |
15333 | } | |
15334 | resultobj = SWIG_Py_Void(); | |
15335 | return resultobj; | |
15336 | fail: | |
15337 | return NULL; | |
d14a1e28 RD |
15338 | } |
15339 | ||
15340 | ||
554f62e9 RD |
15341 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15342 | PyObject *resultobj = 0; | |
15343 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15344 | wxHtmlHelpController *result = 0 ; | |
15345 | void *argp1 = 0 ; | |
15346 | int res1 = 0 ; | |
15347 | PyObject *swig_obj[1] ; | |
15348 | ||
15349 | if (!args) SWIG_fail; | |
15350 | swig_obj[0] = args; | |
15351 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15352 | if (!SWIG_IsOK(res1)) { | |
15353 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'"); | |
15354 | } | |
15355 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15356 | { | |
15357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15358 | result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController(); | |
15359 | wxPyEndAllowThreads(__tstate); | |
15360 | if (PyErr_Occurred()) SWIG_fail; | |
15361 | } | |
15362 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
15363 | return resultobj; | |
15364 | fail: | |
15365 | return NULL; | |
15366 | } | |
15367 | ||
15368 | ||
15369 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15370 | PyObject *resultobj = 0; | |
15371 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15372 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
15373 | void *argp1 = 0 ; | |
15374 | int res1 = 0 ; | |
15375 | int res2 = 0 ; | |
15376 | PyObject * obj0 = 0 ; | |
15377 | PyObject * obj1 = 0 ; | |
15378 | char * kwnames[] = { | |
15379 | (char *) "self",(char *) "controller", NULL | |
15380 | }; | |
15381 | ||
15382 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) SWIG_fail; | |
15383 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15384 | if (!SWIG_IsOK(res1)) { | |
15385 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15386 | } | |
15387 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15388 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
15389 | if (!SWIG_IsOK(res2)) { | |
15390 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'"); | |
15391 | } | |
15392 | { | |
15393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15394 | (arg1)->SetController(arg2); | |
15395 | wxPyEndAllowThreads(__tstate); | |
15396 | if (PyErr_Occurred()) SWIG_fail; | |
15397 | } | |
15398 | resultobj = SWIG_Py_Void(); | |
15399 | return resultobj; | |
15400 | fail: | |
15401 | return NULL; | |
d14a1e28 RD |
15402 | } |
15403 | ||
15404 | ||
554f62e9 RD |
15405 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15406 | PyObject *resultobj = 0; | |
15407 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15408 | wxHtmlHelpWindow *result = 0 ; | |
15409 | void *argp1 = 0 ; | |
15410 | int res1 = 0 ; | |
15411 | PyObject *swig_obj[1] ; | |
15412 | ||
15413 | if (!args) SWIG_fail; | |
15414 | swig_obj[0] = args; | |
15415 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15416 | if (!SWIG_IsOK(res1)) { | |
15417 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'"); | |
15418 | } | |
15419 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15420 | { | |
15421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15422 | result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow(); | |
15423 | wxPyEndAllowThreads(__tstate); | |
15424 | if (PyErr_Occurred()) SWIG_fail; | |
15425 | } | |
15426 | { | |
15427 | resultobj = wxPyMake_wxObject(result, 0); | |
15428 | } | |
15429 | return resultobj; | |
15430 | fail: | |
15431 | return NULL; | |
15432 | } | |
15433 | ||
15434 | ||
15435 | SWIGINTERN PyObject *HtmlHelpFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15436 | PyObject *obj; | |
15437 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
15438 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame, SWIG_NewClientData(obj)); | |
15439 | return SWIG_Py_Void(); | |
15440 | } | |
15441 | ||
15442 | SWIGINTERN PyObject *HtmlHelpFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15443 | return SWIG_Python_InitShadowInstance(args); | |
15444 | } | |
15445 | ||
15446 | SWIGINTERN PyObject *_wrap_new_HtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15447 | PyObject *resultobj = 0; | |
15448 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15449 | int arg2 ; | |
15450 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15451 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15452 | int arg4 = (int) wxHF_DEFAULT_STYLE ; | |
15453 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
15454 | wxHtmlHelpDialog *result = 0 ; | |
15455 | void *argp1 = 0 ; | |
15456 | int res1 = 0 ; | |
15457 | int val2 ; | |
15458 | int ecode2 = 0 ; | |
15459 | bool temp3 = false ; | |
15460 | int val4 ; | |
15461 | int ecode4 = 0 ; | |
15462 | void *argp5 = 0 ; | |
15463 | int res5 = 0 ; | |
15464 | PyObject * obj0 = 0 ; | |
15465 | PyObject * obj1 = 0 ; | |
15466 | PyObject * obj2 = 0 ; | |
15467 | PyObject * obj3 = 0 ; | |
15468 | PyObject * obj4 = 0 ; | |
15469 | char * kwnames[] = { | |
15470 | (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL | |
15471 | }; | |
15472 | ||
15473 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
15474 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15475 | if (!SWIG_IsOK(res1)) { | |
15476 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
15477 | } | |
15478 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
15479 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15480 | if (!SWIG_IsOK(ecode2)) { | |
15481 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'"); | |
15482 | } | |
15483 | arg2 = static_cast< int >(val2); | |
15484 | if (obj2) { | |
d14a1e28 | 15485 | { |
554f62e9 RD |
15486 | arg3 = wxString_in_helper(obj2); |
15487 | if (arg3 == NULL) SWIG_fail; | |
15488 | temp3 = true; | |
d14a1e28 | 15489 | } |
554f62e9 RD |
15490 | } |
15491 | if (obj3) { | |
15492 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
15493 | if (!SWIG_IsOK(ecode4)) { | |
15494 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'"); | |
15495 | } | |
15496 | arg4 = static_cast< int >(val4); | |
15497 | } | |
15498 | if (obj4) { | |
15499 | res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15500 | if (!SWIG_IsOK(res5)) { | |
15501 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 15502 | } |
554f62e9 RD |
15503 | arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5); |
15504 | } | |
15505 | { | |
15506 | if (!wxPyCheckForApp()) SWIG_fail; | |
15507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15508 | result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5); | |
15509 | wxPyEndAllowThreads(__tstate); | |
15510 | if (PyErr_Occurred()) SWIG_fail; | |
15511 | } | |
15512 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_NEW | 0 ); | |
15513 | { | |
15514 | if (temp3) | |
15515 | delete arg3; | |
15516 | } | |
15517 | return resultobj; | |
15518 | fail: | |
15519 | { | |
15520 | if (temp3) | |
15521 | delete arg3; | |
15522 | } | |
15523 | return NULL; | |
d14a1e28 RD |
15524 | } |
15525 | ||
15526 | ||
554f62e9 RD |
15527 | SWIGINTERN PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15528 | PyObject *resultobj = 0; | |
15529 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; | |
15530 | wxHtmlHelpDialog *result = 0 ; | |
15531 | void *argp1 = 0 ; | |
15532 | int res1 = 0 ; | |
15533 | PyObject * obj0 = 0 ; | |
15534 | char * kwnames[] = { | |
15535 | (char *) "data", NULL | |
15536 | }; | |
15537 | ||
15538 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) SWIG_fail; | |
15539 | if (obj0) { | |
15540 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15541 | if (!SWIG_IsOK(res1)) { | |
15542 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 15543 | } |
554f62e9 RD |
15544 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); |
15545 | } | |
15546 | { | |
15547 | if (!wxPyCheckForApp()) SWIG_fail; | |
15548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15549 | result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1); | |
15550 | wxPyEndAllowThreads(__tstate); | |
15551 | if (PyErr_Occurred()) SWIG_fail; | |
15552 | } | |
15553 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_OWN | 0 ); | |
15554 | return resultobj; | |
15555 | fail: | |
15556 | return NULL; | |
15557 | } | |
15558 | ||
15559 | ||
15560 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15561 | PyObject *resultobj = 0; | |
15562 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15563 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15564 | int arg3 ; | |
15565 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15566 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
15567 | int arg5 = (int) wxHF_DEFAULT_STYLE ; | |
15568 | bool result; | |
15569 | void *argp1 = 0 ; | |
15570 | int res1 = 0 ; | |
15571 | void *argp2 = 0 ; | |
15572 | int res2 = 0 ; | |
15573 | int val3 ; | |
15574 | int ecode3 = 0 ; | |
15575 | bool temp4 = false ; | |
15576 | int val5 ; | |
15577 | int ecode5 = 0 ; | |
15578 | PyObject * obj0 = 0 ; | |
15579 | PyObject * obj1 = 0 ; | |
15580 | PyObject * obj2 = 0 ; | |
15581 | PyObject * obj3 = 0 ; | |
15582 | PyObject * obj4 = 0 ; | |
15583 | char * kwnames[] = { | |
15584 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL | |
15585 | }; | |
15586 | ||
15587 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
15588 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15589 | if (!SWIG_IsOK(res1)) { | |
15590 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
15591 | } | |
15592 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15593 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15594 | if (!SWIG_IsOK(res2)) { | |
15595 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
15596 | } | |
15597 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15598 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
15599 | if (!SWIG_IsOK(ecode3)) { | |
15600 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'"); | |
15601 | } | |
15602 | arg3 = static_cast< int >(val3); | |
15603 | if (obj3) { | |
d14a1e28 | 15604 | { |
554f62e9 RD |
15605 | arg4 = wxString_in_helper(obj3); |
15606 | if (arg4 == NULL) SWIG_fail; | |
15607 | temp4 = true; | |
d14a1e28 | 15608 | } |
554f62e9 RD |
15609 | } |
15610 | if (obj4) { | |
15611 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
15612 | if (!SWIG_IsOK(ecode5)) { | |
15613 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'"); | |
15614 | } | |
15615 | arg5 = static_cast< int >(val5); | |
15616 | } | |
15617 | { | |
15618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15619 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
15620 | wxPyEndAllowThreads(__tstate); | |
15621 | if (PyErr_Occurred()) SWIG_fail; | |
15622 | } | |
15623 | { | |
15624 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15625 | } | |
15626 | { | |
15627 | if (temp4) | |
15628 | delete arg4; | |
15629 | } | |
15630 | return resultobj; | |
15631 | fail: | |
15632 | { | |
15633 | if (temp4) | |
15634 | delete arg4; | |
15635 | } | |
15636 | return NULL; | |
d14a1e28 RD |
15637 | } |
15638 | ||
15639 | ||
554f62e9 RD |
15640 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15641 | PyObject *resultobj = 0; | |
15642 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15643 | wxHtmlHelpData *result = 0 ; | |
15644 | void *argp1 = 0 ; | |
15645 | int res1 = 0 ; | |
15646 | PyObject *swig_obj[1] ; | |
15647 | ||
15648 | if (!args) SWIG_fail; | |
15649 | swig_obj[0] = args; | |
15650 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15651 | if (!SWIG_IsOK(res1)) { | |
15652 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
15653 | } | |
15654 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15655 | { | |
15656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15657 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
15658 | wxPyEndAllowThreads(__tstate); | |
15659 | if (PyErr_Occurred()) SWIG_fail; | |
15660 | } | |
15661 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15662 | return resultobj; | |
15663 | fail: | |
15664 | return NULL; | |
d14a1e28 RD |
15665 | } |
15666 | ||
15667 | ||
554f62e9 RD |
15668 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15669 | PyObject *resultobj = 0; | |
15670 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15671 | wxHtmlHelpController *result = 0 ; | |
15672 | void *argp1 = 0 ; | |
15673 | int res1 = 0 ; | |
15674 | PyObject *swig_obj[1] ; | |
15675 | ||
15676 | if (!args) SWIG_fail; | |
15677 | swig_obj[0] = args; | |
15678 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15679 | if (!SWIG_IsOK(res1)) { | |
15680 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'"); | |
15681 | } | |
15682 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15683 | { | |
15684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15685 | result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController(); | |
15686 | wxPyEndAllowThreads(__tstate); | |
15687 | if (PyErr_Occurred()) SWIG_fail; | |
15688 | } | |
15689 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
15690 | return resultobj; | |
15691 | fail: | |
15692 | return NULL; | |
15693 | } | |
15694 | ||
15695 | ||
15696 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15697 | PyObject *resultobj = 0; | |
15698 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15699 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
15700 | void *argp1 = 0 ; | |
15701 | int res1 = 0 ; | |
15702 | int res2 = 0 ; | |
15703 | PyObject * obj0 = 0 ; | |
15704 | PyObject * obj1 = 0 ; | |
15705 | char * kwnames[] = { | |
15706 | (char *) "self",(char *) "controller", NULL | |
15707 | }; | |
15708 | ||
15709 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) SWIG_fail; | |
15710 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15711 | if (!SWIG_IsOK(res1)) { | |
15712 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
15713 | } | |
15714 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15715 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
15716 | if (!SWIG_IsOK(res2)) { | |
15717 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'"); | |
15718 | } | |
15719 | { | |
15720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15721 | (arg1)->SetController(arg2); | |
15722 | wxPyEndAllowThreads(__tstate); | |
15723 | if (PyErr_Occurred()) SWIG_fail; | |
15724 | } | |
15725 | resultobj = SWIG_Py_Void(); | |
15726 | return resultobj; | |
15727 | fail: | |
15728 | return NULL; | |
db914595 RD |
15729 | } |
15730 | ||
15731 | ||
554f62e9 RD |
15732 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15733 | PyObject *resultobj = 0; | |
15734 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15735 | wxHtmlHelpWindow *result = 0 ; | |
15736 | void *argp1 = 0 ; | |
15737 | int res1 = 0 ; | |
15738 | PyObject *swig_obj[1] ; | |
15739 | ||
15740 | if (!args) SWIG_fail; | |
15741 | swig_obj[0] = args; | |
15742 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15743 | if (!SWIG_IsOK(res1)) { | |
15744 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'"); | |
15745 | } | |
15746 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15747 | { | |
15748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15749 | result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow(); | |
15750 | wxPyEndAllowThreads(__tstate); | |
15751 | if (PyErr_Occurred()) SWIG_fail; | |
15752 | } | |
15753 | { | |
15754 | resultobj = wxPyMake_wxObject(result, 0); | |
15755 | } | |
15756 | return resultobj; | |
15757 | fail: | |
15758 | return NULL; | |
15759 | } | |
15760 | ||
15761 | ||
15762 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15763 | PyObject *resultobj = 0; | |
15764 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15765 | wxString *arg2 = 0 ; | |
15766 | void *argp1 = 0 ; | |
15767 | int res1 = 0 ; | |
15768 | bool temp2 = false ; | |
15769 | PyObject * obj0 = 0 ; | |
15770 | PyObject * obj1 = 0 ; | |
15771 | char * kwnames[] = { | |
15772 | (char *) "self",(char *) "format", NULL | |
15773 | }; | |
15774 | ||
15775 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail; | |
15776 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15777 | if (!SWIG_IsOK(res1)) { | |
15778 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
15779 | } | |
15780 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15781 | { | |
15782 | arg2 = wxString_in_helper(obj1); | |
15783 | if (arg2 == NULL) SWIG_fail; | |
15784 | temp2 = true; | |
15785 | } | |
15786 | { | |
15787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15788 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
15789 | wxPyEndAllowThreads(__tstate); | |
15790 | if (PyErr_Occurred()) SWIG_fail; | |
15791 | } | |
15792 | resultobj = SWIG_Py_Void(); | |
15793 | { | |
15794 | if (temp2) | |
15795 | delete arg2; | |
15796 | } | |
15797 | return resultobj; | |
15798 | fail: | |
15799 | { | |
15800 | if (temp2) | |
15801 | delete arg2; | |
15802 | } | |
15803 | return NULL; | |
db914595 RD |
15804 | } |
15805 | ||
15806 | ||
554f62e9 RD |
15807 | SWIGINTERN PyObject *HtmlHelpDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15808 | PyObject *obj; | |
15809 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
15810 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog, SWIG_NewClientData(obj)); | |
15811 | return SWIG_Py_Void(); | |
db914595 RD |
15812 | } |
15813 | ||
554f62e9 RD |
15814 | SWIGINTERN PyObject *HtmlHelpDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15815 | return SWIG_Python_InitShadowInstance(args); | |
15816 | } | |
db914595 | 15817 | |
554f62e9 RD |
15818 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
15819 | PyObject *resultobj = 0; | |
15820 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15821 | wxString *arg2 = 0 ; | |
15822 | int arg3 ; | |
15823 | bool result; | |
15824 | void *argp1 = 0 ; | |
15825 | int res1 = 0 ; | |
15826 | bool temp2 = false ; | |
15827 | int val3 ; | |
15828 | int ecode3 = 0 ; | |
15829 | ||
15830 | if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; | |
15831 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15832 | if (!SWIG_IsOK(res1)) { | |
15833 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15834 | } | |
15835 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15836 | { | |
15837 | arg2 = wxString_in_helper(swig_obj[1]); | |
15838 | if (arg2 == NULL) SWIG_fail; | |
15839 | temp2 = true; | |
15840 | } | |
15841 | ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); | |
15842 | if (!SWIG_IsOK(ecode3)) { | |
15843 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'"); | |
15844 | } | |
15845 | arg3 = static_cast< int >(val3); | |
15846 | { | |
15847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15848 | result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3); | |
15849 | wxPyEndAllowThreads(__tstate); | |
15850 | if (PyErr_Occurred()) SWIG_fail; | |
15851 | } | |
15852 | { | |
15853 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15854 | } | |
15855 | { | |
15856 | if (temp2) | |
15857 | delete arg2; | |
15858 | } | |
15859 | return resultobj; | |
15860 | fail: | |
15861 | { | |
15862 | if (temp2) | |
15863 | delete arg2; | |
15864 | } | |
15865 | return NULL; | |
b0f7404b RD |
15866 | } |
15867 | ||
15868 | ||
554f62e9 RD |
15869 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
15870 | PyObject *resultobj = 0; | |
15871 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15872 | wxString *arg2 = 0 ; | |
15873 | bool result; | |
15874 | void *argp1 = 0 ; | |
15875 | int res1 = 0 ; | |
15876 | bool temp2 = false ; | |
15877 | ||
15878 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
15879 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15880 | if (!SWIG_IsOK(res1)) { | |
15881 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15882 | } | |
15883 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15884 | { | |
15885 | arg2 = wxString_in_helper(swig_obj[1]); | |
15886 | if (arg2 == NULL) SWIG_fail; | |
15887 | temp2 = true; | |
15888 | } | |
15889 | { | |
15890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15891 | result = (bool)(arg1)->Initialize((wxString const &)*arg2); | |
15892 | wxPyEndAllowThreads(__tstate); | |
15893 | if (PyErr_Occurred()) SWIG_fail; | |
15894 | } | |
15895 | { | |
15896 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15897 | } | |
15898 | { | |
15899 | if (temp2) | |
15900 | delete arg2; | |
15901 | } | |
15902 | return resultobj; | |
15903 | fail: | |
15904 | { | |
15905 | if (temp2) | |
15906 | delete arg2; | |
15907 | } | |
15908 | return NULL; | |
b0f7404b RD |
15909 | } |
15910 | ||
15911 | ||
554f62e9 RD |
15912 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) { |
15913 | int argc; | |
15914 | PyObject *argv[4]; | |
15915 | ||
15916 | if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_Initialize",0,3,argv))) SWIG_fail; | |
15917 | --argc; | |
15918 | if (argc == 2) { | |
15919 | return _wrap_HelpControllerBase_Initialize__SWIG_1(self, argc, argv); | |
15920 | } | |
15921 | if (argc == 3) { | |
15922 | return _wrap_HelpControllerBase_Initialize__SWIG_0(self, argc, argv); | |
15923 | } | |
15924 | ||
15925 | fail: | |
15926 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'"); | |
15927 | return NULL; | |
15928 | } | |
15929 | ||
15930 | ||
15931 | SWIGINTERN PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15932 | PyObject *resultobj = 0; | |
15933 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15934 | wxString *arg2 = 0 ; | |
15935 | long arg3 = (long) 0 ; | |
15936 | void *argp1 = 0 ; | |
15937 | int res1 = 0 ; | |
15938 | bool temp2 = false ; | |
15939 | long val3 ; | |
15940 | int ecode3 = 0 ; | |
15941 | PyObject * obj0 = 0 ; | |
15942 | PyObject * obj1 = 0 ; | |
15943 | PyObject * obj2 = 0 ; | |
15944 | char * kwnames[] = { | |
15945 | (char *) "self",(char *) "viewer",(char *) "flags", NULL | |
15946 | }; | |
15947 | ||
15948 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
15949 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
15950 | if (!SWIG_IsOK(res1)) { | |
15951 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
15952 | } | |
15953 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
15954 | { | |
15955 | arg2 = wxString_in_helper(obj1); | |
15956 | if (arg2 == NULL) SWIG_fail; | |
15957 | temp2 = true; | |
15958 | } | |
15959 | if (obj2) { | |
15960 | ecode3 = SWIG_AsVal_long(obj2, &val3); | |
15961 | if (!SWIG_IsOK(ecode3)) { | |
15962 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'"); | |
15963 | } | |
15964 | arg3 = static_cast< long >(val3); | |
15965 | } | |
15966 | { | |
15967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15968 | (arg1)->SetViewer((wxString const &)*arg2,arg3); | |
15969 | wxPyEndAllowThreads(__tstate); | |
15970 | if (PyErr_Occurred()) SWIG_fail; | |
15971 | } | |
15972 | resultobj = SWIG_Py_Void(); | |
15973 | { | |
15974 | if (temp2) | |
15975 | delete arg2; | |
15976 | } | |
15977 | return resultobj; | |
15978 | fail: | |
15979 | { | |
15980 | if (temp2) | |
15981 | delete arg2; | |
15982 | } | |
15983 | return NULL; | |
15984 | } | |
15985 | ||
15986 | ||
15987 | SWIGINTERN PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15988 | PyObject *resultobj = 0; | |
15989 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
15990 | wxString const &arg2_defvalue = wxEmptyString ; | |
15991 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
15992 | bool result; | |
15993 | void *argp1 = 0 ; | |
15994 | int res1 = 0 ; | |
15995 | bool temp2 = false ; | |
15996 | PyObject * obj0 = 0 ; | |
15997 | PyObject * obj1 = 0 ; | |
15998 | char * kwnames[] = { | |
15999 | (char *) "self",(char *) "file", NULL | |
16000 | }; | |
16001 | ||
16002 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
16003 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16004 | if (!SWIG_IsOK(res1)) { | |
16005 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16006 | } | |
16007 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16008 | if (obj1) { | |
d14a1e28 | 16009 | { |
554f62e9 RD |
16010 | arg2 = wxString_in_helper(obj1); |
16011 | if (arg2 == NULL) SWIG_fail; | |
16012 | temp2 = true; | |
d14a1e28 | 16013 | } |
554f62e9 RD |
16014 | } |
16015 | { | |
16016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16017 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
16018 | wxPyEndAllowThreads(__tstate); | |
16019 | if (PyErr_Occurred()) SWIG_fail; | |
16020 | } | |
16021 | { | |
16022 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16023 | } | |
16024 | { | |
16025 | if (temp2) | |
16026 | delete arg2; | |
16027 | } | |
16028 | return resultobj; | |
16029 | fail: | |
16030 | { | |
16031 | if (temp2) | |
16032 | delete arg2; | |
16033 | } | |
16034 | return NULL; | |
d14a1e28 RD |
16035 | } |
16036 | ||
16037 | ||
554f62e9 RD |
16038 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16039 | PyObject *resultobj = 0; | |
16040 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16041 | bool result; | |
16042 | void *argp1 = 0 ; | |
16043 | int res1 = 0 ; | |
16044 | PyObject *swig_obj[1] ; | |
16045 | ||
16046 | if (!args) SWIG_fail; | |
16047 | swig_obj[0] = args; | |
16048 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16049 | if (!SWIG_IsOK(res1)) { | |
16050 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16051 | } | |
16052 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16053 | { | |
16054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16055 | result = (bool)(arg1)->DisplayContents(); | |
16056 | wxPyEndAllowThreads(__tstate); | |
16057 | if (PyErr_Occurred()) SWIG_fail; | |
16058 | } | |
16059 | { | |
16060 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16061 | } | |
16062 | return resultobj; | |
16063 | fail: | |
16064 | return NULL; | |
d14a1e28 RD |
16065 | } |
16066 | ||
16067 | ||
554f62e9 RD |
16068 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
16069 | PyObject *resultobj = 0; | |
16070 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16071 | int arg2 ; | |
16072 | bool result; | |
16073 | void *argp1 = 0 ; | |
16074 | int res1 = 0 ; | |
16075 | int val2 ; | |
16076 | int ecode2 = 0 ; | |
16077 | ||
16078 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
16079 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16080 | if (!SWIG_IsOK(res1)) { | |
16081 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16082 | } | |
16083 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16084 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
16085 | if (!SWIG_IsOK(ecode2)) { | |
16086 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'"); | |
16087 | } | |
16088 | arg2 = static_cast< int >(val2); | |
16089 | { | |
16090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16091 | result = (bool)(arg1)->DisplaySection(arg2); | |
16092 | wxPyEndAllowThreads(__tstate); | |
16093 | if (PyErr_Occurred()) SWIG_fail; | |
16094 | } | |
16095 | { | |
16096 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16097 | } | |
16098 | return resultobj; | |
16099 | fail: | |
16100 | return NULL; | |
16101 | } | |
16102 | ||
16103 | ||
16104 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16105 | PyObject *resultobj = 0; | |
16106 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16107 | int arg2 ; | |
16108 | bool result; | |
16109 | void *argp1 = 0 ; | |
16110 | int res1 = 0 ; | |
16111 | int val2 ; | |
16112 | int ecode2 = 0 ; | |
16113 | PyObject * obj0 = 0 ; | |
16114 | PyObject * obj1 = 0 ; | |
16115 | char * kwnames[] = { | |
16116 | (char *) "self",(char *) "contextId", NULL | |
16117 | }; | |
16118 | ||
16119 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) SWIG_fail; | |
16120 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16121 | if (!SWIG_IsOK(res1)) { | |
16122 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16123 | } | |
16124 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16125 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
16126 | if (!SWIG_IsOK(ecode2)) { | |
16127 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'"); | |
16128 | } | |
16129 | arg2 = static_cast< int >(val2); | |
16130 | { | |
16131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16132 | result = (bool)(arg1)->DisplayContextPopup(arg2); | |
16133 | wxPyEndAllowThreads(__tstate); | |
16134 | if (PyErr_Occurred()) SWIG_fail; | |
16135 | } | |
16136 | { | |
16137 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16138 | } | |
16139 | return resultobj; | |
16140 | fail: | |
16141 | return NULL; | |
16142 | } | |
16143 | ||
16144 | ||
16145 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16146 | PyObject *resultobj = 0; | |
16147 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16148 | wxString *arg2 = 0 ; | |
16149 | wxPoint *arg3 = 0 ; | |
16150 | bool result; | |
16151 | void *argp1 = 0 ; | |
16152 | int res1 = 0 ; | |
16153 | bool temp2 = false ; | |
16154 | wxPoint temp3 ; | |
16155 | PyObject * obj0 = 0 ; | |
16156 | PyObject * obj1 = 0 ; | |
16157 | PyObject * obj2 = 0 ; | |
16158 | char * kwnames[] = { | |
16159 | (char *) "self",(char *) "text",(char *) "pos", NULL | |
16160 | }; | |
16161 | ||
16162 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
16163 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16164 | if (!SWIG_IsOK(res1)) { | |
16165 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16166 | } | |
16167 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16168 | { | |
16169 | arg2 = wxString_in_helper(obj1); | |
16170 | if (arg2 == NULL) SWIG_fail; | |
16171 | temp2 = true; | |
16172 | } | |
16173 | { | |
16174 | arg3 = &temp3; | |
16175 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
16176 | } | |
16177 | { | |
16178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16179 | result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3); | |
16180 | wxPyEndAllowThreads(__tstate); | |
16181 | if (PyErr_Occurred()) SWIG_fail; | |
16182 | } | |
16183 | { | |
16184 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16185 | } | |
16186 | { | |
16187 | if (temp2) | |
16188 | delete arg2; | |
16189 | } | |
16190 | return resultobj; | |
16191 | fail: | |
16192 | { | |
16193 | if (temp2) | |
16194 | delete arg2; | |
16195 | } | |
16196 | return NULL; | |
d14a1e28 RD |
16197 | } |
16198 | ||
16199 | ||
554f62e9 RD |
16200 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
16201 | PyObject *resultobj = 0; | |
16202 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16203 | wxString *arg2 = 0 ; | |
16204 | bool result; | |
16205 | void *argp1 = 0 ; | |
16206 | int res1 = 0 ; | |
16207 | bool temp2 = false ; | |
16208 | ||
16209 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
16210 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16211 | if (!SWIG_IsOK(res1)) { | |
16212 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16213 | } | |
16214 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16215 | { | |
16216 | arg2 = wxString_in_helper(swig_obj[1]); | |
16217 | if (arg2 == NULL) SWIG_fail; | |
16218 | temp2 = true; | |
16219 | } | |
16220 | { | |
16221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16222 | result = (bool)(arg1)->DisplaySection((wxString const &)*arg2); | |
16223 | wxPyEndAllowThreads(__tstate); | |
16224 | if (PyErr_Occurred()) SWIG_fail; | |
16225 | } | |
16226 | { | |
16227 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16228 | } | |
16229 | { | |
16230 | if (temp2) | |
16231 | delete arg2; | |
16232 | } | |
16233 | return resultobj; | |
16234 | fail: | |
16235 | { | |
16236 | if (temp2) | |
16237 | delete arg2; | |
16238 | } | |
16239 | return NULL; | |
d14a1e28 RD |
16240 | } |
16241 | ||
16242 | ||
554f62e9 RD |
16243 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) { |
16244 | int argc; | |
16245 | PyObject *argv[3]; | |
16246 | ||
16247 | if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_DisplaySection",0,2,argv))) SWIG_fail; | |
16248 | --argc; | |
16249 | if (argc == 2) { | |
16250 | int _v = 0; | |
f20a2e1f | 16251 | { |
554f62e9 RD |
16252 | { |
16253 | _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]); | |
16254 | } | |
f20a2e1f | 16255 | } |
554f62e9 RD |
16256 | if (!_v) goto check_1; |
16257 | return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self, argc, argv); | |
16258 | } | |
16259 | check_1: | |
16260 | ||
16261 | if (argc == 2) { | |
16262 | return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self, argc, argv); | |
16263 | } | |
16264 | ||
16265 | fail: | |
16266 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'"); | |
16267 | return NULL; | |
16268 | } | |
16269 | ||
16270 | ||
16271 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16272 | PyObject *resultobj = 0; | |
16273 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16274 | long arg2 ; | |
16275 | bool result; | |
16276 | void *argp1 = 0 ; | |
16277 | int res1 = 0 ; | |
16278 | long val2 ; | |
16279 | int ecode2 = 0 ; | |
16280 | PyObject * obj0 = 0 ; | |
16281 | PyObject * obj1 = 0 ; | |
16282 | char * kwnames[] = { | |
16283 | (char *) "self",(char *) "blockNo", NULL | |
16284 | }; | |
16285 | ||
16286 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) SWIG_fail; | |
16287 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16288 | if (!SWIG_IsOK(res1)) { | |
16289 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16290 | } | |
16291 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16292 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
16293 | if (!SWIG_IsOK(ecode2)) { | |
16294 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'"); | |
16295 | } | |
16296 | arg2 = static_cast< long >(val2); | |
16297 | { | |
16298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16299 | result = (bool)(arg1)->DisplayBlock(arg2); | |
16300 | wxPyEndAllowThreads(__tstate); | |
16301 | if (PyErr_Occurred()) SWIG_fail; | |
16302 | } | |
16303 | { | |
16304 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16305 | } | |
16306 | return resultobj; | |
16307 | fail: | |
16308 | return NULL; | |
16309 | } | |
16310 | ||
16311 | ||
16312 | SWIGINTERN PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16313 | PyObject *resultobj = 0; | |
16314 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16315 | wxString *arg2 = 0 ; | |
16316 | wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ; | |
16317 | bool result; | |
16318 | void *argp1 = 0 ; | |
16319 | int res1 = 0 ; | |
16320 | bool temp2 = false ; | |
16321 | void *argp3 ; | |
16322 | int res3 = 0 ; | |
16323 | PyObject * obj0 = 0 ; | |
16324 | PyObject * obj1 = 0 ; | |
16325 | PyObject * obj2 = 0 ; | |
16326 | char * kwnames[] = { | |
16327 | (char *) "self",(char *) "k",(char *) "mode", NULL | |
16328 | }; | |
16329 | ||
16330 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
16331 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16332 | if (!SWIG_IsOK(res1)) { | |
16333 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16334 | } | |
16335 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16336 | { | |
16337 | arg2 = wxString_in_helper(obj1); | |
16338 | if (arg2 == NULL) SWIG_fail; | |
16339 | temp2 = true; | |
16340 | } | |
16341 | if (obj2) { | |
16342 | { | |
16343 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0); | |
16344 | if (!SWIG_IsOK(res3)) { | |
16345 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
16346 | } | |
16347 | if (!argp3) { | |
16348 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
16349 | } else { | |
16350 | wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3); | |
16351 | arg3 = *temp; | |
16352 | if (SWIG_IsNewObj(res3)) delete temp; | |
16353 | } | |
f20a2e1f | 16354 | } |
554f62e9 RD |
16355 | } |
16356 | { | |
16357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16358 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3); | |
16359 | wxPyEndAllowThreads(__tstate); | |
16360 | if (PyErr_Occurred()) SWIG_fail; | |
16361 | } | |
16362 | { | |
16363 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16364 | } | |
16365 | { | |
16366 | if (temp2) | |
16367 | delete arg2; | |
16368 | } | |
16369 | return resultobj; | |
16370 | fail: | |
16371 | { | |
16372 | if (temp2) | |
16373 | delete arg2; | |
16374 | } | |
16375 | return NULL; | |
16376 | } | |
16377 | ||
16378 | ||
16379 | SWIGINTERN PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16380 | PyObject *resultobj = 0; | |
16381 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16382 | wxString *arg2 = 0 ; | |
16383 | wxSize *arg3 = 0 ; | |
16384 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
16385 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
16386 | bool arg5 = (bool) false ; | |
16387 | void *argp1 = 0 ; | |
16388 | int res1 = 0 ; | |
16389 | bool temp2 = false ; | |
16390 | wxSize temp3 ; | |
16391 | wxPoint temp4 ; | |
16392 | bool val5 ; | |
16393 | int ecode5 = 0 ; | |
16394 | PyObject * obj0 = 0 ; | |
16395 | PyObject * obj1 = 0 ; | |
16396 | PyObject * obj2 = 0 ; | |
16397 | PyObject * obj3 = 0 ; | |
16398 | PyObject * obj4 = 0 ; | |
16399 | char * kwnames[] = { | |
16400 | (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL | |
16401 | }; | |
16402 | ||
16403 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
16404 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16405 | if (!SWIG_IsOK(res1)) { | |
16406 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16407 | } | |
16408 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16409 | { | |
16410 | arg2 = wxString_in_helper(obj1); | |
16411 | if (arg2 == NULL) SWIG_fail; | |
16412 | temp2 = true; | |
16413 | } | |
16414 | { | |
16415 | arg3 = &temp3; | |
16416 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
16417 | } | |
16418 | if (obj3) { | |
d14a1e28 | 16419 | { |
554f62e9 RD |
16420 | arg4 = &temp4; |
16421 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 16422 | } |
554f62e9 RD |
16423 | } |
16424 | if (obj4) { | |
16425 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
16426 | if (!SWIG_IsOK(ecode5)) { | |
16427 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'"); | |
16428 | } | |
16429 | arg5 = static_cast< bool >(val5); | |
16430 | } | |
16431 | { | |
16432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16433 | (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5); | |
16434 | wxPyEndAllowThreads(__tstate); | |
16435 | if (PyErr_Occurred()) SWIG_fail; | |
16436 | } | |
16437 | resultobj = SWIG_Py_Void(); | |
16438 | { | |
16439 | if (temp2) | |
16440 | delete arg2; | |
16441 | } | |
16442 | return resultobj; | |
16443 | fail: | |
16444 | { | |
16445 | if (temp2) | |
16446 | delete arg2; | |
16447 | } | |
16448 | return NULL; | |
16449 | } | |
16450 | ||
16451 | ||
16452 | SWIGINTERN PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16453 | PyObject *resultobj = 0; | |
16454 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16455 | wxSize *arg2 = (wxSize *) NULL ; | |
16456 | wxPoint *arg3 = (wxPoint *) NULL ; | |
16457 | bool *arg4 = (bool *) NULL ; | |
16458 | wxFrame *result = 0 ; | |
16459 | void *argp1 = 0 ; | |
16460 | int res1 = 0 ; | |
16461 | void *argp2 = 0 ; | |
16462 | int res2 = 0 ; | |
16463 | void *argp3 = 0 ; | |
16464 | int res3 = 0 ; | |
16465 | void *argp4 = 0 ; | |
16466 | int res4 = 0 ; | |
16467 | PyObject * obj0 = 0 ; | |
16468 | PyObject * obj1 = 0 ; | |
16469 | PyObject * obj2 = 0 ; | |
16470 | PyObject * obj3 = 0 ; | |
16471 | char * kwnames[] = { | |
16472 | (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL | |
16473 | }; | |
16474 | ||
16475 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
16476 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16477 | if (!SWIG_IsOK(res1)) { | |
16478 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16479 | } | |
16480 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16481 | if (obj1) { | |
16482 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); | |
16483 | if (!SWIG_IsOK(res2)) { | |
16484 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'"); | |
d14a1e28 | 16485 | } |
554f62e9 RD |
16486 | arg2 = reinterpret_cast< wxSize * >(argp2); |
16487 | } | |
16488 | if (obj2) { | |
16489 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPoint, 0 | 0 ); | |
16490 | if (!SWIG_IsOK(res3)) { | |
16491 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'"); | |
093d3ff1 | 16492 | } |
554f62e9 RD |
16493 | arg3 = reinterpret_cast< wxPoint * >(argp3); |
16494 | } | |
16495 | if (obj3) { | |
16496 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_bool, 0 | 0 ); | |
16497 | if (!SWIG_IsOK(res4)) { | |
16498 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'"); | |
d14a1e28 | 16499 | } |
554f62e9 RD |
16500 | arg4 = reinterpret_cast< bool * >(argp4); |
16501 | } | |
16502 | { | |
16503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16504 | result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4); | |
16505 | wxPyEndAllowThreads(__tstate); | |
16506 | if (PyErr_Occurred()) SWIG_fail; | |
16507 | } | |
16508 | { | |
16509 | resultobj = wxPyMake_wxObject(result, 0); | |
16510 | } | |
16511 | return resultobj; | |
16512 | fail: | |
16513 | return NULL; | |
d14a1e28 RD |
16514 | } |
16515 | ||
16516 | ||
554f62e9 RD |
16517 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Quit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16518 | PyObject *resultobj = 0; | |
16519 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16520 | bool result; | |
16521 | void *argp1 = 0 ; | |
16522 | int res1 = 0 ; | |
16523 | PyObject *swig_obj[1] ; | |
16524 | ||
16525 | if (!args) SWIG_fail; | |
16526 | swig_obj[0] = args; | |
16527 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16528 | if (!SWIG_IsOK(res1)) { | |
16529 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16530 | } | |
16531 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16532 | { | |
16533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16534 | result = (bool)(arg1)->Quit(); | |
16535 | wxPyEndAllowThreads(__tstate); | |
16536 | if (PyErr_Occurred()) SWIG_fail; | |
16537 | } | |
16538 | { | |
16539 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16540 | } | |
16541 | return resultobj; | |
16542 | fail: | |
16543 | return NULL; | |
d14a1e28 RD |
16544 | } |
16545 | ||
16546 | ||
554f62e9 RD |
16547 | SWIGINTERN PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16548 | PyObject *resultobj = 0; | |
16549 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16550 | void *argp1 = 0 ; | |
16551 | int res1 = 0 ; | |
16552 | PyObject *swig_obj[1] ; | |
16553 | ||
16554 | if (!args) SWIG_fail; | |
16555 | swig_obj[0] = args; | |
16556 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16557 | if (!SWIG_IsOK(res1)) { | |
16558 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16559 | } | |
16560 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16561 | { | |
16562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16563 | (arg1)->OnQuit(); | |
16564 | wxPyEndAllowThreads(__tstate); | |
16565 | if (PyErr_Occurred()) SWIG_fail; | |
16566 | } | |
16567 | resultobj = SWIG_Py_Void(); | |
16568 | return resultobj; | |
16569 | fail: | |
16570 | return NULL; | |
16571 | } | |
16572 | ||
16573 | ||
16574 | SWIGINTERN PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16575 | PyObject *resultobj = 0; | |
16576 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16577 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16578 | void *argp1 = 0 ; | |
16579 | int res1 = 0 ; | |
16580 | void *argp2 = 0 ; | |
16581 | int res2 = 0 ; | |
16582 | PyObject * obj0 = 0 ; | |
16583 | PyObject * obj1 = 0 ; | |
16584 | char * kwnames[] = { | |
16585 | (char *) "self",(char *) "win", NULL | |
16586 | }; | |
16587 | ||
16588 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
16589 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16590 | if (!SWIG_IsOK(res1)) { | |
16591 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16592 | } | |
16593 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16594 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
16595 | if (!SWIG_IsOK(res2)) { | |
16596 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
16597 | } | |
16598 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
16599 | { | |
16600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16601 | (arg1)->SetParentWindow(arg2); | |
16602 | wxPyEndAllowThreads(__tstate); | |
16603 | if (PyErr_Occurred()) SWIG_fail; | |
16604 | } | |
16605 | resultobj = SWIG_Py_Void(); | |
16606 | return resultobj; | |
16607 | fail: | |
16608 | return NULL; | |
d14a1e28 RD |
16609 | } |
16610 | ||
16611 | ||
554f62e9 RD |
16612 | SWIGINTERN PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16613 | PyObject *resultobj = 0; | |
16614 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16615 | wxWindow *result = 0 ; | |
16616 | void *argp1 = 0 ; | |
16617 | int res1 = 0 ; | |
16618 | PyObject *swig_obj[1] ; | |
16619 | ||
16620 | if (!args) SWIG_fail; | |
16621 | swig_obj[0] = args; | |
16622 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16623 | if (!SWIG_IsOK(res1)) { | |
16624 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'"); | |
16625 | } | |
16626 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16627 | { | |
16628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16629 | result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow(); | |
16630 | wxPyEndAllowThreads(__tstate); | |
16631 | if (PyErr_Occurred()) SWIG_fail; | |
16632 | } | |
16633 | { | |
16634 | resultobj = wxPyMake_wxObject(result, 0); | |
16635 | } | |
16636 | return resultobj; | |
16637 | fail: | |
16638 | return NULL; | |
16639 | } | |
16640 | ||
16641 | ||
16642 | SWIGINTERN PyObject *HelpControllerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16643 | PyObject *obj; | |
16644 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
16645 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase, SWIG_NewClientData(obj)); | |
16646 | return SWIG_Py_Void(); | |
16647 | } | |
16648 | ||
16649 | SWIGINTERN PyObject *_wrap_new_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16650 | PyObject *resultobj = 0; | |
16651 | int arg1 = (int) wxHF_DEFAULT_STYLE ; | |
16652 | wxWindow *arg2 = (wxWindow *) NULL ; | |
16653 | wxHtmlHelpController *result = 0 ; | |
16654 | int val1 ; | |
16655 | int ecode1 = 0 ; | |
16656 | void *argp2 = 0 ; | |
16657 | int res2 = 0 ; | |
16658 | PyObject * obj0 = 0 ; | |
16659 | PyObject * obj1 = 0 ; | |
16660 | char * kwnames[] = { | |
16661 | (char *) "style",(char *) "parentWindow", NULL | |
16662 | }; | |
16663 | ||
16664 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) SWIG_fail; | |
16665 | if (obj0) { | |
16666 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
16667 | if (!SWIG_IsOK(ecode1)) { | |
16668 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'"); | |
16669 | } | |
16670 | arg1 = static_cast< int >(val1); | |
16671 | } | |
16672 | if (obj1) { | |
16673 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
16674 | if (!SWIG_IsOK(res2)) { | |
16675 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
d14a1e28 | 16676 | } |
554f62e9 RD |
16677 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
16678 | } | |
16679 | { | |
16680 | if (!wxPyCheckForApp()) SWIG_fail; | |
16681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16682 | result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2); | |
16683 | wxPyEndAllowThreads(__tstate); | |
16684 | if (PyErr_Occurred()) SWIG_fail; | |
16685 | } | |
16686 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_NEW | 0 ); | |
16687 | return resultobj; | |
16688 | fail: | |
16689 | return NULL; | |
d14a1e28 RD |
16690 | } |
16691 | ||
16692 | ||
554f62e9 RD |
16693 | SWIGINTERN PyObject *_wrap_delete_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16694 | PyObject *resultobj = 0; | |
16695 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16696 | void *argp1 = 0 ; | |
16697 | int res1 = 0 ; | |
16698 | PyObject *swig_obj[1] ; | |
16699 | ||
16700 | if (!args) SWIG_fail; | |
16701 | swig_obj[0] = args; | |
16702 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
16703 | if (!SWIG_IsOK(res1)) { | |
16704 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16705 | } | |
16706 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16707 | { | |
16708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16709 | delete arg1; | |
30ee79f7 | 16710 | |
554f62e9 RD |
16711 | wxPyEndAllowThreads(__tstate); |
16712 | if (PyErr_Occurred()) SWIG_fail; | |
16713 | } | |
16714 | resultobj = SWIG_Py_Void(); | |
16715 | return resultobj; | |
16716 | fail: | |
16717 | return NULL; | |
30ee79f7 RD |
16718 | } |
16719 | ||
16720 | ||
554f62e9 RD |
16721 | SWIGINTERN PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16722 | PyObject *resultobj = 0; | |
16723 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16724 | wxHtmlHelpWindow *result = 0 ; | |
16725 | void *argp1 = 0 ; | |
16726 | int res1 = 0 ; | |
16727 | PyObject *swig_obj[1] ; | |
16728 | ||
16729 | if (!args) SWIG_fail; | |
16730 | swig_obj[0] = args; | |
16731 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16732 | if (!SWIG_IsOK(res1)) { | |
16733 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16734 | } | |
16735 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16736 | { | |
16737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16738 | result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow(); | |
16739 | wxPyEndAllowThreads(__tstate); | |
16740 | if (PyErr_Occurred()) SWIG_fail; | |
16741 | } | |
16742 | { | |
16743 | resultobj = wxPyMake_wxObject(result, 0); | |
16744 | } | |
16745 | return resultobj; | |
16746 | fail: | |
16747 | return NULL; | |
16748 | } | |
16749 | ||
16750 | ||
16751 | SWIGINTERN PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16752 | PyObject *resultobj = 0; | |
16753 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16754 | wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ; | |
16755 | void *argp1 = 0 ; | |
16756 | int res1 = 0 ; | |
16757 | void *argp2 = 0 ; | |
16758 | int res2 = 0 ; | |
16759 | PyObject * obj0 = 0 ; | |
16760 | PyObject * obj1 = 0 ; | |
16761 | char * kwnames[] = { | |
16762 | (char *) "self",(char *) "helpWindow", NULL | |
16763 | }; | |
16764 | ||
16765 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
16766 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16767 | if (!SWIG_IsOK(res1)) { | |
16768 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16769 | } | |
16770 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16771 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
16772 | if (!SWIG_IsOK(res2)) { | |
16773 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'"); | |
16774 | } | |
16775 | arg2 = reinterpret_cast< wxHtmlHelpWindow * >(argp2); | |
16776 | { | |
16777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16778 | (arg1)->SetHelpWindow(arg2); | |
16779 | wxPyEndAllowThreads(__tstate); | |
16780 | if (PyErr_Occurred()) SWIG_fail; | |
16781 | } | |
16782 | resultobj = SWIG_Py_Void(); | |
16783 | return resultobj; | |
16784 | fail: | |
16785 | return NULL; | |
d14a1e28 RD |
16786 | } |
16787 | ||
16788 | ||
554f62e9 RD |
16789 | SWIGINTERN PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16790 | PyObject *resultobj = 0; | |
16791 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16792 | wxHtmlHelpFrame *result = 0 ; | |
16793 | void *argp1 = 0 ; | |
16794 | int res1 = 0 ; | |
16795 | PyObject *swig_obj[1] ; | |
16796 | ||
16797 | if (!args) SWIG_fail; | |
16798 | swig_obj[0] = args; | |
16799 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16800 | if (!SWIG_IsOK(res1)) { | |
16801 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16802 | } | |
16803 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16804 | { | |
16805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16806 | result = (wxHtmlHelpFrame *)(arg1)->GetFrame(); | |
16807 | wxPyEndAllowThreads(__tstate); | |
16808 | if (PyErr_Occurred()) SWIG_fail; | |
16809 | } | |
16810 | { | |
16811 | resultobj = wxPyMake_wxObject(result, 0); | |
16812 | } | |
16813 | return resultobj; | |
16814 | fail: | |
16815 | return NULL; | |
d14a1e28 RD |
16816 | } |
16817 | ||
16818 | ||
554f62e9 RD |
16819 | SWIGINTERN PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16820 | PyObject *resultobj = 0; | |
16821 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16822 | wxHtmlHelpDialog *result = 0 ; | |
16823 | void *argp1 = 0 ; | |
16824 | int res1 = 0 ; | |
16825 | PyObject *swig_obj[1] ; | |
16826 | ||
16827 | if (!args) SWIG_fail; | |
16828 | swig_obj[0] = args; | |
16829 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16830 | if (!SWIG_IsOK(res1)) { | |
16831 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16832 | } | |
16833 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16834 | { | |
16835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16836 | result = (wxHtmlHelpDialog *)(arg1)->GetDialog(); | |
16837 | wxPyEndAllowThreads(__tstate); | |
16838 | if (PyErr_Occurred()) SWIG_fail; | |
16839 | } | |
16840 | { | |
16841 | resultobj = wxPyMake_wxObject(result, 0); | |
16842 | } | |
16843 | return resultobj; | |
16844 | fail: | |
16845 | return NULL; | |
16846 | } | |
16847 | ||
16848 | ||
16849 | SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16850 | PyObject *resultobj = 0; | |
16851 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16852 | wxString *arg2 = 0 ; | |
16853 | void *argp1 = 0 ; | |
16854 | int res1 = 0 ; | |
16855 | bool temp2 = false ; | |
16856 | PyObject * obj0 = 0 ; | |
16857 | PyObject * obj1 = 0 ; | |
16858 | char * kwnames[] = { | |
16859 | (char *) "self",(char *) "format", NULL | |
16860 | }; | |
16861 | ||
16862 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail; | |
16863 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16864 | if (!SWIG_IsOK(res1)) { | |
16865 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16866 | } | |
16867 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16868 | { | |
16869 | arg2 = wxString_in_helper(obj1); | |
16870 | if (arg2 == NULL) SWIG_fail; | |
16871 | temp2 = true; | |
16872 | } | |
16873 | { | |
16874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16875 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
16876 | wxPyEndAllowThreads(__tstate); | |
16877 | if (PyErr_Occurred()) SWIG_fail; | |
16878 | } | |
16879 | resultobj = SWIG_Py_Void(); | |
16880 | { | |
16881 | if (temp2) | |
16882 | delete arg2; | |
16883 | } | |
16884 | return resultobj; | |
16885 | fail: | |
16886 | { | |
16887 | if (temp2) | |
16888 | delete arg2; | |
16889 | } | |
16890 | return NULL; | |
d14a1e28 RD |
16891 | } |
16892 | ||
16893 | ||
554f62e9 RD |
16894 | SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
16895 | PyObject *resultobj = 0; | |
16896 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16897 | wxString *arg2 = 0 ; | |
16898 | void *argp1 = 0 ; | |
16899 | int res1 = 0 ; | |
16900 | bool temp2 = false ; | |
16901 | PyObject * obj0 = 0 ; | |
16902 | PyObject * obj1 = 0 ; | |
16903 | char * kwnames[] = { | |
16904 | (char *) "self",(char *) "path", NULL | |
16905 | }; | |
16906 | ||
16907 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail; | |
16908 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16909 | if (!SWIG_IsOK(res1)) { | |
16910 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16911 | } | |
16912 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16913 | { | |
16914 | arg2 = wxString_in_helper(obj1); | |
16915 | if (arg2 == NULL) SWIG_fail; | |
16916 | temp2 = true; | |
16917 | } | |
16918 | { | |
16919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16920 | (arg1)->SetTempDir((wxString const &)*arg2); | |
16921 | wxPyEndAllowThreads(__tstate); | |
16922 | if (PyErr_Occurred()) SWIG_fail; | |
16923 | } | |
16924 | resultobj = SWIG_Py_Void(); | |
16925 | { | |
16926 | if (temp2) | |
16927 | delete arg2; | |
16928 | } | |
16929 | return resultobj; | |
16930 | fail: | |
16931 | { | |
16932 | if (temp2) | |
16933 | delete arg2; | |
16934 | } | |
16935 | return NULL; | |
16936 | } | |
16937 | ||
16938 | ||
16939 | SWIGINTERN PyObject *_wrap_HtmlHelpController_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16940 | PyObject *resultobj = 0; | |
16941 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16942 | wxString *arg2 = 0 ; | |
16943 | int arg3 = (int) false ; | |
16944 | bool result; | |
16945 | void *argp1 = 0 ; | |
16946 | int res1 = 0 ; | |
16947 | bool temp2 = false ; | |
16948 | int val3 ; | |
16949 | int ecode3 = 0 ; | |
16950 | PyObject * obj0 = 0 ; | |
16951 | PyObject * obj1 = 0 ; | |
16952 | PyObject * obj2 = 0 ; | |
16953 | char * kwnames[] = { | |
16954 | (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL | |
16955 | }; | |
16956 | ||
16957 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
16958 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16959 | if (!SWIG_IsOK(res1)) { | |
16960 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16961 | } | |
16962 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16963 | { | |
16964 | arg2 = wxString_in_helper(obj1); | |
16965 | if (arg2 == NULL) SWIG_fail; | |
16966 | temp2 = true; | |
16967 | } | |
16968 | if (obj2) { | |
16969 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
16970 | if (!SWIG_IsOK(ecode3)) { | |
16971 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'"); | |
16972 | } | |
16973 | arg3 = static_cast< int >(val3); | |
16974 | } | |
16975 | { | |
16976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16977 | result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3); | |
16978 | wxPyEndAllowThreads(__tstate); | |
16979 | if (PyErr_Occurred()) SWIG_fail; | |
16980 | } | |
16981 | { | |
16982 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16983 | } | |
16984 | { | |
16985 | if (temp2) | |
16986 | delete arg2; | |
16987 | } | |
16988 | return resultobj; | |
16989 | fail: | |
16990 | { | |
16991 | if (temp2) | |
16992 | delete arg2; | |
16993 | } | |
16994 | return NULL; | |
d14a1e28 RD |
16995 | } |
16996 | ||
16997 | ||
554f62e9 RD |
16998 | SWIGINTERN PyObject *_wrap_HtmlHelpController_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
16999 | PyObject *resultobj = 0; | |
17000 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17001 | wxString *arg2 = 0 ; | |
17002 | void *argp1 = 0 ; | |
17003 | int res1 = 0 ; | |
17004 | bool temp2 = false ; | |
17005 | PyObject * obj0 = 0 ; | |
17006 | PyObject * obj1 = 0 ; | |
17007 | char * kwnames[] = { | |
17008 | (char *) "self",(char *) "x", NULL | |
17009 | }; | |
17010 | ||
17011 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) SWIG_fail; | |
17012 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17013 | if (!SWIG_IsOK(res1)) { | |
17014 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17015 | } | |
17016 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17017 | { | |
17018 | arg2 = wxString_in_helper(obj1); | |
17019 | if (arg2 == NULL) SWIG_fail; | |
17020 | temp2 = true; | |
17021 | } | |
17022 | { | |
17023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17024 | (arg1)->Display((wxString const &)*arg2); | |
17025 | wxPyEndAllowThreads(__tstate); | |
17026 | if (PyErr_Occurred()) SWIG_fail; | |
17027 | } | |
17028 | resultobj = SWIG_Py_Void(); | |
17029 | { | |
17030 | if (temp2) | |
17031 | delete arg2; | |
17032 | } | |
17033 | return resultobj; | |
17034 | fail: | |
17035 | { | |
17036 | if (temp2) | |
17037 | delete arg2; | |
17038 | } | |
17039 | return NULL; | |
17040 | } | |
17041 | ||
17042 | ||
17043 | SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17044 | PyObject *resultobj = 0; | |
17045 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17046 | int arg2 ; | |
17047 | void *argp1 = 0 ; | |
17048 | int res1 = 0 ; | |
17049 | int val2 ; | |
17050 | int ecode2 = 0 ; | |
17051 | PyObject * obj0 = 0 ; | |
17052 | PyObject * obj1 = 0 ; | |
17053 | char * kwnames[] = { | |
17054 | (char *) "self",(char *) "id", NULL | |
17055 | }; | |
17056 | ||
17057 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail; | |
17058 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17059 | if (!SWIG_IsOK(res1)) { | |
17060 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17061 | } | |
17062 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17063 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
17064 | if (!SWIG_IsOK(ecode2)) { | |
17065 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'"); | |
17066 | } | |
17067 | arg2 = static_cast< int >(val2); | |
17068 | { | |
17069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17070 | (arg1)->Display(arg2); | |
17071 | wxPyEndAllowThreads(__tstate); | |
17072 | if (PyErr_Occurred()) SWIG_fail; | |
17073 | } | |
17074 | resultobj = SWIG_Py_Void(); | |
17075 | return resultobj; | |
17076 | fail: | |
17077 | return NULL; | |
d14a1e28 RD |
17078 | } |
17079 | ||
17080 | ||
554f62e9 RD |
17081 | SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17082 | PyObject *resultobj = 0; | |
17083 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17084 | void *argp1 = 0 ; | |
17085 | int res1 = 0 ; | |
17086 | PyObject *swig_obj[1] ; | |
17087 | ||
17088 | if (!args) SWIG_fail; | |
17089 | swig_obj[0] = args; | |
17090 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17091 | if (!SWIG_IsOK(res1)) { | |
17092 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17093 | } | |
17094 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17095 | { | |
17096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17097 | (arg1)->DisplayContents(); | |
17098 | wxPyEndAllowThreads(__tstate); | |
17099 | if (PyErr_Occurred()) SWIG_fail; | |
17100 | } | |
17101 | resultobj = SWIG_Py_Void(); | |
17102 | return resultobj; | |
17103 | fail: | |
17104 | return NULL; | |
d14a1e28 RD |
17105 | } |
17106 | ||
17107 | ||
554f62e9 RD |
17108 | SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17109 | PyObject *resultobj = 0; | |
17110 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17111 | void *argp1 = 0 ; | |
17112 | int res1 = 0 ; | |
17113 | PyObject *swig_obj[1] ; | |
17114 | ||
17115 | if (!args) SWIG_fail; | |
17116 | swig_obj[0] = args; | |
17117 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17118 | if (!SWIG_IsOK(res1)) { | |
17119 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17120 | } | |
17121 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17122 | { | |
17123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17124 | (arg1)->DisplayIndex(); | |
17125 | wxPyEndAllowThreads(__tstate); | |
17126 | if (PyErr_Occurred()) SWIG_fail; | |
17127 | } | |
17128 | resultobj = SWIG_Py_Void(); | |
17129 | return resultobj; | |
17130 | fail: | |
17131 | return NULL; | |
17132 | } | |
17133 | ||
17134 | ||
17135 | SWIGINTERN PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17136 | PyObject *resultobj = 0; | |
17137 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17138 | wxString *arg2 = 0 ; | |
17139 | bool result; | |
17140 | void *argp1 = 0 ; | |
17141 | int res1 = 0 ; | |
17142 | bool temp2 = false ; | |
17143 | PyObject * obj0 = 0 ; | |
17144 | PyObject * obj1 = 0 ; | |
17145 | char * kwnames[] = { | |
17146 | (char *) "self",(char *) "keyword", NULL | |
17147 | }; | |
17148 | ||
17149 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) SWIG_fail; | |
17150 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17151 | if (!SWIG_IsOK(res1)) { | |
17152 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17153 | } | |
17154 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17155 | { | |
17156 | arg2 = wxString_in_helper(obj1); | |
17157 | if (arg2 == NULL) SWIG_fail; | |
17158 | temp2 = true; | |
17159 | } | |
17160 | { | |
17161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17162 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
17163 | wxPyEndAllowThreads(__tstate); | |
17164 | if (PyErr_Occurred()) SWIG_fail; | |
17165 | } | |
17166 | { | |
17167 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17168 | } | |
17169 | { | |
17170 | if (temp2) | |
17171 | delete arg2; | |
17172 | } | |
17173 | return resultobj; | |
17174 | fail: | |
17175 | { | |
17176 | if (temp2) | |
17177 | delete arg2; | |
17178 | } | |
17179 | return NULL; | |
17180 | } | |
17181 | ||
17182 | ||
17183 | SWIGINTERN PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17184 | PyObject *resultobj = 0; | |
17185 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17186 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
17187 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
17188 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
17189 | void *argp1 = 0 ; | |
17190 | int res1 = 0 ; | |
17191 | void *argp2 = 0 ; | |
17192 | int res2 = 0 ; | |
17193 | bool temp3 = false ; | |
17194 | PyObject * obj0 = 0 ; | |
17195 | PyObject * obj1 = 0 ; | |
17196 | PyObject * obj2 = 0 ; | |
17197 | char * kwnames[] = { | |
17198 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
17199 | }; | |
17200 | ||
17201 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17202 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17203 | if (!SWIG_IsOK(res1)) { | |
17204 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17205 | } | |
17206 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17207 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
17208 | if (!SWIG_IsOK(res2)) { | |
17209 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
17210 | } | |
17211 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
17212 | if (obj2) { | |
ae8162c8 | 17213 | { |
554f62e9 RD |
17214 | arg3 = wxString_in_helper(obj2); |
17215 | if (arg3 == NULL) SWIG_fail; | |
17216 | temp3 = true; | |
ae8162c8 | 17217 | } |
554f62e9 RD |
17218 | } |
17219 | { | |
17220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17221 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
17222 | wxPyEndAllowThreads(__tstate); | |
17223 | if (PyErr_Occurred()) SWIG_fail; | |
17224 | } | |
17225 | resultobj = SWIG_Py_Void(); | |
17226 | { | |
17227 | if (temp3) | |
17228 | delete arg3; | |
17229 | } | |
17230 | return resultobj; | |
17231 | fail: | |
17232 | { | |
17233 | if (temp3) | |
17234 | delete arg3; | |
17235 | } | |
17236 | return NULL; | |
17237 | } | |
17238 | ||
17239 | ||
17240 | SWIGINTERN PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17241 | PyObject *resultobj = 0; | |
17242 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17243 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
17244 | wxString arg3 = (wxString) wxPyEmptyString ; | |
17245 | void *argp1 = 0 ; | |
17246 | int res1 = 0 ; | |
17247 | void *argp2 = 0 ; | |
17248 | int res2 = 0 ; | |
17249 | PyObject * obj0 = 0 ; | |
17250 | PyObject * obj1 = 0 ; | |
17251 | PyObject * obj2 = 0 ; | |
17252 | char * kwnames[] = { | |
17253 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
17254 | }; | |
17255 | ||
17256 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17257 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17258 | if (!SWIG_IsOK(res1)) { | |
17259 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17260 | } | |
17261 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17262 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
17263 | if (!SWIG_IsOK(res2)) { | |
17264 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
17265 | } | |
17266 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
17267 | if (obj2) { | |
ae8162c8 | 17268 | { |
554f62e9 RD |
17269 | wxString* sptr = wxString_in_helper(obj2); |
17270 | if (sptr == NULL) SWIG_fail; | |
17271 | arg3 = *sptr; | |
17272 | delete sptr; | |
8edf1c75 | 17273 | } |
554f62e9 RD |
17274 | } |
17275 | { | |
17276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17277 | (arg1)->ReadCustomization(arg2,arg3); | |
17278 | wxPyEndAllowThreads(__tstate); | |
17279 | if (PyErr_Occurred()) SWIG_fail; | |
17280 | } | |
17281 | resultobj = SWIG_Py_Void(); | |
17282 | return resultobj; | |
17283 | fail: | |
17284 | return NULL; | |
17285 | } | |
17286 | ||
17287 | ||
17288 | SWIGINTERN PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17289 | PyObject *resultobj = 0; | |
17290 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17291 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
17292 | wxString arg3 = (wxString) wxPyEmptyString ; | |
17293 | void *argp1 = 0 ; | |
17294 | int res1 = 0 ; | |
17295 | void *argp2 = 0 ; | |
17296 | int res2 = 0 ; | |
17297 | PyObject * obj0 = 0 ; | |
17298 | PyObject * obj1 = 0 ; | |
17299 | PyObject * obj2 = 0 ; | |
17300 | char * kwnames[] = { | |
17301 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
17302 | }; | |
17303 | ||
17304 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17305 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17306 | if (!SWIG_IsOK(res1)) { | |
17307 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17308 | } | |
17309 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17310 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
17311 | if (!SWIG_IsOK(res2)) { | |
17312 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
17313 | } | |
17314 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
17315 | if (obj2) { | |
d14a1e28 | 17316 | { |
554f62e9 RD |
17317 | wxString* sptr = wxString_in_helper(obj2); |
17318 | if (sptr == NULL) SWIG_fail; | |
17319 | arg3 = *sptr; | |
17320 | delete sptr; | |
d14a1e28 | 17321 | } |
554f62e9 RD |
17322 | } |
17323 | { | |
17324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17325 | (arg1)->WriteCustomization(arg2,arg3); | |
17326 | wxPyEndAllowThreads(__tstate); | |
17327 | if (PyErr_Occurred()) SWIG_fail; | |
17328 | } | |
17329 | resultobj = SWIG_Py_Void(); | |
17330 | return resultobj; | |
17331 | fail: | |
17332 | return NULL; | |
d14a1e28 RD |
17333 | } |
17334 | ||
17335 | ||
554f62e9 RD |
17336 | SWIGINTERN PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17337 | PyObject *resultobj = 0; | |
17338 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17339 | void *argp1 = 0 ; | |
17340 | int res1 = 0 ; | |
17341 | PyObject *swig_obj[1] ; | |
17342 | ||
17343 | if (!args) SWIG_fail; | |
17344 | swig_obj[0] = args; | |
17345 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17346 | if (!SWIG_IsOK(res1)) { | |
17347 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17348 | } | |
17349 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17350 | { | |
17351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17352 | (arg1)->MakeModalIfNeeded(); | |
17353 | wxPyEndAllowThreads(__tstate); | |
17354 | if (PyErr_Occurred()) SWIG_fail; | |
17355 | } | |
17356 | resultobj = SWIG_Py_Void(); | |
17357 | return resultobj; | |
17358 | fail: | |
17359 | return NULL; | |
d14a1e28 RD |
17360 | } |
17361 | ||
17362 | ||
554f62e9 RD |
17363 | SWIGINTERN PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17364 | PyObject *resultobj = 0; | |
17365 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17366 | wxWindow *result = 0 ; | |
17367 | void *argp1 = 0 ; | |
17368 | int res1 = 0 ; | |
17369 | PyObject *swig_obj[1] ; | |
17370 | ||
17371 | if (!args) SWIG_fail; | |
17372 | swig_obj[0] = args; | |
17373 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17374 | if (!SWIG_IsOK(res1)) { | |
17375 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17376 | } | |
17377 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17378 | { | |
17379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17380 | result = (wxWindow *)(arg1)->FindTopLevelWindow(); | |
17381 | wxPyEndAllowThreads(__tstate); | |
17382 | if (PyErr_Occurred()) SWIG_fail; | |
17383 | } | |
17384 | { | |
17385 | resultobj = wxPyMake_wxObject(result, 0); | |
17386 | } | |
17387 | return resultobj; | |
17388 | fail: | |
17389 | return NULL; | |
17390 | } | |
17391 | ||
17392 | ||
17393 | SWIGINTERN PyObject *HtmlHelpController_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17394 | PyObject *obj; | |
17395 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
17396 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController, SWIG_NewClientData(obj)); | |
17397 | return SWIG_Py_Void(); | |
17398 | } | |
17399 | ||
17400 | SWIGINTERN PyObject *HtmlHelpController_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17401 | return SWIG_Python_InitShadowInstance(args); | |
17402 | } | |
17403 | ||
17404 | SWIGINTERN PyObject *_wrap_new_HtmlModalHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17405 | PyObject *resultobj = 0; | |
17406 | wxWindow *arg1 = (wxWindow *) 0 ; | |
17407 | wxString *arg2 = 0 ; | |
17408 | wxString const &arg3_defvalue = wxEmptyString ; | |
17409 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
17410 | int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ; | |
17411 | wxHtmlModalHelp *result = 0 ; | |
17412 | void *argp1 = 0 ; | |
17413 | int res1 = 0 ; | |
17414 | bool temp2 = false ; | |
17415 | bool temp3 = false ; | |
17416 | int val4 ; | |
17417 | int ecode4 = 0 ; | |
17418 | PyObject * obj0 = 0 ; | |
17419 | PyObject * obj1 = 0 ; | |
17420 | PyObject * obj2 = 0 ; | |
17421 | PyObject * obj3 = 0 ; | |
17422 | char * kwnames[] = { | |
17423 | (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL | |
17424 | }; | |
17425 | ||
17426 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
17427 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
17428 | if (!SWIG_IsOK(res1)) { | |
17429 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
17430 | } | |
17431 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
17432 | { | |
17433 | arg2 = wxString_in_helper(obj1); | |
17434 | if (arg2 == NULL) SWIG_fail; | |
17435 | temp2 = true; | |
17436 | } | |
17437 | if (obj2) { | |
d14a1e28 | 17438 | { |
554f62e9 RD |
17439 | arg3 = wxString_in_helper(obj2); |
17440 | if (arg3 == NULL) SWIG_fail; | |
17441 | temp3 = true; | |
d14a1e28 | 17442 | } |
554f62e9 RD |
17443 | } |
17444 | if (obj3) { | |
17445 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
17446 | if (!SWIG_IsOK(ecode4)) { | |
17447 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'"); | |
17448 | } | |
17449 | arg4 = static_cast< int >(val4); | |
17450 | } | |
17451 | { | |
17452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17453 | result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
17454 | wxPyEndAllowThreads(__tstate); | |
17455 | if (PyErr_Occurred()) SWIG_fail; | |
17456 | } | |
17457 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlModalHelp, SWIG_POINTER_NEW | 0 ); | |
17458 | { | |
17459 | if (temp2) | |
17460 | delete arg2; | |
17461 | } | |
17462 | { | |
17463 | if (temp3) | |
17464 | delete arg3; | |
17465 | } | |
17466 | return resultobj; | |
17467 | fail: | |
17468 | { | |
17469 | if (temp2) | |
17470 | delete arg2; | |
17471 | } | |
17472 | { | |
17473 | if (temp3) | |
17474 | delete arg3; | |
17475 | } | |
17476 | return NULL; | |
d14a1e28 RD |
17477 | } |
17478 | ||
17479 | ||
554f62e9 RD |
17480 | SWIGINTERN PyObject *HtmlModalHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17481 | PyObject *obj; | |
17482 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
17483 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp, SWIG_NewClientData(obj)); | |
17484 | return SWIG_Py_Void(); | |
d14a1e28 RD |
17485 | } |
17486 | ||
554f62e9 RD |
17487 | SWIGINTERN PyObject *HtmlModalHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17488 | return SWIG_Python_InitShadowInstance(args); | |
d14a1e28 RD |
17489 | } |
17490 | ||
d14a1e28 | 17491 | static PyMethodDef SwigMethods[] = { |
093d3ff1 | 17492 | { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17493 | { (char *)"HtmlLinkInfo_GetHref", (PyCFunction)_wrap_HtmlLinkInfo_GetHref, METH_O, NULL}, |
17494 | { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction)_wrap_HtmlLinkInfo_GetTarget, METH_O, NULL}, | |
17495 | { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction)_wrap_HtmlLinkInfo_GetEvent, METH_O, NULL}, | |
17496 | { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction)_wrap_HtmlLinkInfo_GetHtmlCell, METH_O, NULL}, | |
093d3ff1 RD |
17497 | { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
17498 | { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17499 | { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL}, | |
554f62e9 RD |
17500 | { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit, METH_VARARGS, NULL}, |
17501 | { (char *)"HtmlTag_GetName", (PyCFunction)_wrap_HtmlTag_GetName, METH_O, NULL}, | |
093d3ff1 RD |
17502 | { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL}, |
17503 | { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17504 | { (char *)"HtmlTag_GetAllParams", (PyCFunction)_wrap_HtmlTag_GetAllParams, METH_O, NULL}, |
17505 | { (char *)"HtmlTag_HasEnding", (PyCFunction)_wrap_HtmlTag_HasEnding, METH_O, NULL}, | |
17506 | { (char *)"HtmlTag_GetBeginPos", (PyCFunction)_wrap_HtmlTag_GetBeginPos, METH_O, NULL}, | |
17507 | { (char *)"HtmlTag_GetEndPos1", (PyCFunction)_wrap_HtmlTag_GetEndPos1, METH_O, NULL}, | |
17508 | { (char *)"HtmlTag_GetEndPos2", (PyCFunction)_wrap_HtmlTag_GetEndPos2, METH_O, NULL}, | |
093d3ff1 RD |
17509 | { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL}, |
17510 | { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17511 | { (char *)"HtmlParser_GetFS", (PyCFunction)_wrap_HtmlParser_GetFS, METH_O, NULL}, |
093d3ff1 RD |
17512 | { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL}, |
17513 | { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17514 | { (char *)"HtmlParser_DoneParser", (PyCFunction)_wrap_HtmlParser_DoneParser, METH_O, NULL}, |
093d3ff1 | 17515 | { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17516 | { (char *)"HtmlParser_StopParsing", (PyCFunction)_wrap_HtmlParser_StopParsing, METH_O, NULL}, |
093d3ff1 | 17517 | { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17518 | { (char *)"HtmlParser_GetSource", (PyCFunction)_wrap_HtmlParser_GetSource, METH_O, NULL}, |
093d3ff1 | 17519 | { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17520 | { (char *)"HtmlParser_PopTagHandler", (PyCFunction)_wrap_HtmlParser_PopTagHandler, METH_O, NULL}, |
e9d6f3a4 | 17521 | { (char *)"HtmlParser_GetInnerSource", (PyCFunction) _wrap_HtmlParser_GetInnerSource, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
17522 | { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL}, |
17523 | { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17524 | { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17525 | { (char *)"HtmlWinParser_GetDC", (PyCFunction)_wrap_HtmlWinParser_GetDC, METH_O, NULL}, |
17526 | { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction)_wrap_HtmlWinParser_GetCharHeight, METH_O, NULL}, | |
17527 | { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction)_wrap_HtmlWinParser_GetCharWidth, METH_O, NULL}, | |
17528 | { (char *)"HtmlWinParser_GetWindow", (PyCFunction)_wrap_HtmlWinParser_GetWindow, METH_O, NULL}, | |
e9d6f3a4 | 17529 | { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction)_wrap_HtmlWinParser_GetWindowInterface, METH_O, NULL}, |
093d3ff1 RD |
17530 | { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, |
17531 | { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17532 | { (char *)"HtmlWinParser_GetContainer", (PyCFunction)_wrap_HtmlWinParser_GetContainer, METH_O, NULL}, |
17533 | { (char *)"HtmlWinParser_OpenContainer", (PyCFunction)_wrap_HtmlWinParser_OpenContainer, METH_O, NULL}, | |
093d3ff1 | 17534 | { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17535 | { (char *)"HtmlWinParser_CloseContainer", (PyCFunction)_wrap_HtmlWinParser_CloseContainer, METH_O, NULL}, |
17536 | { (char *)"HtmlWinParser_GetFontSize", (PyCFunction)_wrap_HtmlWinParser_GetFontSize, METH_O, NULL}, | |
093d3ff1 | 17537 | { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17538 | { (char *)"HtmlWinParser_GetFontBold", (PyCFunction)_wrap_HtmlWinParser_GetFontBold, METH_O, NULL}, |
093d3ff1 | 17539 | { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17540 | { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction)_wrap_HtmlWinParser_GetFontItalic, METH_O, NULL}, |
093d3ff1 | 17541 | { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17542 | { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction)_wrap_HtmlWinParser_GetFontUnderlined, METH_O, NULL}, |
093d3ff1 | 17543 | { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17544 | { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction)_wrap_HtmlWinParser_GetFontFixed, METH_O, NULL}, |
093d3ff1 | 17545 | { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17546 | { (char *)"HtmlWinParser_GetAlign", (PyCFunction)_wrap_HtmlWinParser_GetAlign, METH_O, NULL}, |
093d3ff1 | 17547 | { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17548 | { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction)_wrap_HtmlWinParser_GetLinkColor, METH_O, NULL}, |
093d3ff1 | 17549 | { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17550 | { (char *)"HtmlWinParser_GetActualColor", (PyCFunction)_wrap_HtmlWinParser_GetActualColor, METH_O, NULL}, |
093d3ff1 RD |
17551 | { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL}, |
17552 | { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17553 | { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction)_wrap_HtmlWinParser_CreateCurrentFont, METH_O, NULL}, |
17554 | { (char *)"HtmlWinParser_GetLink", (PyCFunction)_wrap_HtmlWinParser_GetLink, METH_O, NULL}, | |
093d3ff1 | 17555 | { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL}, |
554f62e9 RD |
17556 | { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit, METH_VARARGS, NULL}, |
17557 | { (char *)"new_HtmlTagHandler", (PyCFunction)_wrap_new_HtmlTagHandler, METH_NOARGS, NULL}, | |
093d3ff1 RD |
17558 | { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
17559 | { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17560 | { (char *)"HtmlTagHandler_GetParser", (PyCFunction)_wrap_HtmlTagHandler_GetParser, METH_O, NULL}, |
093d3ff1 RD |
17561 | { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL}, |
17562 | { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL}, | |
554f62e9 RD |
17563 | { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit, METH_VARARGS, NULL}, |
17564 | { (char *)"new_HtmlWinTagHandler", (PyCFunction)_wrap_new_HtmlWinTagHandler, METH_NOARGS, NULL}, | |
093d3ff1 RD |
17565 | { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
17566 | { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17567 | { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction)_wrap_HtmlWinTagHandler_GetParser, METH_O, NULL}, |
093d3ff1 RD |
17568 | { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL}, |
17569 | { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17570 | { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 17571 | { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17572 | { (char *)"new_HtmlSelection", (PyCFunction)_wrap_new_HtmlSelection, METH_NOARGS, NULL}, |
17573 | { (char *)"delete_HtmlSelection", (PyCFunction)_wrap_delete_HtmlSelection, METH_O, NULL}, | |
093d3ff1 RD |
17574 | { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL}, |
17575 | { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17576 | { (char *)"HtmlSelection_GetFromCell", (PyCFunction)_wrap_HtmlSelection_GetFromCell, METH_O, NULL}, |
17577 | { (char *)"HtmlSelection_GetToCell", (PyCFunction)_wrap_HtmlSelection_GetToCell, METH_O, NULL}, | |
17578 | { (char *)"HtmlSelection_GetFromPos", (PyCFunction)_wrap_HtmlSelection_GetFromPos, METH_O, NULL}, | |
17579 | { (char *)"HtmlSelection_GetToPos", (PyCFunction)_wrap_HtmlSelection_GetToPos, METH_O, NULL}, | |
17580 | { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction)_wrap_HtmlSelection_GetFromPrivPos, METH_O, NULL}, | |
17581 | { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction)_wrap_HtmlSelection_GetToPrivPos, METH_O, NULL}, | |
093d3ff1 RD |
17582 | { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL}, |
17583 | { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17584 | { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction)_wrap_HtmlSelection_ClearPrivPos, METH_O, NULL}, |
17585 | { (char *)"HtmlSelection_IsEmpty", (PyCFunction)_wrap_HtmlSelection_IsEmpty, METH_O, NULL}, | |
093d3ff1 | 17586 | { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL}, |
554f62e9 RD |
17587 | { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit, METH_VARARGS, NULL}, |
17588 | { (char *)"new_HtmlRenderingState", (PyCFunction)_wrap_new_HtmlRenderingState, METH_NOARGS, NULL}, | |
17589 | { (char *)"delete_HtmlRenderingState", (PyCFunction)_wrap_delete_HtmlRenderingState, METH_O, NULL}, | |
093d3ff1 | 17590 | { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17591 | { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction)_wrap_HtmlRenderingState_GetSelectionState, METH_O, NULL}, |
093d3ff1 | 17592 | { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17593 | { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction)_wrap_HtmlRenderingState_GetFgColour, METH_O, NULL}, |
093d3ff1 | 17594 | { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17595 | { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction)_wrap_HtmlRenderingState_GetBgColour, METH_O, NULL}, |
093d3ff1 | 17596 | { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17597 | { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17598 | { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
17599 | { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17600 | { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL}, | |
093d3ff1 | 17601 | { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL}, |
554f62e9 RD |
17602 | { (char *)"new_HtmlRenderingInfo", (PyCFunction)_wrap_new_HtmlRenderingInfo, METH_NOARGS, NULL}, |
17603 | { (char *)"delete_HtmlRenderingInfo", (PyCFunction)_wrap_delete_HtmlRenderingInfo, METH_O, NULL}, | |
093d3ff1 | 17604 | { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17605 | { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction)_wrap_HtmlRenderingInfo_GetSelection, METH_O, NULL}, |
093d3ff1 | 17606 | { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17607 | { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction)_wrap_HtmlRenderingInfo_GetStyle, METH_O, NULL}, |
17608 | { (char *)"HtmlRenderingInfo_GetState", (PyCFunction)_wrap_HtmlRenderingInfo_GetState, METH_O, NULL}, | |
093d3ff1 | 17609 | { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL}, |
554f62e9 RD |
17610 | { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit, METH_VARARGS, NULL}, |
17611 | { (char *)"new_HtmlCell", (PyCFunction)_wrap_new_HtmlCell, METH_NOARGS, NULL}, | |
17612 | { (char *)"delete_HtmlCell", (PyCFunction)_wrap_delete_HtmlCell, METH_O, NULL}, | |
17613 | { (char *)"HtmlCell_GetPosX", (PyCFunction)_wrap_HtmlCell_GetPosX, METH_O, NULL}, | |
17614 | { (char *)"HtmlCell_GetPosY", (PyCFunction)_wrap_HtmlCell_GetPosY, METH_O, NULL}, | |
17615 | { (char *)"HtmlCell_GetWidth", (PyCFunction)_wrap_HtmlCell_GetWidth, METH_O, NULL}, | |
17616 | { (char *)"HtmlCell_GetHeight", (PyCFunction)_wrap_HtmlCell_GetHeight, METH_O, NULL}, | |
17617 | { (char *)"HtmlCell_GetDescent", (PyCFunction)_wrap_HtmlCell_GetDescent, METH_O, NULL}, | |
17618 | { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction)_wrap_HtmlCell_GetMaxTotalWidth, METH_O, NULL}, | |
17619 | { (char *)"HtmlCell_GetId", (PyCFunction)_wrap_HtmlCell_GetId, METH_O, NULL}, | |
093d3ff1 RD |
17620 | { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL}, |
17621 | { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17622 | { (char *)"HtmlCell_GetNext", (PyCFunction)_wrap_HtmlCell_GetNext, METH_O, NULL}, |
17623 | { (char *)"HtmlCell_GetParent", (PyCFunction)_wrap_HtmlCell_GetParent, METH_O, NULL}, | |
17624 | { (char *)"HtmlCell_GetFirstChild", (PyCFunction)_wrap_HtmlCell_GetFirstChild, METH_O, NULL}, | |
e9d6f3a4 | 17625 | { (char *)"HtmlCell_GetMouseCursor", (PyCFunction) _wrap_HtmlCell_GetMouseCursor, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17626 | { (char *)"HtmlCell_GetCursor", (PyCFunction)_wrap_HtmlCell_GetCursor, METH_O, NULL}, |
17627 | { (char *)"HtmlCell_IsFormattingCell", (PyCFunction)_wrap_HtmlCell_IsFormattingCell, METH_O, NULL}, | |
093d3ff1 RD |
17628 | { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL}, |
17629 | { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17630 | { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17631 | { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17632 | { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17633 | { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17634 | { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17635 | { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL}, | |
e9d6f3a4 | 17636 | { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction) _wrap_HtmlCell_ProcessMouseClick, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 17637 | { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17638 | { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlCell_IsLinebreakAllowed, METH_O, NULL}, |
17639 | { (char *)"HtmlCell_IsTerminalCell", (PyCFunction)_wrap_HtmlCell_IsTerminalCell, METH_O, NULL}, | |
093d3ff1 | 17640 | { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL}, |
e9d6f3a4 RD |
17641 | { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL}, |
17642 | { (char *)"HtmlCell_GetRootCell", (PyCFunction)_wrap_HtmlCell_GetRootCell, METH_O, NULL}, | |
554f62e9 RD |
17643 | { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction)_wrap_HtmlCell_GetFirstTerminal, METH_O, NULL}, |
17644 | { (char *)"HtmlCell_GetLastTerminal", (PyCFunction)_wrap_HtmlCell_GetLastTerminal, METH_O, NULL}, | |
17645 | { (char *)"HtmlCell_GetDepth", (PyCFunction)_wrap_HtmlCell_GetDepth, METH_O, NULL}, | |
093d3ff1 RD |
17646 | { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL}, |
17647 | { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17648 | { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17649 | { (char *)"HtmlCell_swiginit", HtmlCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 17650 | { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
b1fcee84 | 17651 | { (char *)"HtmlWordCell_ConvertToText", (PyCFunction) _wrap_HtmlWordCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17652 | { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlWordCell_IsLinebreakAllowed, METH_O, NULL}, |
b1fcee84 | 17653 | { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction) _wrap_HtmlWordCell_SetPreviousWord, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 17654 | { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17655 | { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17656 | { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17657 | { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17658 | { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17659 | { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction)_wrap_HtmlContainerCell_GetAlignHor, METH_O, NULL}, |
093d3ff1 | 17660 | { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17661 | { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction)_wrap_HtmlContainerCell_GetAlignVer, METH_O, NULL}, |
093d3ff1 RD |
17662 | { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, |
17663 | { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17664 | { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17665 | { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17666 | { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17667 | { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17668 | { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17669 | { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17670 | { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction)_wrap_HtmlContainerCell_GetBackgroundColour, METH_O, NULL}, |
093d3ff1 | 17671 | { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17672 | { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction)_wrap_HtmlContainerCell_GetFirstChild, METH_O, NULL}, |
093d3ff1 | 17673 | { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17674 | { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17675 | { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17676 | { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17677 | { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17678 | { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17679 | { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17680 | { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17681 | { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17682 | { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL}, | |
554f62e9 RD |
17683 | { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit, METH_VARARGS, NULL}, |
17684 | { (char *)"new_HtmlFilter", (PyCFunction)_wrap_new_HtmlFilter, METH_NOARGS, NULL}, | |
093d3ff1 RD |
17685 | { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
17686 | { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17687 | { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit, METH_VARARGS, NULL}, |
e9d6f3a4 RD |
17688 | { (char *)"delete_HtmlWindowInterface", (PyCFunction)_wrap_delete_HtmlWindowInterface, METH_O, NULL}, |
17689 | { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLWindowTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17690 | { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction) _wrap_HtmlWindowInterface_HTMLCoordsToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17691 | { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLWindow, METH_O, NULL}, | |
17692 | { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour, METH_O, NULL}, | |
17693 | { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17694 | { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17695 | { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17696 | { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister, METH_VARARGS, NULL}, | |
093d3ff1 | 17697 | { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17698 | { (char *)"new_PreHtmlWindow", (PyCFunction)_wrap_new_PreHtmlWindow, METH_NOARGS, NULL}, |
093d3ff1 RD |
17699 | { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, |
17700 | { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17701 | { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17702 | { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17703 | { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17704 | { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17705 | { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction)_wrap_HtmlWindow_GetOpenedPage, METH_O, NULL}, |
17706 | { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction)_wrap_HtmlWindow_GetOpenedAnchor, METH_O, NULL}, | |
17707 | { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction)_wrap_HtmlWindow_GetOpenedPageTitle, METH_O, NULL}, | |
093d3ff1 | 17708 | { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17709 | { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction)_wrap_HtmlWindow_GetRelatedFrame, METH_O, NULL}, |
093d3ff1 RD |
17710 | { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, |
17711 | { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17712 | { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 | 17713 | { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL}, |
53aa7709 | 17714 | { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
17715 | { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, |
17716 | { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17717 | { (char *)"HtmlWindow_HistoryBack", (PyCFunction)_wrap_HtmlWindow_HistoryBack, METH_O, NULL}, |
17718 | { (char *)"HtmlWindow_HistoryForward", (PyCFunction)_wrap_HtmlWindow_HistoryForward, METH_O, NULL}, | |
17719 | { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction)_wrap_HtmlWindow_HistoryCanBack, METH_O, NULL}, | |
17720 | { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction)_wrap_HtmlWindow_HistoryCanForward, METH_O, NULL}, | |
17721 | { (char *)"HtmlWindow_HistoryClear", (PyCFunction)_wrap_HtmlWindow_HistoryClear, METH_O, NULL}, | |
17722 | { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction)_wrap_HtmlWindow_GetInternalRepresentation, METH_O, NULL}, | |
17723 | { (char *)"HtmlWindow_GetParser", (PyCFunction)_wrap_HtmlWindow_GetParser, METH_O, NULL}, | |
093d3ff1 RD |
17724 | { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, |
17725 | { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17726 | { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17727 | { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17728 | { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17729 | { (char *)"HtmlWindow_SelectAll", (PyCFunction)_wrap_HtmlWindow_SelectAll, METH_O, NULL}, |
17730 | { (char *)"HtmlWindow_SelectionToText", (PyCFunction)_wrap_HtmlWindow_SelectionToText, METH_O, NULL}, | |
17731 | { (char *)"HtmlWindow_ToText", (PyCFunction)_wrap_HtmlWindow_ToText, METH_O, NULL}, | |
b06b3e70 RD |
17732 | { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL}, |
17733 | { (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17734 | { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17735 | { (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL}, | |
e9d6f3a4 | 17736 | { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction) _wrap_HtmlWindow_OnOpeningURL, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 17737 | { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, |
e9d6f3a4 | 17738 | { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction) _wrap_HtmlWindow_GetDefaultHTMLCursor, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 17739 | { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL}, |
554f62e9 RD |
17740 | { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit, METH_VARARGS, NULL}, |
17741 | { (char *)"new_HtmlDCRenderer", (PyCFunction)_wrap_new_HtmlDCRenderer, METH_NOARGS, NULL}, | |
17742 | { (char *)"delete_HtmlDCRenderer", (PyCFunction)_wrap_delete_HtmlDCRenderer, METH_O, NULL}, | |
093d3ff1 RD |
17743 | { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, |
17744 | { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17745 | { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17746 | { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17747 | { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17748 | { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17749 | { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction)_wrap_HtmlDCRenderer_GetTotalHeight, METH_O, NULL}, |
093d3ff1 | 17750 | { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17751 | { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17752 | { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, |
17753 | { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17754 | { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17755 | { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17756 | { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17757 | { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17758 | { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17759 | { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17760 | { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17761 | { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction)_wrap_HtmlPrintout_CleanUpStatics, METH_NOARGS, NULL}, |
093d3ff1 | 17762 | { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17763 | { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 17764 | { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17765 | { (char *)"delete_HtmlEasyPrinting", (PyCFunction)_wrap_delete_HtmlEasyPrinting, METH_O, NULL}, |
093d3ff1 RD |
17766 | { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL}, |
17767 | { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17768 | { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17769 | { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17770 | { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction)_wrap_HtmlEasyPrinting_PageSetup, METH_O, NULL}, |
093d3ff1 RD |
17771 | { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL}, |
17772 | { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17773 | { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17774 | { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17775 | { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPrintData, METH_O, NULL}, |
17776 | { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPageSetupData, METH_O, NULL}, | |
093d3ff1 | 17777 | { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17778 | { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 17779 | { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17780 | { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction)_wrap_HtmlBookRecord_GetBookFile, METH_O, NULL}, |
17781 | { (char *)"HtmlBookRecord_GetTitle", (PyCFunction)_wrap_HtmlBookRecord_GetTitle, METH_O, NULL}, | |
17782 | { (char *)"HtmlBookRecord_GetStart", (PyCFunction)_wrap_HtmlBookRecord_GetStart, METH_O, NULL}, | |
17783 | { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction)_wrap_HtmlBookRecord_GetBasePath, METH_O, NULL}, | |
093d3ff1 | 17784 | { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17785 | { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction)_wrap_HtmlBookRecord_GetContentsStart, METH_O, NULL}, |
17786 | { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction)_wrap_HtmlBookRecord_GetContentsEnd, METH_O, NULL}, | |
093d3ff1 RD |
17787 | { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, |
17788 | { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17789 | { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17790 | { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17791 | { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL}, | |
554f62e9 RD |
17792 | { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit, METH_VARARGS, NULL}, |
17793 | { (char *)"HtmlSearchStatus_Search", (PyCFunction)_wrap_HtmlSearchStatus_Search, METH_O, NULL}, | |
17794 | { (char *)"HtmlSearchStatus_IsActive", (PyCFunction)_wrap_HtmlSearchStatus_IsActive, METH_O, NULL}, | |
17795 | { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetCurIndex, METH_O, NULL}, | |
17796 | { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetMaxIndex, METH_O, NULL}, | |
17797 | { (char *)"HtmlSearchStatus_GetName", (PyCFunction)_wrap_HtmlSearchStatus_GetName, METH_O, NULL}, | |
093d3ff1 | 17798 | { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL}, |
554f62e9 RD |
17799 | { (char *)"new_HtmlHelpData", (PyCFunction)_wrap_new_HtmlHelpData, METH_NOARGS, NULL}, |
17800 | { (char *)"delete_HtmlHelpData", (PyCFunction)_wrap_delete_HtmlHelpData, METH_O, NULL}, | |
093d3ff1 RD |
17801 | { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL}, |
17802 | { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17803 | { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17804 | { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17805 | { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction)_wrap_HtmlHelpData_GetBookRecArray, METH_O, NULL}, |
093d3ff1 | 17806 | { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17807 | { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit, METH_VARARGS, NULL}, |
7449af73 RD |
17808 | { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
17809 | { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17810 | { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17811 | { (char *)"HtmlHelpWindow_GetData", (PyCFunction)_wrap_HtmlHelpWindow_GetData, METH_O, NULL}, |
17812 | { (char *)"HtmlHelpWindow_GetController", (PyCFunction)_wrap_HtmlHelpWindow_GetController, METH_O, NULL}, | |
7449af73 RD |
17813 | { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, |
17814 | { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17815 | { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17816 | { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction)_wrap_HtmlHelpWindow_DisplayContents, METH_O, NULL}, |
17817 | { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction)_wrap_HtmlHelpWindow_DisplayIndex, METH_O, NULL}, | |
7449af73 RD |
17818 | { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, |
17819 | { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17820 | { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17821 | { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17822 | { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction)_wrap_HtmlHelpWindow_NotifyPageChanged, METH_O, NULL}, |
17823 | { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction)_wrap_HtmlHelpWindow_RefreshLists, METH_O, NULL}, | |
17824 | { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetHtmlWindow, METH_O, NULL}, | |
17825 | { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetSplitterWindow, METH_O, NULL}, | |
17826 | { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction)_wrap_HtmlHelpWindow_GetToolBar, METH_O, NULL}, | |
17827 | { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction)_wrap_HtmlHelpWindow_GetCfgData, METH_O, NULL}, | |
17828 | { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction)_wrap_HtmlHelpWindow_GetTreeCtrl, METH_O, NULL}, | |
7449af73 | 17829 | { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17830 | { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit, METH_VARARGS, NULL}, |
7449af73 RD |
17831 | { (char *)"new_HtmlWindowEvent", (PyCFunction) _wrap_new_HtmlWindowEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
17832 | { (char *)"HtmlWindowEvent_SetURL", (PyCFunction) _wrap_HtmlWindowEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17833 | { (char *)"HtmlWindowEvent_GetURL", (PyCFunction)_wrap_HtmlWindowEvent_GetURL, METH_O, NULL}, |
7449af73 | 17834 | { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17835 | { (char *)"HtmlWindowEvent_swiginit", HtmlWindowEvent_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 17836 | { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
7449af73 RD |
17837 | { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
17838 | { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17839 | { (char *)"HtmlHelpFrame_GetData", (PyCFunction)_wrap_HtmlHelpFrame_GetData, METH_O, NULL}, |
093d3ff1 | 17840 | { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17841 | { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction)_wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_O, NULL}, |
17842 | { (char *)"HtmlHelpFrame_GetController", (PyCFunction)_wrap_HtmlHelpFrame_GetController, METH_O, NULL}, | |
7449af73 | 17843 | { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17844 | { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpFrame_GetHelpWindow, METH_O, NULL}, |
093d3ff1 | 17845 | { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17846 | { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit, METH_VARARGS, NULL}, |
7449af73 RD |
17847 | { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL}, |
17848 | { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17849 | { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17850 | { (char *)"HtmlHelpDialog_GetData", (PyCFunction)_wrap_HtmlHelpDialog_GetData, METH_O, NULL}, |
17851 | { (char *)"HtmlHelpDialog_GetController", (PyCFunction)_wrap_HtmlHelpDialog_GetController, METH_O, NULL}, | |
7449af73 | 17852 | { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17853 | { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpDialog_GetHelpWindow, METH_O, NULL}, |
7449af73 RD |
17854 | { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, |
17855 | { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17856 | { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit, METH_VARARGS, NULL}, |
7449af73 RD |
17857 | { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL}, |
17858 | { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17859 | { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 | 17860 | { (char *)"HelpControllerBase_DisplayContents", (PyCFunction)_wrap_HelpControllerBase_DisplayContents, METH_O, NULL}, |
7449af73 RD |
17861 | { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL}, |
17862 | { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17863 | { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL}, | |
17864 | { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17865 | { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17866 | { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17867 | { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17868 | { (char *)"HelpControllerBase_Quit", (PyCFunction)_wrap_HelpControllerBase_Quit, METH_O, NULL}, |
17869 | { (char *)"HelpControllerBase_OnQuit", (PyCFunction)_wrap_HelpControllerBase_OnQuit, METH_O, NULL}, | |
7449af73 | 17870 | { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 | 17871 | { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction)_wrap_HelpControllerBase_GetParentWindow, METH_O, NULL}, |
7449af73 | 17872 | { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL}, |
093d3ff1 | 17873 | { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17874 | { (char *)"delete_HtmlHelpController", (PyCFunction)_wrap_delete_HtmlHelpController, METH_O, NULL}, |
17875 | { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpController_GetHelpWindow, METH_O, NULL}, | |
7449af73 | 17876 | { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
554f62e9 RD |
17877 | { (char *)"HtmlHelpController_GetFrame", (PyCFunction)_wrap_HtmlHelpController_GetFrame, METH_O, NULL}, |
17878 | { (char *)"HtmlHelpController_GetDialog", (PyCFunction)_wrap_HtmlHelpController_GetDialog, METH_O, NULL}, | |
093d3ff1 RD |
17879 | { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, |
17880 | { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17881 | { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17882 | { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17883 | { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17884 | { (char *)"HtmlHelpController_DisplayContents", (PyCFunction)_wrap_HtmlHelpController_DisplayContents, METH_O, NULL}, |
17885 | { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction)_wrap_HtmlHelpController_DisplayIndex, METH_O, NULL}, | |
093d3ff1 RD |
17886 | { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, |
17887 | { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17888 | { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17889 | { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
554f62e9 RD |
17890 | { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction)_wrap_HtmlHelpController_MakeModalIfNeeded, METH_O, NULL}, |
17891 | { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction)_wrap_HtmlHelpController_FindTopLevelWindow, METH_O, NULL}, | |
093d3ff1 | 17892 | { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL}, |
554f62e9 | 17893 | { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit, METH_VARARGS, NULL}, |
7449af73 RD |
17894 | { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL}, |
17895 | { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL}, | |
554f62e9 | 17896 | { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit, METH_VARARGS, NULL}, |
c32bde28 | 17897 | { NULL, NULL, 0, NULL } |
d14a1e28 RD |
17898 | }; |
17899 | ||
17900 | ||
17901 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
17902 | ||
17903 | static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) { | |
17904 | return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x)); | |
17905 | } | |
7449af73 RD |
17906 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
17907 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
d14a1e28 | 17908 | } |
7449af73 RD |
17909 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { |
17910 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
d14a1e28 | 17911 | } |
7449af73 RD |
17912 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { |
17913 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
a2482628 | 17914 | } |
7449af73 RD |
17915 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { |
17916 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
d14a1e28 | 17917 | } |
7449af73 RD |
17918 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { |
17919 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
d14a1e28 | 17920 | } |
7449af73 RD |
17921 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { |
17922 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
d14a1e28 | 17923 | } |
7449af73 RD |
17924 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { |
17925 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
d14a1e28 | 17926 | } |
7449af73 RD |
17927 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { |
17928 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
d14a1e28 | 17929 | } |
7449af73 RD |
17930 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { |
17931 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
d14a1e28 | 17932 | } |
7449af73 RD |
17933 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { |
17934 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
17935 | } | |
7449af73 RD |
17936 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { |
17937 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17938 | } | |
2131d850 RD |
17939 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
17940 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
17941 | } | |
7449af73 RD |
17942 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { |
17943 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
17944 | } | |
17945 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
17946 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
17947 | } | |
17948 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
17949 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17950 | } | |
17951 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
17952 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
17953 | } | |
17954 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
17955 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
17956 | } | |
17957 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
17958 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
17959 | } | |
17960 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
17961 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
17962 | } | |
17963 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
17964 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
17965 | } | |
17966 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
17967 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
17968 | } | |
17969 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
17970 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
17971 | } | |
2131d850 RD |
17972 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
17973 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
17974 | } | |
7449af73 RD |
17975 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
17976 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
17977 | } | |
17978 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
17979 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
17980 | } | |
17981 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
17982 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17983 | } | |
17984 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
17985 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
17986 | } | |
17987 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
17988 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
17989 | } | |
17990 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
17991 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
17992 | } | |
17993 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
17994 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
17995 | } | |
17996 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
17997 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
17998 | } | |
17999 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
18000 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
18001 | } | |
18002 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
18003 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
18004 | } | |
18005 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
18006 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
18007 | } | |
18008 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
18009 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
18010 | } | |
18011 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
18012 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
18013 | } | |
18014 | static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x) { | |
18015 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x)); | |
18016 | } | |
18017 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
18018 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
18019 | } | |
18020 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
18021 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
18022 | } | |
18023 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
18024 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
18025 | } | |
18026 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
18027 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
18028 | } | |
18029 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
18030 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
18031 | } | |
18032 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
18033 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
18034 | } | |
18035 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
18036 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
18037 | } | |
18038 | static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) { | |
18039 | return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
18040 | } | |
18041 | static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) { | |
18042 | return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
18043 | } | |
18044 | static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) { | |
18045 | return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
18046 | } | |
18047 | static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) { | |
18048 | return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
18049 | } | |
18050 | static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) { | |
18051 | return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
18052 | } | |
18053 | static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x) { | |
18054 | return (void *)((wxNotifyEvent *) ((wxHtmlWindowEvent *) x)); | |
18055 | } | |
18056 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
18057 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
18058 | } | |
18059 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
18060 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
18061 | } | |
18062 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
18063 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
18064 | } | |
18065 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
18066 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
18067 | } | |
18068 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
18069 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
18070 | } | |
18071 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
18072 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
18073 | } | |
18074 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
18075 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
18076 | } | |
18077 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
18078 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
18079 | } | |
18080 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { | |
18081 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
18082 | } | |
18083 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
18084 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
18085 | } | |
18086 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
18087 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
18088 | } | |
18089 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
18090 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
18091 | } | |
18092 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
18093 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
18094 | } | |
18095 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
18096 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
18097 | } | |
18098 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
18099 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
18100 | } | |
18101 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
18102 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
18103 | } | |
18104 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
18105 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
18106 | } | |
18107 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
18108 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
18109 | } | |
18110 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
18111 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
18112 | } | |
18113 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
18114 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
18115 | } | |
18116 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
18117 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
18118 | } | |
18119 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
18120 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
18121 | } | |
18122 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
18123 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
d14a1e28 | 18124 | } |
7449af73 RD |
18125 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { |
18126 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
a2482628 | 18127 | } |
7449af73 RD |
18128 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { |
18129 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
d14a1e28 | 18130 | } |
7449af73 RD |
18131 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { |
18132 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
d14a1e28 | 18133 | } |
7449af73 RD |
18134 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { |
18135 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
d14a1e28 | 18136 | } |
7449af73 RD |
18137 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { |
18138 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 18139 | } |
7449af73 RD |
18140 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { |
18141 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
d14a1e28 | 18142 | } |
7449af73 RD |
18143 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { |
18144 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
d14a1e28 | 18145 | } |
7449af73 RD |
18146 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { |
18147 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 18148 | } |
7449af73 RD |
18149 | static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) { |
18150 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 18151 | } |
7449af73 RD |
18152 | static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) { |
18153 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x)); | |
d14a1e28 | 18154 | } |
7449af73 RD |
18155 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { |
18156 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
c1cb24a4 | 18157 | } |
7449af73 RD |
18158 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { |
18159 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 18160 | } |
7449af73 RD |
18161 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { |
18162 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 18163 | } |
7449af73 RD |
18164 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { |
18165 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 18166 | } |
7449af73 RD |
18167 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { |
18168 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
d14a1e28 | 18169 | } |
7449af73 RD |
18170 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { |
18171 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
d14a1e28 | 18172 | } |
7449af73 RD |
18173 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { |
18174 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
d14a1e28 | 18175 | } |
7449af73 RD |
18176 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { |
18177 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 18178 | } |
7449af73 RD |
18179 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { |
18180 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 18181 | } |
7449af73 RD |
18182 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { |
18183 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 18184 | } |
7449af73 RD |
18185 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { |
18186 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
d14a1e28 | 18187 | } |
7449af73 RD |
18188 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { |
18189 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
d14a1e28 | 18190 | } |
7449af73 RD |
18191 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { |
18192 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d14a1e28 | 18193 | } |
7449af73 RD |
18194 | static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) { |
18195 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 18196 | } |
7449af73 RD |
18197 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { |
18198 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 | 18199 | } |
7449af73 RD |
18200 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { |
18201 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 18202 | } |
7449af73 RD |
18203 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { |
18204 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 18205 | } |
7449af73 RD |
18206 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { |
18207 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
c1cb24a4 | 18208 | } |
7449af73 RD |
18209 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { |
18210 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
a2482628 | 18211 | } |
7449af73 RD |
18212 | static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) { |
18213 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 18214 | } |
7449af73 RD |
18215 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
18216 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 18217 | } |
7449af73 RD |
18218 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) { |
18219 | return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
d14a1e28 | 18220 | } |
7449af73 RD |
18221 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { |
18222 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 18223 | } |
7449af73 RD |
18224 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { |
18225 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
d14a1e28 | 18226 | } |
7449af73 RD |
18227 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { |
18228 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 18229 | } |
7449af73 RD |
18230 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { |
18231 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 18232 | } |
7449af73 RD |
18233 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { |
18234 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 18235 | } |
7449af73 RD |
18236 | static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) { |
18237 | return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 18238 | } |
7449af73 RD |
18239 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { |
18240 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 18241 | } |
7449af73 RD |
18242 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { |
18243 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 18244 | } |
7449af73 RD |
18245 | static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) { |
18246 | return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
d14a1e28 | 18247 | } |
7449af73 RD |
18248 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { |
18249 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
d14a1e28 | 18250 | } |
7449af73 RD |
18251 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { |
18252 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 18253 | } |
7449af73 RD |
18254 | static void *_p_wxEventTo_p_wxObject(void *x) { |
18255 | return (void *)((wxObject *) ((wxEvent *) x)); | |
d14a1e28 | 18256 | } |
7449af73 RD |
18257 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { |
18258 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
d14a1e28 | 18259 | } |
7449af73 RD |
18260 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { |
18261 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
d14a1e28 | 18262 | } |
7449af73 RD |
18263 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { |
18264 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
c1cb24a4 | 18265 | } |
7449af73 RD |
18266 | static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) { |
18267 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
d14a1e28 | 18268 | } |
7449af73 RD |
18269 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { |
18270 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 18271 | } |
7449af73 RD |
18272 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { |
18273 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 18274 | } |
7449af73 RD |
18275 | static void *_p_wxHtmlTagTo_p_wxObject(void *x) { |
18276 | return (void *)((wxObject *) ((wxHtmlTag *) x)); | |
d14a1e28 | 18277 | } |
7449af73 RD |
18278 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { |
18279 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
c1cb24a4 | 18280 | } |
7449af73 RD |
18281 | static void *_p_wxImageTo_p_wxObject(void *x) { |
18282 | return (void *)((wxObject *) ((wxImage *) x)); | |
d14a1e28 | 18283 | } |
7449af73 RD |
18284 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
18285 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
d14a1e28 | 18286 | } |
7449af73 RD |
18287 | static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) { |
18288 | return (void *)((wxObject *) ((wxPyHtmlFilter *) x)); | |
2f91e3df | 18289 | } |
7449af73 RD |
18290 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
18291 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
2f91e3df | 18292 | } |
7449af73 RD |
18293 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { |
18294 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
2f91e3df | 18295 | } |
7449af73 RD |
18296 | static void *_p_wxPyAppTo_p_wxObject(void *x) { |
18297 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
2f91e3df | 18298 | } |
7449af73 RD |
18299 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { |
18300 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
2f91e3df | 18301 | } |
7449af73 RD |
18302 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { |
18303 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
2f91e3df | 18304 | } |
7449af73 RD |
18305 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { |
18306 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
2f91e3df | 18307 | } |
7449af73 RD |
18308 | static void *_p_wxValidatorTo_p_wxObject(void *x) { |
18309 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
2f91e3df | 18310 | } |
7449af73 RD |
18311 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { |
18312 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
2f91e3df | 18313 | } |
7449af73 RD |
18314 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { |
18315 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
2f91e3df | 18316 | } |
7449af73 RD |
18317 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { |
18318 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
2f91e3df | 18319 | } |
7449af73 RD |
18320 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { |
18321 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
2f91e3df | 18322 | } |
7449af73 RD |
18323 | static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) { |
18324 | return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x)); | |
2f91e3df | 18325 | } |
7449af73 RD |
18326 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
18327 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
2f91e3df | 18328 | } |
7449af73 RD |
18329 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { |
18330 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
d14a1e28 | 18331 | } |
7449af73 RD |
18332 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { |
18333 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
d14a1e28 | 18334 | } |
7449af73 RD |
18335 | static void *_p_wxPrinterTo_p_wxObject(void *x) { |
18336 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
d14a1e28 | 18337 | } |
7449af73 RD |
18338 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { |
18339 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
d14a1e28 | 18340 | } |
7449af73 RD |
18341 | static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) { |
18342 | return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
d14a1e28 | 18343 | } |
7449af73 RD |
18344 | static void *_p_wxHtmlParserTo_p_wxObject(void *x) { |
18345 | return (void *)((wxObject *) ((wxHtmlParser *) x)); | |
d14a1e28 | 18346 | } |
7449af73 RD |
18347 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { |
18348 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
d14a1e28 | 18349 | } |
7449af73 RD |
18350 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { |
18351 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
d14a1e28 | 18352 | } |
7449af73 RD |
18353 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
18354 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
d14a1e28 | 18355 | } |
7449af73 RD |
18356 | static void *_p_wxControlTo_p_wxObject(void *x) { |
18357 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
d14a1e28 | 18358 | } |
7449af73 RD |
18359 | static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) { |
18360 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 18361 | } |
7449af73 RD |
18362 | static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) { |
18363 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
d14a1e28 | 18364 | } |
7449af73 RD |
18365 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
18366 | return (void *)((wxObject *) ((wxColourData *) x)); | |
d14a1e28 | 18367 | } |
7449af73 RD |
18368 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { |
18369 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
d14a1e28 | 18370 | } |
7449af73 RD |
18371 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { |
18372 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
d14a1e28 | 18373 | } |
7449af73 RD |
18374 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { |
18375 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
d14a1e28 | 18376 | } |
7449af73 RD |
18377 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { |
18378 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
d14a1e28 | 18379 | } |
7449af73 RD |
18380 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { |
18381 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
d14a1e28 | 18382 | } |
7449af73 RD |
18383 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { |
18384 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
d14a1e28 | 18385 | } |
7449af73 RD |
18386 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { |
18387 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
d14a1e28 | 18388 | } |
7449af73 RD |
18389 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { |
18390 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
d14a1e28 | 18391 | } |
7449af73 RD |
18392 | static void *_p_wxDateEventTo_p_wxObject(void *x) { |
18393 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
d14a1e28 | 18394 | } |
7449af73 RD |
18395 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
18396 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
d14a1e28 | 18397 | } |
7449af73 RD |
18398 | static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) { |
18399 | return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
d14a1e28 | 18400 | } |
7449af73 RD |
18401 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { |
18402 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
d14a1e28 | 18403 | } |
7449af73 RD |
18404 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { |
18405 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 18406 | } |
7449af73 RD |
18407 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
18408 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
d14a1e28 | 18409 | } |
7449af73 RD |
18410 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { |
18411 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
d14a1e28 | 18412 | } |
7449af73 RD |
18413 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { |
18414 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
d14a1e28 | 18415 | } |
7449af73 RD |
18416 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
18417 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
d14a1e28 | 18418 | } |
7449af73 RD |
18419 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
18420 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
d14a1e28 | 18421 | } |
7449af73 RD |
18422 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { |
18423 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 18424 | } |
7449af73 RD |
18425 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { |
18426 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 18427 | } |
7449af73 RD |
18428 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { |
18429 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
d14a1e28 | 18430 | } |
7449af73 RD |
18431 | static void *_p_wxFontDataTo_p_wxObject(void *x) { |
18432 | return (void *)((wxObject *) ((wxFontData *) x)); | |
d14a1e28 | 18433 | } |
7449af73 RD |
18434 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
18435 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 18436 | } |
7449af73 RD |
18437 | static void *_p_wxFrameTo_p_wxObject(void *x) { |
18438 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 | 18439 | } |
7449af73 RD |
18440 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { |
18441 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
d14a1e28 | 18442 | } |
7449af73 RD |
18443 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { |
18444 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
d14a1e28 | 18445 | } |
7449af73 RD |
18446 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { |
18447 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 18448 | } |
7449af73 RD |
18449 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { |
18450 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
d14a1e28 | 18451 | } |
7449af73 RD |
18452 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { |
18453 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
d14a1e28 | 18454 | } |
7449af73 RD |
18455 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { |
18456 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
d14a1e28 | 18457 | } |
7449af73 RD |
18458 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { |
18459 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
d14a1e28 | 18460 | } |
7449af73 RD |
18461 | static void *_p_wxSizerTo_p_wxObject(void *x) { |
18462 | return (void *)((wxObject *) ((wxSizer *) x)); | |
d14a1e28 | 18463 | } |
7449af73 RD |
18464 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { |
18465 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
d14a1e28 | 18466 | } |
7449af73 RD |
18467 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { |
18468 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
d14a1e28 | 18469 | } |
7449af73 RD |
18470 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { |
18471 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
d14a1e28 | 18472 | } |
7449af73 RD |
18473 | static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) { |
18474 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
d14a1e28 | 18475 | } |
7449af73 RD |
18476 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { |
18477 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
d14a1e28 | 18478 | } |
7449af73 RD |
18479 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { |
18480 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
d14a1e28 | 18481 | } |
2131d850 RD |
18482 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
18483 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
18484 | } | |
7449af73 RD |
18485 | static void *_p_wxFSFileTo_p_wxObject(void *x) { |
18486 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
d14a1e28 | 18487 | } |
7449af73 RD |
18488 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { |
18489 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
d14a1e28 | 18490 | } |
7449af73 RD |
18491 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { |
18492 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
d14a1e28 | 18493 | } |
7449af73 RD |
18494 | static void *_p_wxMenuTo_p_wxObject(void *x) { |
18495 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
c1cb24a4 | 18496 | } |
7449af73 RD |
18497 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
18498 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
d14a1e28 | 18499 | } |
7449af73 RD |
18500 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
18501 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
d14a1e28 | 18502 | } |
7449af73 RD |
18503 | static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) { |
18504 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 18505 | } |
7449af73 RD |
18506 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { |
18507 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
d14a1e28 | 18508 | } |
7449af73 RD |
18509 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { |
18510 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
d14a1e28 | 18511 | } |
7449af73 RD |
18512 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { |
18513 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 18514 | } |
7449af73 RD |
18515 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { |
18516 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
53aa7709 | 18517 | } |
7449af73 RD |
18518 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { |
18519 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 18520 | } |
7449af73 RD |
18521 | static void *_p_wxDialogTo_p_wxObject(void *x) { |
18522 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
d14a1e28 | 18523 | } |
7449af73 RD |
18524 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { |
18525 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
d14a1e28 | 18526 | } |
7449af73 RD |
18527 | static void *_p_wxPyEventTo_p_wxObject(void *x) { |
18528 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
d14a1e28 | 18529 | } |
7449af73 RD |
18530 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) { |
18531 | return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
d14a1e28 | 18532 | } |
7449af73 RD |
18533 | static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) { |
18534 | return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x)); | |
d14a1e28 | 18535 | } |
7449af73 RD |
18536 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
18537 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
d14a1e28 | 18538 | } |
7449af73 RD |
18539 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { |
18540 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
d14a1e28 | 18541 | } |
7449af73 RD |
18542 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { |
18543 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
d14a1e28 | 18544 | } |
7449af73 RD |
18545 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { |
18546 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
d14a1e28 | 18547 | } |
7449af73 RD |
18548 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { |
18549 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
d14a1e28 | 18550 | } |
7449af73 RD |
18551 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { |
18552 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
d14a1e28 | 18553 | } |
7449af73 RD |
18554 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { |
18555 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
d14a1e28 | 18556 | } |
7449af73 RD |
18557 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { |
18558 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
d14a1e28 RD |
18559 | } |
18560 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
18561 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
18562 | } | |
7449af73 RD |
18563 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { |
18564 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
d14a1e28 | 18565 | } |
7449af73 RD |
18566 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { |
18567 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
d14a1e28 | 18568 | } |
7449af73 RD |
18569 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { |
18570 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
d14a1e28 | 18571 | } |
7449af73 RD |
18572 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { |
18573 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
9d7dfdff | 18574 | } |
7449af73 RD |
18575 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { |
18576 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
d14a1e28 | 18577 | } |
7449af73 RD |
18578 | static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x) { |
18579 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x)); | |
9d7dfdff | 18580 | } |
7449af73 RD |
18581 | static void *_p_wxShowEventTo_p_wxObject(void *x) { |
18582 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
d14a1e28 | 18583 | } |
7449af73 RD |
18584 | static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) { |
18585 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x)); | |
d14a1e28 | 18586 | } |
7449af73 RD |
18587 | static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) { |
18588 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 18589 | } |
7449af73 RD |
18590 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
18591 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 18592 | } |
7449af73 RD |
18593 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { |
18594 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
d14a1e28 | 18595 | } |
7449af73 RD |
18596 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { |
18597 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
d14a1e28 | 18598 | } |
7449af73 RD |
18599 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { |
18600 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
d14a1e28 | 18601 | } |
7449af73 RD |
18602 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { |
18603 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
51b83b37 | 18604 | } |
7449af73 RD |
18605 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { |
18606 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
d14a1e28 | 18607 | } |
7449af73 RD |
18608 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { |
18609 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
d14a1e28 | 18610 | } |
7449af73 RD |
18611 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { |
18612 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
d14a1e28 | 18613 | } |
7449af73 RD |
18614 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { |
18615 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
d14a1e28 | 18616 | } |
7449af73 RD |
18617 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { |
18618 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
d14a1e28 | 18619 | } |
7449af73 RD |
18620 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
18621 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
d14a1e28 | 18622 | } |
7449af73 RD |
18623 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
18624 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 18625 | } |
7449af73 RD |
18626 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
18627 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
d14a1e28 | 18628 | } |
7449af73 RD |
18629 | static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) { |
18630 | return (void *)((wxObject *) ((wxHelpControllerBase *) x)); | |
d14a1e28 RD |
18631 | } |
18632 | static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) { | |
18633 | return (void *)((wxObject *) ((wxHtmlDCRenderer *) x)); | |
18634 | } | |
7449af73 RD |
18635 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { |
18636 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
d14a1e28 | 18637 | } |
7449af73 RD |
18638 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { |
18639 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
d14a1e28 | 18640 | } |
7449af73 RD |
18641 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
18642 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 18643 | } |
7449af73 RD |
18644 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
18645 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 18646 | } |
7449af73 RD |
18647 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { |
18648 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 18649 | } |
7449af73 RD |
18650 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { |
18651 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 18652 | } |
7449af73 RD |
18653 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { |
18654 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 18655 | } |
7449af73 RD |
18656 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { |
18657 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 18658 | } |
7449af73 RD |
18659 | static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) { |
18660 | return (void *)((wxObject *) ((wxHtmlLinkInfo *) x)); | |
41f1cec7 | 18661 | } |
7449af73 RD |
18662 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { |
18663 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
d14a1e28 | 18664 | } |
7449af73 RD |
18665 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { |
18666 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
d14a1e28 | 18667 | } |
7449af73 RD |
18668 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { |
18669 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
d14a1e28 | 18670 | } |
7449af73 RD |
18671 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { |
18672 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
d14a1e28 | 18673 | } |
7449af73 RD |
18674 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { |
18675 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
d14a1e28 | 18676 | } |
7449af73 RD |
18677 | static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) { |
18678 | return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x)); | |
d14a1e28 | 18679 | } |
7449af73 RD |
18680 | static void *_p_wxPanelTo_p_wxObject(void *x) { |
18681 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
d14a1e28 | 18682 | } |
7449af73 RD |
18683 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { |
18684 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
d14a1e28 | 18685 | } |
7449af73 RD |
18686 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { |
18687 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
d14a1e28 | 18688 | } |
7449af73 RD |
18689 | static void *_p_wxHtmlCellTo_p_wxObject(void *x) { |
18690 | return (void *)((wxObject *) ((wxHtmlCell *) x)); | |
d14a1e28 | 18691 | } |
7449af73 RD |
18692 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { |
18693 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
a2482628 | 18694 | } |
7449af73 RD |
18695 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { |
18696 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
d14a1e28 | 18697 | } |
7449af73 RD |
18698 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { |
18699 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
d14a1e28 | 18700 | } |
7449af73 RD |
18701 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { |
18702 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
d14a1e28 | 18703 | } |
7449af73 RD |
18704 | static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) { |
18705 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
d14a1e28 | 18706 | } |
7449af73 RD |
18707 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
18708 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
d14a1e28 | 18709 | } |
7449af73 RD |
18710 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { |
18711 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
18712 | } | |
18713 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
18714 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
18715 | } | |
18716 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
18717 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
18718 | } | |
18719 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
18720 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 18721 | } |
7449af73 RD |
18722 | static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) { |
18723 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
d14a1e28 | 18724 | } |
7449af73 RD |
18725 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { |
18726 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
d14a1e28 | 18727 | } |
7449af73 RD |
18728 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { |
18729 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 18730 | } |
7449af73 RD |
18731 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { |
18732 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 18733 | } |
7449af73 RD |
18734 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { |
18735 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
d14a1e28 | 18736 | } |
7449af73 RD |
18737 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { |
18738 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
d14a1e28 | 18739 | } |
7449af73 RD |
18740 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { |
18741 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
d14a1e28 | 18742 | } |
7449af73 RD |
18743 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { |
18744 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
d14a1e28 | 18745 | } |
7449af73 RD |
18746 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { |
18747 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 18748 | } |
7449af73 RD |
18749 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
18750 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 18751 | } |
7449af73 RD |
18752 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
18753 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 18754 | } |
7449af73 RD |
18755 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { |
18756 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 18757 | } |
7449af73 RD |
18758 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { |
18759 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 18760 | } |
7449af73 RD |
18761 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { |
18762 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 18763 | } |
7449af73 RD |
18764 | static void *_p_wxPanelTo_p_wxWindow(void *x) { |
18765 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
d14a1e28 | 18766 | } |
7449af73 RD |
18767 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { |
18768 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
d14a1e28 | 18769 | } |
7449af73 RD |
18770 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
18771 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
d14a1e28 | 18772 | } |
7449af73 RD |
18773 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { |
18774 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
d14a1e28 | 18775 | } |
7449af73 RD |
18776 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { |
18777 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
d14a1e28 | 18778 | } |
7449af73 RD |
18779 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { |
18780 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
d14a1e28 | 18781 | } |
7449af73 RD |
18782 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { |
18783 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
d14a1e28 | 18784 | } |
7449af73 RD |
18785 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { |
18786 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 18787 | } |
7449af73 RD |
18788 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { |
18789 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
d14a1e28 | 18790 | } |
7449af73 RD |
18791 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { |
18792 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
d14a1e28 | 18793 | } |
7449af73 RD |
18794 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { |
18795 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
d14a1e28 | 18796 | } |
7449af73 RD |
18797 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { |
18798 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
d14a1e28 | 18799 | } |
7449af73 RD |
18800 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
18801 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
d14a1e28 | 18802 | } |
7449af73 RD |
18803 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
18804 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 18805 | } |
7449af73 RD |
18806 | static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) { |
18807 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 18808 | } |
7449af73 RD |
18809 | static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) { |
18810 | return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x)); | |
d14a1e28 | 18811 | } |
7449af73 RD |
18812 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
18813 | return (void *)((wxWindow *) ((wxControl *) x)); | |
d14a1e28 | 18814 | } |
7449af73 RD |
18815 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { |
18816 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 18817 | } |
7449af73 RD |
18818 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { |
18819 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 18820 | } |
7449af73 RD |
18821 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { |
18822 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 18823 | } |
7449af73 RD |
18824 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { |
18825 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
d14a1e28 | 18826 | } |
7449af73 RD |
18827 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { |
18828 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
d14a1e28 | 18829 | } |
7449af73 RD |
18830 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { |
18831 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 18832 | } |
7449af73 RD |
18833 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
18834 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 18835 | } |
7449af73 RD |
18836 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { |
18837 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 18838 | } |
7449af73 RD |
18839 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
18840 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
d14a1e28 | 18841 | } |
7449af73 RD |
18842 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { |
18843 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
d14a1e28 | 18844 | } |
7449af73 RD |
18845 | static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) { |
18846 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 18847 | } |
7449af73 RD |
18848 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
18849 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 | 18850 | } |
7449af73 RD |
18851 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { |
18852 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 18853 | } |
7449af73 RD |
18854 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { |
18855 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 18856 | } |
7449af73 RD |
18857 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { |
18858 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 18859 | } |
7449af73 RD |
18860 | static void *_p_wxDialogTo_p_wxWindow(void *x) { |
18861 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
a2482628 | 18862 | } |
7449af73 RD |
18863 | static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) { |
18864 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 18865 | } |
7449af73 RD |
18866 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
18867 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 18868 | } |
7449af73 RD |
18869 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
18870 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 18871 | } |
7449af73 RD |
18872 | static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) { |
18873 | return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 18874 | } |
7449af73 RD |
18875 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { |
18876 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 18877 | } |
7449af73 RD |
18878 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
18879 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 | 18880 | } |
7449af73 RD |
18881 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { |
18882 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 18883 | } |
7449af73 RD |
18884 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { |
18885 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 18886 | } |
7449af73 RD |
18887 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { |
18888 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 18889 | } |
7449af73 RD |
18890 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { |
18891 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 18892 | } |
7449af73 RD |
18893 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { |
18894 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
d14a1e28 | 18895 | } |
7449af73 RD |
18896 | static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) { |
18897 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 18898 | } |
7449af73 RD |
18899 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { |
18900 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 18901 | } |
7449af73 RD |
18902 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { |
18903 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 18904 | } |
7449af73 RD |
18905 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { |
18906 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 18907 | } |
7449af73 RD |
18908 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { |
18909 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
d14a1e28 | 18910 | } |
7449af73 RD |
18911 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { |
18912 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 18913 | } |
7449af73 RD |
18914 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { |
18915 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 18916 | } |
7449af73 RD |
18917 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { |
18918 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 18919 | } |
7449af73 RD |
18920 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { |
18921 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
c1cb24a4 | 18922 | } |
7449af73 RD |
18923 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { |
18924 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 18925 | } |
7449af73 RD |
18926 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { |
18927 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 18928 | } |
7449af73 RD |
18929 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { |
18930 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
d14a1e28 | 18931 | } |
7449af73 RD |
18932 | static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) { |
18933 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 18934 | } |
7449af73 RD |
18935 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
18936 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 18937 | } |
7449af73 RD |
18938 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
18939 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 18940 | } |
7449af73 RD |
18941 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { |
18942 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 18943 | } |
7449af73 RD |
18944 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { |
18945 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 18946 | } |
7449af73 RD |
18947 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { |
18948 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 18949 | } |
7449af73 RD |
18950 | static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) { |
18951 | return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 18952 | } |
7449af73 RD |
18953 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { |
18954 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 18955 | } |
7449af73 RD |
18956 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { |
18957 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 18958 | } |
7449af73 RD |
18959 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { |
18960 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 18961 | } |
7449af73 RD |
18962 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { |
18963 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 18964 | } |
7449af73 RD |
18965 | static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) { |
18966 | return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
53aa7709 | 18967 | } |
7449af73 RD |
18968 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { |
18969 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
53aa7709 | 18970 | } |
7449af73 RD |
18971 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { |
18972 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
53aa7709 | 18973 | } |
7449af73 RD |
18974 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { |
18975 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
53aa7709 | 18976 | } |
7449af73 RD |
18977 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { |
18978 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
53aa7709 | 18979 | } |
7449af73 RD |
18980 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
18981 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
53aa7709 | 18982 | } |
7449af73 RD |
18983 | static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) { |
18984 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
53aa7709 | 18985 | } |
7449af73 RD |
18986 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
18987 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
53aa7709 | 18988 | } |
7449af73 RD |
18989 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { |
18990 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
53aa7709 | 18991 | } |
7449af73 RD |
18992 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { |
18993 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
53aa7709 | 18994 | } |
7449af73 RD |
18995 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { |
18996 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
53aa7709 | 18997 | } |
7449af73 RD |
18998 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { |
18999 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
53aa7709 | 19000 | } |
7449af73 RD |
19001 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { |
19002 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
53aa7709 | 19003 | } |
7449af73 RD |
19004 | static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) { |
19005 | return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
d14a1e28 | 19006 | } |
7449af73 RD |
19007 | static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) { |
19008 | return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x)); | |
19009 | } | |
2131d850 RD |
19010 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
19011 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
7449af73 | 19012 | } |
2131d850 RD |
19013 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { |
19014 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
7449af73 | 19015 | } |
2131d850 RD |
19016 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { |
19017 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
7449af73 | 19018 | } |
2131d850 RD |
19019 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { |
19020 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
7449af73 | 19021 | } |
2131d850 RD |
19022 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { |
19023 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
7449af73 | 19024 | } |
2131d850 RD |
19025 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { |
19026 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
7449af73 RD |
19027 | } |
19028 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
19029 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
19030 | } | |
2131d850 RD |
19031 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { |
19032 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
19033 | } | |
19034 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
19035 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
19036 | } | |
19037 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
19038 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
7449af73 RD |
19039 | } |
19040 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
19041 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
19042 | } | |
2131d850 RD |
19043 | static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x) { |
19044 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxHtmlWindowEvent *) x)); | |
7449af73 | 19045 | } |
2131d850 RD |
19046 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { |
19047 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
19048 | } | |
19049 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
19050 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
7449af73 | 19051 | } |
554f62e9 RD |
19052 | static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0}; |
19053 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; | |
19054 | 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 | 19055 | static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0}; |
554f62e9 RD |
19056 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
19057 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
19058 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
704eda0c | 19059 | static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0}; |
554f62e9 RD |
19060 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; |
19061 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; | |
19062 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; | |
19063 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
19064 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
19065 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
2131d850 | 19066 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; |
554f62e9 RD |
19067 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; |
19068 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
19069 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
19070 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
554f62e9 | 19071 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; |
2131d850 | 19072 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; |
554f62e9 RD |
19073 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; |
19074 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
19075 | static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0}; | |
19076 | static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0}; | |
19077 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; | |
19078 | static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0}; | |
19079 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0}; | |
19080 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
19081 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
19082 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
19083 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
19084 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
19085 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
19086 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
19087 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
19088 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
19089 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
19090 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; | |
19091 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
19092 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; | |
19093 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; | |
19094 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
19095 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
19096 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; | |
19097 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; | |
19098 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; | |
19099 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
19100 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; | |
19101 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
19102 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
19103 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; | |
19104 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; | |
19105 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
19106 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; | |
19107 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
19108 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; | |
19109 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
19110 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
19111 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
554f62e9 | 19112 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; |
2131d850 | 19113 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; |
554f62e9 RD |
19114 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
19115 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
19116 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; | |
19117 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
19118 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
19119 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
19120 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
19121 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
19122 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
19123 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
19124 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
19125 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; | |
19126 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
19127 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
19128 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
19129 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
19130 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
19131 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
19132 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
19133 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
19134 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
19135 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
19136 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
19137 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
19138 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
19139 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
19140 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0}; | |
19141 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
19142 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
19143 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
19144 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
19145 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
19146 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; | |
19147 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
19148 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
19149 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
19150 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; | |
19151 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; | |
19152 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
19153 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0}; | |
19154 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; | |
19155 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
19156 | static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0}; | |
19157 | static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0}; | |
19158 | static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0}; | |
19159 | static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0}; | |
19160 | static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0}; | |
19161 | static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0}; | |
19162 | static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0}; | |
19163 | static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0}; | |
19164 | static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0}; | |
19165 | static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0}; | |
19166 | static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0}; | |
19167 | static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0}; | |
19168 | static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0}; | |
19169 | static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0}; | |
19170 | static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0}; | |
19171 | static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0}; | |
19172 | static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0}; | |
19173 | static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0}; | |
19174 | static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0}; | |
19175 | static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0}; | |
19176 | static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0}; | |
19177 | static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0}; | |
19178 | static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0}; | |
19179 | static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0}; | |
19180 | static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0}; | |
19181 | static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0}; | |
19182 | static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0}; | |
19183 | static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0}; | |
19184 | static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0}; | |
19185 | static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0}; | |
19186 | static swig_type_info _swigt__p_wxHtmlWindow = {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, (void*)0, 0}; | |
19187 | static swig_type_info _swigt__p_wxHtmlWindowEvent = {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, (void*)0, 0}; | |
e9d6f3a4 | 19188 | static swig_type_info _swigt__p_wxHtmlWindowInterface = {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0}; |
554f62e9 RD |
19189 | static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0}; |
19190 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0}; | |
19191 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; | |
19192 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; | |
19193 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
19194 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
19195 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
19196 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
19197 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
19198 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
19199 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
19200 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
19201 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; | |
19202 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; | |
19203 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; | |
19204 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
19205 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; | |
19206 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
19207 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
19208 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
19209 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
19210 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; | |
19211 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0}; | |
19212 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; | |
19213 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
19214 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
19215 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0}; | |
19216 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; | |
19217 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; | |
19218 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
19219 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; | |
19220 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
19221 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
19222 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
19223 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; | |
19224 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
19225 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; | |
19226 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; | |
19227 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; | |
19228 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; | |
19229 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; | |
19230 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
19231 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
19232 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0}; | |
19233 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; | |
19234 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; | |
19235 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
19236 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0}; | |
19237 | static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0}; | |
19238 | static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0}; | |
19239 | static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0}; | |
19240 | static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0}; | |
19241 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0}; | |
19242 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0}; | |
19243 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
19244 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0}; | |
19245 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
19246 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; | |
19247 | static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0}; | |
19248 | static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0}; | |
19249 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
7449af73 RD |
19250 | |
19251 | static swig_type_info *swig_type_initial[] = { | |
19252 | &_swigt__p_bool, | |
19253 | &_swigt__p_char, | |
19254 | &_swigt__p_form_ops_t, | |
19255 | &_swigt__p_int, | |
19256 | &_swigt__p_unsigned_char, | |
19257 | &_swigt__p_unsigned_int, | |
19258 | &_swigt__p_unsigned_long, | |
19259 | &_swigt__p_wxANIHandler, | |
19260 | &_swigt__p_wxAcceleratorTable, | |
19261 | &_swigt__p_wxActivateEvent, | |
704eda0c | 19262 | &_swigt__p_wxArrayInt, |
7449af73 RD |
19263 | &_swigt__p_wxBMPHandler, |
19264 | &_swigt__p_wxBitmap, | |
19265 | &_swigt__p_wxBoxSizer, | |
19266 | &_swigt__p_wxCURHandler, | |
19267 | &_swigt__p_wxCalculateLayoutEvent, | |
19268 | &_swigt__p_wxChildFocusEvent, | |
2131d850 | 19269 | &_swigt__p_wxClipboardTextEvent, |
7449af73 RD |
19270 | &_swigt__p_wxCloseEvent, |
19271 | &_swigt__p_wxColour, | |
19272 | &_swigt__p_wxColourData, | |
19273 | &_swigt__p_wxColourDialog, | |
19274 | &_swigt__p_wxCommandEvent, | |
19275 | &_swigt__p_wxConfigBase, | |
19276 | &_swigt__p_wxContextMenuEvent, | |
19277 | &_swigt__p_wxControl, | |
19278 | &_swigt__p_wxControlWithItems, | |
19279 | &_swigt__p_wxCursor, | |
19280 | &_swigt__p_wxDC, | |
19281 | &_swigt__p_wxDateEvent, | |
19282 | &_swigt__p_wxDefaultHtmlRenderingStyle, | |
19283 | &_swigt__p_wxDialog, | |
19284 | &_swigt__p_wxDirDialog, | |
19285 | &_swigt__p_wxDisplayChangedEvent, | |
19286 | &_swigt__p_wxDropFilesEvent, | |
19287 | &_swigt__p_wxDuplexMode, | |
19288 | &_swigt__p_wxEraseEvent, | |
19289 | &_swigt__p_wxEvent, | |
19290 | &_swigt__p_wxEvtHandler, | |
19291 | &_swigt__p_wxFSFile, | |
19292 | &_swigt__p_wxFileDialog, | |
19293 | &_swigt__p_wxFileSystem, | |
19294 | &_swigt__p_wxFindDialogEvent, | |
19295 | &_swigt__p_wxFindReplaceData, | |
19296 | &_swigt__p_wxFindReplaceDialog, | |
19297 | &_swigt__p_wxFlexGridSizer, | |
19298 | &_swigt__p_wxFocusEvent, | |
19299 | &_swigt__p_wxFont, | |
19300 | &_swigt__p_wxFontData, | |
19301 | &_swigt__p_wxFontDialog, | |
19302 | &_swigt__p_wxFrame, | |
19303 | &_swigt__p_wxGBSizerItem, | |
19304 | &_swigt__p_wxGIFHandler, | |
19305 | &_swigt__p_wxGridBagSizer, | |
19306 | &_swigt__p_wxGridSizer, | |
19307 | &_swigt__p_wxHelpControllerBase, | |
19308 | &_swigt__p_wxHelpSearchMode, | |
19309 | &_swigt__p_wxHtmlBookRecArray, | |
19310 | &_swigt__p_wxHtmlBookRecord, | |
19311 | &_swigt__p_wxHtmlCell, | |
19312 | &_swigt__p_wxHtmlColourCell, | |
19313 | &_swigt__p_wxHtmlContainerCell, | |
19314 | &_swigt__p_wxHtmlDCRenderer, | |
19315 | &_swigt__p_wxHtmlEasyPrinting, | |
19316 | &_swigt__p_wxHtmlFilter, | |
19317 | &_swigt__p_wxHtmlFontCell, | |
19318 | &_swigt__p_wxHtmlHelpController, | |
19319 | &_swigt__p_wxHtmlHelpData, | |
19320 | &_swigt__p_wxHtmlHelpDialog, | |
19321 | &_swigt__p_wxHtmlHelpFrame, | |
19322 | &_swigt__p_wxHtmlHelpFrameCfg, | |
19323 | &_swigt__p_wxHtmlHelpWindow, | |
19324 | &_swigt__p_wxHtmlLinkInfo, | |
19325 | &_swigt__p_wxHtmlModalHelp, | |
19326 | &_swigt__p_wxHtmlParser, | |
19327 | &_swigt__p_wxHtmlPrintout, | |
19328 | &_swigt__p_wxHtmlRenderingInfo, | |
19329 | &_swigt__p_wxHtmlRenderingState, | |
19330 | &_swigt__p_wxHtmlRenderingStyle, | |
19331 | &_swigt__p_wxHtmlSearchStatus, | |
19332 | &_swigt__p_wxHtmlSelection, | |
19333 | &_swigt__p_wxHtmlTag, | |
19334 | &_swigt__p_wxHtmlTagHandler, | |
19335 | &_swigt__p_wxHtmlWidgetCell, | |
19336 | &_swigt__p_wxHtmlWinParser, | |
19337 | &_swigt__p_wxHtmlWindow, | |
19338 | &_swigt__p_wxHtmlWindowEvent, | |
e9d6f3a4 | 19339 | &_swigt__p_wxHtmlWindowInterface, |
7449af73 RD |
19340 | &_swigt__p_wxHtmlWordCell, |
19341 | &_swigt__p_wxICOHandler, | |
19342 | &_swigt__p_wxIconizeEvent, | |
19343 | &_swigt__p_wxIdleEvent, | |
19344 | &_swigt__p_wxImage, | |
19345 | &_swigt__p_wxImageHandler, | |
19346 | &_swigt__p_wxIndividualLayoutConstraint, | |
19347 | &_swigt__p_wxInitDialogEvent, | |
19348 | &_swigt__p_wxJPEGHandler, | |
19349 | &_swigt__p_wxKeyEvent, | |
19350 | &_swigt__p_wxLayoutAlgorithm, | |
19351 | &_swigt__p_wxLayoutConstraints, | |
19352 | &_swigt__p_wxMDIChildFrame, | |
19353 | &_swigt__p_wxMDIClientWindow, | |
19354 | &_swigt__p_wxMDIParentFrame, | |
19355 | &_swigt__p_wxMaximizeEvent, | |
19356 | &_swigt__p_wxMenu, | |
19357 | &_swigt__p_wxMenuBar, | |
19358 | &_swigt__p_wxMenuEvent, | |
19359 | &_swigt__p_wxMenuItem, | |
19360 | &_swigt__p_wxMessageDialog, | |
19361 | &_swigt__p_wxMiniFrame, | |
19362 | &_swigt__p_wxMouseCaptureChangedEvent, | |
19363 | &_swigt__p_wxMouseEvent, | |
19364 | &_swigt__p_wxMoveEvent, | |
19365 | &_swigt__p_wxMultiChoiceDialog, | |
19366 | &_swigt__p_wxNavigationKeyEvent, | |
19367 | &_swigt__p_wxNcPaintEvent, | |
19368 | &_swigt__p_wxNotifyEvent, | |
19369 | &_swigt__p_wxObject, | |
19370 | &_swigt__p_wxPCXHandler, | |
19371 | &_swigt__p_wxPNGHandler, | |
19372 | &_swigt__p_wxPNMHandler, | |
19373 | &_swigt__p_wxPageSetupDialog, | |
19374 | &_swigt__p_wxPageSetupDialogData, | |
19375 | &_swigt__p_wxPaintEvent, | |
19376 | &_swigt__p_wxPaletteChangedEvent, | |
19377 | &_swigt__p_wxPanel, | |
19378 | &_swigt__p_wxPaperSize, | |
19379 | &_swigt__p_wxPasswordEntryDialog, | |
19380 | &_swigt__p_wxPoint, | |
19381 | &_swigt__p_wxPopupWindow, | |
19382 | &_swigt__p_wxPreviewCanvas, | |
19383 | &_swigt__p_wxPreviewControlBar, | |
19384 | &_swigt__p_wxPreviewFrame, | |
19385 | &_swigt__p_wxPrintData, | |
19386 | &_swigt__p_wxPrintDialog, | |
19387 | &_swigt__p_wxPrintDialogData, | |
19388 | &_swigt__p_wxPrintPreview, | |
19389 | &_swigt__p_wxPrinter, | |
19390 | &_swigt__p_wxProgressDialog, | |
19391 | &_swigt__p_wxPyApp, | |
19392 | &_swigt__p_wxPyCommandEvent, | |
19393 | &_swigt__p_wxPyEvent, | |
19394 | &_swigt__p_wxPyHtmlFilter, | |
19395 | &_swigt__p_wxPyHtmlListBox, | |
19396 | &_swigt__p_wxPyHtmlTagHandler, | |
19397 | &_swigt__p_wxPyHtmlWinTagHandler, | |
19398 | &_swigt__p_wxPyHtmlWindow, | |
19399 | &_swigt__p_wxPyImageHandler, | |
19400 | &_swigt__p_wxPyPanel, | |
19401 | &_swigt__p_wxPyPopupTransientWindow, | |
19402 | &_swigt__p_wxPyPreviewControlBar, | |
19403 | &_swigt__p_wxPyPreviewFrame, | |
19404 | &_swigt__p_wxPyPrintPreview, | |
19405 | &_swigt__p_wxPyPrintout, | |
19406 | &_swigt__p_wxPyScrolledWindow, | |
19407 | &_swigt__p_wxPySizer, | |
19408 | &_swigt__p_wxPyTaskBarIcon, | |
19409 | &_swigt__p_wxPyVListBox, | |
19410 | &_swigt__p_wxPyVScrolledWindow, | |
19411 | &_swigt__p_wxPyValidator, | |
19412 | &_swigt__p_wxPyWindow, | |
19413 | &_swigt__p_wxQueryLayoutInfoEvent, | |
19414 | &_swigt__p_wxQueryNewPaletteEvent, | |
19415 | &_swigt__p_wxSashEvent, | |
19416 | &_swigt__p_wxSashLayoutWindow, | |
19417 | &_swigt__p_wxSashWindow, | |
19418 | &_swigt__p_wxScrollEvent, | |
19419 | &_swigt__p_wxScrollWinEvent, | |
19420 | &_swigt__p_wxScrolledWindow, | |
19421 | &_swigt__p_wxSetCursorEvent, | |
19422 | &_swigt__p_wxShowEvent, | |
19423 | &_swigt__p_wxSingleChoiceDialog, | |
19424 | &_swigt__p_wxSize, | |
19425 | &_swigt__p_wxSizeEvent, | |
19426 | &_swigt__p_wxSizer, | |
19427 | &_swigt__p_wxSizerItem, | |
19428 | &_swigt__p_wxSplashScreen, | |
19429 | &_swigt__p_wxSplashScreenWindow, | |
19430 | &_swigt__p_wxSplitterEvent, | |
19431 | &_swigt__p_wxSplitterWindow, | |
19432 | &_swigt__p_wxStaticBoxSizer, | |
19433 | &_swigt__p_wxStatusBar, | |
19434 | &_swigt__p_wxStdDialogButtonSizer, | |
19435 | &_swigt__p_wxString, | |
19436 | &_swigt__p_wxSysColourChangedEvent, | |
19437 | &_swigt__p_wxTIFFHandler, | |
19438 | &_swigt__p_wxTaskBarIconEvent, | |
19439 | &_swigt__p_wxTextEntryDialog, | |
19440 | &_swigt__p_wxTipWindow, | |
19441 | &_swigt__p_wxTopLevelWindow, | |
19442 | &_swigt__p_wxTreeCtrl, | |
19443 | &_swigt__p_wxUpdateUIEvent, | |
19444 | &_swigt__p_wxValidator, | |
19445 | &_swigt__p_wxVisualAttributes, | |
19446 | &_swigt__p_wxWindow, | |
19447 | &_swigt__p_wxWindowCreateEvent, | |
19448 | &_swigt__p_wxWindowDestroyEvent, | |
19449 | &_swigt__p_wxXPMHandler, | |
7449af73 RD |
19450 | }; |
19451 | ||
19452 | static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}}; | |
19453 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
19454 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
19455 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
19456 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; | |
19457 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
19458 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
704eda0c | 19459 | static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19460 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; |
19461 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
19462 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19463 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19464 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
2131d850 | 19465 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19466 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; |
19467 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19468 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19469 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
7449af73 | 19470 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; |
2131d850 | 19471 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19472 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
19473 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
2131d850 | 19474 | static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19475 | static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}}; |
19476 | static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}}; | |
19477 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; | |
19478 | static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}}; | |
19479 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19480 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19481 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19482 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19483 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19484 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19485 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19486 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19487 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19488 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19489 | static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}}; | |
19490 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; | |
19491 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19492 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19493 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19494 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19495 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19496 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19497 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19498 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19499 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19500 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19501 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19502 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19503 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19504 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19505 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19506 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19507 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19508 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19509 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19510 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
7449af73 | 19511 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; |
2131d850 | 19512 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19513 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
19514 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19515 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19516 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19517 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19518 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
2131d850 | 19519 | static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_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_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19520 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
19521 | static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
19522 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
19523 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
19524 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
19525 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
19526 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19527 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
19528 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19529 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19530 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19531 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19532 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19533 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19534 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19535 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19536 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19537 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
19538 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
19539 | static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
19540 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
19541 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
19542 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
19543 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
19544 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19545 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
19546 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
19547 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
19548 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
19549 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
19550 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
19551 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
19552 | static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; | |
19553 | static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
19554 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; | |
19555 | 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}}; | |
19556 | 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}}; | |
19557 | static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}}; | |
19558 | static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}}; | |
19559 | static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}}; | |
19560 | 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}}; | |
19561 | static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}}; | |
19562 | static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}}; | |
19563 | static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}}; | |
19564 | static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}}; | |
19565 | static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}}; | |
19566 | static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}}; | |
19567 | static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}}; | |
19568 | static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}}; | |
19569 | static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19570 | static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
19571 | static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}}; | |
19572 | static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19573 | static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
19574 | static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}}; | |
19575 | 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}}; | |
19576 | static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
19577 | static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
19578 | static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}}; | |
19579 | 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}}; | |
19580 | static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}}; | |
19581 | static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}}; | |
19582 | static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}}; | |
19583 | static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19584 | static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}}; | |
19585 | static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}}; | |
19586 | static swig_cast_info _swigc__p_wxHtmlWindow[] = { {&_swigt__p_wxHtmlWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19587 | static swig_cast_info _swigc__p_wxHtmlWindowEvent[] = { {&_swigt__p_wxHtmlWindowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
e9d6f3a4 | 19588 | static swig_cast_info _swigc__p_wxHtmlWindowInterface[] = { {&_swigt__p_wxHtmlWindowInterface, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19589 | static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}}; |
19590 | static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19591 | static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19592 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
19593 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
19594 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
19595 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
19596 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
19597 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
19598 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
19599 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
19600 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
19601 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
19602 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
19603 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
19604 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
19605 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
19606 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
19607 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
19608 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; | |
19609 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
19610 | static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
19611 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
19612 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
19613 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
19614 | static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
19615 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
19616 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19617 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19618 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19619 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19620 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19621 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19622 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19623 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19624 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19625 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19626 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19627 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19628 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19629 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19630 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
2131d850 | 19631 | static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlTag, _p_wxHtmlTagTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlFilter, _p_wxPyHtmlFilterTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlEasyPrinting, _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxHtmlParser, _p_wxHtmlParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler, _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpControllerBase, _p_wxHelpControllerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlDCRenderer, _p_wxHtmlDCRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkInfo, _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlCell, _p_wxHtmlCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
19632 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; |
19633 | 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}}; | |
19634 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; | |
19635 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
19636 | static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
19637 | static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}}; | |
19638 | 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}}; | |
19639 | static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19640 | static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19641 | 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}}; | |
19642 | 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}}; | |
19643 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
19644 | static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19645 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
19646 | static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; | |
19647 | static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
19648 | static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; | |
19649 | static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; | |
7449af73 RD |
19650 | |
19651 | static swig_cast_info *swig_cast_initial[] = { | |
19652 | _swigc__p_bool, | |
19653 | _swigc__p_char, | |
19654 | _swigc__p_form_ops_t, | |
19655 | _swigc__p_int, | |
19656 | _swigc__p_unsigned_char, | |
19657 | _swigc__p_unsigned_int, | |
19658 | _swigc__p_unsigned_long, | |
19659 | _swigc__p_wxANIHandler, | |
19660 | _swigc__p_wxAcceleratorTable, | |
19661 | _swigc__p_wxActivateEvent, | |
704eda0c | 19662 | _swigc__p_wxArrayInt, |
7449af73 RD |
19663 | _swigc__p_wxBMPHandler, |
19664 | _swigc__p_wxBitmap, | |
19665 | _swigc__p_wxBoxSizer, | |
19666 | _swigc__p_wxCURHandler, | |
19667 | _swigc__p_wxCalculateLayoutEvent, | |
19668 | _swigc__p_wxChildFocusEvent, | |
2131d850 | 19669 | _swigc__p_wxClipboardTextEvent, |
7449af73 RD |
19670 | _swigc__p_wxCloseEvent, |
19671 | _swigc__p_wxColour, | |
19672 | _swigc__p_wxColourData, | |
19673 | _swigc__p_wxColourDialog, | |
19674 | _swigc__p_wxCommandEvent, | |
19675 | _swigc__p_wxConfigBase, | |
19676 | _swigc__p_wxContextMenuEvent, | |
19677 | _swigc__p_wxControl, | |
19678 | _swigc__p_wxControlWithItems, | |
19679 | _swigc__p_wxCursor, | |
19680 | _swigc__p_wxDC, | |
19681 | _swigc__p_wxDateEvent, | |
19682 | _swigc__p_wxDefaultHtmlRenderingStyle, | |
19683 | _swigc__p_wxDialog, | |
19684 | _swigc__p_wxDirDialog, | |
19685 | _swigc__p_wxDisplayChangedEvent, | |
19686 | _swigc__p_wxDropFilesEvent, | |
19687 | _swigc__p_wxDuplexMode, | |
19688 | _swigc__p_wxEraseEvent, | |
19689 | _swigc__p_wxEvent, | |
19690 | _swigc__p_wxEvtHandler, | |
19691 | _swigc__p_wxFSFile, | |
19692 | _swigc__p_wxFileDialog, | |
19693 | _swigc__p_wxFileSystem, | |
19694 | _swigc__p_wxFindDialogEvent, | |
19695 | _swigc__p_wxFindReplaceData, | |
19696 | _swigc__p_wxFindReplaceDialog, | |
19697 | _swigc__p_wxFlexGridSizer, | |
19698 | _swigc__p_wxFocusEvent, | |
19699 | _swigc__p_wxFont, | |
19700 | _swigc__p_wxFontData, | |
19701 | _swigc__p_wxFontDialog, | |
19702 | _swigc__p_wxFrame, | |
19703 | _swigc__p_wxGBSizerItem, | |
19704 | _swigc__p_wxGIFHandler, | |
19705 | _swigc__p_wxGridBagSizer, | |
19706 | _swigc__p_wxGridSizer, | |
19707 | _swigc__p_wxHelpControllerBase, | |
19708 | _swigc__p_wxHelpSearchMode, | |
19709 | _swigc__p_wxHtmlBookRecArray, | |
19710 | _swigc__p_wxHtmlBookRecord, | |
19711 | _swigc__p_wxHtmlCell, | |
19712 | _swigc__p_wxHtmlColourCell, | |
19713 | _swigc__p_wxHtmlContainerCell, | |
19714 | _swigc__p_wxHtmlDCRenderer, | |
19715 | _swigc__p_wxHtmlEasyPrinting, | |
19716 | _swigc__p_wxHtmlFilter, | |
19717 | _swigc__p_wxHtmlFontCell, | |
19718 | _swigc__p_wxHtmlHelpController, | |
19719 | _swigc__p_wxHtmlHelpData, | |
19720 | _swigc__p_wxHtmlHelpDialog, | |
19721 | _swigc__p_wxHtmlHelpFrame, | |
19722 | _swigc__p_wxHtmlHelpFrameCfg, | |
19723 | _swigc__p_wxHtmlHelpWindow, | |
19724 | _swigc__p_wxHtmlLinkInfo, | |
19725 | _swigc__p_wxHtmlModalHelp, | |
19726 | _swigc__p_wxHtmlParser, | |
19727 | _swigc__p_wxHtmlPrintout, | |
19728 | _swigc__p_wxHtmlRenderingInfo, | |
19729 | _swigc__p_wxHtmlRenderingState, | |
19730 | _swigc__p_wxHtmlRenderingStyle, | |
19731 | _swigc__p_wxHtmlSearchStatus, | |
19732 | _swigc__p_wxHtmlSelection, | |
19733 | _swigc__p_wxHtmlTag, | |
19734 | _swigc__p_wxHtmlTagHandler, | |
19735 | _swigc__p_wxHtmlWidgetCell, | |
19736 | _swigc__p_wxHtmlWinParser, | |
19737 | _swigc__p_wxHtmlWindow, | |
19738 | _swigc__p_wxHtmlWindowEvent, | |
e9d6f3a4 | 19739 | _swigc__p_wxHtmlWindowInterface, |
7449af73 RD |
19740 | _swigc__p_wxHtmlWordCell, |
19741 | _swigc__p_wxICOHandler, | |
19742 | _swigc__p_wxIconizeEvent, | |
19743 | _swigc__p_wxIdleEvent, | |
19744 | _swigc__p_wxImage, | |
19745 | _swigc__p_wxImageHandler, | |
19746 | _swigc__p_wxIndividualLayoutConstraint, | |
19747 | _swigc__p_wxInitDialogEvent, | |
19748 | _swigc__p_wxJPEGHandler, | |
19749 | _swigc__p_wxKeyEvent, | |
19750 | _swigc__p_wxLayoutAlgorithm, | |
19751 | _swigc__p_wxLayoutConstraints, | |
19752 | _swigc__p_wxMDIChildFrame, | |
19753 | _swigc__p_wxMDIClientWindow, | |
19754 | _swigc__p_wxMDIParentFrame, | |
19755 | _swigc__p_wxMaximizeEvent, | |
19756 | _swigc__p_wxMenu, | |
19757 | _swigc__p_wxMenuBar, | |
19758 | _swigc__p_wxMenuEvent, | |
19759 | _swigc__p_wxMenuItem, | |
19760 | _swigc__p_wxMessageDialog, | |
19761 | _swigc__p_wxMiniFrame, | |
19762 | _swigc__p_wxMouseCaptureChangedEvent, | |
19763 | _swigc__p_wxMouseEvent, | |
19764 | _swigc__p_wxMoveEvent, | |
19765 | _swigc__p_wxMultiChoiceDialog, | |
19766 | _swigc__p_wxNavigationKeyEvent, | |
19767 | _swigc__p_wxNcPaintEvent, | |
19768 | _swigc__p_wxNotifyEvent, | |
19769 | _swigc__p_wxObject, | |
19770 | _swigc__p_wxPCXHandler, | |
19771 | _swigc__p_wxPNGHandler, | |
19772 | _swigc__p_wxPNMHandler, | |
19773 | _swigc__p_wxPageSetupDialog, | |
19774 | _swigc__p_wxPageSetupDialogData, | |
19775 | _swigc__p_wxPaintEvent, | |
19776 | _swigc__p_wxPaletteChangedEvent, | |
19777 | _swigc__p_wxPanel, | |
19778 | _swigc__p_wxPaperSize, | |
19779 | _swigc__p_wxPasswordEntryDialog, | |
19780 | _swigc__p_wxPoint, | |
19781 | _swigc__p_wxPopupWindow, | |
19782 | _swigc__p_wxPreviewCanvas, | |
19783 | _swigc__p_wxPreviewControlBar, | |
19784 | _swigc__p_wxPreviewFrame, | |
19785 | _swigc__p_wxPrintData, | |
19786 | _swigc__p_wxPrintDialog, | |
19787 | _swigc__p_wxPrintDialogData, | |
19788 | _swigc__p_wxPrintPreview, | |
19789 | _swigc__p_wxPrinter, | |
19790 | _swigc__p_wxProgressDialog, | |
19791 | _swigc__p_wxPyApp, | |
19792 | _swigc__p_wxPyCommandEvent, | |
19793 | _swigc__p_wxPyEvent, | |
19794 | _swigc__p_wxPyHtmlFilter, | |
19795 | _swigc__p_wxPyHtmlListBox, | |
19796 | _swigc__p_wxPyHtmlTagHandler, | |
19797 | _swigc__p_wxPyHtmlWinTagHandler, | |
19798 | _swigc__p_wxPyHtmlWindow, | |
19799 | _swigc__p_wxPyImageHandler, | |
19800 | _swigc__p_wxPyPanel, | |
19801 | _swigc__p_wxPyPopupTransientWindow, | |
19802 | _swigc__p_wxPyPreviewControlBar, | |
19803 | _swigc__p_wxPyPreviewFrame, | |
19804 | _swigc__p_wxPyPrintPreview, | |
19805 | _swigc__p_wxPyPrintout, | |
19806 | _swigc__p_wxPyScrolledWindow, | |
19807 | _swigc__p_wxPySizer, | |
19808 | _swigc__p_wxPyTaskBarIcon, | |
19809 | _swigc__p_wxPyVListBox, | |
19810 | _swigc__p_wxPyVScrolledWindow, | |
19811 | _swigc__p_wxPyValidator, | |
19812 | _swigc__p_wxPyWindow, | |
19813 | _swigc__p_wxQueryLayoutInfoEvent, | |
19814 | _swigc__p_wxQueryNewPaletteEvent, | |
19815 | _swigc__p_wxSashEvent, | |
19816 | _swigc__p_wxSashLayoutWindow, | |
19817 | _swigc__p_wxSashWindow, | |
19818 | _swigc__p_wxScrollEvent, | |
19819 | _swigc__p_wxScrollWinEvent, | |
19820 | _swigc__p_wxScrolledWindow, | |
19821 | _swigc__p_wxSetCursorEvent, | |
19822 | _swigc__p_wxShowEvent, | |
19823 | _swigc__p_wxSingleChoiceDialog, | |
19824 | _swigc__p_wxSize, | |
19825 | _swigc__p_wxSizeEvent, | |
19826 | _swigc__p_wxSizer, | |
19827 | _swigc__p_wxSizerItem, | |
19828 | _swigc__p_wxSplashScreen, | |
19829 | _swigc__p_wxSplashScreenWindow, | |
19830 | _swigc__p_wxSplitterEvent, | |
19831 | _swigc__p_wxSplitterWindow, | |
19832 | _swigc__p_wxStaticBoxSizer, | |
19833 | _swigc__p_wxStatusBar, | |
19834 | _swigc__p_wxStdDialogButtonSizer, | |
19835 | _swigc__p_wxString, | |
19836 | _swigc__p_wxSysColourChangedEvent, | |
19837 | _swigc__p_wxTIFFHandler, | |
19838 | _swigc__p_wxTaskBarIconEvent, | |
19839 | _swigc__p_wxTextEntryDialog, | |
19840 | _swigc__p_wxTipWindow, | |
19841 | _swigc__p_wxTopLevelWindow, | |
19842 | _swigc__p_wxTreeCtrl, | |
19843 | _swigc__p_wxUpdateUIEvent, | |
19844 | _swigc__p_wxValidator, | |
19845 | _swigc__p_wxVisualAttributes, | |
19846 | _swigc__p_wxWindow, | |
19847 | _swigc__p_wxWindowCreateEvent, | |
19848 | _swigc__p_wxWindowDestroyEvent, | |
19849 | _swigc__p_wxXPMHandler, | |
d14a1e28 RD |
19850 | }; |
19851 | ||
19852 | ||
19853 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
19854 | ||
19855 | static swig_const_info swig_const_table[] = { | |
c32bde28 | 19856 | {0, 0, 0, 0.0, 0, 0}}; |
d14a1e28 RD |
19857 | |
19858 | #ifdef __cplusplus | |
19859 | } | |
19860 | #endif | |
554f62e9 | 19861 | /* ----------------------------------------------------------------------------- |
7449af73 RD |
19862 | * Type initialization: |
19863 | * This problem is tough by the requirement that no dynamic | |
19864 | * memory is used. Also, since swig_type_info structures store pointers to | |
19865 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
19866 | * to swig_type_info structures, we need some lookup code at initialization. | |
19867 | * The idea is that swig generates all the structures that are needed. | |
19868 | * The runtime then collects these partially filled structures. | |
19869 | * The SWIG_InitializeModule function takes these initial arrays out of | |
19870 | * swig_module, and does all the lookup, filling in the swig_module.types | |
19871 | * array with the correct data and linking the correct swig_cast_info | |
19872 | * structures together. | |
554f62e9 | 19873 | * |
7449af73 RD |
19874 | * The generated swig_type_info structures are assigned staticly to an initial |
19875 | * array. We just loop though that array, and handle each type individually. | |
19876 | * First we lookup if this type has been already loaded, and if so, use the | |
19877 | * loaded structure instead of the generated one. Then we have to fill in the | |
19878 | * cast linked list. The cast data is initially stored in something like a | |
19879 | * two-dimensional array. Each row corresponds to a type (there are the same | |
19880 | * number of rows as there are in the swig_type_initial array). Each entry in | |
19881 | * a column is one of the swig_cast_info structures for that type. | |
19882 | * The cast_initial array is actually an array of arrays, because each row has | |
19883 | * a variable number of columns. So to actually build the cast linked list, | |
19884 | * we find the array of casts associated with the type, and loop through it | |
19885 | * adding the casts to the list. The one last trick we need to do is making | |
19886 | * sure the type pointer in the swig_cast_info struct is correct. | |
554f62e9 | 19887 | * |
7449af73 RD |
19888 | * First off, we lookup the cast->type name to see if it is already loaded. |
19889 | * There are three cases to handle: | |
19890 | * 1) If the cast->type has already been loaded AND the type we are adding | |
19891 | * casting info to has not been loaded (it is in this module), THEN we | |
19892 | * replace the cast->type pointer with the type pointer that has already | |
19893 | * been loaded. | |
19894 | * 2) If BOTH types (the one we are adding casting info to, and the | |
19895 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
19896 | * the previous module so we just ignore it. | |
19897 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
19898 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
19899 | * be correct. | |
554f62e9 | 19900 | * ----------------------------------------------------------------------------- */ |
7449af73 RD |
19901 | |
19902 | #ifdef __cplusplus | |
19903 | extern "C" { | |
19904 | #if 0 | |
19905 | } /* c-mode */ | |
19906 | #endif | |
19907 | #endif | |
19908 | ||
19909 | #if 0 | |
19910 | #define SWIGRUNTIME_DEBUG | |
19911 | #endif | |
19912 | ||
19913 | SWIGRUNTIME void | |
19914 | SWIG_InitializeModule(void *clientdata) { | |
554f62e9 RD |
19915 | size_t i; |
19916 | swig_module_info *module_head; | |
19917 | static int init_run = 0; | |
19918 | ||
19919 | clientdata = clientdata; | |
19920 | ||
19921 | if (init_run) return; | |
19922 | init_run = 1; | |
19923 | ||
19924 | /* Initialize the swig_module */ | |
19925 | swig_module.type_initial = swig_type_initial; | |
19926 | swig_module.cast_initial = swig_cast_initial; | |
19927 | ||
19928 | /* Try and load any already created modules */ | |
19929 | module_head = SWIG_GetModule(clientdata); | |
19930 | if (module_head) { | |
19931 | swig_module.next = module_head->next; | |
19932 | module_head->next = &swig_module; | |
19933 | } else { | |
19934 | /* This is the first module loaded */ | |
19935 | swig_module.next = &swig_module; | |
19936 | SWIG_SetModule(clientdata, &swig_module); | |
19937 | } | |
19938 | ||
19939 | /* Now work on filling in swig_module.types */ | |
7449af73 | 19940 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 19941 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); |
7449af73 | 19942 | #endif |
554f62e9 RD |
19943 | for (i = 0; i < swig_module.size; ++i) { |
19944 | swig_type_info *type = 0; | |
19945 | swig_type_info *ret; | |
19946 | swig_cast_info *cast; | |
19947 | ||
7449af73 | 19948 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 19949 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); |
7449af73 | 19950 | #endif |
554f62e9 RD |
19951 | |
19952 | /* if there is another module already loaded */ | |
19953 | if (swig_module.next != &swig_module) { | |
19954 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
19955 | } | |
19956 | if (type) { | |
19957 | /* Overwrite clientdata field */ | |
7449af73 | 19958 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 19959 | printf("SWIG_InitializeModule: found type %s\n", type->name); |
7449af73 | 19960 | #endif |
554f62e9 RD |
19961 | if (swig_module.type_initial[i]->clientdata) { |
19962 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
7449af73 | 19963 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 19964 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); |
7449af73 | 19965 | #endif |
554f62e9 RD |
19966 | } |
19967 | } else { | |
19968 | type = swig_module.type_initial[i]; | |
19969 | } | |
19970 | ||
19971 | /* Insert casting types */ | |
19972 | cast = swig_module.cast_initial[i]; | |
19973 | while (cast->type) { | |
19974 | /* Don't need to add information already in the list */ | |
19975 | ret = 0; | |
7449af73 | 19976 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 19977 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); |
7449af73 | 19978 | #endif |
554f62e9 RD |
19979 | if (swig_module.next != &swig_module) { |
19980 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
7449af73 | 19981 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 19982 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); |
7449af73 | 19983 | #endif |
554f62e9 RD |
19984 | } |
19985 | if (ret) { | |
19986 | if (type == swig_module.type_initial[i]) { | |
7449af73 | 19987 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 19988 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); |
7449af73 | 19989 | #endif |
554f62e9 RD |
19990 | cast->type = ret; |
19991 | ret = 0; | |
19992 | } else { | |
19993 | /* Check for casting already in the list */ | |
19994 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
7449af73 | 19995 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 19996 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); |
7449af73 | 19997 | #endif |
554f62e9 RD |
19998 | if (!ocast) ret = 0; |
19999 | } | |
20000 | } | |
20001 | ||
20002 | if (!ret) { | |
7449af73 | 20003 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 | 20004 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); |
7449af73 | 20005 | #endif |
554f62e9 RD |
20006 | if (type->cast) { |
20007 | type->cast->prev = cast; | |
20008 | cast->next = type->cast; | |
7449af73 | 20009 | } |
554f62e9 RD |
20010 | type->cast = cast; |
20011 | } | |
20012 | cast++; | |
7449af73 | 20013 | } |
554f62e9 RD |
20014 | /* Set entry in modules->types array equal to the type */ |
20015 | swig_module.types[i] = type; | |
20016 | } | |
20017 | swig_module.types[i] = 0; | |
20018 | ||
7449af73 | 20019 | #ifdef SWIGRUNTIME_DEBUG |
554f62e9 RD |
20020 | printf("**** SWIG_InitializeModule: Cast List ******\n"); |
20021 | for (i = 0; i < swig_module.size; ++i) { | |
20022 | int j = 0; | |
20023 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
20024 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
20025 | while (cast->type) { | |
20026 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
20027 | cast++; | |
20028 | ++j; | |
20029 | } | |
20030 | printf("---- Total casts: %d\n",j); | |
20031 | } | |
20032 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
7449af73 RD |
20033 | #endif |
20034 | } | |
20035 | ||
20036 | /* This function will propagate the clientdata field of type to | |
20037 | * any new swig_type_info structures that have been added into the list | |
20038 | * of equivalent types. It is like calling | |
20039 | * SWIG_TypeClientData(type, clientdata) a second time. | |
20040 | */ | |
20041 | SWIGRUNTIME void | |
20042 | SWIG_PropagateClientData(void) { | |
554f62e9 RD |
20043 | size_t i; |
20044 | swig_cast_info *equiv; | |
20045 | static int init_run = 0; | |
20046 | ||
20047 | if (init_run) return; | |
20048 | init_run = 1; | |
20049 | ||
20050 | for (i = 0; i < swig_module.size; i++) { | |
20051 | if (swig_module.types[i]->clientdata) { | |
20052 | equiv = swig_module.types[i]->cast; | |
20053 | while (equiv) { | |
20054 | if (!equiv->converter) { | |
20055 | if (equiv->type && !equiv->type->clientdata) | |
20056 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
7449af73 | 20057 | } |
554f62e9 RD |
20058 | equiv = equiv->next; |
20059 | } | |
7449af73 | 20060 | } |
554f62e9 | 20061 | } |
7449af73 RD |
20062 | } |
20063 | ||
20064 | #ifdef __cplusplus | |
20065 | #if 0 | |
20066 | { | |
554f62e9 | 20067 | /* c-mode */ |
7449af73 RD |
20068 | #endif |
20069 | } | |
20070 | #endif | |
20071 | ||
d14a1e28 | 20072 | |
093d3ff1 RD |
20073 | |
20074 | #ifdef __cplusplus | |
20075 | extern "C" { | |
20076 | #endif | |
554f62e9 RD |
20077 | |
20078 | /* Python-specific SWIG API */ | |
093d3ff1 RD |
20079 | #define SWIG_newvarlink() SWIG_Python_newvarlink() |
20080 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
20081 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
554f62e9 RD |
20082 | |
20083 | /* ----------------------------------------------------------------------------- | |
20084 | * global variable support code. | |
20085 | * ----------------------------------------------------------------------------- */ | |
20086 | ||
20087 | typedef struct swig_globalvar { | |
20088 | char *name; /* Name of global variable */ | |
20089 | PyObject *(*get_attr)(void); /* Return the current value */ | |
20090 | int (*set_attr)(PyObject *); /* Set the value */ | |
20091 | struct swig_globalvar *next; | |
20092 | } swig_globalvar; | |
20093 | ||
20094 | typedef struct swig_varlinkobject { | |
20095 | PyObject_HEAD | |
20096 | swig_globalvar *vars; | |
20097 | } swig_varlinkobject; | |
20098 | ||
20099 | SWIGINTERN PyObject * | |
20100 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
20101 | return PyString_FromString("<Swig global variables>"); | |
20102 | } | |
20103 | ||
20104 | SWIGINTERN PyObject * | |
20105 | swig_varlink_str(swig_varlinkobject *v) { | |
20106 | PyObject *str = PyString_FromString("("); | |
20107 | swig_globalvar *var; | |
20108 | for (var = v->vars; var; var=var->next) { | |
20109 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
20110 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
20111 | } | |
20112 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
20113 | return str; | |
20114 | } | |
20115 | ||
20116 | SWIGINTERN int | |
20117 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
20118 | PyObject *str = swig_varlink_str(v); | |
20119 | fprintf(fp,"Swig global variables "); | |
20120 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
20121 | Py_DECREF(str); | |
20122 | return 0; | |
20123 | } | |
20124 | ||
20125 | SWIGINTERN void | |
20126 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
20127 | swig_globalvar *var = v->vars; | |
20128 | while (var) { | |
20129 | swig_globalvar *n = var->next; | |
20130 | free(var->name); | |
20131 | free(var); | |
20132 | var = n; | |
093d3ff1 | 20133 | } |
554f62e9 RD |
20134 | } |
20135 | ||
20136 | SWIGINTERN PyObject * | |
20137 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
20138 | PyObject *res = NULL; | |
20139 | swig_globalvar *var = v->vars; | |
20140 | while (var) { | |
20141 | if (strcmp(var->name,n) == 0) { | |
20142 | res = (*var->get_attr)(); | |
20143 | break; | |
20144 | } | |
20145 | var = var->next; | |
093d3ff1 | 20146 | } |
554f62e9 RD |
20147 | if (res == NULL && !PyErr_Occurred()) { |
20148 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
093d3ff1 | 20149 | } |
554f62e9 RD |
20150 | return res; |
20151 | } | |
20152 | ||
20153 | SWIGINTERN int | |
20154 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
20155 | int res = 1; | |
20156 | swig_globalvar *var = v->vars; | |
20157 | while (var) { | |
20158 | if (strcmp(var->name,n) == 0) { | |
20159 | res = (*var->set_attr)(p); | |
20160 | break; | |
20161 | } | |
20162 | var = var->next; | |
093d3ff1 | 20163 | } |
554f62e9 RD |
20164 | if (res == 1 && !PyErr_Occurred()) { |
20165 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
20166 | } | |
20167 | return res; | |
20168 | } | |
20169 | ||
20170 | SWIGINTERN PyTypeObject* | |
20171 | swig_varlink_type(void) { | |
20172 | static char varlink__doc__[] = "Swig var link object"; | |
20173 | static PyTypeObject varlink_type; | |
20174 | static int type_init = 0; | |
20175 | if (!type_init) { | |
20176 | const PyTypeObject tmp | |
20177 | = { | |
20178 | PyObject_HEAD_INIT(NULL) | |
20179 | 0, /* Number of items in variable part (ob_size) */ | |
20180 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
20181 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
20182 | 0, /* Itemsize (tp_itemsize) */ | |
20183 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
20184 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
20185 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
20186 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
20187 | 0, /* tp_compare */ | |
20188 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
20189 | 0, /* tp_as_number */ | |
20190 | 0, /* tp_as_sequence */ | |
20191 | 0, /* tp_as_mapping */ | |
20192 | 0, /* tp_hash */ | |
20193 | 0, /* tp_call */ | |
20194 | (reprfunc)swig_varlink_str, /* tp_str */ | |
20195 | 0, /* tp_getattro */ | |
20196 | 0, /* tp_setattro */ | |
20197 | 0, /* tp_as_buffer */ | |
20198 | 0, /* tp_flags */ | |
20199 | varlink__doc__, /* tp_doc */ | |
20200 | 0, /* tp_traverse */ | |
20201 | 0, /* tp_clear */ | |
20202 | 0, /* tp_richcompare */ | |
20203 | 0, /* tp_weaklistoffset */ | |
093d3ff1 | 20204 | #if PY_VERSION_HEX >= 0x02020000 |
554f62e9 | 20205 | 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 |
20206 | #endif |
20207 | #if PY_VERSION_HEX >= 0x02030000 | |
554f62e9 | 20208 | 0, /* tp_del */ |
093d3ff1 RD |
20209 | #endif |
20210 | #ifdef COUNT_ALLOCS | |
554f62e9 | 20211 | 0,0,0,0 /* tp_alloc -> tp_next */ |
7449af73 | 20212 | #endif |
554f62e9 RD |
20213 | }; |
20214 | varlink_type = tmp; | |
20215 | varlink_type.ob_type = &PyType_Type; | |
20216 | type_init = 1; | |
7449af73 | 20217 | } |
554f62e9 RD |
20218 | return &varlink_type; |
20219 | } | |
20220 | ||
20221 | /* Create a variable linking object for use later */ | |
20222 | SWIGINTERN PyObject * | |
20223 | SWIG_Python_newvarlink(void) { | |
20224 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
20225 | if (result) { | |
20226 | result->vars = 0; | |
20227 | } | |
20228 | return ((PyObject*) result); | |
20229 | } | |
20230 | ||
20231 | SWIGINTERN void | |
20232 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
20233 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
20234 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
20235 | if (gv) { | |
20236 | size_t size = strlen(name)+1; | |
20237 | gv->name = (char *)malloc(size); | |
20238 | if (gv->name) { | |
20239 | strncpy(gv->name,name,size); | |
20240 | gv->get_attr = get_attr; | |
20241 | gv->set_attr = set_attr; | |
20242 | gv->next = v->vars; | |
20243 | } | |
093d3ff1 | 20244 | } |
554f62e9 RD |
20245 | v->vars = gv; |
20246 | } | |
20247 | ||
20248 | SWIGINTERN PyObject * | |
20249 | SWIG_globals() { | |
20250 | static PyObject *_SWIG_globals = 0; | |
20251 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
20252 | return _SWIG_globals; | |
20253 | } | |
20254 | ||
20255 | /* ----------------------------------------------------------------------------- | |
20256 | * constants/methods manipulation | |
20257 | * ----------------------------------------------------------------------------- */ | |
20258 | ||
20259 | /* Install Constants */ | |
20260 | SWIGINTERN void | |
20261 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
20262 | PyObject *obj = 0; | |
20263 | size_t i; | |
20264 | for (i = 0; constants[i].type; ++i) { | |
20265 | switch(constants[i].type) { | |
20266 | case SWIG_PY_POINTER: | |
20267 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
20268 | break; | |
20269 | case SWIG_PY_BINARY: | |
20270 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
20271 | break; | |
20272 | default: | |
20273 | obj = 0; | |
20274 | break; | |
20275 | } | |
20276 | if (obj) { | |
20277 | PyDict_SetItemString(d, constants[i].name, obj); | |
20278 | Py_DECREF(obj); | |
20279 | } | |
093d3ff1 | 20280 | } |
554f62e9 RD |
20281 | } |
20282 | ||
20283 | /* -----------------------------------------------------------------------------*/ | |
20284 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
20285 | /* -----------------------------------------------------------------------------*/ | |
20286 | ||
20287 | SWIGINTERN void | |
20288 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
093d3ff1 RD |
20289 | swig_const_info *const_table, |
20290 | swig_type_info **types, | |
20291 | swig_type_info **types_initial) { | |
554f62e9 RD |
20292 | size_t i; |
20293 | for (i = 0; methods[i].ml_name; ++i) { | |
453fb36b | 20294 | const char *c = methods[i].ml_doc; |
554f62e9 RD |
20295 | if (c && (c = strstr(c, "swig_ptr: "))) { |
20296 | int j; | |
20297 | swig_const_info *ci = 0; | |
453fb36b | 20298 | const char *name = c + 10; |
554f62e9 RD |
20299 | for (j = 0; const_table[j].type; ++j) { |
20300 | if (strncmp(const_table[j].name, name, | |
20301 | strlen(const_table[j].name)) == 0) { | |
20302 | ci = &(const_table[j]); | |
20303 | break; | |
20304 | } | |
20305 | } | |
20306 | if (ci) { | |
20307 | size_t shift = (ci->ptype) - types; | |
20308 | swig_type_info *ty = types_initial[shift]; | |
20309 | size_t ldoc = (c - methods[i].ml_doc); | |
20310 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
20311 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
20312 | if (ndoc) { | |
20313 | char *buff = ndoc; | |
20314 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
20315 | if (ptr) { | |
20316 | strncpy(buff, methods[i].ml_doc, ldoc); | |
20317 | buff += ldoc; | |
20318 | strncpy(buff, "swig_ptr: ", 10); | |
20319 | buff += 10; | |
20320 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
20321 | methods[i].ml_doc = ndoc; | |
093d3ff1 | 20322 | } |
554f62e9 | 20323 | } |
093d3ff1 | 20324 | } |
554f62e9 | 20325 | } |
093d3ff1 | 20326 | } |
554f62e9 RD |
20327 | } |
20328 | ||
093d3ff1 RD |
20329 | #ifdef __cplusplus |
20330 | } | |
20331 | #endif | |
20332 | ||
20333 | /* -----------------------------------------------------------------------------* | |
20334 | * Partial Init method | |
20335 | * -----------------------------------------------------------------------------*/ | |
20336 | ||
d14a1e28 RD |
20337 | #ifdef __cplusplus |
20338 | extern "C" | |
20339 | #endif | |
7449af73 | 20340 | SWIGEXPORT void SWIG_init(void) { |
554f62e9 RD |
20341 | PyObject *m, *d; |
20342 | ||
20343 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
20344 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
20345 | ||
20346 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
20347 | d = PyModule_GetDict(m); | |
20348 | ||
20349 | SWIG_InitializeModule(0); | |
20350 | SWIG_InstallConstants(d,swig_const_table); | |
20351 | ||
20352 | ||
20353 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
20354 | SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get, HtmlWindowNameStr_set); | |
20355 | SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get, HtmlPrintoutTitleStr_set); | |
20356 | SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get, HtmlPrintingTitleStr_set); | |
20357 | SWIG_Python_SetConstant(d, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT))); | |
20358 | SWIG_Python_SetConstant(d, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER))); | |
20359 | SWIG_Python_SetConstant(d, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT))); | |
20360 | SWIG_Python_SetConstant(d, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM))); | |
20361 | SWIG_Python_SetConstant(d, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP))); | |
20362 | SWIG_Python_SetConstant(d, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND))); | |
20363 | SWIG_Python_SetConstant(d, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND))); | |
20364 | SWIG_Python_SetConstant(d, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS))); | |
20365 | SWIG_Python_SetConstant(d, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT))); | |
20366 | SWIG_Python_SetConstant(d, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT))); | |
20367 | SWIG_Python_SetConstant(d, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT))); | |
20368 | SWIG_Python_SetConstant(d, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP))); | |
20369 | SWIG_Python_SetConstant(d, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM))); | |
20370 | SWIG_Python_SetConstant(d, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL))); | |
20371 | SWIG_Python_SetConstant(d, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL))); | |
20372 | SWIG_Python_SetConstant(d, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL))); | |
20373 | SWIG_Python_SetConstant(d, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR))); | |
20374 | SWIG_Python_SetConstant(d, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP))); | |
20375 | SWIG_Python_SetConstant(d, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER))); | |
20376 | SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_1",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_1))); | |
20377 | SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_2",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_2))); | |
20378 | SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_3",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_3))); | |
20379 | SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_4",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_4))); | |
20380 | SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_5",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_5))); | |
20381 | SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_6",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_6))); | |
20382 | SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_7",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_7))); | |
20383 | SWIG_Python_SetConstant(d, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER))); | |
20384 | SWIG_Python_SetConstant(d, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO))); | |
20385 | SWIG_Python_SetConstant(d, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION))); | |
20386 | SWIG_Python_SetConstant(d, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE))); | |
20387 | SWIG_Python_SetConstant(d, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN))); | |
20388 | SWIG_Python_SetConstant(d, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK))); | |
20389 | SWIG_Python_SetConstant(d, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT))); | |
20390 | SWIG_Python_SetConstant(d, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE))); | |
20391 | SWIG_Python_SetConstant(d, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE))); | |
20392 | SWIG_Python_SetConstant(d, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER))); | |
20393 | SWIG_Python_SetConstant(d, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT))); | |
20394 | SWIG_Python_SetConstant(d, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN))); | |
20395 | SWIG_Python_SetConstant(d, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING))); | |
20396 | SWIG_Python_SetConstant(d, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT))); | |
20397 | SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE))); | |
20398 | SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER))); | |
e9d6f3a4 RD |
20399 | SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default))); |
20400 | SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link))); | |
20401 | SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text))); | |
20402 | SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default))); | |
20403 | SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link))); | |
20404 | SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text))); | |
554f62e9 RD |
20405 | SWIG_Python_SetConstant(d, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD))); |
20406 | SWIG_Python_SetConstant(d, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN))); | |
20407 | SWIG_Python_SetConstant(d, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL))); | |
20408 | SWIG_Python_SetConstant(d, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR))); | |
20409 | SWIG_Python_SetConstant(d, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS))); | |
20410 | SWIG_Python_SetConstant(d, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX))); | |
20411 | SWIG_Python_SetConstant(d, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH))); | |
20412 | SWIG_Python_SetConstant(d, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS))); | |
20413 | SWIG_Python_SetConstant(d, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES))); | |
20414 | SWIG_Python_SetConstant(d, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT))); | |
20415 | SWIG_Python_SetConstant(d, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR))); | |
20416 | SWIG_Python_SetConstant(d, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS))); | |
20417 | SWIG_Python_SetConstant(d, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK))); | |
20418 | SWIG_Python_SetConstant(d, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER))); | |
20419 | SWIG_Python_SetConstant(d, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER))); | |
20420 | SWIG_Python_SetConstant(d, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE))); | |
20421 | SWIG_Python_SetConstant(d, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED))); | |
20422 | SWIG_Python_SetConstant(d, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG))); | |
20423 | SWIG_Python_SetConstant(d, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME))); | |
20424 | SWIG_Python_SetConstant(d, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL))); | |
20425 | SWIG_Python_SetConstant(d, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL))); | |
20426 | SWIG_Python_SetConstant(d, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK))); | |
20427 | SWIG_Python_SetConstant(d, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD))); | |
20428 | SWIG_Python_SetConstant(d, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE))); | |
20429 | SWIG_Python_SetConstant(d, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP))); | |
20430 | SWIG_Python_SetConstant(d, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN))); | |
20431 | SWIG_Python_SetConstant(d, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT))); | |
20432 | SWIG_Python_SetConstant(d, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE))); | |
20433 | SWIG_Python_SetConstant(d, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS))); | |
20434 | SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST))); | |
20435 | SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD))); | |
20436 | SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE))); | |
20437 | SWIG_Python_SetConstant(d, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL))); | |
20438 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE))); | |
20439 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST))); | |
20440 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT))); | |
20441 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON))); | |
20442 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL))); | |
20443 | SWIG_Python_SetConstant(d, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK))); | |
20444 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE))); | |
20445 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT))); | |
20446 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST))); | |
20447 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON))); | |
20448 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE))); | |
20449 | SWIG_Python_SetConstant(d, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO))); | |
20450 | ||
20451 | wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); | |
20452 | wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler"); | |
20453 | wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow"); | |
20454 | wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter"); | |
20455 | ||
d14a1e28 RD |
20456 | } |
20457 |