]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
0085ce49 | 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 | |
0085ce49 | 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 | ||
0085ce49 | 30 | /* ----------------------------------------------------------------------------- |
32fe5131 RD |
31 | * This section contains generic SWIG labels for method/variable |
32 | * declarations/attributes, and other compiler dependent labels. | |
0085ce49 | 33 | * ----------------------------------------------------------------------------- */ |
d14a1e28 | 34 | |
32fe5131 RD |
35 | /* template workaround for compilers that cannot correctly implement the C++ standard */ |
36 | #ifndef SWIGTEMPLATEDISAMBIGUATOR | |
0085ce49 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 | |
32fe5131 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 | |
0085ce49 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__)) | |
32fe5131 RD |
67 | # else |
68 | # define SWIGUNUSED | |
69 | # endif | |
70 | #endif | |
71 | ||
0085ce49 RD |
72 | #ifndef SWIGUNUSEDPARM |
73 | # ifdef __cplusplus | |
74 | # define SWIGUNUSEDPARM(p) | |
75 | # else | |
76 | # define SWIGUNUSEDPARM(p) p SWIGUNUSED | |
77 | # endif | |
78 | #endif | |
79 | ||
32fe5131 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 | ||
0085ce49 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 | ||
32fe5131 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 | |
0085ce49 RD |
105 | # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) |
106 | # define SWIGEXPORT __attribute__ ((visibility("default"))) | |
107 | # else | |
108 | # define SWIGEXPORT | |
109 | # endif | |
32fe5131 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 | ||
0085ce49 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 | |
32fe5131 | 126 | |
c9c7117a | 127 | |
0085ce49 | 128 | /* Python.h has to appear first */ |
093d3ff1 | 129 | #include <Python.h> |
d14a1e28 | 130 | |
0085ce49 | 131 | /* ----------------------------------------------------------------------------- |
093d3ff1 | 132 | * swigrun.swg |
d14a1e28 | 133 | * |
0085ce49 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 */ | |
32fe5131 | 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 | |
32fe5131 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 |
32fe5131 | 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 | */ | |
32fe5131 | 159 | |
093d3ff1 | 160 | #ifndef SWIGRUNTIME |
32fe5131 | 161 | # define SWIGRUNTIME SWIGINTERN |
093d3ff1 | 162 | #endif |
32fe5131 | 163 | |
093d3ff1 | 164 | #ifndef SWIGRUNTIMEINLINE |
32fe5131 | 165 | # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE |
d14a1e28 RD |
166 | #endif |
167 | ||
0085ce49 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 | ||
32fe5131 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 | ||
32fe5131 | 318 | /* Structure to store inforomation on one type */ |
d14a1e28 | 319 | typedef struct swig_type_info { |
32fe5131 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 */ | |
0085ce49 | 325 | int owndata; /* flag if the structure owns the clientdata */ |
d14a1e28 RD |
326 | } swig_type_info; |
327 | ||
32fe5131 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; | |
0085ce49 | 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>|... | |
32fe5131 | 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 | } | |
32fe5131 | 379 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
093d3ff1 RD |
380 | if (*ne) ++ne; |
381 | } | |
382 | return equiv; | |
383 | } | |
384 | ||
385 | /* | |
32fe5131 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 | */ |
32fe5131 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 | } |
32fe5131 RD |
398 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
399 | if (*ne) ++ne; | |
093d3ff1 | 400 | } |
32fe5131 | 401 | return equiv; |
093d3ff1 RD |
402 | } |
403 | ||
32fe5131 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 | */ | |
32fe5131 | 430 | SWIGRUNTIME swig_cast_info * |
093d3ff1 | 431 | SWIG_TypeCheck(const char *c, swig_type_info *ty) { |
32fe5131 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 * | |
32fe5131 | 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. */ | |
0085ce49 | 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 | |
32fe5131 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; | |
32fe5131 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 | } |
32fe5131 RD |
508 | } |
509 | cast = cast->next; | |
510 | } | |
511 | } | |
0085ce49 RD |
512 | SWIGRUNTIME void |
513 | SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) { | |
514 | SWIG_TypeClientData(ti, clientdata); | |
515 | ti->owndata = 1; | |
516 | } | |
517 | ||
32fe5131 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 | } |
32fe5131 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 | } |
32fe5131 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) { | |
32fe5131 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) { |
32fe5131 | 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; | |
32fe5131 | 619 | register const unsigned char *eu = u + sz; |
093d3ff1 | 620 | for (; u != eu; ++u) { |
32fe5131 | 621 | register char d = *(c++); |
0085ce49 | 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 | ||
0085ce49 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 | |
0085ce49 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 |
0085ce49 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 | /* ----------------------------------------------------------------------------- | |
0085ce49 | 801 | * error manipulation |
093d3ff1 RD |
802 | * ----------------------------------------------------------------------------- */ |
803 | ||
0085ce49 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 | |
0085ce49 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 | ||
0085ce49 RD |
937 | /* ----------------------------------------------------------------------------- |
938 | * Python API portion that goes into the runtime | |
939 | * ----------------------------------------------------------------------------- */ | |
093d3ff1 | 940 | |
0085ce49 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 { | |
0085ce49 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 |
0085ce49 RD |
967 | #if 0 |
968 | { /* cc-mode */ | |
969 | #endif | |
093d3ff1 RD |
970 | } |
971 | #endif | |
972 | ||
973 | ||
0085ce49 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 | * | |
0085ce49 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 | * |
0085ce49 | 984 | * ----------------------------------------------------------------------------- */ |
093d3ff1 | 985 | |
d14a1e28 | 986 | /* Common SWIG API */ |
d14a1e28 | 987 | |
d1a49b78 RD |
988 | #if PY_VERSION_HEX < 0x02050000 |
989 | typedef int Py_ssize_t; | |
990 | #endif | |
991 | ||
0085ce49 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 | |
0085ce49 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 | |
0085ce49 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 | |
0085ce49 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 | |
0085ce49 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) | |
32fe5131 | 1016 | |
093d3ff1 | 1017 | |
0085ce49 | 1018 | /* Runtime API */ |
093d3ff1 | 1019 | |
0085ce49 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) | |
32fe5131 | 1023 | |
0085ce49 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 | |
32fe5131 | 1029 | |
093d3ff1 | 1030 | |
0085ce49 | 1031 | /* Runtime API implementation */ |
093d3ff1 | 1032 | |
0085ce49 | 1033 | /* Error manipulation */ |
093d3ff1 | 1034 | |
0085ce49 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 | ||
0085ce49 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 | |
0085ce49 | 1050 | #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) |
32fe5131 | 1051 | |
0085ce49 | 1052 | /* Set a constant value */ |
093d3ff1 | 1053 | |
0085ce49 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 | ||
0085ce49 | 1060 | /* Append a value to the result obj */ |
093d3ff1 | 1061 | |
0085ce49 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 { |
0085ce49 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 | } |
0085ce49 RD |
1101 | return result; |
1102 | #endif | |
093d3ff1 RD |
1103 | } |
1104 | ||
0085ce49 | 1105 | /* Unpack the argument tuple */ |
093d3ff1 | 1106 | |
0085ce49 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*/ | |
32fe5131 | 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 */ |
32fe5131 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 | ||
0085ce49 | 1616 | static PyTypeObject pyswigobject_type; |
32fe5131 | 1617 | static int type_init = 0; |
093d3ff1 | 1618 | if (!type_init) { |
0085ce49 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 |
0085ce49 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 |
0085ce49 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 | |
0085ce49 | 1674 | 0, /* tp_del */ |
d14a1e28 | 1675 | #endif |
093d3ff1 | 1676 | #ifdef COUNT_ALLOCS |
0085ce49 | 1677 | 0,0,0,0 /* tp_alloc -> tp_next */ |
093d3ff1 | 1678 | #endif |
0085ce49 | 1679 | }; |
32fe5131 | 1680 | pyswigobject_type = tmp; |
0085ce49 | 1681 | pyswigobject_type.ob_type = &PyType_Type; |
093d3ff1 RD |
1682 | type_init = 1; |
1683 | } | |
32fe5131 | 1684 | return &pyswigobject_type; |
093d3ff1 | 1685 | } |
c32bde28 | 1686 | |
093d3ff1 | 1687 | SWIGRUNTIME PyObject * |
0085ce49 | 1688 | PySwigObject_New(void *ptr, swig_type_info *ty, int own) |
093d3ff1 | 1689 | { |
0085ce49 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; | |
32fe5131 | 1696 | } |
0085ce49 | 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; | |
0085ce49 | 1707 | swig_type_info *ty; |
093d3ff1 RD |
1708 | size_t size; |
1709 | } PySwigPacked; | |
d14a1e28 | 1710 | |
093d3ff1 | 1711 | SWIGRUNTIME int |
0085ce49 | 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 | } | |
0085ce49 | 1720 | fputs(v->ty->name,fp); |
093d3ff1 RD |
1721 | fputs(">", fp); |
1722 | return 0; | |
1723 | } | |
1724 | ||
1725 | SWIGRUNTIME PyObject * | |
1726 | PySwigPacked_repr(PySwigPacked *v) | |
1727 | { | |
1728 | char result[SWIG_BUFFER_SIZE]; | |
1729 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
0085ce49 | 1730 | return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name); |
093d3ff1 | 1731 | } else { |
0085ce49 | 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))){ | |
0085ce49 | 1741 | return PyString_FromFormat("%s%s", result, v->ty->name); |
093d3ff1 | 1742 | } else { |
0085ce49 | 1743 | return PyString_FromString(v->ty->name); |
093d3ff1 RD |
1744 | } |
1745 | } | |
1746 | ||
1747 | SWIGRUNTIME int | |
1748 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
1749 | { | |
0085ce49 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 | ||
0085ce49 | 1756 | SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void); |
093d3ff1 RD |
1757 | |
1758 | SWIGRUNTIME PyTypeObject* | |
32fe5131 | 1759 | PySwigPacked_type(void) { |
0085ce49 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 | |
0085ce49 | 1837 | 0, /* tp_del */ |
093d3ff1 RD |
1838 | #endif |
1839 | #ifdef COUNT_ALLOCS | |
0085ce49 | 1840 | 0,0,0,0 /* tp_alloc -> tp_next */ |
093d3ff1 | 1841 | #endif |
0085ce49 | 1842 | }; |
32fe5131 | 1843 | pyswigpacked_type = tmp; |
0085ce49 | 1844 | pyswigpacked_type.ob_type = &PyType_Type; |
093d3ff1 RD |
1845 | type_init = 1; |
1846 | } | |
32fe5131 | 1847 | return &pyswigpacked_type; |
093d3ff1 RD |
1848 | } |
1849 | ||
1850 | SWIGRUNTIME PyObject * | |
0085ce49 | 1851 | PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty) |
093d3ff1 | 1852 | { |
0085ce49 RD |
1853 | PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type()); |
1854 | if (sobj) { | |
093d3ff1 | 1855 | void *pack = malloc(size); |
32fe5131 RD |
1856 | if (pack) { |
1857 | memcpy(pack, ptr, size); | |
0085ce49 RD |
1858 | sobj->pack = pack; |
1859 | sobj->ty = ty; | |
1860 | sobj->size = size; | |
1861 | } else { | |
1862 | PyObject_DEL((PyObject *) sobj); | |
1863 | sobj = 0; | |
32fe5131 | 1864 | } |
093d3ff1 | 1865 | } |
0085ce49 | 1866 | return (PyObject *) sobj; |
093d3ff1 RD |
1867 | } |
1868 | ||
0085ce49 | 1869 | SWIGRUNTIME swig_type_info * |
093d3ff1 RD |
1870 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) |
1871 | { | |
0085ce49 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 | /* ----------------------------------------------------------------------------- |
0085ce49 | 1883 | * pointers/data manipulation |
093d3ff1 RD |
1884 | * ----------------------------------------------------------------------------- */ |
1885 | ||
0085ce49 RD |
1886 | SWIGRUNTIMEINLINE PyObject * |
1887 | _SWIG_This(void) | |
1888 | { | |
1889 | return PyString_FromString("this"); | |
1890 | } | |
093d3ff1 | 1891 | |
0085ce49 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 | |
0085ce49 | 1899 | /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ |
093d3ff1 | 1900 | |
0085ce49 RD |
1901 | SWIGRUNTIME PySwigObject * |
1902 | SWIG_Python_GetSwigThis(PyObject *pyobj) | |
093d3ff1 | 1903 | { |
0085ce49 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 { |
0085ce49 RD |
1927 | if (PyErr_Occurred()) PyErr_Clear(); |
1928 | return 0; | |
093d3ff1 | 1929 | } |
093d3ff1 | 1930 | } |
0085ce49 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 | ||
0085ce49 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 | } |
0085ce49 | 1962 | return 0; |
093d3ff1 RD |
1963 | } |
1964 | ||
0085ce49 RD |
1965 | /* Convert a pointer value */ |
1966 | ||
093d3ff1 | 1967 | SWIGRUNTIME int |
0085ce49 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 { |
0085ce49 RD |
1993 | if (ptr) *ptr = vptr; |
1994 | break; | |
093d3ff1 | 1995 | } |
093d3ff1 | 1996 | } |
0085ce49 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 | ||
0085ce49 RD |
2045 | /* Convert a function ptr value */ |
2046 | ||
093d3ff1 | 2047 | SWIGRUNTIME int |
0085ce49 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 { |
0085ce49 RD |
2052 | void *vptr = 0; |
2053 | ||
2054 | /* here we get the method pointer for callbacks */ | |
d1a49b78 | 2055 | const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); |
0085ce49 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 | ||
0085ce49 | 2072 | /* Convert a packed value value */ |
093d3ff1 | 2073 | |
093d3ff1 | 2074 | SWIGRUNTIME int |
0085ce49 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 | } |
0085ce49 RD |
2085 | return SWIG_OK; |
2086 | } | |
093d3ff1 | 2087 | |
0085ce49 RD |
2088 | /* ----------------------------------------------------------------------------- |
2089 | * Create a new pointer object | |
2090 | * ----------------------------------------------------------------------------- */ | |
093d3ff1 | 2091 | |
0085ce49 RD |
2092 | /* |
2093 | Create a new instance object, whitout calling __init__, and set the | |
2094 | 'this' attribute. | |
2095 | */ | |
093d3ff1 | 2096 | |
0085ce49 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 | } |
0085ce49 RD |
2116 | #else |
2117 | PyObject *key = SWIG_This(); | |
2118 | PyObject_SetAttr(inst, key, swig_this); | |
2119 | #endif | |
093d3ff1 | 2120 | } |
0085ce49 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 | } |
0085ce49 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 | } |
0085ce49 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 | } |
0085ce49 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 | ||
0085ce49 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 |
0085ce49 RD |
2176 | dict = PyObject_GetAttrString(inst, "__dict__"); |
2177 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2178 | Py_DECREF(dict); | |
2179 | } | |
093d3ff1 | 2180 | |
0085ce49 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 { |
0085ce49 | 2192 | SWIG_Python_SetSwigThis(obj[0], obj[1]); |
093d3ff1 | 2193 | } |
0085ce49 | 2194 | return SWIG_Py_Void(); |
093d3ff1 | 2195 | } |
0085ce49 RD |
2196 | } |
2197 | ||
2198 | /* Create a new pointer object */ | |
093d3ff1 | 2199 | |
093d3ff1 | 2200 | SWIGRUNTIME PyObject * |
0085ce49 | 2201 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) { |
093d3ff1 | 2202 | if (!ptr) { |
0085ce49 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 | } |
0085ce49 | 2215 | return robj; |
093d3ff1 | 2216 | } |
093d3ff1 RD |
2217 | } |
2218 | ||
0085ce49 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) { |
0085ce49 | 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 | ||
32fe5131 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 |
32fe5131 RD |
2249 | } |
2250 | return (swig_module_info *) type_pointer; | |
093d3ff1 RD |
2251 | } |
2252 | ||
32fe5131 RD |
2253 | #if PY_MAJOR_VERSION < 2 |
2254 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
0085ce49 | 2255 | is copied out of Python/modsupport.c in python version 2.3.4 */ |
32fe5131 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"); | |
0085ce49 | 2263 | return SWIG_ERROR; |
32fe5131 RD |
2264 | } |
2265 | if (!o) { | |
2266 | PyErr_SetString(PyExc_TypeError, | |
2267 | "PyModule_AddObject() needs non-NULL value"); | |
0085ce49 | 2268 | return SWIG_ERROR; |
32fe5131 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)); | |
0085ce49 | 2276 | return SWIG_ERROR; |
32fe5131 RD |
2277 | } |
2278 | if (PyDict_SetItemString(dict, name, o)) | |
0085ce49 | 2279 | return SWIG_ERROR; |
32fe5131 | 2280 | Py_DECREF(o); |
0085ce49 | 2281 | return SWIG_OK; |
093d3ff1 | 2282 | } |
32fe5131 | 2283 | #endif |
093d3ff1 | 2284 | |
0085ce49 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 | ||
32fe5131 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); | |
0085ce49 | 2307 | PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule); |
32fe5131 RD |
2308 | if (pointer && module) { |
2309 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
0085ce49 RD |
2310 | } else { |
2311 | Py_XDECREF(pointer); | |
32fe5131 RD |
2312 | } |
2313 | } | |
994141e6 | 2314 | |
0085ce49 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 | } |
0085ce49 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) -------- */ | |
15afbcd0 | 2465 | |
32fe5131 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] | |
4976f996 RD |
2504 | #define SWIGTYPE_p_wxEventBlocker swig_types[38] |
2505 | #define SWIGTYPE_p_wxEvtHandler swig_types[39] | |
2506 | #define SWIGTYPE_p_wxFSFile swig_types[40] | |
2507 | #define SWIGTYPE_p_wxFileDialog swig_types[41] | |
2508 | #define SWIGTYPE_p_wxFileSystem swig_types[42] | |
2509 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[43] | |
2510 | #define SWIGTYPE_p_wxFindReplaceData swig_types[44] | |
2511 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[45] | |
2512 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[46] | |
2513 | #define SWIGTYPE_p_wxFocusEvent swig_types[47] | |
2514 | #define SWIGTYPE_p_wxFont swig_types[48] | |
2515 | #define SWIGTYPE_p_wxFontData swig_types[49] | |
2516 | #define SWIGTYPE_p_wxFontDialog swig_types[50] | |
2517 | #define SWIGTYPE_p_wxFrame swig_types[51] | |
2518 | #define SWIGTYPE_p_wxGBSizerItem swig_types[52] | |
2519 | #define SWIGTYPE_p_wxGIFHandler swig_types[53] | |
2520 | #define SWIGTYPE_p_wxGridBagSizer swig_types[54] | |
2521 | #define SWIGTYPE_p_wxGridSizer swig_types[55] | |
2522 | #define SWIGTYPE_p_wxHelpControllerBase swig_types[56] | |
2523 | #define SWIGTYPE_p_wxHelpSearchMode swig_types[57] | |
2524 | #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[58] | |
2525 | #define SWIGTYPE_p_wxHtmlBookRecord swig_types[59] | |
2526 | #define SWIGTYPE_p_wxHtmlCell swig_types[60] | |
2527 | #define SWIGTYPE_p_wxHtmlCellEvent swig_types[61] | |
2528 | #define SWIGTYPE_p_wxHtmlColourCell swig_types[62] | |
2529 | #define SWIGTYPE_p_wxHtmlContainerCell swig_types[63] | |
2530 | #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[64] | |
2531 | #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[65] | |
2532 | #define SWIGTYPE_p_wxHtmlFilter swig_types[66] | |
2533 | #define SWIGTYPE_p_wxHtmlFontCell swig_types[67] | |
2534 | #define SWIGTYPE_p_wxHtmlHelpController swig_types[68] | |
2535 | #define SWIGTYPE_p_wxHtmlHelpData swig_types[69] | |
2536 | #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[70] | |
2537 | #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[71] | |
2538 | #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[72] | |
2539 | #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[73] | |
2540 | #define SWIGTYPE_p_wxHtmlLinkEvent swig_types[74] | |
2541 | #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[75] | |
2542 | #define SWIGTYPE_p_wxHtmlModalHelp swig_types[76] | |
2543 | #define SWIGTYPE_p_wxHtmlParser swig_types[77] | |
2544 | #define SWIGTYPE_p_wxHtmlPrintout swig_types[78] | |
2545 | #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[79] | |
2546 | #define SWIGTYPE_p_wxHtmlRenderingState swig_types[80] | |
2547 | #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[81] | |
2548 | #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[82] | |
2549 | #define SWIGTYPE_p_wxHtmlSelection swig_types[83] | |
2550 | #define SWIGTYPE_p_wxHtmlTag swig_types[84] | |
2551 | #define SWIGTYPE_p_wxHtmlTagHandler swig_types[85] | |
2552 | #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[86] | |
2553 | #define SWIGTYPE_p_wxHtmlWinParser swig_types[87] | |
2554 | #define SWIGTYPE_p_wxHtmlWindowInterface swig_types[88] | |
2555 | #define SWIGTYPE_p_wxHtmlWordCell swig_types[89] | |
2556 | #define SWIGTYPE_p_wxICOHandler swig_types[90] | |
2557 | #define SWIGTYPE_p_wxIconizeEvent swig_types[91] | |
2558 | #define SWIGTYPE_p_wxIdleEvent swig_types[92] | |
2559 | #define SWIGTYPE_p_wxImage swig_types[93] | |
2560 | #define SWIGTYPE_p_wxImageHandler swig_types[94] | |
2561 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[95] | |
2562 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[96] | |
2563 | #define SWIGTYPE_p_wxJPEGHandler swig_types[97] | |
2564 | #define SWIGTYPE_p_wxKeyEvent swig_types[98] | |
2565 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[99] | |
2566 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[100] | |
2567 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[101] | |
2568 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[102] | |
2569 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[103] | |
2570 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[104] | |
2571 | #define SWIGTYPE_p_wxMenu swig_types[105] | |
2572 | #define SWIGTYPE_p_wxMenuBar swig_types[106] | |
2573 | #define SWIGTYPE_p_wxMenuEvent swig_types[107] | |
2574 | #define SWIGTYPE_p_wxMenuItem swig_types[108] | |
2575 | #define SWIGTYPE_p_wxMessageDialog swig_types[109] | |
2576 | #define SWIGTYPE_p_wxMiniFrame swig_types[110] | |
2577 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[111] | |
2578 | #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[112] | |
2579 | #define SWIGTYPE_p_wxMouseEvent swig_types[113] | |
2580 | #define SWIGTYPE_p_wxMoveEvent swig_types[114] | |
2581 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[115] | |
2582 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[116] | |
2583 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[117] | |
2584 | #define SWIGTYPE_p_wxNotifyEvent swig_types[118] | |
2585 | #define SWIGTYPE_p_wxNumberEntryDialog swig_types[119] | |
2586 | #define SWIGTYPE_p_wxObject swig_types[120] | |
2587 | #define SWIGTYPE_p_wxPCXHandler swig_types[121] | |
2588 | #define SWIGTYPE_p_wxPNGHandler swig_types[122] | |
2589 | #define SWIGTYPE_p_wxPNMHandler swig_types[123] | |
2590 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[124] | |
2591 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[125] | |
2592 | #define SWIGTYPE_p_wxPaintEvent swig_types[126] | |
2593 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[127] | |
2594 | #define SWIGTYPE_p_wxPanel swig_types[128] | |
2595 | #define SWIGTYPE_p_wxPaperSize swig_types[129] | |
2596 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[130] | |
2597 | #define SWIGTYPE_p_wxPoint swig_types[131] | |
2598 | #define SWIGTYPE_p_wxPopupWindow swig_types[132] | |
2599 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[133] | |
2600 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[134] | |
2601 | #define SWIGTYPE_p_wxPreviewFrame swig_types[135] | |
2602 | #define SWIGTYPE_p_wxPrintData swig_types[136] | |
2603 | #define SWIGTYPE_p_wxPrintDialog swig_types[137] | |
2604 | #define SWIGTYPE_p_wxPrintDialogData swig_types[138] | |
2605 | #define SWIGTYPE_p_wxPrintPreview swig_types[139] | |
2606 | #define SWIGTYPE_p_wxPrinter swig_types[140] | |
2607 | #define SWIGTYPE_p_wxProgressDialog swig_types[141] | |
2608 | #define SWIGTYPE_p_wxPyApp swig_types[142] | |
2609 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[143] | |
2610 | #define SWIGTYPE_p_wxPyEvent swig_types[144] | |
2611 | #define SWIGTYPE_p_wxPyHtmlFilter swig_types[145] | |
2612 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[146] | |
2613 | #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[147] | |
2614 | #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[148] | |
2615 | #define SWIGTYPE_p_wxPyHtmlWindow swig_types[149] | |
2616 | #define SWIGTYPE_p_wxPyImageHandler swig_types[150] | |
2617 | #define SWIGTYPE_p_wxPyPanel swig_types[151] | |
2618 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[152] | |
2619 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[153] | |
2620 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[154] | |
2621 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[155] | |
2622 | #define SWIGTYPE_p_wxPyPrintout swig_types[156] | |
2623 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[157] | |
2624 | #define SWIGTYPE_p_wxPySizer swig_types[158] | |
2625 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[159] | |
2626 | #define SWIGTYPE_p_wxPyVListBox swig_types[160] | |
2627 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[161] | |
2628 | #define SWIGTYPE_p_wxPyValidator swig_types[162] | |
2629 | #define SWIGTYPE_p_wxPyWindow swig_types[163] | |
2630 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[164] | |
2631 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[165] | |
2632 | #define SWIGTYPE_p_wxSashEvent swig_types[166] | |
2633 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[167] | |
2634 | #define SWIGTYPE_p_wxSashWindow swig_types[168] | |
2635 | #define SWIGTYPE_p_wxScrollEvent swig_types[169] | |
2636 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[170] | |
2637 | #define SWIGTYPE_p_wxScrolledWindow swig_types[171] | |
2638 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[172] | |
2639 | #define SWIGTYPE_p_wxShowEvent swig_types[173] | |
2640 | #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[174] | |
2641 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[175] | |
2642 | #define SWIGTYPE_p_wxSize swig_types[176] | |
2643 | #define SWIGTYPE_p_wxSizeEvent swig_types[177] | |
2644 | #define SWIGTYPE_p_wxSizer swig_types[178] | |
2645 | #define SWIGTYPE_p_wxSizerItem swig_types[179] | |
2646 | #define SWIGTYPE_p_wxSplashScreen swig_types[180] | |
2647 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[181] | |
2648 | #define SWIGTYPE_p_wxSplitterEvent swig_types[182] | |
2649 | #define SWIGTYPE_p_wxSplitterWindow swig_types[183] | |
2650 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[184] | |
2651 | #define SWIGTYPE_p_wxStatusBar swig_types[185] | |
2652 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[186] | |
2653 | #define SWIGTYPE_p_wxString swig_types[187] | |
2654 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[188] | |
2655 | #define SWIGTYPE_p_wxTGAHandler swig_types[189] | |
2656 | #define SWIGTYPE_p_wxTIFFHandler swig_types[190] | |
2657 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[191] | |
2658 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[192] | |
2659 | #define SWIGTYPE_p_wxTipWindow swig_types[193] | |
2660 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[194] | |
2661 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[195] | |
2662 | #define SWIGTYPE_p_wxValidator swig_types[196] | |
2663 | #define SWIGTYPE_p_wxVisualAttributes swig_types[197] | |
2664 | #define SWIGTYPE_p_wxWindow swig_types[198] | |
2665 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[199] | |
2666 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[200] | |
2667 | #define SWIGTYPE_p_wxXPMHandler swig_types[201] | |
2668 | static swig_type_info *swig_types[203]; | |
2669 | static swig_module_info swig_module = {swig_types, 202, 0, 0, 0, 0}; | |
32fe5131 RD |
2670 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
2671 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
994141e6 | 2672 | |
093d3ff1 | 2673 | /* -------- TYPES TABLE (END) -------- */ |
994141e6 | 2674 | |
0085ce49 RD |
2675 | #if (PY_VERSION_HEX <= 0x02000000) |
2676 | # if !defined(SWIG_PYTHON_CLASSIC) | |
2677 | # error "This python version requires to use swig with the '-classic' option" | |
2678 | # endif | |
2679 | #endif | |
2680 | #if (PY_VERSION_HEX <= 0x02020000) | |
2681 | # error "This python version requires to use swig with the '-nomodern' option" | |
2682 | #endif | |
2683 | #if (PY_VERSION_HEX <= 0x02020000) | |
2684 | # error "This python version requires to use swig with the '-nomodernargs' option" | |
2685 | #endif | |
2686 | #ifndef METH_O | |
2687 | # error "This python version requires to use swig with the '-nofastunpack' option" | |
2688 | #endif | |
994141e6 | 2689 | |
093d3ff1 RD |
2690 | /*----------------------------------------------- |
2691 | @(target):= _html.so | |
2692 | ------------------------------------------------*/ | |
2693 | #define SWIG_init init_html | |
2694 | ||
2695 | #define SWIG_name "_html" | |
994141e6 | 2696 | |
0085ce49 RD |
2697 | #define SWIGVERSION 0x010329 |
2698 | ||
2699 | ||
2700 | #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) | |
2701 | #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) | |
2702 | ||
2703 | ||
2704 | #include <stdexcept> | |
2705 | ||
2706 | ||
2707 | namespace swig { | |
2708 | class PyObject_ptr { | |
2709 | protected: | |
2710 | PyObject *_obj; | |
2711 | ||
2712 | public: | |
2713 | PyObject_ptr() :_obj(0) | |
2714 | { | |
2715 | } | |
2716 | ||
2717 | PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) | |
2718 | { | |
2719 | Py_XINCREF(_obj); | |
2720 | } | |
2721 | ||
2722 | PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) | |
2723 | { | |
2724 | if (initial_ref) Py_XINCREF(_obj); | |
2725 | } | |
2726 | ||
2727 | PyObject_ptr & operator=(const PyObject_ptr& item) | |
2728 | { | |
2729 | Py_XINCREF(item._obj); | |
2730 | Py_XDECREF(_obj); | |
2731 | _obj = item._obj; | |
2732 | return *this; | |
2733 | } | |
2734 | ||
2735 | ~PyObject_ptr() | |
2736 | { | |
2737 | Py_XDECREF(_obj); | |
2738 | } | |
2739 | ||
2740 | operator PyObject *() const | |
2741 | { | |
2742 | return _obj; | |
2743 | } | |
2744 | ||
2745 | PyObject *operator->() const | |
2746 | { | |
2747 | return _obj; | |
2748 | } | |
2749 | }; | |
2750 | } | |
2751 | ||
2752 | ||
2753 | namespace swig { | |
2754 | struct PyObject_var : PyObject_ptr { | |
2755 | PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } | |
2756 | ||
2757 | PyObject_var & operator = (PyObject* obj) | |
2758 | { | |
2759 | Py_XDECREF(_obj); | |
2760 | _obj = obj; | |
2761 | return *this; | |
2762 | } | |
2763 | }; | |
2764 | } | |
2765 | ||
2766 | ||
d14a1e28 RD |
2767 | #include "wx/wxPython/wxPython.h" |
2768 | #include "wx/wxPython/pyclasses.h" | |
2769 | #include "wx/wxPython/pyistream.h" | |
2770 | #include "wx/wxPython/printfw.h" | |
2771 | ||
2772 | #include <wx/html/htmlwin.h> | |
2773 | #include <wx/html/htmprint.h> | |
2774 | #include <wx/html/helpctrl.h> | |
091f5bed RD |
2775 | #include <wx/html/helpwnd.h> |
2776 | #include <wx/html/helpfrm.h> | |
2777 | #include <wx/html/helpdlg.h> | |
d14a1e28 RD |
2778 | |
2779 | ||
b2dc1044 RD |
2780 | static const wxString wxPyEmptyString(wxEmptyString); |
2781 | static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow")); | |
2782 | static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout")); | |
2783 | static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing")); | |
994141e6 | 2784 | |
0085ce49 | 2785 | #define SWIG_From_long PyInt_FromLong |
093d3ff1 RD |
2786 | |
2787 | ||
0085ce49 RD |
2788 | SWIGINTERNINLINE PyObject * |
2789 | SWIG_From_int (int value) | |
2790 | { | |
2791 | return SWIG_From_long (value); | |
2792 | } | |
15afbcd0 RD |
2793 | |
2794 | ||
0085ce49 RD |
2795 | #include <limits.h> |
2796 | #ifndef LLONG_MIN | |
2797 | # define LLONG_MIN LONG_LONG_MIN | |
2798 | #endif | |
2799 | #ifndef LLONG_MAX | |
2800 | # define LLONG_MAX LONG_LONG_MAX | |
2801 | #endif | |
2802 | #ifndef ULLONG_MAX | |
2803 | # define ULLONG_MAX ULONG_LONG_MAX | |
2804 | #endif | |
15afbcd0 RD |
2805 | |
2806 | ||
093d3ff1 | 2807 | SWIGINTERN int |
0085ce49 | 2808 | SWIG_AsVal_long (PyObject* obj, long* val) |
15afbcd0 | 2809 | { |
c32bde28 RD |
2810 | if (PyNumber_Check(obj)) { |
2811 | if (val) *val = PyInt_AsLong(obj); | |
0085ce49 | 2812 | return SWIG_OK; |
c32bde28 | 2813 | } |
0085ce49 | 2814 | return SWIG_TypeError; |
15afbcd0 RD |
2815 | } |
2816 | ||
2817 | ||
093d3ff1 | 2818 | SWIGINTERN int |
0085ce49 RD |
2819 | SWIG_AsVal_int (PyObject * obj, int *val) |
2820 | { | |
c32bde28 | 2821 | long v; |
0085ce49 RD |
2822 | int res = SWIG_AsVal_long (obj, &v); |
2823 | if (SWIG_IsOK(res)) { | |
2824 | if ((v < INT_MIN || v > INT_MAX)) { | |
2825 | return SWIG_OverflowError; | |
c32bde28 | 2826 | } else { |
0085ce49 | 2827 | if (val) *val = static_cast< int >(v); |
c32bde28 | 2828 | } |
0085ce49 RD |
2829 | } |
2830 | return res; | |
994141e6 RD |
2831 | } |
2832 | ||
0085ce49 | 2833 | SWIGINTERN void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
2834 | int* temp = NULL; |
2835 | if (sizes) temp = int_LIST_helper(sizes); | |
2836 | self->SetFonts(normal_face, fixed_face, temp); | |
2837 | if (temp) | |
2838 | delete [] temp; | |
2839 | } | |
2840 | ||
2841 | class wxPyHtmlTagHandler : public wxHtmlTagHandler { | |
32fe5131 | 2842 | DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler) |
d14a1e28 RD |
2843 | public: |
2844 | wxPyHtmlTagHandler() : wxHtmlTagHandler() {}; | |
2845 | ||
2846 | wxHtmlParser* GetParser() { return m_Parser; } | |
2847 | void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); } | |
2848 | ||
2849 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
2850 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
2851 | ||
2852 | PYPRIVATE; | |
2853 | }; | |
2854 | ||
2855 | IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler); | |
2856 | ||
2857 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags); | |
2858 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag); | |
2859 | ||
2860 | ||
2861 | class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler { | |
32fe5131 | 2862 | DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler) |
d14a1e28 RD |
2863 | public: |
2864 | wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {}; | |
2865 | ||
2866 | wxHtmlWinParser* GetParser() { return m_WParser; } | |
2867 | void ParseInner(const wxHtmlTag& tag) | |
2868 | { wxHtmlWinTagHandler::ParseInner(tag); } | |
2869 | ||
2870 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
2871 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
2872 | ||
2873 | PYPRIVATE; | |
2874 | }; | |
2875 | ||
2876 | IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler); | |
2877 | ||
2878 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags); | |
2879 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag); | |
2880 | ||
2881 | ||
2882 | ||
2883 | class wxPyHtmlTagsModule : public wxHtmlTagsModule { | |
2884 | public: | |
2885 | wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() { | |
2886 | m_tagHandlerClass = thc; | |
2887 | Py_INCREF(m_tagHandlerClass); | |
2888 | RegisterModule(this); | |
2889 | wxHtmlWinParser::AddModule(this); | |
2890 | } | |
2891 | ||
2892 | void OnExit() { | |
5a446332 | 2893 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
2894 | Py_DECREF(m_tagHandlerClass); |
2895 | m_tagHandlerClass = NULL; | |
2896 | for (size_t x=0; x < m_objArray.GetCount(); x++) { | |
2897 | PyObject* obj = (PyObject*)m_objArray.Item(x); | |
2898 | Py_DECREF(obj); | |
2899 | } | |
4f89f6a3 | 2900 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
2901 | }; |
2902 | ||
2903 | void FillHandlersTable(wxHtmlWinParser *parser) { | |
2904 | // Wave our magic wand... (if it works it's a miracle! ;-) | |
2905 | ||
2906 | // First, make a new instance of the tag handler | |
5a446332 | 2907 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
fd3f2efe RD |
2908 | PyObject* arg = PyTuple_New(0); |
2909 | PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg); | |
d14a1e28 | 2910 | Py_DECREF(arg); |
091f5bed | 2911 | |
d14a1e28 RD |
2912 | // now figure out where it's C++ object is... |
2913 | wxPyHtmlWinTagHandler* thPtr; | |
fd3f2efe | 2914 | if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) { |
4f89f6a3 | 2915 | wxPyEndBlockThreads(blocked); |
d14a1e28 | 2916 | return; |
fd3f2efe | 2917 | } |
4f89f6a3 | 2918 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
2919 | |
2920 | // add it, | |
2921 | parser->AddTagHandler(thPtr); | |
2922 | ||
2923 | // and track it. | |
2924 | m_objArray.Add(obj); | |
2925 | } | |
2926 | ||
2927 | private: | |
2928 | PyObject* m_tagHandlerClass; | |
2929 | wxArrayPtrVoid m_objArray; | |
2930 | ||
2931 | }; | |
2932 | ||
2933 | ||
2934 | void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) { | |
2935 | // Dynamically create a new wxModule. Refcounts tagHandlerClass | |
2936 | // and adds itself to the wxModules list and to the wxHtmlWinParser. | |
2937 | new wxPyHtmlTagsModule(tagHandlerClass); | |
2938 | } | |
2939 | ||
2940 | ||
32fe5131 | 2941 | SWIGINTERNINLINE PyObject* |
0085ce49 | 2942 | SWIG_From_bool (bool value) |
093d3ff1 | 2943 | { |
0085ce49 | 2944 | return PyBool_FromLong(value ? 1 : 0); |
093d3ff1 RD |
2945 | } |
2946 | ||
2947 | ||
093d3ff1 | 2948 | SWIGINTERN int |
0085ce49 | 2949 | SWIG_AsVal_bool (PyObject *obj, bool *val) |
15afbcd0 | 2950 | { |
c32bde28 RD |
2951 | if (obj == Py_True) { |
2952 | if (val) *val = true; | |
0085ce49 RD |
2953 | return SWIG_OK; |
2954 | } else if (obj == Py_False) { | |
c32bde28 | 2955 | if (val) *val = false; |
0085ce49 | 2956 | return SWIG_OK; |
093d3ff1 | 2957 | } else { |
0085ce49 RD |
2958 | long v = 0; |
2959 | int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0)); | |
2960 | if (SWIG_IsOK(res) && val) *val = v ? true : false; | |
2961 | return res; | |
15afbcd0 | 2962 | } |
c32bde28 RD |
2963 | } |
2964 | ||
c32bde28 | 2965 | |
093d3ff1 | 2966 | SWIGINTERN int |
0085ce49 | 2967 | SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) |
c32bde28 RD |
2968 | { |
2969 | long v = 0; | |
2970 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
0085ce49 | 2971 | return SWIG_TypeError; |
c32bde28 RD |
2972 | } |
2973 | else if (val) | |
2974 | *val = (unsigned long)v; | |
0085ce49 | 2975 | return SWIG_OK; |
15afbcd0 RD |
2976 | } |
2977 | ||
2978 | ||
093d3ff1 | 2979 | SWIGINTERN int |
0085ce49 RD |
2980 | SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val) |
2981 | { | |
c32bde28 | 2982 | unsigned long v; |
0085ce49 RD |
2983 | int res = SWIG_AsVal_unsigned_SS_long (obj, &v); |
2984 | if (SWIG_IsOK(res)) { | |
2985 | if ((v > UINT_MAX)) { | |
2986 | return SWIG_OverflowError; | |
2987 | } else { | |
2988 | if (val) *val = static_cast< unsigned int >(v); | |
c32bde28 | 2989 | } |
0085ce49 RD |
2990 | } |
2991 | return res; | |
c32bde28 | 2992 | } |
994141e6 RD |
2993 | |
2994 | ||
0085ce49 RD |
2995 | SWIGINTERNINLINE PyObject* |
2996 | SWIG_From_unsigned_SS_long (unsigned long value) | |
994141e6 | 2997 | { |
0085ce49 RD |
2998 | return (value > LONG_MAX) ? |
2999 | PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); | |
c32bde28 RD |
3000 | } |
3001 | ||
0085ce49 RD |
3002 | |
3003 | SWIGINTERNINLINE PyObject * | |
3004 | SWIG_From_unsigned_SS_int (unsigned int value) | |
3005 | { | |
3006 | return SWIG_From_unsigned_SS_long (value); | |
15afbcd0 RD |
3007 | } |
3008 | ||
d14a1e28 RD |
3009 | // here's the C++ version |
3010 | class wxPyHtmlFilter : public wxHtmlFilter { | |
32fe5131 | 3011 | DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter) |
d14a1e28 RD |
3012 | public: |
3013 | wxPyHtmlFilter() : wxHtmlFilter() {} | |
3014 | ||
e811c8ce | 3015 | // returns True if this filter is able to open&read given file |
d14a1e28 | 3016 | virtual bool CanRead(const wxFSFile& file) const { |
ae8162c8 | 3017 | bool rval = false; |
d14a1e28 | 3018 | bool found; |
5a446332 | 3019 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 | 3020 | if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) { |
412d302d | 3021 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const |
d14a1e28 RD |
3022 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); |
3023 | Py_DECREF(obj); | |
3024 | } | |
4f89f6a3 | 3025 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3026 | return rval; |
3027 | } | |
3028 | ||
3029 | ||
3030 | // Reads given file and returns HTML document. | |
3031 | // Returns empty string if opening failed | |
3032 | virtual wxString ReadFile(const wxFSFile& file) const { | |
3033 | wxString rval; | |
3034 | bool found; | |
5a446332 | 3035 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 | 3036 | if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) { |
412d302d | 3037 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const |
d14a1e28 RD |
3038 | PyObject* ro; |
3039 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj)); | |
3040 | Py_DECREF(obj); | |
3041 | if (ro) { | |
3042 | rval = Py2wxString(ro); | |
3043 | Py_DECREF(ro); | |
3044 | } | |
3045 | } | |
4f89f6a3 | 3046 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3047 | return rval; |
3048 | } | |
3049 | ||
3050 | PYPRIVATE; | |
3051 | }; | |
3052 | ||
3053 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter); | |
3054 | ||
3055 | ||
3056 | class wxPyHtmlWindow : public wxHtmlWindow { | |
32fe5131 | 3057 | DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow) |
d14a1e28 RD |
3058 | public: |
3059 | wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1, | |
3060 | const wxPoint& pos = wxDefaultPosition, | |
3061 | const wxSize& size = wxDefaultSize, | |
3062 | long style = wxHW_DEFAULT_STYLE, | |
3063 | const wxString& name = wxPyHtmlWindowNameStr) | |
3064 | : wxHtmlWindow(parent, id, pos, size, style, name) {}; | |
3065 | wxPyHtmlWindow() : wxHtmlWindow() {}; | |
3066 | ||
3067 | bool ScrollToAnchor(const wxString& anchor) { | |
3068 | return wxHtmlWindow::ScrollToAnchor(anchor); | |
3069 | } | |
3070 | ||
3071 | bool HasAnchor(const wxString& anchor) { | |
3072 | const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor); | |
3073 | return c!=NULL; | |
3074 | } | |
3075 | ||
3076 | void OnLinkClicked(const wxHtmlLinkInfo& link); | |
d14a1e28 RD |
3077 | |
3078 | wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type, | |
3079 | const wxString& url, | |
3080 | wxString *redirect) const; | |
3081 | ||
3082 | DEC_PYCALLBACK__STRING(OnSetTitle); | |
3083 | DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover); | |
e9d6f3a4 RD |
3084 | DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked); |
3085 | ||
d14a1e28 RD |
3086 | PYPRIVATE; |
3087 | }; | |
3088 | ||
3089 | IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow ); | |
3090 | IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle); | |
3091 | IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover); | |
e9d6f3a4 | 3092 | IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked); |
d14a1e28 RD |
3093 | |
3094 | ||
3095 | void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) { | |
3096 | bool found; | |
5a446332 | 3097 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
3098 | if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) { |
3099 | PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0); | |
3100 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
3101 | Py_DECREF(obj); | |
3102 | } | |
4f89f6a3 | 3103 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3104 | if (! found) |
3105 | wxHtmlWindow::OnLinkClicked(link); | |
3106 | } | |
d14a1e28 RD |
3107 | |
3108 | ||
3109 | wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type, | |
3110 | const wxString& url, | |
3111 | wxString *redirect) const { | |
3112 | bool found; | |
3113 | wxHtmlOpeningStatus rval; | |
5a446332 | 3114 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
3115 | if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) { |
3116 | PyObject* ro; | |
3117 | PyObject* s = wx2PyString(url); | |
3118 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s)); | |
3119 | Py_DECREF(s); | |
3120 | if (PyString_Check(ro) | |
3121 | #if PYTHON_API_VERSION >= 1009 | |
3122 | || PyUnicode_Check(ro) | |
3123 | #endif | |
3124 | ) { | |
3125 | *redirect = Py2wxString(ro); | |
3126 | rval = wxHTML_REDIRECT; | |
3127 | } | |
3128 | else { | |
3129 | PyObject* num = PyNumber_Int(ro); | |
3130 | rval = (wxHtmlOpeningStatus)PyInt_AsLong(num); | |
3131 | Py_DECREF(num); | |
3132 | } | |
3133 | Py_DECREF(ro); | |
3134 | } | |
4f89f6a3 | 3135 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3136 | if (! found) |
3137 | rval = wxHtmlWindow::OnOpeningURL(type, url, redirect); | |
3138 | return rval; | |
3139 | } | |
3140 | ||
3141 | ||
3142 | ||
0085ce49 | 3143 | SWIGINTERN void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3144 | int* temp = NULL; |
3145 | if (sizes) temp = int_LIST_helper(sizes); | |
3146 | self->SetFonts(normal_face, fixed_face, temp); | |
3147 | if (temp) | |
3148 | delete [] temp; | |
3149 | } | |
0085ce49 | 3150 | SWIGINTERN void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3151 | int* temp = NULL; |
3152 | if (sizes) temp = int_LIST_helper(sizes); | |
3153 | self->SetFonts(normal_face, fixed_face, temp); | |
3154 | if (temp) | |
3155 | delete [] temp; | |
3156 | } | |
0085ce49 | 3157 | SWIGINTERN void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3158 | int* temp = NULL; |
3159 | if (sizes) temp = int_LIST_helper(sizes); | |
3160 | self->SetFonts(normal_face, fixed_face, temp); | |
3161 | if (temp) | |
3162 | delete [] temp; | |
3163 | } | |
994141e6 | 3164 | |
15afbcd0 | 3165 | #include <float.h> |
15afbcd0 RD |
3166 | |
3167 | ||
093d3ff1 | 3168 | SWIGINTERN int |
0085ce49 | 3169 | SWIG_AsVal_double (PyObject *obj, double* val) |
994141e6 | 3170 | { |
c32bde28 RD |
3171 | if (PyNumber_Check(obj)) { |
3172 | if (val) *val = PyFloat_AsDouble(obj); | |
0085ce49 | 3173 | return SWIG_OK; |
69223c70 | 3174 | } |
0085ce49 | 3175 | return SWIG_TypeError; |
c32bde28 RD |
3176 | } |
3177 | ||
3178 | ||
093d3ff1 | 3179 | SWIGINTERN int |
0085ce49 | 3180 | SWIG_AsVal_float (PyObject * obj, float *val) |
c32bde28 | 3181 | { |
c32bde28 | 3182 | double v; |
0085ce49 RD |
3183 | int res = SWIG_AsVal_double (obj, &v); |
3184 | if (SWIG_IsOK(res)) { | |
3185 | if ((v < -FLT_MAX || v > FLT_MAX)) { | |
3186 | return SWIG_OverflowError; | |
c32bde28 | 3187 | } else { |
0085ce49 | 3188 | if (val) *val = static_cast< float >(v); |
c32bde28 | 3189 | } |
0085ce49 RD |
3190 | } |
3191 | return res; | |
994141e6 RD |
3192 | } |
3193 | ||
0085ce49 | 3194 | SWIGINTERN void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3195 | int* temp = NULL; |
3196 | if (sizes) temp = int_LIST_helper(sizes); | |
3197 | self->SetFonts(normal_face, fixed_face, temp); | |
3198 | if (temp) | |
3199 | delete [] temp; | |
3200 | } | |
10044bf1 RD |
3201 | |
3202 | typedef wxTreeCtrl wxPyTreeCtrl; | |
3203 | ||
d14a1e28 RD |
3204 | #ifdef __cplusplus |
3205 | extern "C" { | |
3206 | #endif | |
0085ce49 RD |
3207 | SWIGINTERN int HtmlWindowNameStr_set(PyObject *) { |
3208 | SWIG_Error(SWIG_AttributeError,"Variable HtmlWindowNameStr is read-only."); | |
3209 | return 1; | |
b2dc1044 RD |
3210 | } |
3211 | ||
3212 | ||
0085ce49 RD |
3213 | SWIGINTERN PyObject *HtmlWindowNameStr_get(void) { |
3214 | PyObject *pyobj = 0; | |
3215 | ||
3216 | { | |
b2dc1044 | 3217 | #if wxUSE_UNICODE |
0085ce49 | 3218 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); |
b2dc1044 | 3219 | #else |
0085ce49 | 3220 | pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); |
b2dc1044 | 3221 | #endif |
0085ce49 RD |
3222 | } |
3223 | return pyobj; | |
b2dc1044 RD |
3224 | } |
3225 | ||
3226 | ||
0085ce49 RD |
3227 | SWIGINTERN int HtmlPrintoutTitleStr_set(PyObject *) { |
3228 | SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintoutTitleStr is read-only."); | |
3229 | return 1; | |
b2dc1044 RD |
3230 | } |
3231 | ||
3232 | ||
0085ce49 RD |
3233 | SWIGINTERN PyObject *HtmlPrintoutTitleStr_get(void) { |
3234 | PyObject *pyobj = 0; | |
3235 | ||
3236 | { | |
b2dc1044 | 3237 | #if wxUSE_UNICODE |
0085ce49 | 3238 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); |
b2dc1044 | 3239 | #else |
0085ce49 | 3240 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); |
b2dc1044 | 3241 | #endif |
0085ce49 RD |
3242 | } |
3243 | return pyobj; | |
b2dc1044 RD |
3244 | } |
3245 | ||
3246 | ||
0085ce49 RD |
3247 | SWIGINTERN int HtmlPrintingTitleStr_set(PyObject *) { |
3248 | SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintingTitleStr is read-only."); | |
3249 | return 1; | |
b2dc1044 RD |
3250 | } |
3251 | ||
3252 | ||
0085ce49 RD |
3253 | SWIGINTERN PyObject *HtmlPrintingTitleStr_get(void) { |
3254 | PyObject *pyobj = 0; | |
3255 | ||
3256 | { | |
b2dc1044 | 3257 | #if wxUSE_UNICODE |
0085ce49 | 3258 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); |
b2dc1044 | 3259 | #else |
0085ce49 | 3260 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); |
b2dc1044 | 3261 | #endif |
0085ce49 RD |
3262 | } |
3263 | return pyobj; | |
3264 | } | |
3265 | ||
3266 | ||
3267 | SWIGINTERN PyObject *_wrap_new_HtmlLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3268 | PyObject *resultobj = 0; | |
3269 | wxString *arg1 = 0 ; | |
3270 | wxString const &arg2_defvalue = wxPyEmptyString ; | |
3271 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
3272 | wxHtmlLinkInfo *result = 0 ; | |
3273 | bool temp1 = false ; | |
3274 | bool temp2 = false ; | |
3275 | PyObject * obj0 = 0 ; | |
3276 | PyObject * obj1 = 0 ; | |
3277 | char * kwnames[] = { | |
3278 | (char *) "href",(char *) "target", NULL | |
3279 | }; | |
3280 | ||
3281 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) SWIG_fail; | |
3282 | { | |
3283 | arg1 = wxString_in_helper(obj0); | |
3284 | if (arg1 == NULL) SWIG_fail; | |
3285 | temp1 = true; | |
3286 | } | |
3287 | if (obj1) { | |
d14a1e28 | 3288 | { |
0085ce49 RD |
3289 | arg2 = wxString_in_helper(obj1); |
3290 | if (arg2 == NULL) SWIG_fail; | |
3291 | temp2 = true; | |
d14a1e28 | 3292 | } |
0085ce49 RD |
3293 | } |
3294 | { | |
3295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3296 | result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2); | |
3297 | wxPyEndAllowThreads(__tstate); | |
3298 | if (PyErr_Occurred()) SWIG_fail; | |
3299 | } | |
3300 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_NEW | 0 ); | |
3301 | { | |
3302 | if (temp1) | |
3303 | delete arg1; | |
3304 | } | |
3305 | { | |
3306 | if (temp2) | |
3307 | delete arg2; | |
3308 | } | |
3309 | return resultobj; | |
3310 | fail: | |
3311 | { | |
3312 | if (temp1) | |
3313 | delete arg1; | |
3314 | } | |
3315 | { | |
3316 | if (temp2) | |
3317 | delete arg2; | |
3318 | } | |
3319 | return NULL; | |
d14a1e28 RD |
3320 | } |
3321 | ||
3322 | ||
0085ce49 RD |
3323 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3324 | PyObject *resultobj = 0; | |
3325 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3326 | wxString result; | |
3327 | void *argp1 = 0 ; | |
3328 | int res1 = 0 ; | |
3329 | PyObject *swig_obj[1] ; | |
3330 | ||
3331 | if (!args) SWIG_fail; | |
3332 | swig_obj[0] = args; | |
3333 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3334 | if (!SWIG_IsOK(res1)) { | |
3335 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3336 | } | |
3337 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3338 | { | |
3339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3340 | result = (arg1)->GetHref(); | |
3341 | wxPyEndAllowThreads(__tstate); | |
3342 | if (PyErr_Occurred()) SWIG_fail; | |
3343 | } | |
3344 | { | |
d14a1e28 | 3345 | #if wxUSE_UNICODE |
0085ce49 | 3346 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3347 | #else |
0085ce49 | 3348 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3349 | #endif |
0085ce49 RD |
3350 | } |
3351 | return resultobj; | |
3352 | fail: | |
3353 | return NULL; | |
d14a1e28 RD |
3354 | } |
3355 | ||
3356 | ||
0085ce49 RD |
3357 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3358 | PyObject *resultobj = 0; | |
3359 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3360 | wxString result; | |
3361 | void *argp1 = 0 ; | |
3362 | int res1 = 0 ; | |
3363 | PyObject *swig_obj[1] ; | |
3364 | ||
3365 | if (!args) SWIG_fail; | |
3366 | swig_obj[0] = args; | |
3367 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3368 | if (!SWIG_IsOK(res1)) { | |
3369 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3370 | } | |
3371 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3372 | { | |
3373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3374 | result = (arg1)->GetTarget(); | |
3375 | wxPyEndAllowThreads(__tstate); | |
3376 | if (PyErr_Occurred()) SWIG_fail; | |
3377 | } | |
3378 | { | |
d14a1e28 | 3379 | #if wxUSE_UNICODE |
0085ce49 | 3380 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3381 | #else |
0085ce49 | 3382 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3383 | #endif |
0085ce49 RD |
3384 | } |
3385 | return resultobj; | |
3386 | fail: | |
3387 | return NULL; | |
d14a1e28 RD |
3388 | } |
3389 | ||
3390 | ||
0085ce49 RD |
3391 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3392 | PyObject *resultobj = 0; | |
3393 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3394 | wxMouseEvent *result = 0 ; | |
3395 | void *argp1 = 0 ; | |
3396 | int res1 = 0 ; | |
3397 | PyObject *swig_obj[1] ; | |
3398 | ||
3399 | if (!args) SWIG_fail; | |
3400 | swig_obj[0] = args; | |
3401 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3402 | if (!SWIG_IsOK(res1)) { | |
3403 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3404 | } | |
3405 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3406 | { | |
3407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3408 | result = (wxMouseEvent *)(arg1)->GetEvent(); | |
3409 | wxPyEndAllowThreads(__tstate); | |
3410 | if (PyErr_Occurred()) SWIG_fail; | |
3411 | } | |
3412 | { | |
3ecece7e | 3413 | resultobj = wxPyMake_wxObject(result, 0); |
0085ce49 RD |
3414 | } |
3415 | return resultobj; | |
3416 | fail: | |
3417 | return NULL; | |
d14a1e28 RD |
3418 | } |
3419 | ||
3420 | ||
0085ce49 RD |
3421 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3422 | PyObject *resultobj = 0; | |
3423 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3424 | wxHtmlCell *result = 0 ; | |
3425 | void *argp1 = 0 ; | |
3426 | int res1 = 0 ; | |
3427 | PyObject *swig_obj[1] ; | |
3428 | ||
3429 | if (!args) SWIG_fail; | |
3430 | swig_obj[0] = args; | |
3431 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3432 | if (!SWIG_IsOK(res1)) { | |
3433 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3434 | } | |
3435 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3436 | { | |
3437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3438 | result = (wxHtmlCell *)(arg1)->GetHtmlCell(); | |
3439 | wxPyEndAllowThreads(__tstate); | |
3440 | if (PyErr_Occurred()) SWIG_fail; | |
3441 | } | |
3442 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
3443 | return resultobj; | |
3444 | fail: | |
3445 | return NULL; | |
3446 | } | |
3447 | ||
3448 | ||
3449 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3450 | PyObject *resultobj = 0; | |
3451 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3452 | wxMouseEvent *arg2 = (wxMouseEvent *) 0 ; | |
3453 | void *argp1 = 0 ; | |
3454 | int res1 = 0 ; | |
3455 | void *argp2 = 0 ; | |
3456 | int res2 = 0 ; | |
3457 | PyObject * obj0 = 0 ; | |
3458 | PyObject * obj1 = 0 ; | |
3459 | char * kwnames[] = { | |
3460 | (char *) "self",(char *) "e", NULL | |
3461 | }; | |
3462 | ||
3463 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
3464 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3465 | if (!SWIG_IsOK(res1)) { | |
3466 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3467 | } | |
3468 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3469 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMouseEvent, 0 | 0 ); | |
3470 | if (!SWIG_IsOK(res2)) { | |
3471 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'"); | |
3472 | } | |
3473 | arg2 = reinterpret_cast< wxMouseEvent * >(argp2); | |
3474 | { | |
3475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3476 | (arg1)->SetEvent((wxMouseEvent const *)arg2); | |
3477 | wxPyEndAllowThreads(__tstate); | |
3478 | if (PyErr_Occurred()) SWIG_fail; | |
3479 | } | |
3480 | resultobj = SWIG_Py_Void(); | |
3481 | return resultobj; | |
3482 | fail: | |
3483 | return NULL; | |
3484 | } | |
3485 | ||
3486 | ||
3487 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3488 | PyObject *resultobj = 0; | |
3489 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3490 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
3491 | void *argp1 = 0 ; | |
3492 | int res1 = 0 ; | |
3493 | void *argp2 = 0 ; | |
3494 | int res2 = 0 ; | |
3495 | PyObject * obj0 = 0 ; | |
3496 | PyObject * obj1 = 0 ; | |
3497 | char * kwnames[] = { | |
3498 | (char *) "self",(char *) "e", NULL | |
3499 | }; | |
3500 | ||
3501 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
3502 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3503 | if (!SWIG_IsOK(res1)) { | |
3504 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3505 | } | |
3506 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3507 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
3508 | if (!SWIG_IsOK(res2)) { | |
3509 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'"); | |
3510 | } | |
3511 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
3512 | { | |
3513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3514 | (arg1)->SetHtmlCell((wxHtmlCell const *)arg2); | |
3515 | wxPyEndAllowThreads(__tstate); | |
3516 | if (PyErr_Occurred()) SWIG_fail; | |
3517 | } | |
3518 | resultobj = SWIG_Py_Void(); | |
3519 | return resultobj; | |
3520 | fail: | |
3521 | return NULL; | |
d14a1e28 RD |
3522 | } |
3523 | ||
3524 | ||
0085ce49 RD |
3525 | SWIGINTERN PyObject *HtmlLinkInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3526 | PyObject *obj; | |
3527 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
3528 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo, SWIG_NewClientData(obj)); | |
3529 | return SWIG_Py_Void(); | |
d14a1e28 RD |
3530 | } |
3531 | ||
0085ce49 RD |
3532 | SWIGINTERN PyObject *HtmlLinkInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3533 | return SWIG_Python_InitShadowInstance(args); | |
3534 | } | |
d14a1e28 | 3535 | |
0085ce49 RD |
3536 | SWIGINTERN PyObject *_wrap_HtmlTag_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3537 | PyObject *resultobj = 0; | |
3538 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3539 | wxString result; | |
3540 | void *argp1 = 0 ; | |
3541 | int res1 = 0 ; | |
3542 | PyObject *swig_obj[1] ; | |
3543 | ||
3544 | if (!args) SWIG_fail; | |
3545 | swig_obj[0] = args; | |
3546 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3547 | if (!SWIG_IsOK(res1)) { | |
3548 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3549 | } | |
3550 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3551 | { | |
3552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3553 | result = (arg1)->GetName(); | |
3554 | wxPyEndAllowThreads(__tstate); | |
3555 | if (PyErr_Occurred()) SWIG_fail; | |
3556 | } | |
3557 | { | |
3558 | #if wxUSE_UNICODE | |
3559 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3560 | #else | |
3561 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3562 | #endif | |
3563 | } | |
3564 | return resultobj; | |
3565 | fail: | |
3566 | return NULL; | |
3567 | } | |
3568 | ||
3569 | ||
3570 | SWIGINTERN PyObject *_wrap_HtmlTag_HasParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3571 | PyObject *resultobj = 0; | |
3572 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3573 | wxString *arg2 = 0 ; | |
3574 | bool result; | |
3575 | void *argp1 = 0 ; | |
3576 | int res1 = 0 ; | |
3577 | bool temp2 = false ; | |
3578 | PyObject * obj0 = 0 ; | |
3579 | PyObject * obj1 = 0 ; | |
3580 | char * kwnames[] = { | |
3581 | (char *) "self",(char *) "par", NULL | |
3582 | }; | |
3583 | ||
3584 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) SWIG_fail; | |
3585 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3586 | if (!SWIG_IsOK(res1)) { | |
3587 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3588 | } | |
3589 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3590 | { | |
3591 | arg2 = wxString_in_helper(obj1); | |
3592 | if (arg2 == NULL) SWIG_fail; | |
3593 | temp2 = true; | |
3594 | } | |
3595 | { | |
3596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3597 | result = (bool)(arg1)->HasParam((wxString const &)*arg2); | |
3598 | wxPyEndAllowThreads(__tstate); | |
3599 | if (PyErr_Occurred()) SWIG_fail; | |
3600 | } | |
3601 | { | |
3602 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3603 | } | |
3604 | { | |
3605 | if (temp2) | |
3606 | delete arg2; | |
3607 | } | |
3608 | return resultobj; | |
3609 | fail: | |
3610 | { | |
3611 | if (temp2) | |
3612 | delete arg2; | |
3613 | } | |
3614 | return NULL; | |
3615 | } | |
3616 | ||
3617 | ||
3618 | SWIGINTERN PyObject *_wrap_HtmlTag_GetParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3619 | PyObject *resultobj = 0; | |
3620 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3621 | wxString *arg2 = 0 ; | |
3622 | int arg3 = (int) false ; | |
3623 | wxString result; | |
3624 | void *argp1 = 0 ; | |
3625 | int res1 = 0 ; | |
3626 | bool temp2 = false ; | |
3627 | int val3 ; | |
3628 | int ecode3 = 0 ; | |
3629 | PyObject * obj0 = 0 ; | |
3630 | PyObject * obj1 = 0 ; | |
3631 | PyObject * obj2 = 0 ; | |
3632 | char * kwnames[] = { | |
3633 | (char *) "self",(char *) "par",(char *) "with_commas", NULL | |
3634 | }; | |
3635 | ||
3636 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
3637 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3638 | if (!SWIG_IsOK(res1)) { | |
3639 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3640 | } | |
3641 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3642 | { | |
3643 | arg2 = wxString_in_helper(obj1); | |
3644 | if (arg2 == NULL) SWIG_fail; | |
3645 | temp2 = true; | |
3646 | } | |
3647 | if (obj2) { | |
3648 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
3649 | if (!SWIG_IsOK(ecode3)) { | |
3650 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'"); | |
3651 | } | |
3652 | arg3 = static_cast< int >(val3); | |
3653 | } | |
3654 | { | |
3655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3656 | result = (arg1)->GetParam((wxString const &)*arg2,arg3); | |
3657 | wxPyEndAllowThreads(__tstate); | |
3658 | if (PyErr_Occurred()) SWIG_fail; | |
3659 | } | |
3660 | { | |
3661 | #if wxUSE_UNICODE | |
3662 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3663 | #else | |
3664 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3665 | #endif | |
3666 | } | |
3667 | { | |
3668 | if (temp2) | |
3669 | delete arg2; | |
3670 | } | |
3671 | return resultobj; | |
3672 | fail: | |
3673 | { | |
3674 | if (temp2) | |
3675 | delete arg2; | |
3676 | } | |
3677 | return NULL; | |
d14a1e28 RD |
3678 | } |
3679 | ||
3680 | ||
0085ce49 RD |
3681 | SWIGINTERN PyObject *_wrap_HtmlTag_GetAllParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3682 | PyObject *resultobj = 0; | |
3683 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3684 | wxString result; | |
3685 | void *argp1 = 0 ; | |
3686 | int res1 = 0 ; | |
3687 | PyObject *swig_obj[1] ; | |
3688 | ||
3689 | if (!args) SWIG_fail; | |
3690 | swig_obj[0] = args; | |
3691 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3692 | if (!SWIG_IsOK(res1)) { | |
3693 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3694 | } | |
3695 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3696 | { | |
3697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3698 | result = (arg1)->GetAllParams(); | |
3699 | wxPyEndAllowThreads(__tstate); | |
3700 | if (PyErr_Occurred()) SWIG_fail; | |
3701 | } | |
3702 | { | |
d14a1e28 | 3703 | #if wxUSE_UNICODE |
0085ce49 | 3704 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3705 | #else |
0085ce49 | 3706 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3707 | #endif |
0085ce49 RD |
3708 | } |
3709 | return resultobj; | |
3710 | fail: | |
3711 | return NULL; | |
d14a1e28 RD |
3712 | } |
3713 | ||
3714 | ||
0085ce49 RD |
3715 | SWIGINTERN PyObject *_wrap_HtmlTag_HasEnding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3716 | PyObject *resultobj = 0; | |
3717 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3718 | bool result; | |
3719 | void *argp1 = 0 ; | |
3720 | int res1 = 0 ; | |
3721 | PyObject *swig_obj[1] ; | |
3722 | ||
3723 | if (!args) SWIG_fail; | |
3724 | swig_obj[0] = args; | |
3725 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3726 | if (!SWIG_IsOK(res1)) { | |
3727 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3728 | } | |
3729 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3730 | { | |
3731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3732 | result = (bool)(arg1)->HasEnding(); | |
3733 | wxPyEndAllowThreads(__tstate); | |
3734 | if (PyErr_Occurred()) SWIG_fail; | |
3735 | } | |
3736 | { | |
3737 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3738 | } | |
3739 | return resultobj; | |
3740 | fail: | |
3741 | return NULL; | |
d14a1e28 RD |
3742 | } |
3743 | ||
3744 | ||
0085ce49 RD |
3745 | SWIGINTERN PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3746 | PyObject *resultobj = 0; | |
3747 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3748 | int result; | |
3749 | void *argp1 = 0 ; | |
3750 | int res1 = 0 ; | |
3751 | PyObject *swig_obj[1] ; | |
3752 | ||
3753 | if (!args) SWIG_fail; | |
3754 | swig_obj[0] = args; | |
3755 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3756 | if (!SWIG_IsOK(res1)) { | |
3757 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3758 | } | |
3759 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3760 | { | |
3761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3762 | result = (int)(arg1)->GetBeginPos(); | |
3763 | wxPyEndAllowThreads(__tstate); | |
3764 | if (PyErr_Occurred()) SWIG_fail; | |
3765 | } | |
3766 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
3767 | return resultobj; | |
3768 | fail: | |
3769 | return NULL; | |
d14a1e28 RD |
3770 | } |
3771 | ||
3772 | ||
0085ce49 RD |
3773 | SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3774 | PyObject *resultobj = 0; | |
3775 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3776 | int result; | |
3777 | void *argp1 = 0 ; | |
3778 | int res1 = 0 ; | |
3779 | PyObject *swig_obj[1] ; | |
3780 | ||
3781 | if (!args) SWIG_fail; | |
3782 | swig_obj[0] = args; | |
3783 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3784 | if (!SWIG_IsOK(res1)) { | |
3785 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3786 | } | |
3787 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3788 | { | |
3789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3790 | result = (int)(arg1)->GetEndPos1(); | |
3791 | wxPyEndAllowThreads(__tstate); | |
3792 | if (PyErr_Occurred()) SWIG_fail; | |
3793 | } | |
3794 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
3795 | return resultobj; | |
3796 | fail: | |
3797 | return NULL; | |
d14a1e28 RD |
3798 | } |
3799 | ||
3800 | ||
0085ce49 RD |
3801 | SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3802 | PyObject *resultobj = 0; | |
3803 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3804 | int result; | |
3805 | void *argp1 = 0 ; | |
3806 | int res1 = 0 ; | |
3807 | PyObject *swig_obj[1] ; | |
3808 | ||
3809 | if (!args) SWIG_fail; | |
3810 | swig_obj[0] = args; | |
3811 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3812 | if (!SWIG_IsOK(res1)) { | |
3813 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3814 | } | |
3815 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3816 | { | |
3817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3818 | result = (int)(arg1)->GetEndPos2(); | |
3819 | wxPyEndAllowThreads(__tstate); | |
3820 | if (PyErr_Occurred()) SWIG_fail; | |
3821 | } | |
3822 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
3823 | return resultobj; | |
3824 | fail: | |
3825 | return NULL; | |
3826 | } | |
3827 | ||
3828 | ||
3829 | SWIGINTERN PyObject *HtmlTag_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3830 | PyObject *obj; | |
3831 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
3832 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag, SWIG_NewClientData(obj)); | |
3833 | return SWIG_Py_Void(); | |
3834 | } | |
3835 | ||
3836 | SWIGINTERN PyObject *_wrap_HtmlParser_SetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3837 | PyObject *resultobj = 0; | |
3838 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3839 | wxFileSystem *arg2 = (wxFileSystem *) 0 ; | |
3840 | void *argp1 = 0 ; | |
3841 | int res1 = 0 ; | |
3842 | void *argp2 = 0 ; | |
3843 | int res2 = 0 ; | |
3844 | PyObject * obj0 = 0 ; | |
3845 | PyObject * obj1 = 0 ; | |
3846 | char * kwnames[] = { | |
3847 | (char *) "self",(char *) "fs", NULL | |
3848 | }; | |
3849 | ||
3850 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) SWIG_fail; | |
3851 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3852 | if (!SWIG_IsOK(res1)) { | |
3853 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3854 | } | |
3855 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3856 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFileSystem, 0 | 0 ); | |
3857 | if (!SWIG_IsOK(res2)) { | |
3858 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'"); | |
3859 | } | |
3860 | arg2 = reinterpret_cast< wxFileSystem * >(argp2); | |
3861 | { | |
3862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3863 | (arg1)->SetFS(arg2); | |
3864 | wxPyEndAllowThreads(__tstate); | |
3865 | if (PyErr_Occurred()) SWIG_fail; | |
3866 | } | |
3867 | resultobj = SWIG_Py_Void(); | |
3868 | return resultobj; | |
3869 | fail: | |
3870 | return NULL; | |
d14a1e28 RD |
3871 | } |
3872 | ||
3873 | ||
0085ce49 RD |
3874 | SWIGINTERN PyObject *_wrap_HtmlParser_GetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3875 | PyObject *resultobj = 0; | |
3876 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3877 | wxFileSystem *result = 0 ; | |
3878 | void *argp1 = 0 ; | |
3879 | int res1 = 0 ; | |
3880 | PyObject *swig_obj[1] ; | |
3881 | ||
3882 | if (!args) SWIG_fail; | |
3883 | swig_obj[0] = args; | |
3884 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3885 | if (!SWIG_IsOK(res1)) { | |
3886 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3887 | } | |
3888 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3889 | { | |
3890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3891 | result = (wxFileSystem *)(arg1)->GetFS(); | |
3892 | wxPyEndAllowThreads(__tstate); | |
3893 | if (PyErr_Occurred()) SWIG_fail; | |
3894 | } | |
3895 | { | |
3ecece7e | 3896 | resultobj = wxPyMake_wxObject(result, 0); |
0085ce49 RD |
3897 | } |
3898 | return resultobj; | |
3899 | fail: | |
3900 | return NULL; | |
3901 | } | |
3902 | ||
3903 | ||
3904 | SWIGINTERN PyObject *_wrap_HtmlParser_Parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3905 | PyObject *resultobj = 0; | |
3906 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3907 | wxString *arg2 = 0 ; | |
3908 | wxObject *result = 0 ; | |
3909 | void *argp1 = 0 ; | |
3910 | int res1 = 0 ; | |
3911 | bool temp2 = false ; | |
3912 | PyObject * obj0 = 0 ; | |
3913 | PyObject * obj1 = 0 ; | |
3914 | char * kwnames[] = { | |
3915 | (char *) "self",(char *) "source", NULL | |
3916 | }; | |
3917 | ||
3918 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) SWIG_fail; | |
3919 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3920 | if (!SWIG_IsOK(res1)) { | |
3921 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3922 | } | |
3923 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3924 | { | |
3925 | arg2 = wxString_in_helper(obj1); | |
3926 | if (arg2 == NULL) SWIG_fail; | |
3927 | temp2 = true; | |
3928 | } | |
3929 | { | |
3930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3931 | result = (wxObject *)(arg1)->Parse((wxString const &)*arg2); | |
3932 | wxPyEndAllowThreads(__tstate); | |
3933 | if (PyErr_Occurred()) SWIG_fail; | |
3934 | } | |
3935 | { | |
3936 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
3937 | } | |
3938 | { | |
3939 | if (temp2) | |
3940 | delete arg2; | |
3941 | } | |
3942 | return resultobj; | |
3943 | fail: | |
3944 | { | |
3945 | if (temp2) | |
3946 | delete arg2; | |
3947 | } | |
3948 | return NULL; | |
d14a1e28 RD |
3949 | } |
3950 | ||
3951 | ||
0085ce49 RD |
3952 | SWIGINTERN PyObject *_wrap_HtmlParser_InitParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
3953 | PyObject *resultobj = 0; | |
3954 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3955 | wxString *arg2 = 0 ; | |
3956 | void *argp1 = 0 ; | |
3957 | int res1 = 0 ; | |
3958 | bool temp2 = false ; | |
3959 | PyObject * obj0 = 0 ; | |
3960 | PyObject * obj1 = 0 ; | |
3961 | char * kwnames[] = { | |
3962 | (char *) "self",(char *) "source", NULL | |
3963 | }; | |
3964 | ||
3965 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) SWIG_fail; | |
3966 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3967 | if (!SWIG_IsOK(res1)) { | |
3968 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3969 | } | |
3970 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3971 | { | |
3972 | arg2 = wxString_in_helper(obj1); | |
3973 | if (arg2 == NULL) SWIG_fail; | |
3974 | temp2 = true; | |
3975 | } | |
3976 | { | |
3977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3978 | (arg1)->InitParser((wxString const &)*arg2); | |
3979 | wxPyEndAllowThreads(__tstate); | |
3980 | if (PyErr_Occurred()) SWIG_fail; | |
3981 | } | |
3982 | resultobj = SWIG_Py_Void(); | |
3983 | { | |
3984 | if (temp2) | |
3985 | delete arg2; | |
3986 | } | |
3987 | return resultobj; | |
3988 | fail: | |
3989 | { | |
3990 | if (temp2) | |
3991 | delete arg2; | |
3992 | } | |
3993 | return NULL; | |
d14a1e28 RD |
3994 | } |
3995 | ||
3996 | ||
0085ce49 RD |
3997 | SWIGINTERN PyObject *_wrap_HtmlParser_DoneParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3998 | PyObject *resultobj = 0; | |
3999 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4000 | void *argp1 = 0 ; | |
4001 | int res1 = 0 ; | |
4002 | PyObject *swig_obj[1] ; | |
4003 | ||
4004 | if (!args) SWIG_fail; | |
4005 | swig_obj[0] = args; | |
4006 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4007 | if (!SWIG_IsOK(res1)) { | |
4008 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4009 | } | |
4010 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4011 | { | |
4012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4013 | (arg1)->DoneParser(); | |
4014 | wxPyEndAllowThreads(__tstate); | |
4015 | if (PyErr_Occurred()) SWIG_fail; | |
4016 | } | |
4017 | resultobj = SWIG_Py_Void(); | |
4018 | return resultobj; | |
4019 | fail: | |
4020 | return NULL; | |
4021 | } | |
4022 | ||
4023 | ||
4024 | SWIGINTERN PyObject *_wrap_HtmlParser_DoParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4025 | PyObject *resultobj = 0; | |
4026 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4027 | int arg2 ; | |
4028 | int arg3 ; | |
4029 | void *argp1 = 0 ; | |
4030 | int res1 = 0 ; | |
4031 | int val2 ; | |
4032 | int ecode2 = 0 ; | |
4033 | int val3 ; | |
4034 | int ecode3 = 0 ; | |
4035 | PyObject * obj0 = 0 ; | |
4036 | PyObject * obj1 = 0 ; | |
4037 | PyObject * obj2 = 0 ; | |
4038 | char * kwnames[] = { | |
4039 | (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL | |
4040 | }; | |
4041 | ||
4042 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
4043 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4044 | if (!SWIG_IsOK(res1)) { | |
4045 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4046 | } | |
4047 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4048 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4049 | if (!SWIG_IsOK(ecode2)) { | |
4050 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'"); | |
4051 | } | |
4052 | arg2 = static_cast< int >(val2); | |
4053 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
4054 | if (!SWIG_IsOK(ecode3)) { | |
4055 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'"); | |
4056 | } | |
4057 | arg3 = static_cast< int >(val3); | |
4058 | { | |
4059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4060 | (arg1)->DoParsing(arg2,arg3); | |
4061 | wxPyEndAllowThreads(__tstate); | |
4062 | if (PyErr_Occurred()) SWIG_fail; | |
4063 | } | |
4064 | resultobj = SWIG_Py_Void(); | |
4065 | return resultobj; | |
4066 | fail: | |
4067 | return NULL; | |
d14a1e28 RD |
4068 | } |
4069 | ||
4070 | ||
0085ce49 RD |
4071 | SWIGINTERN PyObject *_wrap_HtmlParser_StopParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4072 | PyObject *resultobj = 0; | |
4073 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4074 | void *argp1 = 0 ; | |
4075 | int res1 = 0 ; | |
4076 | PyObject *swig_obj[1] ; | |
4077 | ||
4078 | if (!args) SWIG_fail; | |
4079 | swig_obj[0] = args; | |
4080 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4081 | if (!SWIG_IsOK(res1)) { | |
4082 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4083 | } | |
4084 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4085 | { | |
4086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4087 | (arg1)->StopParsing(); | |
4088 | wxPyEndAllowThreads(__tstate); | |
4089 | if (PyErr_Occurred()) SWIG_fail; | |
4090 | } | |
4091 | resultobj = SWIG_Py_Void(); | |
4092 | return resultobj; | |
4093 | fail: | |
4094 | return NULL; | |
4095 | } | |
4096 | ||
4097 | ||
4098 | SWIGINTERN PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4099 | PyObject *resultobj = 0; | |
4100 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4101 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
4102 | void *argp1 = 0 ; | |
4103 | int res1 = 0 ; | |
4104 | void *argp2 = 0 ; | |
4105 | int res2 = 0 ; | |
4106 | PyObject * obj0 = 0 ; | |
4107 | PyObject * obj1 = 0 ; | |
4108 | char * kwnames[] = { | |
4109 | (char *) "self",(char *) "handler", NULL | |
4110 | }; | |
4111 | ||
4112 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) SWIG_fail; | |
4113 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4114 | if (!SWIG_IsOK(res1)) { | |
4115 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4116 | } | |
4117 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4118 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 ); | |
4119 | if (!SWIG_IsOK(res2)) { | |
4120 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'"); | |
4121 | } | |
4122 | arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2); | |
4123 | { | |
4124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4125 | (arg1)->AddTagHandler(arg2); | |
4126 | wxPyEndAllowThreads(__tstate); | |
4127 | if (PyErr_Occurred()) SWIG_fail; | |
4128 | } | |
4129 | resultobj = SWIG_Py_Void(); | |
4130 | return resultobj; | |
4131 | fail: | |
4132 | return NULL; | |
d14a1e28 RD |
4133 | } |
4134 | ||
4135 | ||
0085ce49 RD |
4136 | SWIGINTERN PyObject *_wrap_HtmlParser_GetSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4137 | PyObject *resultobj = 0; | |
4138 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4139 | wxString *result = 0 ; | |
4140 | void *argp1 = 0 ; | |
4141 | int res1 = 0 ; | |
4142 | PyObject *swig_obj[1] ; | |
4143 | ||
4144 | if (!args) SWIG_fail; | |
4145 | swig_obj[0] = args; | |
4146 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4147 | if (!SWIG_IsOK(res1)) { | |
4148 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4149 | } | |
4150 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4151 | { | |
4152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4153 | result = (wxString *)(arg1)->GetSource(); | |
4154 | wxPyEndAllowThreads(__tstate); | |
4155 | if (PyErr_Occurred()) SWIG_fail; | |
4156 | } | |
4157 | { | |
4158 | #if wxUSE_UNICODE | |
4159 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
4160 | #else | |
4161 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
4162 | #endif | |
4163 | } | |
4164 | return resultobj; | |
4165 | fail: | |
4166 | return NULL; | |
4167 | } | |
4168 | ||
4169 | ||
4170 | SWIGINTERN PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4171 | PyObject *resultobj = 0; | |
4172 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4173 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
4174 | wxString arg3 ; | |
4175 | void *argp1 = 0 ; | |
4176 | int res1 = 0 ; | |
4177 | void *argp2 = 0 ; | |
4178 | int res2 = 0 ; | |
4179 | PyObject * obj0 = 0 ; | |
4180 | PyObject * obj1 = 0 ; | |
4181 | PyObject * obj2 = 0 ; | |
4182 | char * kwnames[] = { | |
4183 | (char *) "self",(char *) "handler",(char *) "tags", NULL | |
4184 | }; | |
4185 | ||
4186 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
4187 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4188 | if (!SWIG_IsOK(res1)) { | |
4189 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4190 | } | |
4191 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4192 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 ); | |
4193 | if (!SWIG_IsOK(res2)) { | |
4194 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'"); | |
4195 | } | |
4196 | arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2); | |
4197 | { | |
4198 | wxString* sptr = wxString_in_helper(obj2); | |
4199 | if (sptr == NULL) SWIG_fail; | |
4200 | arg3 = *sptr; | |
4201 | delete sptr; | |
4202 | } | |
4203 | { | |
4204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4205 | (arg1)->PushTagHandler(arg2,arg3); | |
4206 | wxPyEndAllowThreads(__tstate); | |
4207 | if (PyErr_Occurred()) SWIG_fail; | |
4208 | } | |
4209 | resultobj = SWIG_Py_Void(); | |
4210 | return resultobj; | |
4211 | fail: | |
4212 | return NULL; | |
d14a1e28 RD |
4213 | } |
4214 | ||
4215 | ||
0085ce49 RD |
4216 | SWIGINTERN PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4217 | PyObject *resultobj = 0; | |
4218 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4219 | void *argp1 = 0 ; | |
4220 | int res1 = 0 ; | |
4221 | PyObject *swig_obj[1] ; | |
4222 | ||
4223 | if (!args) SWIG_fail; | |
4224 | swig_obj[0] = args; | |
4225 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4226 | if (!SWIG_IsOK(res1)) { | |
4227 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4228 | } | |
4229 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4230 | { | |
4231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4232 | (arg1)->PopTagHandler(); | |
4233 | wxPyEndAllowThreads(__tstate); | |
4234 | if (PyErr_Occurred()) SWIG_fail; | |
4235 | } | |
4236 | resultobj = SWIG_Py_Void(); | |
4237 | return resultobj; | |
4238 | fail: | |
4239 | return NULL; | |
d14a1e28 RD |
4240 | } |
4241 | ||
4242 | ||
e9d6f3a4 RD |
4243 | SWIGINTERN PyObject *_wrap_HtmlParser_GetInnerSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
4244 | PyObject *resultobj = 0; | |
4245 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4246 | wxHtmlTag *arg2 = 0 ; | |
4247 | wxString result; | |
4248 | void *argp1 = 0 ; | |
4249 | int res1 = 0 ; | |
4250 | void *argp2 = 0 ; | |
4251 | int res2 = 0 ; | |
4252 | PyObject * obj0 = 0 ; | |
4253 | PyObject * obj1 = 0 ; | |
4254 | char * kwnames[] = { | |
4255 | (char *) "self",(char *) "tag", NULL | |
4256 | }; | |
4257 | ||
4258 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_GetInnerSource",kwnames,&obj0,&obj1)) SWIG_fail; | |
4259 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4260 | if (!SWIG_IsOK(res1)) { | |
4261 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4262 | } | |
4263 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4264 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
4265 | if (!SWIG_IsOK(res2)) { | |
4266 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
4267 | } | |
4268 | if (!argp2) { | |
4269 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
4270 | } | |
4271 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
4272 | { | |
4273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4274 | result = (arg1)->GetInnerSource((wxHtmlTag const &)*arg2); | |
4275 | wxPyEndAllowThreads(__tstate); | |
4276 | if (PyErr_Occurred()) SWIG_fail; | |
4277 | } | |
4278 | { | |
4279 | #if wxUSE_UNICODE | |
4280 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4281 | #else | |
4282 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4283 | #endif | |
4284 | } | |
4285 | return resultobj; | |
4286 | fail: | |
4287 | return NULL; | |
4288 | } | |
4289 | ||
4290 | ||
0085ce49 RD |
4291 | SWIGINTERN PyObject *HtmlParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4292 | PyObject *obj; | |
4293 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
4294 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser, SWIG_NewClientData(obj)); | |
4295 | return SWIG_Py_Void(); | |
d14a1e28 RD |
4296 | } |
4297 | ||
0085ce49 RD |
4298 | SWIGINTERN PyObject *_wrap_new_HtmlWinParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
4299 | PyObject *resultobj = 0; | |
4300 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ; | |
4301 | wxHtmlWinParser *result = 0 ; | |
4302 | void *argp1 = 0 ; | |
4303 | int res1 = 0 ; | |
4304 | PyObject * obj0 = 0 ; | |
4305 | char * kwnames[] = { | |
4306 | (char *) "wnd", NULL | |
4307 | }; | |
4308 | ||
4309 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) SWIG_fail; | |
4310 | if (obj0) { | |
4311 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
4312 | if (!SWIG_IsOK(res1)) { | |
4313 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
d14a1e28 | 4314 | } |
0085ce49 RD |
4315 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); |
4316 | } | |
4317 | { | |
4318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4319 | result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1); | |
4320 | wxPyEndAllowThreads(__tstate); | |
4321 | if (PyErr_Occurred()) SWIG_fail; | |
4322 | } | |
4323 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_NEW | 0 ); | |
4324 | return resultobj; | |
4325 | fail: | |
4326 | return NULL; | |
4327 | } | |
4328 | ||
4329 | ||
4330 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4331 | PyObject *resultobj = 0; | |
4332 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4333 | wxDC *arg2 = (wxDC *) 0 ; | |
4334 | void *argp1 = 0 ; | |
4335 | int res1 = 0 ; | |
4336 | void *argp2 = 0 ; | |
4337 | int res2 = 0 ; | |
4338 | PyObject * obj0 = 0 ; | |
4339 | PyObject * obj1 = 0 ; | |
4340 | char * kwnames[] = { | |
4341 | (char *) "self",(char *) "dc", NULL | |
4342 | }; | |
4343 | ||
4344 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) SWIG_fail; | |
4345 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4346 | if (!SWIG_IsOK(res1)) { | |
4347 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4348 | } | |
4349 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4350 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); | |
4351 | if (!SWIG_IsOK(res2)) { | |
4352 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); | |
4353 | } | |
4354 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
4355 | { | |
4356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4357 | (arg1)->SetDC(arg2); | |
4358 | wxPyEndAllowThreads(__tstate); | |
4359 | if (PyErr_Occurred()) SWIG_fail; | |
4360 | } | |
4361 | resultobj = SWIG_Py_Void(); | |
4362 | return resultobj; | |
4363 | fail: | |
4364 | return NULL; | |
d14a1e28 RD |
4365 | } |
4366 | ||
4367 | ||
0085ce49 RD |
4368 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4369 | PyObject *resultobj = 0; | |
4370 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4371 | wxDC *result = 0 ; | |
4372 | void *argp1 = 0 ; | |
4373 | int res1 = 0 ; | |
4374 | PyObject *swig_obj[1] ; | |
4375 | ||
4376 | if (!args) SWIG_fail; | |
4377 | swig_obj[0] = args; | |
4378 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4379 | if (!SWIG_IsOK(res1)) { | |
4380 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4381 | } | |
4382 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4383 | { | |
4384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4385 | result = (wxDC *)(arg1)->GetDC(); | |
4386 | wxPyEndAllowThreads(__tstate); | |
4387 | if (PyErr_Occurred()) SWIG_fail; | |
4388 | } | |
4389 | { | |
4390 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
4391 | } | |
4392 | return resultobj; | |
4393 | fail: | |
4394 | return NULL; | |
d14a1e28 RD |
4395 | } |
4396 | ||
4397 | ||
0085ce49 RD |
4398 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4399 | PyObject *resultobj = 0; | |
4400 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4401 | int result; | |
4402 | void *argp1 = 0 ; | |
4403 | int res1 = 0 ; | |
4404 | PyObject *swig_obj[1] ; | |
4405 | ||
4406 | if (!args) SWIG_fail; | |
4407 | swig_obj[0] = args; | |
4408 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4409 | if (!SWIG_IsOK(res1)) { | |
4410 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4411 | } | |
4412 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4413 | { | |
4414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4415 | result = (int)(arg1)->GetCharHeight(); | |
4416 | wxPyEndAllowThreads(__tstate); | |
4417 | if (PyErr_Occurred()) SWIG_fail; | |
4418 | } | |
4419 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4420 | return resultobj; | |
4421 | fail: | |
4422 | return NULL; | |
d14a1e28 RD |
4423 | } |
4424 | ||
4425 | ||
0085ce49 RD |
4426 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4427 | PyObject *resultobj = 0; | |
4428 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4429 | int result; | |
4430 | void *argp1 = 0 ; | |
4431 | int res1 = 0 ; | |
4432 | PyObject *swig_obj[1] ; | |
4433 | ||
4434 | if (!args) SWIG_fail; | |
4435 | swig_obj[0] = args; | |
4436 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4437 | if (!SWIG_IsOK(res1)) { | |
4438 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4439 | } | |
4440 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4441 | { | |
4442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4443 | result = (int)(arg1)->GetCharWidth(); | |
4444 | wxPyEndAllowThreads(__tstate); | |
4445 | if (PyErr_Occurred()) SWIG_fail; | |
4446 | } | |
4447 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4448 | return resultobj; | |
4449 | fail: | |
4450 | return NULL; | |
d14a1e28 RD |
4451 | } |
4452 | ||
4453 | ||
0085ce49 RD |
4454 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4455 | PyObject *resultobj = 0; | |
4456 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4457 | wxPyHtmlWindow *result = 0 ; | |
4458 | void *argp1 = 0 ; | |
4459 | int res1 = 0 ; | |
4460 | PyObject *swig_obj[1] ; | |
4461 | ||
4462 | if (!args) SWIG_fail; | |
4463 | swig_obj[0] = args; | |
4464 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4465 | if (!SWIG_IsOK(res1)) { | |
4466 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4467 | } | |
4468 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4469 | { | |
4470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4471 | result = (wxPyHtmlWindow *)(arg1)->GetWindow(); | |
4472 | wxPyEndAllowThreads(__tstate); | |
4473 | if (PyErr_Occurred()) SWIG_fail; | |
4474 | } | |
4475 | { | |
4476 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
4477 | } | |
4478 | return resultobj; | |
4479 | fail: | |
4480 | return NULL; | |
4481 | } | |
4482 | ||
4483 | ||
e9d6f3a4 RD |
4484 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4485 | PyObject *resultobj = 0; | |
4486 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4487 | wxHtmlWindowInterface *result = 0 ; | |
4488 | void *argp1 = 0 ; | |
4489 | int res1 = 0 ; | |
4490 | PyObject *swig_obj[1] ; | |
4491 | ||
4492 | if (!args) SWIG_fail; | |
4493 | swig_obj[0] = args; | |
4494 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4495 | if (!SWIG_IsOK(res1)) { | |
4496 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4497 | } | |
4498 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4499 | { | |
4500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4501 | result = (wxHtmlWindowInterface *)(arg1)->GetWindowInterface(); | |
4502 | wxPyEndAllowThreads(__tstate); | |
4503 | if (PyErr_Occurred()) SWIG_fail; | |
4504 | } | |
4505 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
4506 | return resultobj; | |
4507 | fail: | |
4508 | return NULL; | |
4509 | } | |
4510 | ||
4511 | ||
0085ce49 RD |
4512 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
4513 | PyObject *resultobj = 0; | |
4514 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4515 | wxString arg2 ; | |
4516 | wxString arg3 ; | |
4517 | PyObject *arg4 = (PyObject *) NULL ; | |
4518 | void *argp1 = 0 ; | |
4519 | int res1 = 0 ; | |
4520 | PyObject * obj0 = 0 ; | |
4521 | PyObject * obj1 = 0 ; | |
4522 | PyObject * obj2 = 0 ; | |
4523 | PyObject * obj3 = 0 ; | |
4524 | char * kwnames[] = { | |
4525 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
4526 | }; | |
4527 | ||
4528 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
4529 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4530 | if (!SWIG_IsOK(res1)) { | |
4531 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4532 | } | |
4533 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4534 | { | |
4535 | wxString* sptr = wxString_in_helper(obj1); | |
4536 | if (sptr == NULL) SWIG_fail; | |
4537 | arg2 = *sptr; | |
4538 | delete sptr; | |
4539 | } | |
4540 | { | |
4541 | wxString* sptr = wxString_in_helper(obj2); | |
4542 | if (sptr == NULL) SWIG_fail; | |
4543 | arg3 = *sptr; | |
4544 | delete sptr; | |
4545 | } | |
4546 | if (obj3) { | |
4547 | arg4 = obj3; | |
4548 | } | |
4549 | { | |
4550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4551 | wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4); | |
4552 | wxPyEndAllowThreads(__tstate); | |
4553 | if (PyErr_Occurred()) SWIG_fail; | |
4554 | } | |
4555 | resultobj = SWIG_Py_Void(); | |
4556 | return resultobj; | |
4557 | fail: | |
4558 | return NULL; | |
4559 | } | |
4560 | ||
4561 | ||
4562 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4563 | PyObject *resultobj = 0; | |
4564 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4565 | int arg2 = (int) -1 ; | |
4566 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4567 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
4568 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4569 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
4570 | void *argp1 = 0 ; | |
4571 | int res1 = 0 ; | |
4572 | int val2 ; | |
4573 | int ecode2 = 0 ; | |
4574 | bool temp3 = false ; | |
4575 | bool temp4 = false ; | |
4576 | PyObject * obj0 = 0 ; | |
4577 | PyObject * obj1 = 0 ; | |
4578 | PyObject * obj2 = 0 ; | |
4579 | PyObject * obj3 = 0 ; | |
4580 | char * kwnames[] = { | |
4581 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
4582 | }; | |
4583 | ||
4584 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
4585 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4586 | if (!SWIG_IsOK(res1)) { | |
4587 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4588 | } | |
4589 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4590 | if (obj1) { | |
4591 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4592 | if (!SWIG_IsOK(ecode2)) { | |
4593 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
4594 | } | |
4595 | arg2 = static_cast< int >(val2); | |
4596 | } | |
4597 | if (obj2) { | |
d14a1e28 | 4598 | { |
0085ce49 RD |
4599 | arg3 = wxString_in_helper(obj2); |
4600 | if (arg3 == NULL) SWIG_fail; | |
4601 | temp3 = true; | |
d14a1e28 | 4602 | } |
0085ce49 RD |
4603 | } |
4604 | if (obj3) { | |
d14a1e28 | 4605 | { |
0085ce49 RD |
4606 | arg4 = wxString_in_helper(obj3); |
4607 | if (arg4 == NULL) SWIG_fail; | |
4608 | temp4 = true; | |
d14a1e28 | 4609 | } |
0085ce49 RD |
4610 | } |
4611 | { | |
4612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4613 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
4614 | wxPyEndAllowThreads(__tstate); | |
4615 | if (PyErr_Occurred()) SWIG_fail; | |
4616 | } | |
4617 | resultobj = SWIG_Py_Void(); | |
4618 | { | |
4619 | if (temp3) | |
4620 | delete arg3; | |
4621 | } | |
4622 | { | |
4623 | if (temp4) | |
4624 | delete arg4; | |
4625 | } | |
4626 | return resultobj; | |
4627 | fail: | |
4628 | { | |
4629 | if (temp3) | |
4630 | delete arg3; | |
4631 | } | |
4632 | { | |
4633 | if (temp4) | |
4634 | delete arg4; | |
4635 | } | |
4636 | return NULL; | |
d14a1e28 RD |
4637 | } |
4638 | ||
4639 | ||
0085ce49 RD |
4640 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4641 | PyObject *resultobj = 0; | |
4642 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4643 | wxHtmlContainerCell *result = 0 ; | |
4644 | void *argp1 = 0 ; | |
4645 | int res1 = 0 ; | |
4646 | PyObject *swig_obj[1] ; | |
4647 | ||
4648 | if (!args) SWIG_fail; | |
4649 | swig_obj[0] = args; | |
4650 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4651 | if (!SWIG_IsOK(res1)) { | |
4652 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4653 | } | |
4654 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4655 | { | |
4656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4657 | result = (wxHtmlContainerCell *)(arg1)->GetContainer(); | |
4658 | wxPyEndAllowThreads(__tstate); | |
4659 | if (PyErr_Occurred()) SWIG_fail; | |
4660 | } | |
4661 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4662 | return resultobj; | |
4663 | fail: | |
4664 | return NULL; | |
d14a1e28 RD |
4665 | } |
4666 | ||
4667 | ||
0085ce49 RD |
4668 | SWIGINTERN PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4669 | PyObject *resultobj = 0; | |
4670 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4671 | wxHtmlContainerCell *result = 0 ; | |
4672 | void *argp1 = 0 ; | |
4673 | int res1 = 0 ; | |
4674 | PyObject *swig_obj[1] ; | |
4675 | ||
4676 | if (!args) SWIG_fail; | |
4677 | swig_obj[0] = args; | |
4678 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4679 | if (!SWIG_IsOK(res1)) { | |
4680 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4681 | } | |
4682 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4683 | { | |
4684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4685 | result = (wxHtmlContainerCell *)(arg1)->OpenContainer(); | |
4686 | wxPyEndAllowThreads(__tstate); | |
4687 | if (PyErr_Occurred()) SWIG_fail; | |
4688 | } | |
4689 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4690 | return resultobj; | |
4691 | fail: | |
4692 | return NULL; | |
4693 | } | |
4694 | ||
4695 | ||
4696 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4697 | PyObject *resultobj = 0; | |
4698 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4699 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
4700 | wxHtmlContainerCell *result = 0 ; | |
4701 | void *argp1 = 0 ; | |
4702 | int res1 = 0 ; | |
4703 | void *argp2 = 0 ; | |
4704 | int res2 = 0 ; | |
4705 | PyObject * obj0 = 0 ; | |
4706 | PyObject * obj1 = 0 ; | |
4707 | char * kwnames[] = { | |
4708 | (char *) "self",(char *) "c", NULL | |
4709 | }; | |
4710 | ||
4711 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) SWIG_fail; | |
4712 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4713 | if (!SWIG_IsOK(res1)) { | |
4714 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4715 | } | |
4716 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4717 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4718 | if (!SWIG_IsOK(res2)) { | |
4719 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'"); | |
4720 | } | |
4721 | arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2); | |
4722 | { | |
4723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4724 | result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2); | |
4725 | wxPyEndAllowThreads(__tstate); | |
4726 | if (PyErr_Occurred()) SWIG_fail; | |
4727 | } | |
4728 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4729 | return resultobj; | |
4730 | fail: | |
4731 | return NULL; | |
d14a1e28 RD |
4732 | } |
4733 | ||
4734 | ||
0085ce49 RD |
4735 | SWIGINTERN PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4736 | PyObject *resultobj = 0; | |
4737 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4738 | wxHtmlContainerCell *result = 0 ; | |
4739 | void *argp1 = 0 ; | |
4740 | int res1 = 0 ; | |
4741 | PyObject *swig_obj[1] ; | |
4742 | ||
4743 | if (!args) SWIG_fail; | |
4744 | swig_obj[0] = args; | |
4745 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4746 | if (!SWIG_IsOK(res1)) { | |
4747 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4748 | } | |
4749 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4750 | { | |
4751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4752 | result = (wxHtmlContainerCell *)(arg1)->CloseContainer(); | |
4753 | wxPyEndAllowThreads(__tstate); | |
4754 | if (PyErr_Occurred()) SWIG_fail; | |
4755 | } | |
4756 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4757 | return resultobj; | |
4758 | fail: | |
4759 | return NULL; | |
d14a1e28 RD |
4760 | } |
4761 | ||
4762 | ||
0085ce49 RD |
4763 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4764 | PyObject *resultobj = 0; | |
4765 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4766 | int result; | |
4767 | void *argp1 = 0 ; | |
4768 | int res1 = 0 ; | |
4769 | PyObject *swig_obj[1] ; | |
4770 | ||
4771 | if (!args) SWIG_fail; | |
4772 | swig_obj[0] = args; | |
4773 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4774 | if (!SWIG_IsOK(res1)) { | |
4775 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4776 | } | |
4777 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4778 | { | |
4779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4780 | result = (int)(arg1)->GetFontSize(); | |
4781 | wxPyEndAllowThreads(__tstate); | |
4782 | if (PyErr_Occurred()) SWIG_fail; | |
4783 | } | |
4784 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4785 | return resultobj; | |
4786 | fail: | |
4787 | return NULL; | |
4788 | } | |
4789 | ||
4790 | ||
4791 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4792 | PyObject *resultobj = 0; | |
4793 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4794 | int arg2 ; | |
4795 | void *argp1 = 0 ; | |
4796 | int res1 = 0 ; | |
4797 | int val2 ; | |
4798 | int ecode2 = 0 ; | |
4799 | PyObject * obj0 = 0 ; | |
4800 | PyObject * obj1 = 0 ; | |
4801 | char * kwnames[] = { | |
4802 | (char *) "self",(char *) "s", NULL | |
4803 | }; | |
4804 | ||
4805 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
4806 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4807 | if (!SWIG_IsOK(res1)) { | |
4808 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4809 | } | |
4810 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4811 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4812 | if (!SWIG_IsOK(ecode2)) { | |
4813 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'"); | |
4814 | } | |
4815 | arg2 = static_cast< int >(val2); | |
4816 | { | |
4817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4818 | (arg1)->SetFontSize(arg2); | |
4819 | wxPyEndAllowThreads(__tstate); | |
4820 | if (PyErr_Occurred()) SWIG_fail; | |
4821 | } | |
4822 | resultobj = SWIG_Py_Void(); | |
4823 | return resultobj; | |
4824 | fail: | |
4825 | return NULL; | |
d14a1e28 RD |
4826 | } |
4827 | ||
4828 | ||
0085ce49 RD |
4829 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4830 | PyObject *resultobj = 0; | |
4831 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4832 | int result; | |
4833 | void *argp1 = 0 ; | |
4834 | int res1 = 0 ; | |
4835 | PyObject *swig_obj[1] ; | |
4836 | ||
4837 | if (!args) SWIG_fail; | |
4838 | swig_obj[0] = args; | |
4839 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4840 | if (!SWIG_IsOK(res1)) { | |
4841 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4842 | } | |
4843 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4844 | { | |
4845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4846 | result = (int)(arg1)->GetFontBold(); | |
4847 | wxPyEndAllowThreads(__tstate); | |
4848 | if (PyErr_Occurred()) SWIG_fail; | |
4849 | } | |
4850 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4851 | return resultobj; | |
4852 | fail: | |
4853 | return NULL; | |
4854 | } | |
4855 | ||
4856 | ||
4857 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4858 | PyObject *resultobj = 0; | |
4859 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4860 | int arg2 ; | |
4861 | void *argp1 = 0 ; | |
4862 | int res1 = 0 ; | |
4863 | int val2 ; | |
4864 | int ecode2 = 0 ; | |
4865 | PyObject * obj0 = 0 ; | |
4866 | PyObject * obj1 = 0 ; | |
4867 | char * kwnames[] = { | |
4868 | (char *) "self",(char *) "x", NULL | |
4869 | }; | |
4870 | ||
4871 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) SWIG_fail; | |
4872 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4873 | if (!SWIG_IsOK(res1)) { | |
4874 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4875 | } | |
4876 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4877 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4878 | if (!SWIG_IsOK(ecode2)) { | |
4879 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'"); | |
4880 | } | |
4881 | arg2 = static_cast< int >(val2); | |
4882 | { | |
4883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4884 | (arg1)->SetFontBold(arg2); | |
4885 | wxPyEndAllowThreads(__tstate); | |
4886 | if (PyErr_Occurred()) SWIG_fail; | |
4887 | } | |
4888 | resultobj = SWIG_Py_Void(); | |
4889 | return resultobj; | |
4890 | fail: | |
4891 | return NULL; | |
d14a1e28 RD |
4892 | } |
4893 | ||
4894 | ||
0085ce49 RD |
4895 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4896 | PyObject *resultobj = 0; | |
4897 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4898 | int result; | |
4899 | void *argp1 = 0 ; | |
4900 | int res1 = 0 ; | |
4901 | PyObject *swig_obj[1] ; | |
4902 | ||
4903 | if (!args) SWIG_fail; | |
4904 | swig_obj[0] = args; | |
4905 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4906 | if (!SWIG_IsOK(res1)) { | |
4907 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4908 | } | |
4909 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4910 | { | |
4911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4912 | result = (int)(arg1)->GetFontItalic(); | |
4913 | wxPyEndAllowThreads(__tstate); | |
4914 | if (PyErr_Occurred()) SWIG_fail; | |
4915 | } | |
4916 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4917 | return resultobj; | |
4918 | fail: | |
4919 | return NULL; | |
4920 | } | |
4921 | ||
4922 | ||
4923 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4924 | PyObject *resultobj = 0; | |
4925 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4926 | int arg2 ; | |
4927 | void *argp1 = 0 ; | |
4928 | int res1 = 0 ; | |
4929 | int val2 ; | |
4930 | int ecode2 = 0 ; | |
4931 | PyObject * obj0 = 0 ; | |
4932 | PyObject * obj1 = 0 ; | |
4933 | char * kwnames[] = { | |
4934 | (char *) "self",(char *) "x", NULL | |
4935 | }; | |
4936 | ||
4937 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) SWIG_fail; | |
4938 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4939 | if (!SWIG_IsOK(res1)) { | |
4940 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4941 | } | |
4942 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4943 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4944 | if (!SWIG_IsOK(ecode2)) { | |
4945 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'"); | |
4946 | } | |
4947 | arg2 = static_cast< int >(val2); | |
4948 | { | |
4949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4950 | (arg1)->SetFontItalic(arg2); | |
4951 | wxPyEndAllowThreads(__tstate); | |
4952 | if (PyErr_Occurred()) SWIG_fail; | |
4953 | } | |
4954 | resultobj = SWIG_Py_Void(); | |
4955 | return resultobj; | |
4956 | fail: | |
4957 | return NULL; | |
d14a1e28 RD |
4958 | } |
4959 | ||
4960 | ||
0085ce49 RD |
4961 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4962 | PyObject *resultobj = 0; | |
4963 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4964 | int result; | |
4965 | void *argp1 = 0 ; | |
4966 | int res1 = 0 ; | |
4967 | PyObject *swig_obj[1] ; | |
4968 | ||
4969 | if (!args) SWIG_fail; | |
4970 | swig_obj[0] = args; | |
4971 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4972 | if (!SWIG_IsOK(res1)) { | |
4973 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4974 | } | |
4975 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4976 | { | |
4977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4978 | result = (int)(arg1)->GetFontUnderlined(); | |
4979 | wxPyEndAllowThreads(__tstate); | |
4980 | if (PyErr_Occurred()) SWIG_fail; | |
4981 | } | |
4982 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4983 | return resultobj; | |
4984 | fail: | |
4985 | return NULL; | |
4986 | } | |
4987 | ||
4988 | ||
4989 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4990 | PyObject *resultobj = 0; | |
4991 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4992 | int arg2 ; | |
4993 | void *argp1 = 0 ; | |
4994 | int res1 = 0 ; | |
4995 | int val2 ; | |
4996 | int ecode2 = 0 ; | |
4997 | PyObject * obj0 = 0 ; | |
4998 | PyObject * obj1 = 0 ; | |
4999 | char * kwnames[] = { | |
5000 | (char *) "self",(char *) "x", NULL | |
5001 | }; | |
5002 | ||
5003 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail; | |
5004 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5005 | if (!SWIG_IsOK(res1)) { | |
5006 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5007 | } | |
5008 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5009 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5010 | if (!SWIG_IsOK(ecode2)) { | |
5011 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'"); | |
5012 | } | |
5013 | arg2 = static_cast< int >(val2); | |
5014 | { | |
5015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5016 | (arg1)->SetFontUnderlined(arg2); | |
5017 | wxPyEndAllowThreads(__tstate); | |
5018 | if (PyErr_Occurred()) SWIG_fail; | |
5019 | } | |
5020 | resultobj = SWIG_Py_Void(); | |
5021 | return resultobj; | |
5022 | fail: | |
5023 | return NULL; | |
d14a1e28 RD |
5024 | } |
5025 | ||
5026 | ||
0085ce49 RD |
5027 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5028 | PyObject *resultobj = 0; | |
5029 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5030 | int result; | |
5031 | void *argp1 = 0 ; | |
5032 | int res1 = 0 ; | |
5033 | PyObject *swig_obj[1] ; | |
5034 | ||
5035 | if (!args) SWIG_fail; | |
5036 | swig_obj[0] = args; | |
5037 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5038 | if (!SWIG_IsOK(res1)) { | |
5039 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5040 | } | |
5041 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5042 | { | |
5043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5044 | result = (int)(arg1)->GetFontFixed(); | |
5045 | wxPyEndAllowThreads(__tstate); | |
5046 | if (PyErr_Occurred()) SWIG_fail; | |
5047 | } | |
5048 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5049 | return resultobj; | |
5050 | fail: | |
5051 | return NULL; | |
5052 | } | |
5053 | ||
5054 | ||
5055 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5056 | PyObject *resultobj = 0; | |
5057 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5058 | int arg2 ; | |
5059 | void *argp1 = 0 ; | |
5060 | int res1 = 0 ; | |
5061 | int val2 ; | |
5062 | int ecode2 = 0 ; | |
5063 | PyObject * obj0 = 0 ; | |
5064 | PyObject * obj1 = 0 ; | |
5065 | char * kwnames[] = { | |
5066 | (char *) "self",(char *) "x", NULL | |
5067 | }; | |
5068 | ||
5069 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) SWIG_fail; | |
5070 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5071 | if (!SWIG_IsOK(res1)) { | |
5072 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5073 | } | |
5074 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5075 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5076 | if (!SWIG_IsOK(ecode2)) { | |
5077 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'"); | |
5078 | } | |
5079 | arg2 = static_cast< int >(val2); | |
5080 | { | |
5081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5082 | (arg1)->SetFontFixed(arg2); | |
5083 | wxPyEndAllowThreads(__tstate); | |
5084 | if (PyErr_Occurred()) SWIG_fail; | |
5085 | } | |
5086 | resultobj = SWIG_Py_Void(); | |
5087 | return resultobj; | |
5088 | fail: | |
5089 | return NULL; | |
30ee79f7 RD |
5090 | } |
5091 | ||
5092 | ||
0085ce49 RD |
5093 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5094 | PyObject *resultobj = 0; | |
5095 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5096 | int result; | |
5097 | void *argp1 = 0 ; | |
5098 | int res1 = 0 ; | |
5099 | PyObject *swig_obj[1] ; | |
5100 | ||
5101 | if (!args) SWIG_fail; | |
5102 | swig_obj[0] = args; | |
5103 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5104 | if (!SWIG_IsOK(res1)) { | |
5105 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5106 | } | |
5107 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5108 | { | |
5109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5110 | result = (int)(arg1)->GetAlign(); | |
5111 | wxPyEndAllowThreads(__tstate); | |
5112 | if (PyErr_Occurred()) SWIG_fail; | |
5113 | } | |
5114 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5115 | return resultobj; | |
5116 | fail: | |
5117 | return NULL; | |
5118 | } | |
5119 | ||
5120 | ||
5121 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5122 | PyObject *resultobj = 0; | |
5123 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5124 | int arg2 ; | |
5125 | void *argp1 = 0 ; | |
5126 | int res1 = 0 ; | |
5127 | int val2 ; | |
5128 | int ecode2 = 0 ; | |
5129 | PyObject * obj0 = 0 ; | |
5130 | PyObject * obj1 = 0 ; | |
5131 | char * kwnames[] = { | |
5132 | (char *) "self",(char *) "a", NULL | |
5133 | }; | |
5134 | ||
5135 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail; | |
5136 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5137 | if (!SWIG_IsOK(res1)) { | |
5138 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5139 | } | |
5140 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5141 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5142 | if (!SWIG_IsOK(ecode2)) { | |
5143 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'"); | |
5144 | } | |
5145 | arg2 = static_cast< int >(val2); | |
5146 | { | |
5147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5148 | (arg1)->SetAlign(arg2); | |
5149 | wxPyEndAllowThreads(__tstate); | |
5150 | if (PyErr_Occurred()) SWIG_fail; | |
5151 | } | |
5152 | resultobj = SWIG_Py_Void(); | |
5153 | return resultobj; | |
5154 | fail: | |
5155 | return NULL; | |
d14a1e28 RD |
5156 | } |
5157 | ||
5158 | ||
0085ce49 RD |
5159 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5160 | PyObject *resultobj = 0; | |
5161 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5162 | wxColour result; | |
5163 | void *argp1 = 0 ; | |
5164 | int res1 = 0 ; | |
5165 | PyObject *swig_obj[1] ; | |
5166 | ||
5167 | if (!args) SWIG_fail; | |
5168 | swig_obj[0] = args; | |
5169 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5170 | if (!SWIG_IsOK(res1)) { | |
5171 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5172 | } | |
5173 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5174 | { | |
5175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5176 | result = (arg1)->GetLinkColor(); | |
5177 | wxPyEndAllowThreads(__tstate); | |
5178 | if (PyErr_Occurred()) SWIG_fail; | |
5179 | } | |
5180 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
5181 | return resultobj; | |
5182 | fail: | |
5183 | return NULL; | |
5184 | } | |
5185 | ||
5186 | ||
5187 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5188 | PyObject *resultobj = 0; | |
5189 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5190 | wxColour *arg2 = 0 ; | |
5191 | void *argp1 = 0 ; | |
5192 | int res1 = 0 ; | |
5193 | wxColour temp2 ; | |
5194 | PyObject * obj0 = 0 ; | |
5195 | PyObject * obj1 = 0 ; | |
5196 | char * kwnames[] = { | |
5197 | (char *) "self",(char *) "clr", NULL | |
5198 | }; | |
5199 | ||
5200 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) SWIG_fail; | |
5201 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5202 | if (!SWIG_IsOK(res1)) { | |
5203 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5204 | } | |
5205 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5206 | { | |
5207 | arg2 = &temp2; | |
5208 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5209 | } | |
5210 | { | |
5211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5212 | (arg1)->SetLinkColor((wxColour const &)*arg2); | |
5213 | wxPyEndAllowThreads(__tstate); | |
5214 | if (PyErr_Occurred()) SWIG_fail; | |
5215 | } | |
5216 | resultobj = SWIG_Py_Void(); | |
5217 | return resultobj; | |
5218 | fail: | |
5219 | return NULL; | |
d14a1e28 RD |
5220 | } |
5221 | ||
5222 | ||
0085ce49 RD |
5223 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5224 | PyObject *resultobj = 0; | |
5225 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5226 | wxColour result; | |
5227 | void *argp1 = 0 ; | |
5228 | int res1 = 0 ; | |
5229 | PyObject *swig_obj[1] ; | |
5230 | ||
5231 | if (!args) SWIG_fail; | |
5232 | swig_obj[0] = args; | |
5233 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5234 | if (!SWIG_IsOK(res1)) { | |
5235 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5236 | } | |
5237 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5238 | { | |
5239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5240 | result = (arg1)->GetActualColor(); | |
5241 | wxPyEndAllowThreads(__tstate); | |
5242 | if (PyErr_Occurred()) SWIG_fail; | |
5243 | } | |
5244 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
5245 | return resultobj; | |
5246 | fail: | |
5247 | return NULL; | |
5248 | } | |
5249 | ||
5250 | ||
5251 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5252 | PyObject *resultobj = 0; | |
5253 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5254 | wxColour *arg2 = 0 ; | |
5255 | void *argp1 = 0 ; | |
5256 | int res1 = 0 ; | |
5257 | wxColour temp2 ; | |
5258 | PyObject * obj0 = 0 ; | |
5259 | PyObject * obj1 = 0 ; | |
5260 | char * kwnames[] = { | |
5261 | (char *) "self",(char *) "clr", NULL | |
5262 | }; | |
5263 | ||
5264 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) SWIG_fail; | |
5265 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5266 | if (!SWIG_IsOK(res1)) { | |
5267 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5268 | } | |
5269 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5270 | { | |
5271 | arg2 = &temp2; | |
5272 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5273 | } | |
5274 | { | |
5275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5276 | (arg1)->SetActualColor((wxColour const &)*arg2); | |
5277 | wxPyEndAllowThreads(__tstate); | |
5278 | if (PyErr_Occurred()) SWIG_fail; | |
5279 | } | |
5280 | resultobj = SWIG_Py_Void(); | |
5281 | return resultobj; | |
5282 | fail: | |
5283 | return NULL; | |
5284 | } | |
5285 | ||
5286 | ||
5287 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5288 | PyObject *resultobj = 0; | |
5289 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5290 | wxString *arg2 = 0 ; | |
5291 | void *argp1 = 0 ; | |
5292 | int res1 = 0 ; | |
5293 | bool temp2 = false ; | |
5294 | PyObject * obj0 = 0 ; | |
5295 | PyObject * obj1 = 0 ; | |
5296 | char * kwnames[] = { | |
5297 | (char *) "self",(char *) "link", NULL | |
5298 | }; | |
5299 | ||
5300 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) SWIG_fail; | |
5301 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5302 | if (!SWIG_IsOK(res1)) { | |
5303 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5304 | } | |
5305 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5306 | { | |
5307 | arg2 = wxString_in_helper(obj1); | |
5308 | if (arg2 == NULL) SWIG_fail; | |
5309 | temp2 = true; | |
5310 | } | |
5311 | { | |
5312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5313 | (arg1)->SetLink((wxString const &)*arg2); | |
5314 | wxPyEndAllowThreads(__tstate); | |
5315 | if (PyErr_Occurred()) SWIG_fail; | |
5316 | } | |
5317 | resultobj = SWIG_Py_Void(); | |
5318 | { | |
5319 | if (temp2) | |
5320 | delete arg2; | |
5321 | } | |
5322 | return resultobj; | |
5323 | fail: | |
5324 | { | |
5325 | if (temp2) | |
5326 | delete arg2; | |
5327 | } | |
5328 | return NULL; | |
d14a1e28 RD |
5329 | } |
5330 | ||
5331 | ||
0085ce49 RD |
5332 | SWIGINTERN PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5333 | PyObject *resultobj = 0; | |
5334 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5335 | wxFont *result = 0 ; | |
5336 | void *argp1 = 0 ; | |
5337 | int res1 = 0 ; | |
5338 | PyObject *swig_obj[1] ; | |
5339 | ||
5340 | if (!args) SWIG_fail; | |
5341 | swig_obj[0] = args; | |
5342 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5343 | if (!SWIG_IsOK(res1)) { | |
5344 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5345 | } | |
5346 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5347 | { | |
5348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5349 | result = (wxFont *)(arg1)->CreateCurrentFont(); | |
5350 | wxPyEndAllowThreads(__tstate); | |
5351 | if (PyErr_Occurred()) SWIG_fail; | |
5352 | } | |
5353 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 ); | |
5354 | return resultobj; | |
5355 | fail: | |
5356 | return NULL; | |
d14a1e28 RD |
5357 | } |
5358 | ||
5359 | ||
0085ce49 RD |
5360 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5361 | PyObject *resultobj = 0; | |
5362 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5363 | SwigValueWrapper<wxHtmlLinkInfo > result; | |
5364 | void *argp1 = 0 ; | |
5365 | int res1 = 0 ; | |
5366 | PyObject *swig_obj[1] ; | |
5367 | ||
5368 | if (!args) SWIG_fail; | |
5369 | swig_obj[0] = args; | |
5370 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5371 | if (!SWIG_IsOK(res1)) { | |
5372 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5373 | } | |
5374 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5375 | { | |
5376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5377 | result = (arg1)->GetLink(); | |
5378 | wxPyEndAllowThreads(__tstate); | |
5379 | if (PyErr_Occurred()) SWIG_fail; | |
5380 | } | |
5381 | resultobj = SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo& >(result))), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_OWN | 0 ); | |
5382 | return resultobj; | |
5383 | fail: | |
5384 | return NULL; | |
d14a1e28 RD |
5385 | } |
5386 | ||
5387 | ||
0085ce49 RD |
5388 | SWIGINTERN PyObject *HtmlWinParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5389 | PyObject *obj; | |
5390 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5391 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser, SWIG_NewClientData(obj)); | |
5392 | return SWIG_Py_Void(); | |
d14a1e28 RD |
5393 | } |
5394 | ||
0085ce49 RD |
5395 | SWIGINTERN PyObject *HtmlWinParser_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5396 | return SWIG_Python_InitShadowInstance(args); | |
d14a1e28 RD |
5397 | } |
5398 | ||
0085ce49 RD |
5399 | SWIGINTERN PyObject *_wrap_new_HtmlTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5400 | PyObject *resultobj = 0; | |
5401 | wxPyHtmlTagHandler *result = 0 ; | |
5402 | ||
5403 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlTagHandler",0,0,0)) SWIG_fail; | |
5404 | { | |
5405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5406 | result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler(); | |
5407 | wxPyEndAllowThreads(__tstate); | |
5408 | if (PyErr_Occurred()) SWIG_fail; | |
5409 | } | |
5410 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_NEW | 0 ); | |
5411 | return resultobj; | |
5412 | fail: | |
5413 | return NULL; | |
5414 | } | |
5415 | ||
5416 | ||
5417 | SWIGINTERN PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5418 | PyObject *resultobj = 0; | |
5419 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5420 | PyObject *arg2 = (PyObject *) 0 ; | |
5421 | PyObject *arg3 = (PyObject *) 0 ; | |
5422 | void *argp1 = 0 ; | |
5423 | int res1 = 0 ; | |
5424 | PyObject * obj0 = 0 ; | |
5425 | PyObject * obj1 = 0 ; | |
5426 | PyObject * obj2 = 0 ; | |
5427 | char * kwnames[] = { | |
5428 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5429 | }; | |
5430 | ||
5431 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5432 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5433 | if (!SWIG_IsOK(res1)) { | |
5434 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5435 | } | |
5436 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5437 | arg2 = obj1; | |
5438 | arg3 = obj2; | |
5439 | { | |
5440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5441 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5442 | wxPyEndAllowThreads(__tstate); | |
5443 | if (PyErr_Occurred()) SWIG_fail; | |
5444 | } | |
5445 | resultobj = SWIG_Py_Void(); | |
5446 | return resultobj; | |
5447 | fail: | |
5448 | return NULL; | |
5449 | } | |
5450 | ||
5451 | ||
5452 | SWIGINTERN PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5453 | PyObject *resultobj = 0; | |
5454 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5455 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
5456 | void *argp1 = 0 ; | |
5457 | int res1 = 0 ; | |
5458 | void *argp2 = 0 ; | |
5459 | int res2 = 0 ; | |
5460 | PyObject * obj0 = 0 ; | |
5461 | PyObject * obj1 = 0 ; | |
5462 | char * kwnames[] = { | |
5463 | (char *) "self",(char *) "parser", NULL | |
5464 | }; | |
5465 | ||
5466 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail; | |
5467 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5468 | if (!SWIG_IsOK(res1)) { | |
5469 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5470 | } | |
5471 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5472 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
5473 | if (!SWIG_IsOK(res2)) { | |
5474 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'"); | |
5475 | } | |
5476 | arg2 = reinterpret_cast< wxHtmlParser * >(argp2); | |
5477 | { | |
5478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5479 | (arg1)->SetParser(arg2); | |
5480 | wxPyEndAllowThreads(__tstate); | |
5481 | if (PyErr_Occurred()) SWIG_fail; | |
5482 | } | |
5483 | resultobj = SWIG_Py_Void(); | |
5484 | return resultobj; | |
5485 | fail: | |
5486 | return NULL; | |
d14a1e28 RD |
5487 | } |
5488 | ||
5489 | ||
0085ce49 RD |
5490 | SWIGINTERN PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5491 | PyObject *resultobj = 0; | |
5492 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5493 | wxHtmlParser *result = 0 ; | |
5494 | void *argp1 = 0 ; | |
5495 | int res1 = 0 ; | |
5496 | PyObject *swig_obj[1] ; | |
5497 | ||
5498 | if (!args) SWIG_fail; | |
5499 | swig_obj[0] = args; | |
5500 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5501 | if (!SWIG_IsOK(res1)) { | |
5502 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5503 | } | |
5504 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5505 | { | |
5506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5507 | result = (wxHtmlParser *)(arg1)->GetParser(); | |
5508 | wxPyEndAllowThreads(__tstate); | |
5509 | if (PyErr_Occurred()) SWIG_fail; | |
5510 | } | |
5511 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
5512 | return resultobj; | |
5513 | fail: | |
5514 | return NULL; | |
5515 | } | |
5516 | ||
5517 | ||
5518 | SWIGINTERN PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5519 | PyObject *resultobj = 0; | |
5520 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5521 | wxHtmlTag *arg2 = 0 ; | |
5522 | void *argp1 = 0 ; | |
5523 | int res1 = 0 ; | |
5524 | void *argp2 = 0 ; | |
5525 | int res2 = 0 ; | |
5526 | PyObject * obj0 = 0 ; | |
5527 | PyObject * obj1 = 0 ; | |
5528 | char * kwnames[] = { | |
5529 | (char *) "self",(char *) "tag", NULL | |
5530 | }; | |
5531 | ||
5532 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail; | |
5533 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5534 | if (!SWIG_IsOK(res1)) { | |
5535 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5536 | } | |
5537 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5538 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
5539 | if (!SWIG_IsOK(res2)) { | |
5540 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5541 | } | |
5542 | if (!argp2) { | |
5543 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5544 | } | |
5545 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
5546 | { | |
5547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5548 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
5549 | wxPyEndAllowThreads(__tstate); | |
5550 | if (PyErr_Occurred()) SWIG_fail; | |
5551 | } | |
5552 | resultobj = SWIG_Py_Void(); | |
5553 | return resultobj; | |
5554 | fail: | |
5555 | return NULL; | |
d14a1e28 RD |
5556 | } |
5557 | ||
5558 | ||
0085ce49 RD |
5559 | SWIGINTERN PyObject *HtmlTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5560 | PyObject *obj; | |
5561 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5562 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_NewClientData(obj)); | |
5563 | return SWIG_Py_Void(); | |
d14a1e28 RD |
5564 | } |
5565 | ||
0085ce49 RD |
5566 | SWIGINTERN PyObject *HtmlTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5567 | return SWIG_Python_InitShadowInstance(args); | |
5568 | } | |
d14a1e28 | 5569 | |
0085ce49 RD |
5570 | SWIGINTERN PyObject *_wrap_new_HtmlWinTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5571 | PyObject *resultobj = 0; | |
5572 | wxPyHtmlWinTagHandler *result = 0 ; | |
5573 | ||
5574 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail; | |
5575 | { | |
5576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5577 | result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler(); | |
5578 | wxPyEndAllowThreads(__tstate); | |
5579 | if (PyErr_Occurred()) SWIG_fail; | |
5580 | } | |
5581 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_NEW | 0 ); | |
5582 | return resultobj; | |
5583 | fail: | |
5584 | return NULL; | |
5585 | } | |
5586 | ||
5587 | ||
5588 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5589 | PyObject *resultobj = 0; | |
5590 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5591 | PyObject *arg2 = (PyObject *) 0 ; | |
5592 | PyObject *arg3 = (PyObject *) 0 ; | |
5593 | void *argp1 = 0 ; | |
5594 | int res1 = 0 ; | |
5595 | PyObject * obj0 = 0 ; | |
5596 | PyObject * obj1 = 0 ; | |
5597 | PyObject * obj2 = 0 ; | |
5598 | char * kwnames[] = { | |
5599 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5600 | }; | |
5601 | ||
5602 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5603 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5604 | if (!SWIG_IsOK(res1)) { | |
5605 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5606 | } | |
5607 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5608 | arg2 = obj1; | |
5609 | arg3 = obj2; | |
5610 | { | |
5611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5612 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5613 | wxPyEndAllowThreads(__tstate); | |
5614 | if (PyErr_Occurred()) SWIG_fail; | |
5615 | } | |
5616 | resultobj = SWIG_Py_Void(); | |
5617 | return resultobj; | |
5618 | fail: | |
5619 | return NULL; | |
5620 | } | |
5621 | ||
5622 | ||
5623 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5624 | PyObject *resultobj = 0; | |
5625 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5626 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
5627 | void *argp1 = 0 ; | |
5628 | int res1 = 0 ; | |
5629 | void *argp2 = 0 ; | |
5630 | int res2 = 0 ; | |
5631 | PyObject * obj0 = 0 ; | |
5632 | PyObject * obj1 = 0 ; | |
5633 | char * kwnames[] = { | |
5634 | (char *) "self",(char *) "parser", NULL | |
5635 | }; | |
5636 | ||
5637 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail; | |
5638 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5639 | if (!SWIG_IsOK(res1)) { | |
5640 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5641 | } | |
5642 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5643 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
5644 | if (!SWIG_IsOK(res2)) { | |
5645 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'"); | |
5646 | } | |
5647 | arg2 = reinterpret_cast< wxHtmlParser * >(argp2); | |
5648 | { | |
5649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5650 | (arg1)->SetParser(arg2); | |
5651 | wxPyEndAllowThreads(__tstate); | |
5652 | if (PyErr_Occurred()) SWIG_fail; | |
5653 | } | |
5654 | resultobj = SWIG_Py_Void(); | |
5655 | return resultobj; | |
5656 | fail: | |
5657 | return NULL; | |
d14a1e28 RD |
5658 | } |
5659 | ||
5660 | ||
0085ce49 RD |
5661 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5662 | PyObject *resultobj = 0; | |
5663 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5664 | wxHtmlWinParser *result = 0 ; | |
5665 | void *argp1 = 0 ; | |
5666 | int res1 = 0 ; | |
5667 | PyObject *swig_obj[1] ; | |
5668 | ||
5669 | if (!args) SWIG_fail; | |
5670 | swig_obj[0] = args; | |
5671 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5672 | if (!SWIG_IsOK(res1)) { | |
5673 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5674 | } | |
5675 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5676 | { | |
5677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5678 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
5679 | wxPyEndAllowThreads(__tstate); | |
5680 | if (PyErr_Occurred()) SWIG_fail; | |
5681 | } | |
5682 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5683 | return resultobj; | |
5684 | fail: | |
5685 | return NULL; | |
5686 | } | |
5687 | ||
5688 | ||
5689 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5690 | PyObject *resultobj = 0; | |
5691 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5692 | wxHtmlTag *arg2 = 0 ; | |
5693 | void *argp1 = 0 ; | |
5694 | int res1 = 0 ; | |
5695 | void *argp2 = 0 ; | |
5696 | int res2 = 0 ; | |
5697 | PyObject * obj0 = 0 ; | |
5698 | PyObject * obj1 = 0 ; | |
5699 | char * kwnames[] = { | |
5700 | (char *) "self",(char *) "tag", NULL | |
5701 | }; | |
5702 | ||
5703 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail; | |
5704 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5705 | if (!SWIG_IsOK(res1)) { | |
5706 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5707 | } | |
5708 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5709 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
5710 | if (!SWIG_IsOK(res2)) { | |
5711 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5712 | } | |
5713 | if (!argp2) { | |
5714 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5715 | } | |
5716 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
5717 | { | |
5718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5719 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
5720 | wxPyEndAllowThreads(__tstate); | |
5721 | if (PyErr_Occurred()) SWIG_fail; | |
5722 | } | |
5723 | resultobj = SWIG_Py_Void(); | |
5724 | return resultobj; | |
5725 | fail: | |
5726 | return NULL; | |
d14a1e28 RD |
5727 | } |
5728 | ||
5729 | ||
0085ce49 RD |
5730 | SWIGINTERN PyObject *HtmlWinTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5731 | PyObject *obj; | |
5732 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5733 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_NewClientData(obj)); | |
5734 | return SWIG_Py_Void(); | |
d14a1e28 RD |
5735 | } |
5736 | ||
0085ce49 RD |
5737 | SWIGINTERN PyObject *HtmlWinTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5738 | return SWIG_Python_InitShadowInstance(args); | |
5739 | } | |
d14a1e28 | 5740 | |
0085ce49 RD |
5741 | SWIGINTERN PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5742 | PyObject *resultobj = 0; | |
5743 | PyObject *arg1 = (PyObject *) 0 ; | |
5744 | PyObject * obj0 = 0 ; | |
5745 | char * kwnames[] = { | |
5746 | (char *) "tagHandlerClass", NULL | |
5747 | }; | |
5748 | ||
5749 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) SWIG_fail; | |
5750 | arg1 = obj0; | |
5751 | { | |
5752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5753 | wxHtmlWinParser_AddTagHandler(arg1); | |
5754 | wxPyEndAllowThreads(__tstate); | |
5755 | if (PyErr_Occurred()) SWIG_fail; | |
5756 | } | |
5757 | resultobj = SWIG_Py_Void(); | |
5758 | return resultobj; | |
5759 | fail: | |
5760 | return NULL; | |
d14a1e28 RD |
5761 | } |
5762 | ||
5763 | ||
0085ce49 RD |
5764 | SWIGINTERN PyObject *_wrap_new_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5765 | PyObject *resultobj = 0; | |
5766 | wxHtmlSelection *result = 0 ; | |
5767 | ||
5768 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlSelection",0,0,0)) SWIG_fail; | |
5769 | { | |
5770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5771 | result = (wxHtmlSelection *)new wxHtmlSelection(); | |
5772 | wxPyEndAllowThreads(__tstate); | |
5773 | if (PyErr_Occurred()) SWIG_fail; | |
5774 | } | |
5775 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_NEW | 0 ); | |
5776 | return resultobj; | |
5777 | fail: | |
5778 | return NULL; | |
d14a1e28 RD |
5779 | } |
5780 | ||
5781 | ||
0085ce49 RD |
5782 | SWIGINTERN PyObject *_wrap_delete_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5783 | PyObject *resultobj = 0; | |
5784 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5785 | void *argp1 = 0 ; | |
5786 | int res1 = 0 ; | |
5787 | PyObject *swig_obj[1] ; | |
5788 | ||
5789 | if (!args) SWIG_fail; | |
5790 | swig_obj[0] = args; | |
5791 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_DISOWN | 0 ); | |
5792 | if (!SWIG_IsOK(res1)) { | |
5793 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
5794 | } | |
5795 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5796 | { | |
5797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5798 | delete arg1; | |
d14a1e28 | 5799 | |
0085ce49 RD |
5800 | wxPyEndAllowThreads(__tstate); |
5801 | if (PyErr_Occurred()) SWIG_fail; | |
5802 | } | |
5803 | resultobj = SWIG_Py_Void(); | |
5804 | return resultobj; | |
5805 | fail: | |
5806 | return NULL; | |
5807 | } | |
5808 | ||
5809 | ||
5810 | SWIGINTERN PyObject *_wrap_HtmlSelection_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5811 | PyObject *resultobj = 0; | |
5812 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5813 | wxPoint *arg2 = 0 ; | |
5814 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
5815 | wxPoint *arg4 = 0 ; | |
5816 | wxHtmlCell *arg5 = (wxHtmlCell *) 0 ; | |
5817 | void *argp1 = 0 ; | |
5818 | int res1 = 0 ; | |
5819 | wxPoint temp2 ; | |
5820 | void *argp3 = 0 ; | |
5821 | int res3 = 0 ; | |
5822 | wxPoint temp4 ; | |
5823 | void *argp5 = 0 ; | |
5824 | int res5 = 0 ; | |
5825 | PyObject * obj0 = 0 ; | |
5826 | PyObject * obj1 = 0 ; | |
5827 | PyObject * obj2 = 0 ; | |
5828 | PyObject * obj3 = 0 ; | |
5829 | PyObject * obj4 = 0 ; | |
5830 | char * kwnames[] = { | |
5831 | (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL | |
5832 | }; | |
5833 | ||
5834 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
5835 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5836 | if (!SWIG_IsOK(res1)) { | |
5837 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
5838 | } | |
5839 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5840 | { | |
5841 | arg2 = &temp2; | |
5842 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
5843 | } | |
5844 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5845 | if (!SWIG_IsOK(res3)) { | |
5846 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'"); | |
5847 | } | |
5848 | arg3 = reinterpret_cast< wxHtmlCell * >(argp3); | |
5849 | { | |
5850 | arg4 = &temp4; | |
5851 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5852 | } | |
5853 | res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5854 | if (!SWIG_IsOK(res5)) { | |
5855 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'"); | |
5856 | } | |
5857 | arg5 = reinterpret_cast< wxHtmlCell * >(argp5); | |
5858 | { | |
5859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5860 | (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5); | |
5861 | wxPyEndAllowThreads(__tstate); | |
5862 | if (PyErr_Occurred()) SWIG_fail; | |
5863 | } | |
5864 | resultobj = SWIG_Py_Void(); | |
5865 | return resultobj; | |
5866 | fail: | |
5867 | return NULL; | |
5868 | } | |
5869 | ||
5870 | ||
5871 | SWIGINTERN PyObject *_wrap_HtmlSelection_SetCells(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5872 | PyObject *resultobj = 0; | |
5873 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5874 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
5875 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
5876 | void *argp1 = 0 ; | |
5877 | int res1 = 0 ; | |
5878 | void *argp2 = 0 ; | |
5879 | int res2 = 0 ; | |
5880 | void *argp3 = 0 ; | |
5881 | int res3 = 0 ; | |
5882 | PyObject * obj0 = 0 ; | |
5883 | PyObject * obj1 = 0 ; | |
5884 | PyObject * obj2 = 0 ; | |
5885 | char * kwnames[] = { | |
5886 | (char *) "self",(char *) "fromCell",(char *) "toCell", NULL | |
5887 | }; | |
5888 | ||
5889 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5890 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5891 | if (!SWIG_IsOK(res1)) { | |
5892 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
5893 | } | |
5894 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5895 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5896 | if (!SWIG_IsOK(res2)) { | |
5897 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'"); | |
5898 | } | |
5899 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
5900 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5901 | if (!SWIG_IsOK(res3)) { | |
5902 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'"); | |
5903 | } | |
5904 | arg3 = reinterpret_cast< wxHtmlCell * >(argp3); | |
5905 | { | |
5906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5907 | (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3); | |
5908 | wxPyEndAllowThreads(__tstate); | |
5909 | if (PyErr_Occurred()) SWIG_fail; | |
5910 | } | |
5911 | resultobj = SWIG_Py_Void(); | |
5912 | return resultobj; | |
5913 | fail: | |
5914 | return NULL; | |
d14a1e28 RD |
5915 | } |
5916 | ||
5917 | ||
0085ce49 RD |
5918 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5919 | PyObject *resultobj = 0; | |
5920 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5921 | wxHtmlCell *result = 0 ; | |
5922 | void *argp1 = 0 ; | |
5923 | int res1 = 0 ; | |
5924 | PyObject *swig_obj[1] ; | |
5925 | ||
5926 | if (!args) SWIG_fail; | |
5927 | swig_obj[0] = args; | |
5928 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5929 | if (!SWIG_IsOK(res1)) { | |
5930 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5931 | } | |
5932 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5933 | { | |
5934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5935 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell(); | |
5936 | wxPyEndAllowThreads(__tstate); | |
5937 | if (PyErr_Occurred()) SWIG_fail; | |
5938 | } | |
5939 | { | |
5940 | resultobj = wxPyMake_wxObject(result, 0); | |
5941 | } | |
5942 | return resultobj; | |
5943 | fail: | |
5944 | return NULL; | |
d14a1e28 RD |
5945 | } |
5946 | ||
5947 | ||
0085ce49 RD |
5948 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetToCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5949 | PyObject *resultobj = 0; | |
5950 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5951 | wxHtmlCell *result = 0 ; | |
5952 | void *argp1 = 0 ; | |
5953 | int res1 = 0 ; | |
5954 | PyObject *swig_obj[1] ; | |
5955 | ||
5956 | if (!args) SWIG_fail; | |
5957 | swig_obj[0] = args; | |
5958 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5959 | if (!SWIG_IsOK(res1)) { | |
5960 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5961 | } | |
5962 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5963 | { | |
5964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5965 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell(); | |
5966 | wxPyEndAllowThreads(__tstate); | |
5967 | if (PyErr_Occurred()) SWIG_fail; | |
5968 | } | |
5969 | { | |
5970 | resultobj = wxPyMake_wxObject(result, 0); | |
5971 | } | |
5972 | return resultobj; | |
5973 | fail: | |
5974 | return NULL; | |
d14a1e28 RD |
5975 | } |
5976 | ||
5977 | ||
0085ce49 RD |
5978 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5979 | PyObject *resultobj = 0; | |
5980 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5981 | wxPoint *result = 0 ; | |
5982 | void *argp1 = 0 ; | |
5983 | int res1 = 0 ; | |
5984 | PyObject *swig_obj[1] ; | |
5985 | ||
5986 | if (!args) SWIG_fail; | |
5987 | swig_obj[0] = args; | |
5988 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5989 | if (!SWIG_IsOK(res1)) { | |
5990 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5991 | } | |
5992 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5993 | { | |
5994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 5995 | { |
0085ce49 RD |
5996 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos(); |
5997 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 5998 | } |
0085ce49 RD |
5999 | wxPyEndAllowThreads(__tstate); |
6000 | if (PyErr_Occurred()) SWIG_fail; | |
6001 | } | |
6002 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6003 | return resultobj; | |
6004 | fail: | |
6005 | return NULL; | |
d14a1e28 RD |
6006 | } |
6007 | ||
6008 | ||
0085ce49 RD |
6009 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6010 | PyObject *resultobj = 0; | |
6011 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6012 | wxPoint *result = 0 ; | |
6013 | void *argp1 = 0 ; | |
6014 | int res1 = 0 ; | |
6015 | PyObject *swig_obj[1] ; | |
6016 | ||
6017 | if (!args) SWIG_fail; | |
6018 | swig_obj[0] = args; | |
6019 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6020 | if (!SWIG_IsOK(res1)) { | |
6021 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
6022 | } | |
6023 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6024 | { | |
6025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6026 | { |
0085ce49 RD |
6027 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos(); |
6028 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 6029 | } |
0085ce49 RD |
6030 | wxPyEndAllowThreads(__tstate); |
6031 | if (PyErr_Occurred()) SWIG_fail; | |
6032 | } | |
6033 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6034 | return resultobj; | |
6035 | fail: | |
6036 | return NULL; | |
d14a1e28 RD |
6037 | } |
6038 | ||
6039 | ||
0085ce49 RD |
6040 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6041 | PyObject *resultobj = 0; | |
6042 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6043 | wxPoint *result = 0 ; | |
6044 | void *argp1 = 0 ; | |
6045 | int res1 = 0 ; | |
6046 | PyObject *swig_obj[1] ; | |
6047 | ||
6048 | if (!args) SWIG_fail; | |
6049 | swig_obj[0] = args; | |
6050 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6051 | if (!SWIG_IsOK(res1)) { | |
6052 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
6053 | } | |
6054 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6055 | { | |
6056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6057 | { |
0085ce49 RD |
6058 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos(); |
6059 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 6060 | } |
0085ce49 RD |
6061 | wxPyEndAllowThreads(__tstate); |
6062 | if (PyErr_Occurred()) SWIG_fail; | |
6063 | } | |
6064 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6065 | return resultobj; | |
6066 | fail: | |
6067 | return NULL; | |
d14a1e28 RD |
6068 | } |
6069 | ||
6070 | ||
0085ce49 RD |
6071 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6072 | PyObject *resultobj = 0; | |
6073 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6074 | wxPoint *result = 0 ; | |
6075 | void *argp1 = 0 ; | |
6076 | int res1 = 0 ; | |
6077 | PyObject *swig_obj[1] ; | |
6078 | ||
6079 | if (!args) SWIG_fail; | |
6080 | swig_obj[0] = args; | |
6081 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6082 | if (!SWIG_IsOK(res1)) { | |
6083 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
6084 | } | |
6085 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6086 | { | |
6087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6088 | { |
0085ce49 RD |
6089 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos(); |
6090 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 6091 | } |
0085ce49 RD |
6092 | wxPyEndAllowThreads(__tstate); |
6093 | if (PyErr_Occurred()) SWIG_fail; | |
6094 | } | |
6095 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6096 | return resultobj; | |
6097 | fail: | |
6098 | return NULL; | |
6099 | } | |
6100 | ||
6101 | ||
6102 | SWIGINTERN PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6103 | PyObject *resultobj = 0; | |
6104 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6105 | wxPoint *arg2 = 0 ; | |
6106 | void *argp1 = 0 ; | |
6107 | int res1 = 0 ; | |
6108 | wxPoint temp2 ; | |
6109 | PyObject * obj0 = 0 ; | |
6110 | PyObject * obj1 = 0 ; | |
6111 | char * kwnames[] = { | |
6112 | (char *) "self",(char *) "pos", NULL | |
6113 | }; | |
6114 | ||
6115 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) SWIG_fail; | |
6116 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6117 | if (!SWIG_IsOK(res1)) { | |
6118 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
6119 | } | |
6120 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6121 | { | |
6122 | arg2 = &temp2; | |
6123 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
6124 | } | |
6125 | { | |
6126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6127 | (arg1)->SetFromPrivPos((wxPoint const &)*arg2); | |
6128 | wxPyEndAllowThreads(__tstate); | |
6129 | if (PyErr_Occurred()) SWIG_fail; | |
6130 | } | |
6131 | resultobj = SWIG_Py_Void(); | |
6132 | return resultobj; | |
6133 | fail: | |
6134 | return NULL; | |
6135 | } | |
6136 | ||
6137 | ||
6138 | SWIGINTERN PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6139 | PyObject *resultobj = 0; | |
6140 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6141 | wxPoint *arg2 = 0 ; | |
6142 | void *argp1 = 0 ; | |
6143 | int res1 = 0 ; | |
6144 | wxPoint temp2 ; | |
6145 | PyObject * obj0 = 0 ; | |
6146 | PyObject * obj1 = 0 ; | |
6147 | char * kwnames[] = { | |
6148 | (char *) "self",(char *) "pos", NULL | |
6149 | }; | |
6150 | ||
6151 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) SWIG_fail; | |
6152 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6153 | if (!SWIG_IsOK(res1)) { | |
6154 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
6155 | } | |
6156 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6157 | { | |
6158 | arg2 = &temp2; | |
6159 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
6160 | } | |
6161 | { | |
6162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6163 | (arg1)->SetToPrivPos((wxPoint const &)*arg2); | |
6164 | wxPyEndAllowThreads(__tstate); | |
6165 | if (PyErr_Occurred()) SWIG_fail; | |
6166 | } | |
6167 | resultobj = SWIG_Py_Void(); | |
6168 | return resultobj; | |
6169 | fail: | |
6170 | return NULL; | |
d14a1e28 RD |
6171 | } |
6172 | ||
6173 | ||
0085ce49 RD |
6174 | SWIGINTERN PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6175 | PyObject *resultobj = 0; | |
6176 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6177 | void *argp1 = 0 ; | |
6178 | int res1 = 0 ; | |
6179 | PyObject *swig_obj[1] ; | |
6180 | ||
6181 | if (!args) SWIG_fail; | |
6182 | swig_obj[0] = args; | |
6183 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6184 | if (!SWIG_IsOK(res1)) { | |
6185 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
6186 | } | |
6187 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6188 | { | |
6189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6190 | (arg1)->ClearPrivPos(); | |
6191 | wxPyEndAllowThreads(__tstate); | |
6192 | if (PyErr_Occurred()) SWIG_fail; | |
6193 | } | |
6194 | resultobj = SWIG_Py_Void(); | |
6195 | return resultobj; | |
6196 | fail: | |
6197 | return NULL; | |
d14a1e28 RD |
6198 | } |
6199 | ||
6200 | ||
0085ce49 RD |
6201 | SWIGINTERN PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6202 | PyObject *resultobj = 0; | |
6203 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6204 | bool result; | |
6205 | void *argp1 = 0 ; | |
6206 | int res1 = 0 ; | |
6207 | PyObject *swig_obj[1] ; | |
6208 | ||
6209 | if (!args) SWIG_fail; | |
6210 | swig_obj[0] = args; | |
6211 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6212 | if (!SWIG_IsOK(res1)) { | |
6213 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
6214 | } | |
6215 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6216 | { | |
6217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6218 | result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty(); | |
6219 | wxPyEndAllowThreads(__tstate); | |
6220 | if (PyErr_Occurred()) SWIG_fail; | |
6221 | } | |
6222 | resultobj = SWIG_From_bool(static_cast< bool >(result)); | |
6223 | return resultobj; | |
6224 | fail: | |
6225 | return NULL; | |
d14a1e28 RD |
6226 | } |
6227 | ||
6228 | ||
0085ce49 RD |
6229 | SWIGINTERN PyObject *HtmlSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6230 | PyObject *obj; | |
6231 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6232 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection, SWIG_NewClientData(obj)); | |
6233 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6234 | } |
6235 | ||
0085ce49 RD |
6236 | SWIGINTERN PyObject *HtmlSelection_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6237 | return SWIG_Python_InitShadowInstance(args); | |
6238 | } | |
d14a1e28 | 6239 | |
0085ce49 RD |
6240 | SWIGINTERN PyObject *_wrap_new_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6241 | PyObject *resultobj = 0; | |
6242 | wxHtmlRenderingState *result = 0 ; | |
6243 | ||
6244 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingState",0,0,0)) SWIG_fail; | |
6245 | { | |
6246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6247 | result = (wxHtmlRenderingState *)new wxHtmlRenderingState(); | |
6248 | wxPyEndAllowThreads(__tstate); | |
6249 | if (PyErr_Occurred()) SWIG_fail; | |
6250 | } | |
6251 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_NEW | 0 ); | |
6252 | return resultobj; | |
6253 | fail: | |
6254 | return NULL; | |
d14a1e28 RD |
6255 | } |
6256 | ||
6257 | ||
0085ce49 RD |
6258 | SWIGINTERN PyObject *_wrap_delete_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6259 | PyObject *resultobj = 0; | |
6260 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6261 | void *argp1 = 0 ; | |
6262 | int res1 = 0 ; | |
6263 | PyObject *swig_obj[1] ; | |
6264 | ||
6265 | if (!args) SWIG_fail; | |
6266 | swig_obj[0] = args; | |
6267 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_DISOWN | 0 ); | |
6268 | if (!SWIG_IsOK(res1)) { | |
6269 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6270 | } | |
6271 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6272 | { | |
6273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6274 | delete arg1; | |
d14a1e28 | 6275 | |
0085ce49 RD |
6276 | wxPyEndAllowThreads(__tstate); |
6277 | if (PyErr_Occurred()) SWIG_fail; | |
6278 | } | |
6279 | resultobj = SWIG_Py_Void(); | |
6280 | return resultobj; | |
6281 | fail: | |
6282 | return NULL; | |
6283 | } | |
6284 | ||
6285 | ||
6286 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6287 | PyObject *resultobj = 0; | |
6288 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6289 | wxHtmlSelectionState arg2 ; | |
6290 | void *argp1 = 0 ; | |
6291 | int res1 = 0 ; | |
6292 | int val2 ; | |
6293 | int ecode2 = 0 ; | |
6294 | PyObject * obj0 = 0 ; | |
6295 | PyObject * obj1 = 0 ; | |
6296 | char * kwnames[] = { | |
6297 | (char *) "self",(char *) "s", NULL | |
6298 | }; | |
6299 | ||
6300 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) SWIG_fail; | |
6301 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6302 | if (!SWIG_IsOK(res1)) { | |
6303 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6304 | } | |
6305 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6306 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
6307 | if (!SWIG_IsOK(ecode2)) { | |
6308 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'"); | |
6309 | } | |
6310 | arg2 = static_cast< wxHtmlSelectionState >(val2); | |
6311 | { | |
6312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6313 | (arg1)->SetSelectionState(arg2); | |
6314 | wxPyEndAllowThreads(__tstate); | |
6315 | if (PyErr_Occurred()) SWIG_fail; | |
6316 | } | |
6317 | resultobj = SWIG_Py_Void(); | |
6318 | return resultobj; | |
6319 | fail: | |
6320 | return NULL; | |
d14a1e28 RD |
6321 | } |
6322 | ||
6323 | ||
0085ce49 RD |
6324 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6325 | PyObject *resultobj = 0; | |
6326 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6327 | wxHtmlSelectionState result; | |
6328 | void *argp1 = 0 ; | |
6329 | int res1 = 0 ; | |
6330 | PyObject *swig_obj[1] ; | |
6331 | ||
6332 | if (!args) SWIG_fail; | |
6333 | swig_obj[0] = args; | |
6334 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6335 | if (!SWIG_IsOK(res1)) { | |
6336 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); | |
6337 | } | |
6338 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6339 | { | |
6340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6341 | result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState(); | |
6342 | wxPyEndAllowThreads(__tstate); | |
6343 | if (PyErr_Occurred()) SWIG_fail; | |
6344 | } | |
6345 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6346 | return resultobj; | |
6347 | fail: | |
6348 | return NULL; | |
6349 | } | |
6350 | ||
6351 | ||
6352 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6353 | PyObject *resultobj = 0; | |
6354 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6355 | wxColour *arg2 = 0 ; | |
6356 | void *argp1 = 0 ; | |
6357 | int res1 = 0 ; | |
6358 | wxColour temp2 ; | |
6359 | PyObject * obj0 = 0 ; | |
6360 | PyObject * obj1 = 0 ; | |
6361 | char * kwnames[] = { | |
6362 | (char *) "self",(char *) "c", NULL | |
6363 | }; | |
6364 | ||
6365 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6366 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6367 | if (!SWIG_IsOK(res1)) { | |
6368 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6369 | } | |
6370 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6371 | { | |
6372 | arg2 = &temp2; | |
6373 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6374 | } | |
6375 | { | |
6376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6377 | (arg1)->SetFgColour((wxColour const &)*arg2); | |
6378 | wxPyEndAllowThreads(__tstate); | |
6379 | if (PyErr_Occurred()) SWIG_fail; | |
6380 | } | |
6381 | resultobj = SWIG_Py_Void(); | |
6382 | return resultobj; | |
6383 | fail: | |
6384 | return NULL; | |
d14a1e28 RD |
6385 | } |
6386 | ||
6387 | ||
0085ce49 RD |
6388 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6389 | PyObject *resultobj = 0; | |
6390 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6391 | wxColour *result = 0 ; | |
6392 | void *argp1 = 0 ; | |
6393 | int res1 = 0 ; | |
6394 | PyObject *swig_obj[1] ; | |
6395 | ||
6396 | if (!args) SWIG_fail; | |
6397 | swig_obj[0] = args; | |
6398 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6399 | if (!SWIG_IsOK(res1)) { | |
6400 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); | |
6401 | } | |
6402 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6403 | { | |
6404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6405 | { |
0085ce49 RD |
6406 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour(); |
6407 | result = (wxColour *) &_result_ref; | |
d14a1e28 | 6408 | } |
0085ce49 RD |
6409 | wxPyEndAllowThreads(__tstate); |
6410 | if (PyErr_Occurred()) SWIG_fail; | |
6411 | } | |
6412 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); | |
6413 | return resultobj; | |
6414 | fail: | |
6415 | return NULL; | |
6416 | } | |
6417 | ||
6418 | ||
6419 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6420 | PyObject *resultobj = 0; | |
6421 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6422 | wxColour *arg2 = 0 ; | |
6423 | void *argp1 = 0 ; | |
6424 | int res1 = 0 ; | |
6425 | wxColour temp2 ; | |
6426 | PyObject * obj0 = 0 ; | |
6427 | PyObject * obj1 = 0 ; | |
6428 | char * kwnames[] = { | |
6429 | (char *) "self",(char *) "c", NULL | |
6430 | }; | |
6431 | ||
6432 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6433 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6434 | if (!SWIG_IsOK(res1)) { | |
6435 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6436 | } | |
6437 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6438 | { | |
6439 | arg2 = &temp2; | |
6440 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6441 | } | |
6442 | { | |
6443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6444 | (arg1)->SetBgColour((wxColour const &)*arg2); | |
6445 | wxPyEndAllowThreads(__tstate); | |
6446 | if (PyErr_Occurred()) SWIG_fail; | |
6447 | } | |
6448 | resultobj = SWIG_Py_Void(); | |
6449 | return resultobj; | |
6450 | fail: | |
6451 | return NULL; | |
d14a1e28 RD |
6452 | } |
6453 | ||
6454 | ||
0085ce49 RD |
6455 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6456 | PyObject *resultobj = 0; | |
6457 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6458 | wxColour *result = 0 ; | |
6459 | void *argp1 = 0 ; | |
6460 | int res1 = 0 ; | |
6461 | PyObject *swig_obj[1] ; | |
6462 | ||
6463 | if (!args) SWIG_fail; | |
6464 | swig_obj[0] = args; | |
6465 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6466 | if (!SWIG_IsOK(res1)) { | |
6467 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); | |
6468 | } | |
6469 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6470 | { | |
6471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6472 | { |
0085ce49 RD |
6473 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour(); |
6474 | result = (wxColour *) &_result_ref; | |
d14a1e28 | 6475 | } |
0085ce49 RD |
6476 | wxPyEndAllowThreads(__tstate); |
6477 | if (PyErr_Occurred()) SWIG_fail; | |
6478 | } | |
6479 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); | |
6480 | return resultobj; | |
6481 | fail: | |
6482 | return NULL; | |
d14a1e28 RD |
6483 | } |
6484 | ||
6485 | ||
0085ce49 RD |
6486 | SWIGINTERN PyObject *HtmlRenderingState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6487 | PyObject *obj; | |
6488 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6489 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState, SWIG_NewClientData(obj)); | |
6490 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6491 | } |
6492 | ||
0085ce49 RD |
6493 | SWIGINTERN PyObject *HtmlRenderingState_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6494 | return SWIG_Python_InitShadowInstance(args); | |
d14a1e28 RD |
6495 | } |
6496 | ||
0085ce49 RD |
6497 | SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
6498 | PyObject *resultobj = 0; | |
6499 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
6500 | wxColour *arg2 = 0 ; | |
6501 | wxColour result; | |
6502 | void *argp1 = 0 ; | |
6503 | int res1 = 0 ; | |
6504 | wxColour temp2 ; | |
6505 | PyObject * obj0 = 0 ; | |
6506 | PyObject * obj1 = 0 ; | |
6507 | char * kwnames[] = { | |
6508 | (char *) "self",(char *) "clr", NULL | |
6509 | }; | |
6510 | ||
6511 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6512 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6513 | if (!SWIG_IsOK(res1)) { | |
6514 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'"); | |
6515 | } | |
6516 | arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1); | |
6517 | { | |
6518 | arg2 = &temp2; | |
6519 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6520 | } | |
6521 | { | |
6522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6523 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
6524 | wxPyEndAllowThreads(__tstate); | |
6525 | if (PyErr_Occurred()) SWIG_fail; | |
6526 | } | |
6527 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
6528 | return resultobj; | |
6529 | fail: | |
6530 | return NULL; | |
6531 | } | |
6532 | ||
6533 | ||
6534 | SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6535 | PyObject *resultobj = 0; | |
6536 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
6537 | wxColour *arg2 = 0 ; | |
6538 | wxColour result; | |
6539 | void *argp1 = 0 ; | |
6540 | int res1 = 0 ; | |
6541 | wxColour temp2 ; | |
6542 | PyObject * obj0 = 0 ; | |
6543 | PyObject * obj1 = 0 ; | |
6544 | char * kwnames[] = { | |
6545 | (char *) "self",(char *) "clr", NULL | |
6546 | }; | |
6547 | ||
6548 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6549 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6550 | if (!SWIG_IsOK(res1)) { | |
6551 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'"); | |
6552 | } | |
6553 | arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1); | |
6554 | { | |
6555 | arg2 = &temp2; | |
6556 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6557 | } | |
6558 | { | |
6559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6560 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
6561 | wxPyEndAllowThreads(__tstate); | |
6562 | if (PyErr_Occurred()) SWIG_fail; | |
6563 | } | |
6564 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
6565 | return resultobj; | |
6566 | fail: | |
6567 | return NULL; | |
d14a1e28 RD |
6568 | } |
6569 | ||
6570 | ||
0085ce49 RD |
6571 | SWIGINTERN PyObject *HtmlRenderingStyle_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_wxHtmlRenderingStyle, SWIG_NewClientData(obj)); | |
6575 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6576 | } |
6577 | ||
0085ce49 RD |
6578 | SWIGINTERN PyObject *DefaultHtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6579 | PyObject *obj; | |
6580 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6581 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_NewClientData(obj)); | |
6582 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6583 | } |
6584 | ||
0085ce49 RD |
6585 | SWIGINTERN PyObject *_wrap_new_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6586 | PyObject *resultobj = 0; | |
6587 | wxHtmlRenderingInfo *result = 0 ; | |
6588 | ||
6589 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail; | |
6590 | { | |
6591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6592 | result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo(); | |
6593 | wxPyEndAllowThreads(__tstate); | |
6594 | if (PyErr_Occurred()) SWIG_fail; | |
6595 | } | |
6596 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_NEW | 0 ); | |
6597 | return resultobj; | |
6598 | fail: | |
6599 | return NULL; | |
d14a1e28 RD |
6600 | } |
6601 | ||
6602 | ||
0085ce49 RD |
6603 | SWIGINTERN PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6604 | PyObject *resultobj = 0; | |
6605 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6606 | void *argp1 = 0 ; | |
6607 | int res1 = 0 ; | |
6608 | PyObject *swig_obj[1] ; | |
6609 | ||
6610 | if (!args) SWIG_fail; | |
6611 | swig_obj[0] = args; | |
6612 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_DISOWN | 0 ); | |
6613 | if (!SWIG_IsOK(res1)) { | |
6614 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6615 | } | |
6616 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6617 | { | |
6618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6619 | delete arg1; | |
d14a1e28 | 6620 | |
0085ce49 RD |
6621 | wxPyEndAllowThreads(__tstate); |
6622 | if (PyErr_Occurred()) SWIG_fail; | |
6623 | } | |
6624 | resultobj = SWIG_Py_Void(); | |
6625 | return resultobj; | |
6626 | fail: | |
6627 | return NULL; | |
6628 | } | |
6629 | ||
6630 | ||
6631 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6632 | PyObject *resultobj = 0; | |
6633 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6634 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
6635 | void *argp1 = 0 ; | |
6636 | int res1 = 0 ; | |
6637 | void *argp2 = 0 ; | |
6638 | int res2 = 0 ; | |
6639 | PyObject * obj0 = 0 ; | |
6640 | PyObject * obj1 = 0 ; | |
6641 | char * kwnames[] = { | |
6642 | (char *) "self",(char *) "s", NULL | |
6643 | }; | |
6644 | ||
6645 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
6646 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6647 | if (!SWIG_IsOK(res1)) { | |
6648 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6649 | } | |
6650 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6651 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6652 | if (!SWIG_IsOK(res2)) { | |
6653 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); | |
6654 | } | |
6655 | arg2 = reinterpret_cast< wxHtmlSelection * >(argp2); | |
6656 | { | |
6657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6658 | (arg1)->SetSelection(arg2); | |
6659 | wxPyEndAllowThreads(__tstate); | |
6660 | if (PyErr_Occurred()) SWIG_fail; | |
6661 | } | |
6662 | resultobj = SWIG_Py_Void(); | |
6663 | return resultobj; | |
6664 | fail: | |
6665 | return NULL; | |
d14a1e28 RD |
6666 | } |
6667 | ||
6668 | ||
0085ce49 RD |
6669 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6670 | PyObject *resultobj = 0; | |
6671 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6672 | wxHtmlSelection *result = 0 ; | |
6673 | void *argp1 = 0 ; | |
6674 | int res1 = 0 ; | |
6675 | PyObject *swig_obj[1] ; | |
6676 | ||
6677 | if (!args) SWIG_fail; | |
6678 | swig_obj[0] = args; | |
6679 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6680 | if (!SWIG_IsOK(res1)) { | |
6681 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'"); | |
6682 | } | |
6683 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6684 | { | |
6685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6686 | result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection(); | |
6687 | wxPyEndAllowThreads(__tstate); | |
6688 | if (PyErr_Occurred()) SWIG_fail; | |
6689 | } | |
6690 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6691 | return resultobj; | |
6692 | fail: | |
6693 | return NULL; | |
6694 | } | |
6695 | ||
6696 | ||
6697 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6698 | PyObject *resultobj = 0; | |
6699 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6700 | wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; | |
6701 | void *argp1 = 0 ; | |
6702 | int res1 = 0 ; | |
6703 | void *argp2 = 0 ; | |
6704 | int res2 = 0 ; | |
6705 | PyObject * obj0 = 0 ; | |
6706 | PyObject * obj1 = 0 ; | |
6707 | char * kwnames[] = { | |
6708 | (char *) "self",(char *) "style", NULL | |
6709 | }; | |
6710 | ||
6711 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail; | |
6712 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6713 | if (!SWIG_IsOK(res1)) { | |
6714 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6715 | } | |
6716 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6717 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6718 | if (!SWIG_IsOK(res2)) { | |
6719 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'"); | |
6720 | } | |
6721 | arg2 = reinterpret_cast< wxHtmlRenderingStyle * >(argp2); | |
6722 | { | |
6723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6724 | (arg1)->SetStyle(arg2); | |
6725 | wxPyEndAllowThreads(__tstate); | |
6726 | if (PyErr_Occurred()) SWIG_fail; | |
6727 | } | |
6728 | resultobj = SWIG_Py_Void(); | |
6729 | return resultobj; | |
6730 | fail: | |
6731 | return NULL; | |
d14a1e28 RD |
6732 | } |
6733 | ||
6734 | ||
0085ce49 RD |
6735 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6736 | PyObject *resultobj = 0; | |
6737 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6738 | wxHtmlRenderingStyle *result = 0 ; | |
6739 | void *argp1 = 0 ; | |
6740 | int res1 = 0 ; | |
6741 | PyObject *swig_obj[1] ; | |
6742 | ||
6743 | if (!args) SWIG_fail; | |
6744 | swig_obj[0] = args; | |
6745 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6746 | if (!SWIG_IsOK(res1)) { | |
6747 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6748 | } | |
6749 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6750 | { | |
6751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b1fcee84 | 6752 | { |
0085ce49 RD |
6753 | wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle(); |
6754 | result = (wxHtmlRenderingStyle *) &_result_ref; | |
b1fcee84 | 6755 | } |
0085ce49 RD |
6756 | wxPyEndAllowThreads(__tstate); |
6757 | if (PyErr_Occurred()) SWIG_fail; | |
6758 | } | |
6759 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6760 | return resultobj; | |
6761 | fail: | |
6762 | return NULL; | |
d14a1e28 RD |
6763 | } |
6764 | ||
6765 | ||
0085ce49 RD |
6766 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6767 | PyObject *resultobj = 0; | |
6768 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6769 | wxHtmlRenderingState *result = 0 ; | |
6770 | void *argp1 = 0 ; | |
6771 | int res1 = 0 ; | |
6772 | PyObject *swig_obj[1] ; | |
6773 | ||
6774 | if (!args) SWIG_fail; | |
6775 | swig_obj[0] = args; | |
6776 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6777 | if (!SWIG_IsOK(res1)) { | |
6778 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6779 | } | |
6780 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6781 | { | |
6782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b1fcee84 | 6783 | { |
0085ce49 RD |
6784 | wxHtmlRenderingState &_result_ref = (arg1)->GetState(); |
6785 | result = (wxHtmlRenderingState *) &_result_ref; | |
b1fcee84 | 6786 | } |
0085ce49 RD |
6787 | wxPyEndAllowThreads(__tstate); |
6788 | if (PyErr_Occurred()) SWIG_fail; | |
6789 | } | |
6790 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6791 | return resultobj; | |
6792 | fail: | |
6793 | return NULL; | |
d14a1e28 RD |
6794 | } |
6795 | ||
6796 | ||
0085ce49 RD |
6797 | SWIGINTERN PyObject *HtmlRenderingInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6798 | PyObject *obj; | |
6799 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6800 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_NewClientData(obj)); | |
6801 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6802 | } |
6803 | ||
0085ce49 RD |
6804 | SWIGINTERN PyObject *HtmlRenderingInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6805 | return SWIG_Python_InitShadowInstance(args); | |
6806 | } | |
d14a1e28 | 6807 | |
0085ce49 RD |
6808 | SWIGINTERN PyObject *_wrap_new_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6809 | PyObject *resultobj = 0; | |
6810 | wxHtmlCell *result = 0 ; | |
6811 | ||
6812 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlCell",0,0,0)) SWIG_fail; | |
6813 | { | |
6814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6815 | result = (wxHtmlCell *)new wxHtmlCell(); | |
6816 | wxPyEndAllowThreads(__tstate); | |
6817 | if (PyErr_Occurred()) SWIG_fail; | |
6818 | } | |
6819 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_NEW | 0 ); | |
6820 | return resultobj; | |
6821 | fail: | |
6822 | return NULL; | |
d14a1e28 RD |
6823 | } |
6824 | ||
6825 | ||
0085ce49 RD |
6826 | SWIGINTERN PyObject *_wrap_delete_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6827 | PyObject *resultobj = 0; | |
6828 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6829 | void *argp1 = 0 ; | |
6830 | int res1 = 0 ; | |
6831 | PyObject *swig_obj[1] ; | |
6832 | ||
6833 | if (!args) SWIG_fail; | |
6834 | swig_obj[0] = args; | |
6835 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
6836 | if (!SWIG_IsOK(res1)) { | |
6837 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6838 | } | |
6839 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6840 | { | |
6841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6842 | delete arg1; | |
d14a1e28 | 6843 | |
0085ce49 RD |
6844 | wxPyEndAllowThreads(__tstate); |
6845 | if (PyErr_Occurred()) SWIG_fail; | |
6846 | } | |
6847 | resultobj = SWIG_Py_Void(); | |
6848 | return resultobj; | |
6849 | fail: | |
6850 | return NULL; | |
d14a1e28 RD |
6851 | } |
6852 | ||
6853 | ||
0085ce49 RD |
6854 | SWIGINTERN PyObject *_wrap_HtmlCell_GetPosX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6855 | PyObject *resultobj = 0; | |
6856 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6857 | int result; | |
6858 | void *argp1 = 0 ; | |
6859 | int res1 = 0 ; | |
6860 | PyObject *swig_obj[1] ; | |
6861 | ||
6862 | if (!args) SWIG_fail; | |
6863 | swig_obj[0] = args; | |
6864 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6865 | if (!SWIG_IsOK(res1)) { | |
6866 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6867 | } | |
6868 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6869 | { | |
6870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6871 | result = (int)(arg1)->GetPosX(); | |
6872 | wxPyEndAllowThreads(__tstate); | |
6873 | if (PyErr_Occurred()) SWIG_fail; | |
6874 | } | |
6875 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6876 | return resultobj; | |
6877 | fail: | |
6878 | return NULL; | |
d14a1e28 RD |
6879 | } |
6880 | ||
6881 | ||
0085ce49 RD |
6882 | SWIGINTERN PyObject *_wrap_HtmlCell_GetPosY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6883 | PyObject *resultobj = 0; | |
6884 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6885 | int result; | |
6886 | void *argp1 = 0 ; | |
6887 | int res1 = 0 ; | |
6888 | PyObject *swig_obj[1] ; | |
6889 | ||
6890 | if (!args) SWIG_fail; | |
6891 | swig_obj[0] = args; | |
6892 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6893 | if (!SWIG_IsOK(res1)) { | |
6894 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6895 | } | |
6896 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6897 | { | |
6898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6899 | result = (int)(arg1)->GetPosY(); | |
6900 | wxPyEndAllowThreads(__tstate); | |
6901 | if (PyErr_Occurred()) SWIG_fail; | |
6902 | } | |
6903 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6904 | return resultobj; | |
6905 | fail: | |
6906 | return NULL; | |
d14a1e28 RD |
6907 | } |
6908 | ||
6909 | ||
0085ce49 RD |
6910 | SWIGINTERN PyObject *_wrap_HtmlCell_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6911 | PyObject *resultobj = 0; | |
6912 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6913 | int result; | |
6914 | void *argp1 = 0 ; | |
6915 | int res1 = 0 ; | |
6916 | PyObject *swig_obj[1] ; | |
6917 | ||
6918 | if (!args) SWIG_fail; | |
6919 | swig_obj[0] = args; | |
6920 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6921 | if (!SWIG_IsOK(res1)) { | |
6922 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6923 | } | |
6924 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6925 | { | |
6926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6927 | result = (int)(arg1)->GetWidth(); | |
6928 | wxPyEndAllowThreads(__tstate); | |
6929 | if (PyErr_Occurred()) SWIG_fail; | |
6930 | } | |
6931 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6932 | return resultobj; | |
6933 | fail: | |
6934 | return NULL; | |
d14a1e28 RD |
6935 | } |
6936 | ||
6937 | ||
0085ce49 RD |
6938 | SWIGINTERN PyObject *_wrap_HtmlCell_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6939 | PyObject *resultobj = 0; | |
6940 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6941 | int result; | |
6942 | void *argp1 = 0 ; | |
6943 | int res1 = 0 ; | |
6944 | PyObject *swig_obj[1] ; | |
6945 | ||
6946 | if (!args) SWIG_fail; | |
6947 | swig_obj[0] = args; | |
6948 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6949 | if (!SWIG_IsOK(res1)) { | |
6950 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6951 | } | |
6952 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6953 | { | |
6954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6955 | result = (int)(arg1)->GetHeight(); | |
6956 | wxPyEndAllowThreads(__tstate); | |
6957 | if (PyErr_Occurred()) SWIG_fail; | |
6958 | } | |
6959 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6960 | return resultobj; | |
6961 | fail: | |
6962 | return NULL; | |
d14a1e28 RD |
6963 | } |
6964 | ||
6965 | ||
0085ce49 RD |
6966 | SWIGINTERN PyObject *_wrap_HtmlCell_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6967 | PyObject *resultobj = 0; | |
6968 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6969 | int result; | |
6970 | void *argp1 = 0 ; | |
6971 | int res1 = 0 ; | |
6972 | PyObject *swig_obj[1] ; | |
6973 | ||
6974 | if (!args) SWIG_fail; | |
6975 | swig_obj[0] = args; | |
6976 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6977 | if (!SWIG_IsOK(res1)) { | |
6978 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6979 | } | |
6980 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6981 | { | |
6982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6983 | result = (int)(arg1)->GetDescent(); | |
6984 | wxPyEndAllowThreads(__tstate); | |
6985 | if (PyErr_Occurred()) SWIG_fail; | |
6986 | } | |
6987 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6988 | return resultobj; | |
6989 | fail: | |
6990 | return NULL; | |
d14a1e28 RD |
6991 | } |
6992 | ||
6993 | ||
0085ce49 RD |
6994 | SWIGINTERN PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6995 | PyObject *resultobj = 0; | |
6996 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6997 | int result; | |
6998 | void *argp1 = 0 ; | |
6999 | int res1 = 0 ; | |
7000 | PyObject *swig_obj[1] ; | |
7001 | ||
7002 | if (!args) SWIG_fail; | |
7003 | swig_obj[0] = args; | |
7004 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7005 | if (!SWIG_IsOK(res1)) { | |
7006 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7007 | } | |
7008 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7009 | { | |
7010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7011 | result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth(); | |
7012 | wxPyEndAllowThreads(__tstate); | |
7013 | if (PyErr_Occurred()) SWIG_fail; | |
7014 | } | |
7015 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
7016 | return resultobj; | |
7017 | fail: | |
7018 | return NULL; | |
d14a1e28 RD |
7019 | } |
7020 | ||
7021 | ||
0085ce49 RD |
7022 | SWIGINTERN PyObject *_wrap_HtmlCell_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7023 | PyObject *resultobj = 0; | |
7024 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7025 | wxString *result = 0 ; | |
7026 | void *argp1 = 0 ; | |
7027 | int res1 = 0 ; | |
7028 | PyObject *swig_obj[1] ; | |
7029 | ||
7030 | if (!args) SWIG_fail; | |
7031 | swig_obj[0] = args; | |
7032 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7033 | if (!SWIG_IsOK(res1)) { | |
7034 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7035 | } | |
7036 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7037 | { | |
7038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 7039 | { |
0085ce49 RD |
7040 | wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId(); |
7041 | result = (wxString *) &_result_ref; | |
d14a1e28 | 7042 | } |
0085ce49 RD |
7043 | wxPyEndAllowThreads(__tstate); |
7044 | if (PyErr_Occurred()) SWIG_fail; | |
7045 | } | |
7046 | { | |
7047 | #if wxUSE_UNICODE | |
7048 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
7049 | #else | |
7050 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
7051 | #endif | |
7052 | } | |
7053 | return resultobj; | |
7054 | fail: | |
7055 | return NULL; | |
7056 | } | |
7057 | ||
7058 | ||
7059 | SWIGINTERN PyObject *_wrap_HtmlCell_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7060 | PyObject *resultobj = 0; | |
7061 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7062 | wxString *arg2 = 0 ; | |
7063 | void *argp1 = 0 ; | |
7064 | int res1 = 0 ; | |
7065 | bool temp2 = false ; | |
7066 | PyObject * obj0 = 0 ; | |
7067 | PyObject * obj1 = 0 ; | |
7068 | char * kwnames[] = { | |
7069 | (char *) "self",(char *) "id", NULL | |
7070 | }; | |
7071 | ||
7072 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) SWIG_fail; | |
7073 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7074 | if (!SWIG_IsOK(res1)) { | |
7075 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7076 | } | |
7077 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7078 | { | |
7079 | arg2 = wxString_in_helper(obj1); | |
7080 | if (arg2 == NULL) SWIG_fail; | |
7081 | temp2 = true; | |
7082 | } | |
7083 | { | |
7084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7085 | (arg1)->SetId((wxString const &)*arg2); | |
7086 | wxPyEndAllowThreads(__tstate); | |
7087 | if (PyErr_Occurred()) SWIG_fail; | |
7088 | } | |
7089 | resultobj = SWIG_Py_Void(); | |
7090 | { | |
7091 | if (temp2) | |
7092 | delete arg2; | |
7093 | } | |
7094 | return resultobj; | |
7095 | fail: | |
7096 | { | |
7097 | if (temp2) | |
7098 | delete arg2; | |
7099 | } | |
7100 | return NULL; | |
7101 | } | |
7102 | ||
7103 | ||
7104 | SWIGINTERN PyObject *_wrap_HtmlCell_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7105 | PyObject *resultobj = 0; | |
7106 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7107 | int arg2 = (int) 0 ; | |
7108 | int arg3 = (int) 0 ; | |
7109 | wxHtmlLinkInfo *result = 0 ; | |
7110 | void *argp1 = 0 ; | |
7111 | int res1 = 0 ; | |
7112 | int val2 ; | |
7113 | int ecode2 = 0 ; | |
7114 | int val3 ; | |
7115 | int ecode3 = 0 ; | |
7116 | PyObject * obj0 = 0 ; | |
7117 | PyObject * obj1 = 0 ; | |
7118 | PyObject * obj2 = 0 ; | |
7119 | char * kwnames[] = { | |
7120 | (char *) "self",(char *) "x",(char *) "y", NULL | |
7121 | }; | |
7122 | ||
7123 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7124 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7125 | if (!SWIG_IsOK(res1)) { | |
7126 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7127 | } | |
7128 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7129 | if (obj1) { | |
7130 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7131 | if (!SWIG_IsOK(ecode2)) { | |
7132 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'"); | |
7133 | } | |
7134 | arg2 = static_cast< int >(val2); | |
7135 | } | |
7136 | if (obj2) { | |
7137 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7138 | if (!SWIG_IsOK(ecode3)) { | |
7139 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'"); | |
7140 | } | |
7141 | arg3 = static_cast< int >(val3); | |
7142 | } | |
7143 | { | |
7144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7145 | result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3); | |
7146 | wxPyEndAllowThreads(__tstate); | |
7147 | if (PyErr_Occurred()) SWIG_fail; | |
7148 | } | |
7149 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
7150 | return resultobj; | |
7151 | fail: | |
7152 | return NULL; | |
d14a1e28 RD |
7153 | } |
7154 | ||
7155 | ||
0085ce49 RD |
7156 | SWIGINTERN PyObject *_wrap_HtmlCell_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7157 | PyObject *resultobj = 0; | |
7158 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7159 | wxHtmlCell *result = 0 ; | |
7160 | void *argp1 = 0 ; | |
7161 | int res1 = 0 ; | |
7162 | PyObject *swig_obj[1] ; | |
7163 | ||
7164 | if (!args) SWIG_fail; | |
7165 | swig_obj[0] = args; | |
7166 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7167 | if (!SWIG_IsOK(res1)) { | |
7168 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7169 | } | |
7170 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7171 | { | |
7172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7173 | result = (wxHtmlCell *)(arg1)->GetNext(); | |
7174 | wxPyEndAllowThreads(__tstate); | |
7175 | if (PyErr_Occurred()) SWIG_fail; | |
7176 | } | |
7177 | { | |
7178 | resultobj = wxPyMake_wxObject(result, 0); | |
7179 | } | |
7180 | return resultobj; | |
7181 | fail: | |
7182 | return NULL; | |
d14a1e28 RD |
7183 | } |
7184 | ||
7185 | ||
0085ce49 RD |
7186 | SWIGINTERN PyObject *_wrap_HtmlCell_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7187 | PyObject *resultobj = 0; | |
7188 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7189 | wxHtmlContainerCell *result = 0 ; | |
7190 | void *argp1 = 0 ; | |
7191 | int res1 = 0 ; | |
7192 | PyObject *swig_obj[1] ; | |
7193 | ||
7194 | if (!args) SWIG_fail; | |
7195 | swig_obj[0] = args; | |
7196 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7197 | if (!SWIG_IsOK(res1)) { | |
7198 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7199 | } | |
7200 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7201 | { | |
7202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7203 | result = (wxHtmlContainerCell *)(arg1)->GetParent(); | |
7204 | wxPyEndAllowThreads(__tstate); | |
7205 | if (PyErr_Occurred()) SWIG_fail; | |
7206 | } | |
7207 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
7208 | return resultobj; | |
7209 | fail: | |
7210 | return NULL; | |
d14a1e28 RD |
7211 | } |
7212 | ||
7213 | ||
0085ce49 RD |
7214 | SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7215 | PyObject *resultobj = 0; | |
7216 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7217 | wxHtmlCell *result = 0 ; | |
7218 | void *argp1 = 0 ; | |
7219 | int res1 = 0 ; | |
7220 | PyObject *swig_obj[1] ; | |
7221 | ||
7222 | if (!args) SWIG_fail; | |
7223 | swig_obj[0] = args; | |
7224 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7225 | if (!SWIG_IsOK(res1)) { | |
7226 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7227 | } | |
7228 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7229 | { | |
7230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7231 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild(); | |
7232 | wxPyEndAllowThreads(__tstate); | |
7233 | if (PyErr_Occurred()) SWIG_fail; | |
7234 | } | |
7235 | { | |
7236 | resultobj = wxPyMake_wxObject(result, 0); | |
7237 | } | |
7238 | return resultobj; | |
7239 | fail: | |
7240 | return NULL; | |
d14a1e28 RD |
7241 | } |
7242 | ||
7243 | ||
e9d6f3a4 RD |
7244 | SWIGINTERN PyObject *_wrap_HtmlCell_GetMouseCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7245 | PyObject *resultobj = 0; | |
7246 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7247 | wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ; | |
7248 | wxCursor result; | |
7249 | void *argp1 = 0 ; | |
7250 | int res1 = 0 ; | |
7251 | void *argp2 = 0 ; | |
7252 | int res2 = 0 ; | |
7253 | PyObject * obj0 = 0 ; | |
7254 | PyObject * obj1 = 0 ; | |
7255 | char * kwnames[] = { | |
7256 | (char *) "self",(char *) "window", NULL | |
7257 | }; | |
7258 | ||
7259 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_GetMouseCursor",kwnames,&obj0,&obj1)) SWIG_fail; | |
7260 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7261 | if (!SWIG_IsOK(res1)) { | |
7262 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7263 | } | |
7264 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7265 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
7266 | if (!SWIG_IsOK(res2)) { | |
7267 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'"); | |
7268 | } | |
7269 | arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2); | |
7270 | { | |
7271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7272 | result = ((wxHtmlCell const *)arg1)->GetMouseCursor(arg2); | |
7273 | wxPyEndAllowThreads(__tstate); | |
7274 | if (PyErr_Occurred()) SWIG_fail; | |
7275 | } | |
7276 | resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 ); | |
7277 | return resultobj; | |
7278 | fail: | |
7279 | return NULL; | |
7280 | } | |
7281 | ||
7282 | ||
0085ce49 RD |
7283 | SWIGINTERN PyObject *_wrap_HtmlCell_GetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7284 | PyObject *resultobj = 0; | |
7285 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7286 | wxCursor result; | |
7287 | void *argp1 = 0 ; | |
7288 | int res1 = 0 ; | |
7289 | PyObject *swig_obj[1] ; | |
7290 | ||
7291 | if (!args) SWIG_fail; | |
7292 | swig_obj[0] = args; | |
7293 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7294 | if (!SWIG_IsOK(res1)) { | |
7295 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7296 | } | |
7297 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7298 | { | |
7299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7300 | result = ((wxHtmlCell const *)arg1)->GetCursor(); | |
7301 | wxPyEndAllowThreads(__tstate); | |
7302 | if (PyErr_Occurred()) SWIG_fail; | |
7303 | } | |
7304 | resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 ); | |
7305 | return resultobj; | |
7306 | fail: | |
7307 | return NULL; | |
d14a1e28 RD |
7308 | } |
7309 | ||
7310 | ||
0085ce49 RD |
7311 | SWIGINTERN PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7312 | PyObject *resultobj = 0; | |
7313 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7314 | bool result; | |
7315 | void *argp1 = 0 ; | |
7316 | int res1 = 0 ; | |
7317 | PyObject *swig_obj[1] ; | |
7318 | ||
7319 | if (!args) SWIG_fail; | |
7320 | swig_obj[0] = args; | |
7321 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7322 | if (!SWIG_IsOK(res1)) { | |
7323 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7324 | } | |
7325 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7326 | { | |
7327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7328 | result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell(); | |
7329 | wxPyEndAllowThreads(__tstate); | |
7330 | if (PyErr_Occurred()) SWIG_fail; | |
7331 | } | |
7332 | { | |
7333 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7334 | } | |
7335 | return resultobj; | |
7336 | fail: | |
7337 | return NULL; | |
7338 | } | |
7339 | ||
7340 | ||
7341 | SWIGINTERN PyObject *_wrap_HtmlCell_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7342 | PyObject *resultobj = 0; | |
7343 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7344 | wxHtmlLinkInfo *arg2 = 0 ; | |
7345 | void *argp1 = 0 ; | |
7346 | int res1 = 0 ; | |
7347 | void *argp2 = 0 ; | |
7348 | int res2 = 0 ; | |
7349 | PyObject * obj0 = 0 ; | |
7350 | PyObject * obj1 = 0 ; | |
7351 | char * kwnames[] = { | |
7352 | (char *) "self",(char *) "link", NULL | |
7353 | }; | |
7354 | ||
7355 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) SWIG_fail; | |
7356 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7357 | if (!SWIG_IsOK(res1)) { | |
7358 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7359 | } | |
7360 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7361 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0); | |
7362 | if (!SWIG_IsOK(res2)) { | |
7363 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
7364 | } | |
7365 | if (!argp2) { | |
7366 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
7367 | } | |
7368 | arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2); | |
7369 | { | |
7370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7371 | (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2); | |
7372 | wxPyEndAllowThreads(__tstate); | |
7373 | if (PyErr_Occurred()) SWIG_fail; | |
7374 | } | |
7375 | resultobj = SWIG_Py_Void(); | |
7376 | return resultobj; | |
7377 | fail: | |
7378 | return NULL; | |
7379 | } | |
7380 | ||
7381 | ||
7382 | SWIGINTERN PyObject *_wrap_HtmlCell_SetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7383 | PyObject *resultobj = 0; | |
7384 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7385 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
7386 | int res1 = 0 ; | |
7387 | int res2 = 0 ; | |
7388 | PyObject * obj0 = 0 ; | |
7389 | PyObject * obj1 = 0 ; | |
7390 | char * kwnames[] = { | |
7391 | (char *) "self",(char *) "cell", NULL | |
7392 | }; | |
7393 | ||
7394 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) SWIG_fail; | |
7395 | res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
7396 | if (!SWIG_IsOK(res1)) { | |
7397 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7398 | } | |
7399 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
7400 | if (!SWIG_IsOK(res2)) { | |
7401 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
7402 | } | |
7403 | { | |
7404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7405 | (arg1)->SetNext(arg2); | |
7406 | wxPyEndAllowThreads(__tstate); | |
7407 | if (PyErr_Occurred()) SWIG_fail; | |
7408 | } | |
7409 | resultobj = SWIG_Py_Void(); | |
7410 | return resultobj; | |
7411 | fail: | |
7412 | return NULL; | |
7413 | } | |
7414 | ||
7415 | ||
7416 | SWIGINTERN PyObject *_wrap_HtmlCell_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7417 | PyObject *resultobj = 0; | |
7418 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7419 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
7420 | void *argp1 = 0 ; | |
7421 | int res1 = 0 ; | |
7422 | void *argp2 = 0 ; | |
7423 | int res2 = 0 ; | |
7424 | PyObject * obj0 = 0 ; | |
7425 | PyObject * obj1 = 0 ; | |
7426 | char * kwnames[] = { | |
7427 | (char *) "self",(char *) "p", NULL | |
7428 | }; | |
7429 | ||
7430 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) SWIG_fail; | |
7431 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7432 | if (!SWIG_IsOK(res1)) { | |
7433 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7434 | } | |
7435 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7436 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
7437 | if (!SWIG_IsOK(res2)) { | |
7438 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'"); | |
7439 | } | |
7440 | arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2); | |
7441 | { | |
7442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7443 | (arg1)->SetParent(arg2); | |
7444 | wxPyEndAllowThreads(__tstate); | |
7445 | if (PyErr_Occurred()) SWIG_fail; | |
7446 | } | |
7447 | resultobj = SWIG_Py_Void(); | |
7448 | return resultobj; | |
7449 | fail: | |
7450 | return NULL; | |
7451 | } | |
7452 | ||
7453 | ||
7454 | SWIGINTERN PyObject *_wrap_HtmlCell_SetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7455 | PyObject *resultobj = 0; | |
7456 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7457 | int arg2 ; | |
7458 | int arg3 ; | |
7459 | void *argp1 = 0 ; | |
7460 | int res1 = 0 ; | |
7461 | int val2 ; | |
7462 | int ecode2 = 0 ; | |
7463 | int val3 ; | |
7464 | int ecode3 = 0 ; | |
7465 | PyObject * obj0 = 0 ; | |
7466 | PyObject * obj1 = 0 ; | |
7467 | PyObject * obj2 = 0 ; | |
7468 | char * kwnames[] = { | |
7469 | (char *) "self",(char *) "x",(char *) "y", NULL | |
7470 | }; | |
7471 | ||
7472 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7473 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7474 | if (!SWIG_IsOK(res1)) { | |
7475 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7476 | } | |
7477 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7478 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7479 | if (!SWIG_IsOK(ecode2)) { | |
7480 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'"); | |
7481 | } | |
7482 | arg2 = static_cast< int >(val2); | |
7483 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7484 | if (!SWIG_IsOK(ecode3)) { | |
7485 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'"); | |
7486 | } | |
7487 | arg3 = static_cast< int >(val3); | |
7488 | { | |
7489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7490 | (arg1)->SetPos(arg2,arg3); | |
7491 | wxPyEndAllowThreads(__tstate); | |
7492 | if (PyErr_Occurred()) SWIG_fail; | |
7493 | } | |
7494 | resultobj = SWIG_Py_Void(); | |
7495 | return resultobj; | |
7496 | fail: | |
7497 | return NULL; | |
7498 | } | |
7499 | ||
7500 | ||
7501 | SWIGINTERN PyObject *_wrap_HtmlCell_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7502 | PyObject *resultobj = 0; | |
7503 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7504 | int arg2 ; | |
7505 | void *argp1 = 0 ; | |
7506 | int res1 = 0 ; | |
7507 | int val2 ; | |
7508 | int ecode2 = 0 ; | |
7509 | PyObject * obj0 = 0 ; | |
7510 | PyObject * obj1 = 0 ; | |
7511 | char * kwnames[] = { | |
7512 | (char *) "self",(char *) "w", NULL | |
7513 | }; | |
7514 | ||
7515 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) SWIG_fail; | |
7516 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7517 | if (!SWIG_IsOK(res1)) { | |
7518 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7519 | } | |
7520 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7521 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7522 | if (!SWIG_IsOK(ecode2)) { | |
7523 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'"); | |
7524 | } | |
7525 | arg2 = static_cast< int >(val2); | |
7526 | { | |
7527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7528 | (arg1)->Layout(arg2); | |
7529 | wxPyEndAllowThreads(__tstate); | |
7530 | if (PyErr_Occurred()) SWIG_fail; | |
7531 | } | |
7532 | resultobj = SWIG_Py_Void(); | |
7533 | return resultobj; | |
7534 | fail: | |
7535 | return NULL; | |
7536 | } | |
7537 | ||
7538 | ||
7539 | SWIGINTERN PyObject *_wrap_HtmlCell_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7540 | PyObject *resultobj = 0; | |
7541 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7542 | wxDC *arg2 = 0 ; | |
7543 | int arg3 ; | |
7544 | int arg4 ; | |
7545 | int arg5 ; | |
7546 | int arg6 ; | |
7547 | wxHtmlRenderingInfo *arg7 = 0 ; | |
7548 | void *argp1 = 0 ; | |
7549 | int res1 = 0 ; | |
7550 | void *argp2 = 0 ; | |
7551 | int res2 = 0 ; | |
7552 | int val3 ; | |
7553 | int ecode3 = 0 ; | |
7554 | int val4 ; | |
7555 | int ecode4 = 0 ; | |
7556 | int val5 ; | |
7557 | int ecode5 = 0 ; | |
7558 | int val6 ; | |
7559 | int ecode6 = 0 ; | |
7560 | void *argp7 = 0 ; | |
7561 | int res7 = 0 ; | |
7562 | PyObject * obj0 = 0 ; | |
7563 | PyObject * obj1 = 0 ; | |
7564 | PyObject * obj2 = 0 ; | |
7565 | PyObject * obj3 = 0 ; | |
7566 | PyObject * obj4 = 0 ; | |
7567 | PyObject * obj5 = 0 ; | |
7568 | PyObject * obj6 = 0 ; | |
7569 | char * kwnames[] = { | |
7570 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL | |
7571 | }; | |
7572 | ||
7573 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
7574 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7575 | if (!SWIG_IsOK(res1)) { | |
7576 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7577 | } | |
7578 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7579 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
7580 | if (!SWIG_IsOK(res2)) { | |
7581 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7582 | } | |
7583 | if (!argp2) { | |
7584 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7585 | } | |
7586 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
7587 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7588 | if (!SWIG_IsOK(ecode3)) { | |
7589 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'"); | |
7590 | } | |
7591 | arg3 = static_cast< int >(val3); | |
7592 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7593 | if (!SWIG_IsOK(ecode4)) { | |
7594 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'"); | |
7595 | } | |
7596 | arg4 = static_cast< int >(val4); | |
7597 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
7598 | if (!SWIG_IsOK(ecode5)) { | |
7599 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'"); | |
7600 | } | |
7601 | arg5 = static_cast< int >(val5); | |
7602 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
7603 | if (!SWIG_IsOK(ecode6)) { | |
7604 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'"); | |
7605 | } | |
7606 | arg6 = static_cast< int >(val6); | |
7607 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxHtmlRenderingInfo, 0 ); | |
7608 | if (!SWIG_IsOK(res7)) { | |
7609 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'"); | |
7610 | } | |
7611 | if (!argp7) { | |
7612 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'"); | |
7613 | } | |
7614 | arg7 = reinterpret_cast< wxHtmlRenderingInfo * >(argp7); | |
7615 | { | |
7616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7617 | (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7); | |
7618 | wxPyEndAllowThreads(__tstate); | |
7619 | if (PyErr_Occurred()) SWIG_fail; | |
7620 | } | |
7621 | resultobj = SWIG_Py_Void(); | |
7622 | return resultobj; | |
7623 | fail: | |
7624 | return NULL; | |
7625 | } | |
7626 | ||
7627 | ||
7628 | SWIGINTERN PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7629 | PyObject *resultobj = 0; | |
7630 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7631 | wxDC *arg2 = 0 ; | |
7632 | int arg3 ; | |
7633 | int arg4 ; | |
7634 | wxHtmlRenderingInfo *arg5 = 0 ; | |
7635 | void *argp1 = 0 ; | |
7636 | int res1 = 0 ; | |
7637 | void *argp2 = 0 ; | |
7638 | int res2 = 0 ; | |
7639 | int val3 ; | |
7640 | int ecode3 = 0 ; | |
7641 | int val4 ; | |
7642 | int ecode4 = 0 ; | |
7643 | void *argp5 = 0 ; | |
7644 | int res5 = 0 ; | |
7645 | PyObject * obj0 = 0 ; | |
7646 | PyObject * obj1 = 0 ; | |
7647 | PyObject * obj2 = 0 ; | |
7648 | PyObject * obj3 = 0 ; | |
7649 | PyObject * obj4 = 0 ; | |
7650 | char * kwnames[] = { | |
7651 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL | |
7652 | }; | |
7653 | ||
7654 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
7655 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7656 | if (!SWIG_IsOK(res1)) { | |
7657 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7658 | } | |
7659 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7660 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
7661 | if (!SWIG_IsOK(res2)) { | |
7662 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7663 | } | |
7664 | if (!argp2) { | |
7665 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7666 | } | |
7667 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
7668 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7669 | if (!SWIG_IsOK(ecode3)) { | |
7670 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'"); | |
7671 | } | |
7672 | arg3 = static_cast< int >(val3); | |
7673 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7674 | if (!SWIG_IsOK(ecode4)) { | |
7675 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'"); | |
7676 | } | |
7677 | arg4 = static_cast< int >(val4); | |
7678 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxHtmlRenderingInfo, 0 ); | |
7679 | if (!SWIG_IsOK(res5)) { | |
7680 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'"); | |
7681 | } | |
7682 | if (!argp5) { | |
7683 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'"); | |
7684 | } | |
7685 | arg5 = reinterpret_cast< wxHtmlRenderingInfo * >(argp5); | |
7686 | { | |
7687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7688 | (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5); | |
7689 | wxPyEndAllowThreads(__tstate); | |
7690 | if (PyErr_Occurred()) SWIG_fail; | |
7691 | } | |
7692 | resultobj = SWIG_Py_Void(); | |
7693 | return resultobj; | |
7694 | fail: | |
7695 | return NULL; | |
7696 | } | |
7697 | ||
7698 | ||
7699 | SWIGINTERN PyObject *_wrap_HtmlCell_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7700 | PyObject *resultobj = 0; | |
7701 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7702 | int arg2 ; | |
7703 | void *arg3 = (void *) 0 ; | |
7704 | wxHtmlCell *result = 0 ; | |
7705 | void *argp1 = 0 ; | |
7706 | int res1 = 0 ; | |
7707 | int val2 ; | |
7708 | int ecode2 = 0 ; | |
7709 | int res3 ; | |
7710 | PyObject * obj0 = 0 ; | |
7711 | PyObject * obj1 = 0 ; | |
7712 | PyObject * obj2 = 0 ; | |
7713 | char * kwnames[] = { | |
7714 | (char *) "self",(char *) "condition",(char *) "param", NULL | |
7715 | }; | |
7716 | ||
7717 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7718 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7719 | if (!SWIG_IsOK(res1)) { | |
7720 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7721 | } | |
7722 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7723 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7724 | if (!SWIG_IsOK(ecode2)) { | |
7725 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'"); | |
7726 | } | |
7727 | arg2 = static_cast< int >(val2); | |
7728 | res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); | |
7729 | if (!SWIG_IsOK(res3)) { | |
7730 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'"); | |
7731 | } | |
7732 | { | |
7733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7734 | result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3); | |
7735 | wxPyEndAllowThreads(__tstate); | |
7736 | if (PyErr_Occurred()) SWIG_fail; | |
7737 | } | |
7738 | { | |
7739 | resultobj = wxPyMake_wxObject(result, 0); | |
7740 | } | |
7741 | return resultobj; | |
7742 | fail: | |
7743 | return NULL; | |
7744 | } | |
7745 | ||
7746 | ||
e9d6f3a4 RD |
7747 | SWIGINTERN PyObject *_wrap_HtmlCell_ProcessMouseClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7748 | PyObject *resultobj = 0; | |
7749 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7750 | wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ; | |
7751 | wxPoint *arg3 = 0 ; | |
7752 | wxMouseEvent *arg4 = 0 ; | |
7753 | bool result; | |
7754 | void *argp1 = 0 ; | |
7755 | int res1 = 0 ; | |
7756 | void *argp2 = 0 ; | |
7757 | int res2 = 0 ; | |
7758 | wxPoint temp3 ; | |
7759 | void *argp4 = 0 ; | |
7760 | int res4 = 0 ; | |
7761 | PyObject * obj0 = 0 ; | |
7762 | PyObject * obj1 = 0 ; | |
7763 | PyObject * obj2 = 0 ; | |
7764 | PyObject * obj3 = 0 ; | |
7765 | char * kwnames[] = { | |
7766 | (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL | |
7767 | }; | |
7768 | ||
7769 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7770 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7771 | if (!SWIG_IsOK(res1)) { | |
7772 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7773 | } | |
7774 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7775 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
7776 | if (!SWIG_IsOK(res2)) { | |
7777 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'"); | |
7778 | } | |
7779 | arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2); | |
7780 | { | |
7781 | arg3 = &temp3; | |
7782 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7783 | } | |
7784 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxMouseEvent, 0 | 0); | |
7785 | if (!SWIG_IsOK(res4)) { | |
7786 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'"); | |
7787 | } | |
7788 | if (!argp4) { | |
7789 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'"); | |
7790 | } | |
7791 | arg4 = reinterpret_cast< wxMouseEvent * >(argp4); | |
7792 | { | |
7793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7794 | result = (bool)(arg1)->ProcessMouseClick(arg2,(wxPoint const &)*arg3,(wxMouseEvent const &)*arg4); | |
7795 | wxPyEndAllowThreads(__tstate); | |
7796 | if (PyErr_Occurred()) SWIG_fail; | |
7797 | } | |
7798 | { | |
7799 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7800 | } | |
7801 | return resultobj; | |
7802 | fail: | |
7803 | return NULL; | |
7804 | } | |
7805 | ||
7806 | ||
0085ce49 RD |
7807 | SWIGINTERN PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7808 | PyObject *resultobj = 0; | |
7809 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7810 | bool arg2 ; | |
7811 | void *argp1 = 0 ; | |
7812 | int res1 = 0 ; | |
7813 | bool val2 ; | |
7814 | int ecode2 = 0 ; | |
7815 | PyObject * obj0 = 0 ; | |
7816 | PyObject * obj1 = 0 ; | |
7817 | char * kwnames[] = { | |
7818 | (char *) "self",(char *) "can", NULL | |
7819 | }; | |
7820 | ||
7821 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) SWIG_fail; | |
7822 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7823 | if (!SWIG_IsOK(res1)) { | |
7824 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7825 | } | |
7826 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7827 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
7828 | if (!SWIG_IsOK(ecode2)) { | |
7829 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'"); | |
7830 | } | |
7831 | arg2 = static_cast< bool >(val2); | |
7832 | { | |
7833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7834 | (arg1)->SetCanLiveOnPagebreak(arg2); | |
7835 | wxPyEndAllowThreads(__tstate); | |
7836 | if (PyErr_Occurred()) SWIG_fail; | |
7837 | } | |
7838 | resultobj = SWIG_Py_Void(); | |
7839 | return resultobj; | |
7840 | fail: | |
7841 | return NULL; | |
d14a1e28 RD |
7842 | } |
7843 | ||
7844 | ||
0085ce49 RD |
7845 | SWIGINTERN PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7846 | PyObject *resultobj = 0; | |
7847 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7848 | bool result; | |
7849 | void *argp1 = 0 ; | |
7850 | int res1 = 0 ; | |
7851 | PyObject *swig_obj[1] ; | |
7852 | ||
7853 | if (!args) SWIG_fail; | |
7854 | swig_obj[0] = args; | |
7855 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7856 | if (!SWIG_IsOK(res1)) { | |
7857 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7858 | } | |
7859 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7860 | { | |
7861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7862 | result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed(); | |
7863 | wxPyEndAllowThreads(__tstate); | |
7864 | if (PyErr_Occurred()) SWIG_fail; | |
7865 | } | |
7866 | { | |
7867 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7868 | } | |
7869 | return resultobj; | |
7870 | fail: | |
7871 | return NULL; | |
d14a1e28 RD |
7872 | } |
7873 | ||
7874 | ||
0085ce49 RD |
7875 | SWIGINTERN PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7876 | PyObject *resultobj = 0; | |
7877 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7878 | bool result; | |
7879 | void *argp1 = 0 ; | |
7880 | int res1 = 0 ; | |
7881 | PyObject *swig_obj[1] ; | |
7882 | ||
7883 | if (!args) SWIG_fail; | |
7884 | swig_obj[0] = args; | |
7885 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7886 | if (!SWIG_IsOK(res1)) { | |
7887 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7888 | } | |
7889 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7890 | { | |
7891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7892 | result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell(); | |
7893 | wxPyEndAllowThreads(__tstate); | |
7894 | if (PyErr_Occurred()) SWIG_fail; | |
7895 | } | |
7896 | { | |
7897 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7898 | } | |
7899 | return resultobj; | |
7900 | fail: | |
7901 | return NULL; | |
7902 | } | |
7903 | ||
7904 | ||
7905 | SWIGINTERN PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7906 | PyObject *resultobj = 0; | |
7907 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7908 | int arg2 ; | |
7909 | int arg3 ; | |
7910 | unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; | |
7911 | wxHtmlCell *result = 0 ; | |
7912 | void *argp1 = 0 ; | |
7913 | int res1 = 0 ; | |
7914 | int val2 ; | |
7915 | int ecode2 = 0 ; | |
7916 | int val3 ; | |
7917 | int ecode3 = 0 ; | |
7918 | unsigned int val4 ; | |
7919 | int ecode4 = 0 ; | |
7920 | PyObject * obj0 = 0 ; | |
7921 | PyObject * obj1 = 0 ; | |
7922 | PyObject * obj2 = 0 ; | |
7923 | PyObject * obj3 = 0 ; | |
7924 | char * kwnames[] = { | |
7925 | (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL | |
7926 | }; | |
7927 | ||
7928 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7929 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7930 | if (!SWIG_IsOK(res1)) { | |
7931 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7932 | } | |
7933 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7934 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7935 | if (!SWIG_IsOK(ecode2)) { | |
7936 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'"); | |
7937 | } | |
7938 | arg2 = static_cast< int >(val2); | |
7939 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7940 | if (!SWIG_IsOK(ecode3)) { | |
7941 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'"); | |
7942 | } | |
7943 | arg3 = static_cast< int >(val3); | |
7944 | if (obj3) { | |
7945 | ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); | |
7946 | if (!SWIG_IsOK(ecode4)) { | |
7947 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'"); | |
7948 | } | |
7949 | arg4 = static_cast< unsigned int >(val4); | |
7950 | } | |
7951 | { | |
7952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7953 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4); | |
7954 | wxPyEndAllowThreads(__tstate); | |
7955 | if (PyErr_Occurred()) SWIG_fail; | |
7956 | } | |
7957 | { | |
7958 | resultobj = wxPyMake_wxObject(result, 0); | |
7959 | } | |
7960 | return resultobj; | |
7961 | fail: | |
7962 | return NULL; | |
d14a1e28 RD |
7963 | } |
7964 | ||
7965 | ||
e9d6f3a4 | 7966 | SWIGINTERN PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
7967 | PyObject *resultobj = 0; |
7968 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
e9d6f3a4 | 7969 | wxHtmlCell *arg2 = (wxHtmlCell *) NULL ; |
0085ce49 RD |
7970 | wxPoint result; |
7971 | void *argp1 = 0 ; | |
7972 | int res1 = 0 ; | |
e9d6f3a4 RD |
7973 | void *argp2 = 0 ; |
7974 | int res2 = 0 ; | |
7975 | PyObject * obj0 = 0 ; | |
7976 | PyObject * obj1 = 0 ; | |
7977 | char * kwnames[] = { | |
7978 | (char *) "self",(char *) "rootCell", NULL | |
7979 | }; | |
7980 | ||
7981 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlCell_GetAbsPos",kwnames,&obj0,&obj1)) SWIG_fail; | |
7982 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7983 | if (!SWIG_IsOK(res1)) { | |
7984 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7985 | } | |
7986 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7987 | if (obj1) { | |
7988 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7989 | if (!SWIG_IsOK(res2)) { | |
7990 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
7991 | } | |
7992 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
7993 | } | |
7994 | { | |
7995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7996 | result = ((wxHtmlCell const *)arg1)->GetAbsPos(arg2); | |
7997 | wxPyEndAllowThreads(__tstate); | |
7998 | if (PyErr_Occurred()) SWIG_fail; | |
7999 | } | |
8000 | resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 ); | |
8001 | return resultobj; | |
8002 | fail: | |
8003 | return NULL; | |
8004 | } | |
8005 | ||
8006 | ||
8007 | SWIGINTERN PyObject *_wrap_HtmlCell_GetRootCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8008 | PyObject *resultobj = 0; | |
8009 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8010 | wxHtmlCell *result = 0 ; | |
8011 | void *argp1 = 0 ; | |
8012 | int res1 = 0 ; | |
0085ce49 RD |
8013 | PyObject *swig_obj[1] ; |
8014 | ||
8015 | if (!args) SWIG_fail; | |
8016 | swig_obj[0] = args; | |
8017 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8018 | if (!SWIG_IsOK(res1)) { | |
e9d6f3a4 | 8019 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); |
0085ce49 RD |
8020 | } |
8021 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8022 | { | |
8023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e9d6f3a4 | 8024 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetRootCell(); |
0085ce49 RD |
8025 | wxPyEndAllowThreads(__tstate); |
8026 | if (PyErr_Occurred()) SWIG_fail; | |
8027 | } | |
e9d6f3a4 RD |
8028 | { |
8029 | resultobj = wxPyMake_wxObject(result, 0); | |
8030 | } | |
0085ce49 RD |
8031 | return resultobj; |
8032 | fail: | |
8033 | return NULL; | |
d14a1e28 RD |
8034 | } |
8035 | ||
8036 | ||
0085ce49 RD |
8037 | SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8038 | PyObject *resultobj = 0; | |
8039 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8040 | wxHtmlCell *result = 0 ; | |
8041 | void *argp1 = 0 ; | |
8042 | int res1 = 0 ; | |
8043 | PyObject *swig_obj[1] ; | |
8044 | ||
8045 | if (!args) SWIG_fail; | |
8046 | swig_obj[0] = args; | |
8047 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8048 | if (!SWIG_IsOK(res1)) { | |
8049 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8050 | } | |
8051 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8052 | { | |
8053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8054 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal(); | |
8055 | wxPyEndAllowThreads(__tstate); | |
8056 | if (PyErr_Occurred()) SWIG_fail; | |
8057 | } | |
8058 | { | |
8059 | resultobj = wxPyMake_wxObject(result, 0); | |
8060 | } | |
8061 | return resultobj; | |
8062 | fail: | |
8063 | return NULL; | |
d14a1e28 RD |
8064 | } |
8065 | ||
8066 | ||
0085ce49 RD |
8067 | SWIGINTERN PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8068 | PyObject *resultobj = 0; | |
8069 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8070 | wxHtmlCell *result = 0 ; | |
8071 | void *argp1 = 0 ; | |
8072 | int res1 = 0 ; | |
8073 | PyObject *swig_obj[1] ; | |
8074 | ||
8075 | if (!args) SWIG_fail; | |
8076 | swig_obj[0] = args; | |
8077 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8078 | if (!SWIG_IsOK(res1)) { | |
8079 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8080 | } | |
8081 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8082 | { | |
8083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8084 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal(); | |
8085 | wxPyEndAllowThreads(__tstate); | |
8086 | if (PyErr_Occurred()) SWIG_fail; | |
8087 | } | |
8088 | { | |
8089 | resultobj = wxPyMake_wxObject(result, 0); | |
8090 | } | |
8091 | return resultobj; | |
8092 | fail: | |
8093 | return NULL; | |
d14a1e28 RD |
8094 | } |
8095 | ||
8096 | ||
0085ce49 RD |
8097 | SWIGINTERN PyObject *_wrap_HtmlCell_GetDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8098 | PyObject *resultobj = 0; | |
8099 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8100 | unsigned int result; | |
8101 | void *argp1 = 0 ; | |
8102 | int res1 = 0 ; | |
8103 | PyObject *swig_obj[1] ; | |
8104 | ||
8105 | if (!args) SWIG_fail; | |
8106 | swig_obj[0] = args; | |
8107 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8108 | if (!SWIG_IsOK(res1)) { | |
8109 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8110 | } | |
8111 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8112 | { | |
8113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8114 | result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth(); | |
8115 | wxPyEndAllowThreads(__tstate); | |
8116 | if (PyErr_Occurred()) SWIG_fail; | |
8117 | } | |
8118 | resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); | |
8119 | return resultobj; | |
8120 | fail: | |
8121 | return NULL; | |
8122 | } | |
8123 | ||
8124 | ||
8125 | SWIGINTERN PyObject *_wrap_HtmlCell_IsBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8126 | PyObject *resultobj = 0; | |
8127 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8128 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
8129 | bool result; | |
8130 | void *argp1 = 0 ; | |
8131 | int res1 = 0 ; | |
8132 | void *argp2 = 0 ; | |
8133 | int res2 = 0 ; | |
8134 | PyObject * obj0 = 0 ; | |
8135 | PyObject * obj1 = 0 ; | |
8136 | char * kwnames[] = { | |
8137 | (char *) "self",(char *) "cell", NULL | |
8138 | }; | |
8139 | ||
8140 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) SWIG_fail; | |
8141 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8142 | if (!SWIG_IsOK(res1)) { | |
8143 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8144 | } | |
8145 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8146 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8147 | if (!SWIG_IsOK(res2)) { | |
8148 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
8149 | } | |
8150 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
8151 | { | |
8152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8153 | result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2); | |
8154 | wxPyEndAllowThreads(__tstate); | |
8155 | if (PyErr_Occurred()) SWIG_fail; | |
8156 | } | |
8157 | { | |
8158 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8159 | } | |
8160 | return resultobj; | |
8161 | fail: | |
8162 | return NULL; | |
8163 | } | |
8164 | ||
8165 | ||
8166 | SWIGINTERN PyObject *_wrap_HtmlCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8167 | PyObject *resultobj = 0; | |
8168 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8169 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
8170 | wxString result; | |
8171 | void *argp1 = 0 ; | |
8172 | int res1 = 0 ; | |
8173 | void *argp2 = 0 ; | |
8174 | int res2 = 0 ; | |
8175 | PyObject * obj0 = 0 ; | |
8176 | PyObject * obj1 = 0 ; | |
8177 | char * kwnames[] = { | |
8178 | (char *) "self",(char *) "sel", NULL | |
8179 | }; | |
8180 | ||
8181 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail; | |
8182 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8183 | if (!SWIG_IsOK(res1)) { | |
8184 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8185 | } | |
8186 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8187 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
8188 | if (!SWIG_IsOK(res2)) { | |
8189 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); | |
8190 | } | |
8191 | arg2 = reinterpret_cast< wxHtmlSelection * >(argp2); | |
8192 | { | |
8193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8194 | result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2); | |
8195 | wxPyEndAllowThreads(__tstate); | |
8196 | if (PyErr_Occurred()) SWIG_fail; | |
8197 | } | |
8198 | { | |
8199 | #if wxUSE_UNICODE | |
8200 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8201 | #else | |
8202 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8203 | #endif | |
8204 | } | |
8205 | return resultobj; | |
8206 | fail: | |
8207 | return NULL; | |
d14a1e28 RD |
8208 | } |
8209 | ||
8210 | ||
0085ce49 RD |
8211 | SWIGINTERN PyObject *HtmlCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8212 | PyObject *obj; | |
8213 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8214 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell, SWIG_NewClientData(obj)); | |
8215 | return SWIG_Py_Void(); | |
d14a1e28 RD |
8216 | } |
8217 | ||
0085ce49 RD |
8218 | SWIGINTERN PyObject *HtmlCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8219 | return SWIG_Python_InitShadowInstance(args); | |
8220 | } | |
d14a1e28 | 8221 | |
0085ce49 RD |
8222 | SWIGINTERN PyObject *_wrap_new_HtmlWordCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8223 | PyObject *resultobj = 0; | |
8224 | wxString *arg1 = 0 ; | |
8225 | wxDC *arg2 = 0 ; | |
8226 | wxHtmlWordCell *result = 0 ; | |
8227 | bool temp1 = false ; | |
8228 | void *argp2 = 0 ; | |
8229 | int res2 = 0 ; | |
8230 | PyObject * obj0 = 0 ; | |
8231 | PyObject * obj1 = 0 ; | |
8232 | char * kwnames[] = { | |
8233 | (char *) "word",(char *) "dc", NULL | |
8234 | }; | |
8235 | ||
8236 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
8237 | { | |
8238 | arg1 = wxString_in_helper(obj0); | |
8239 | if (arg1 == NULL) SWIG_fail; | |
8240 | temp1 = true; | |
8241 | } | |
8242 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
8243 | if (!SWIG_IsOK(res2)) { | |
8244 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'"); | |
8245 | } | |
8246 | if (!argp2) { | |
8247 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'"); | |
8248 | } | |
8249 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8250 | { | |
8251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8252 | result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2); | |
8253 | wxPyEndAllowThreads(__tstate); | |
8254 | if (PyErr_Occurred()) SWIG_fail; | |
8255 | } | |
8256 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_NEW | 0 ); | |
8257 | { | |
8258 | if (temp1) | |
8259 | delete arg1; | |
8260 | } | |
8261 | return resultobj; | |
8262 | fail: | |
8263 | { | |
8264 | if (temp1) | |
8265 | delete arg1; | |
8266 | } | |
8267 | return NULL; | |
8268 | } | |
8269 | ||
8270 | ||
8271 | SWIGINTERN PyObject *_wrap_HtmlWordCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8272 | PyObject *resultobj = 0; | |
8273 | wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ; | |
8274 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
8275 | wxString result; | |
8276 | void *argp1 = 0 ; | |
8277 | int res1 = 0 ; | |
8278 | void *argp2 = 0 ; | |
8279 | int res2 = 0 ; | |
8280 | PyObject * obj0 = 0 ; | |
8281 | PyObject * obj1 = 0 ; | |
8282 | char * kwnames[] = { | |
8283 | (char *) "self",(char *) "sel", NULL | |
8284 | }; | |
8285 | ||
8286 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail; | |
8287 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8288 | if (!SWIG_IsOK(res1)) { | |
8289 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'"); | |
8290 | } | |
8291 | arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1); | |
8292 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
8293 | if (!SWIG_IsOK(res2)) { | |
8294 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); | |
8295 | } | |
8296 | arg2 = reinterpret_cast< wxHtmlSelection * >(argp2); | |
8297 | { | |
8298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8299 | result = ((wxHtmlWordCell const *)arg1)->ConvertToText(arg2); | |
8300 | wxPyEndAllowThreads(__tstate); | |
8301 | if (PyErr_Occurred()) SWIG_fail; | |
8302 | } | |
8303 | { | |
8304 | #if wxUSE_UNICODE | |
8305 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8306 | #else | |
8307 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8308 | #endif | |
8309 | } | |
8310 | return resultobj; | |
8311 | fail: | |
8312 | return NULL; | |
d14a1e28 RD |
8313 | } |
8314 | ||
8315 | ||
0085ce49 RD |
8316 | SWIGINTERN PyObject *_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8317 | PyObject *resultobj = 0; | |
8318 | wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ; | |
8319 | bool result; | |
8320 | void *argp1 = 0 ; | |
8321 | int res1 = 0 ; | |
8322 | PyObject *swig_obj[1] ; | |
8323 | ||
8324 | if (!args) SWIG_fail; | |
8325 | swig_obj[0] = args; | |
8326 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8327 | if (!SWIG_IsOK(res1)) { | |
8328 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'"); | |
8329 | } | |
8330 | arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1); | |
8331 | { | |
8332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8333 | result = (bool)((wxHtmlWordCell const *)arg1)->IsLinebreakAllowed(); | |
8334 | wxPyEndAllowThreads(__tstate); | |
8335 | if (PyErr_Occurred()) SWIG_fail; | |
8336 | } | |
8337 | { | |
8338 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8339 | } | |
8340 | return resultobj; | |
8341 | fail: | |
8342 | return NULL; | |
8343 | } | |
8344 | ||
8345 | ||
8346 | SWIGINTERN PyObject *_wrap_HtmlWordCell_SetPreviousWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8347 | PyObject *resultobj = 0; | |
8348 | wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ; | |
8349 | wxHtmlWordCell *arg2 = (wxHtmlWordCell *) 0 ; | |
8350 | void *argp1 = 0 ; | |
8351 | int res1 = 0 ; | |
8352 | void *argp2 = 0 ; | |
8353 | int res2 = 0 ; | |
8354 | PyObject * obj0 = 0 ; | |
8355 | PyObject * obj1 = 0 ; | |
8356 | char * kwnames[] = { | |
8357 | (char *) "self",(char *) "cell", NULL | |
8358 | }; | |
8359 | ||
8360 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames,&obj0,&obj1)) SWIG_fail; | |
8361 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8362 | if (!SWIG_IsOK(res1)) { | |
8363 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'"); | |
8364 | } | |
8365 | arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1); | |
8366 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8367 | if (!SWIG_IsOK(res2)) { | |
8368 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'"); | |
8369 | } | |
8370 | arg2 = reinterpret_cast< wxHtmlWordCell * >(argp2); | |
8371 | { | |
8372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8373 | (arg1)->SetPreviousWord(arg2); | |
8374 | wxPyEndAllowThreads(__tstate); | |
8375 | if (PyErr_Occurred()) SWIG_fail; | |
8376 | } | |
8377 | resultobj = SWIG_Py_Void(); | |
8378 | return resultobj; | |
8379 | fail: | |
8380 | return NULL; | |
d14a1e28 RD |
8381 | } |
8382 | ||
8383 | ||
0085ce49 RD |
8384 | SWIGINTERN PyObject *HtmlWordCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8385 | PyObject *obj; | |
8386 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8387 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell, SWIG_NewClientData(obj)); | |
8388 | return SWIG_Py_Void(); | |
d14a1e28 RD |
8389 | } |
8390 | ||
0085ce49 RD |
8391 | SWIGINTERN PyObject *HtmlWordCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8392 | return SWIG_Python_InitShadowInstance(args); | |
8393 | } | |
d14a1e28 | 8394 | |
0085ce49 RD |
8395 | SWIGINTERN PyObject *_wrap_new_HtmlContainerCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8396 | PyObject *resultobj = 0; | |
8397 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8398 | wxHtmlContainerCell *result = 0 ; | |
8399 | void *argp1 = 0 ; | |
8400 | int res1 = 0 ; | |
8401 | PyObject * obj0 = 0 ; | |
8402 | char * kwnames[] = { | |
8403 | (char *) "parent", NULL | |
8404 | }; | |
8405 | ||
8406 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) SWIG_fail; | |
8407 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8408 | if (!SWIG_IsOK(res1)) { | |
8409 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8410 | } | |
8411 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8412 | { | |
8413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8414 | result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1); | |
8415 | wxPyEndAllowThreads(__tstate); | |
8416 | if (PyErr_Occurred()) SWIG_fail; | |
8417 | } | |
8418 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_NEW | 0 ); | |
8419 | return resultobj; | |
8420 | fail: | |
8421 | return NULL; | |
8422 | } | |
8423 | ||
8424 | ||
8425 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8426 | PyObject *resultobj = 0; | |
8427 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8428 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
8429 | void *argp1 = 0 ; | |
8430 | int res1 = 0 ; | |
8431 | int res2 = 0 ; | |
8432 | PyObject * obj0 = 0 ; | |
8433 | PyObject * obj1 = 0 ; | |
8434 | char * kwnames[] = { | |
8435 | (char *) "self",(char *) "cell", NULL | |
8436 | }; | |
8437 | ||
8438 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
8439 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8440 | if (!SWIG_IsOK(res1)) { | |
8441 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8442 | } | |
8443 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8444 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
8445 | if (!SWIG_IsOK(res2)) { | |
8446 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
8447 | } | |
8448 | { | |
8449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8450 | (arg1)->InsertCell(arg2); | |
8451 | wxPyEndAllowThreads(__tstate); | |
8452 | if (PyErr_Occurred()) SWIG_fail; | |
8453 | } | |
8454 | resultobj = SWIG_Py_Void(); | |
8455 | return resultobj; | |
8456 | fail: | |
8457 | return NULL; | |
8458 | } | |
8459 | ||
8460 | ||
8461 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8462 | PyObject *resultobj = 0; | |
8463 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8464 | int arg2 ; | |
8465 | void *argp1 = 0 ; | |
8466 | int res1 = 0 ; | |
8467 | int val2 ; | |
8468 | int ecode2 = 0 ; | |
8469 | PyObject * obj0 = 0 ; | |
8470 | PyObject * obj1 = 0 ; | |
8471 | char * kwnames[] = { | |
8472 | (char *) "self",(char *) "al", NULL | |
8473 | }; | |
8474 | ||
8475 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) SWIG_fail; | |
8476 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8477 | if (!SWIG_IsOK(res1)) { | |
8478 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8479 | } | |
8480 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8481 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8482 | if (!SWIG_IsOK(ecode2)) { | |
8483 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'"); | |
8484 | } | |
8485 | arg2 = static_cast< int >(val2); | |
8486 | { | |
8487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8488 | (arg1)->SetAlignHor(arg2); | |
8489 | wxPyEndAllowThreads(__tstate); | |
8490 | if (PyErr_Occurred()) SWIG_fail; | |
8491 | } | |
8492 | resultobj = SWIG_Py_Void(); | |
8493 | return resultobj; | |
8494 | fail: | |
8495 | return NULL; | |
d14a1e28 | 8496 | } |
0085ce49 RD |
8497 | |
8498 | ||
8499 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8500 | PyObject *resultobj = 0; | |
8501 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8502 | int result; | |
8503 | void *argp1 = 0 ; | |
8504 | int res1 = 0 ; | |
8505 | PyObject *swig_obj[1] ; | |
8506 | ||
8507 | if (!args) SWIG_fail; | |
8508 | swig_obj[0] = args; | |
8509 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8510 | if (!SWIG_IsOK(res1)) { | |
8511 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8512 | } | |
8513 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8514 | { | |
8515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8516 | result = (int)(arg1)->GetAlignHor(); | |
8517 | wxPyEndAllowThreads(__tstate); | |
8518 | if (PyErr_Occurred()) SWIG_fail; | |
8519 | } | |
8520 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8521 | return resultobj; | |
8522 | fail: | |
8523 | return NULL; | |
8524 | } | |
8525 | ||
8526 | ||
8527 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8528 | PyObject *resultobj = 0; | |
8529 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8530 | int arg2 ; | |
8531 | void *argp1 = 0 ; | |
8532 | int res1 = 0 ; | |
8533 | int val2 ; | |
8534 | int ecode2 = 0 ; | |
8535 | PyObject * obj0 = 0 ; | |
8536 | PyObject * obj1 = 0 ; | |
8537 | char * kwnames[] = { | |
8538 | (char *) "self",(char *) "al", NULL | |
8539 | }; | |
8540 | ||
8541 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) SWIG_fail; | |
8542 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8543 | if (!SWIG_IsOK(res1)) { | |
8544 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8545 | } | |
8546 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8547 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8548 | if (!SWIG_IsOK(ecode2)) { | |
8549 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'"); | |
8550 | } | |
8551 | arg2 = static_cast< int >(val2); | |
8552 | { | |
8553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8554 | (arg1)->SetAlignVer(arg2); | |
8555 | wxPyEndAllowThreads(__tstate); | |
8556 | if (PyErr_Occurred()) SWIG_fail; | |
8557 | } | |
8558 | resultobj = SWIG_Py_Void(); | |
8559 | return resultobj; | |
8560 | fail: | |
8561 | return NULL; | |
d14a1e28 RD |
8562 | } |
8563 | ||
8564 | ||
0085ce49 RD |
8565 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8566 | PyObject *resultobj = 0; | |
8567 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8568 | int result; | |
8569 | void *argp1 = 0 ; | |
8570 | int res1 = 0 ; | |
8571 | PyObject *swig_obj[1] ; | |
8572 | ||
8573 | if (!args) SWIG_fail; | |
8574 | swig_obj[0] = args; | |
8575 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8576 | if (!SWIG_IsOK(res1)) { | |
8577 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8578 | } | |
8579 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8580 | { | |
8581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8582 | result = (int)(arg1)->GetAlignVer(); | |
8583 | wxPyEndAllowThreads(__tstate); | |
8584 | if (PyErr_Occurred()) SWIG_fail; | |
8585 | } | |
8586 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8587 | return resultobj; | |
8588 | fail: | |
8589 | return NULL; | |
8590 | } | |
8591 | ||
8592 | ||
8593 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8594 | PyObject *resultobj = 0; | |
8595 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8596 | int arg2 ; | |
8597 | int arg3 ; | |
8598 | int arg4 = (int) wxHTML_UNITS_PIXELS ; | |
8599 | void *argp1 = 0 ; | |
8600 | int res1 = 0 ; | |
8601 | int val2 ; | |
8602 | int ecode2 = 0 ; | |
8603 | int val3 ; | |
8604 | int ecode3 = 0 ; | |
8605 | int val4 ; | |
8606 | int ecode4 = 0 ; | |
8607 | PyObject * obj0 = 0 ; | |
8608 | PyObject * obj1 = 0 ; | |
8609 | PyObject * obj2 = 0 ; | |
8610 | PyObject * obj3 = 0 ; | |
8611 | char * kwnames[] = { | |
8612 | (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL | |
8613 | }; | |
8614 | ||
8615 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
8616 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8617 | if (!SWIG_IsOK(res1)) { | |
8618 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8619 | } | |
8620 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8621 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8622 | if (!SWIG_IsOK(ecode2)) { | |
8623 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'"); | |
8624 | } | |
8625 | arg2 = static_cast< int >(val2); | |
8626 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8627 | if (!SWIG_IsOK(ecode3)) { | |
8628 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'"); | |
8629 | } | |
8630 | arg3 = static_cast< int >(val3); | |
8631 | if (obj3) { | |
8632 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
8633 | if (!SWIG_IsOK(ecode4)) { | |
8634 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'"); | |
8635 | } | |
8636 | arg4 = static_cast< int >(val4); | |
8637 | } | |
8638 | { | |
8639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8640 | (arg1)->SetIndent(arg2,arg3,arg4); | |
8641 | wxPyEndAllowThreads(__tstate); | |
8642 | if (PyErr_Occurred()) SWIG_fail; | |
8643 | } | |
8644 | resultobj = SWIG_Py_Void(); | |
8645 | return resultobj; | |
8646 | fail: | |
8647 | return NULL; | |
8648 | } | |
8649 | ||
8650 | ||
8651 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8652 | PyObject *resultobj = 0; | |
8653 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8654 | int arg2 ; | |
8655 | int result; | |
8656 | void *argp1 = 0 ; | |
8657 | int res1 = 0 ; | |
8658 | int val2 ; | |
8659 | int ecode2 = 0 ; | |
8660 | PyObject * obj0 = 0 ; | |
8661 | PyObject * obj1 = 0 ; | |
8662 | char * kwnames[] = { | |
8663 | (char *) "self",(char *) "ind", NULL | |
8664 | }; | |
8665 | ||
8666 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) SWIG_fail; | |
8667 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8668 | if (!SWIG_IsOK(res1)) { | |
8669 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8670 | } | |
8671 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8672 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8673 | if (!SWIG_IsOK(ecode2)) { | |
8674 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'"); | |
8675 | } | |
8676 | arg2 = static_cast< int >(val2); | |
8677 | { | |
8678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8679 | result = (int)(arg1)->GetIndent(arg2); | |
8680 | wxPyEndAllowThreads(__tstate); | |
8681 | if (PyErr_Occurred()) SWIG_fail; | |
8682 | } | |
8683 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8684 | return resultobj; | |
8685 | fail: | |
8686 | return NULL; | |
8687 | } | |
8688 | ||
8689 | ||
8690 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8691 | PyObject *resultobj = 0; | |
8692 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8693 | int arg2 ; | |
8694 | int result; | |
8695 | void *argp1 = 0 ; | |
8696 | int res1 = 0 ; | |
8697 | int val2 ; | |
8698 | int ecode2 = 0 ; | |
8699 | PyObject * obj0 = 0 ; | |
8700 | PyObject * obj1 = 0 ; | |
8701 | char * kwnames[] = { | |
8702 | (char *) "self",(char *) "ind", NULL | |
8703 | }; | |
8704 | ||
8705 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) SWIG_fail; | |
8706 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8707 | if (!SWIG_IsOK(res1)) { | |
8708 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8709 | } | |
8710 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8711 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8712 | if (!SWIG_IsOK(ecode2)) { | |
8713 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'"); | |
8714 | } | |
8715 | arg2 = static_cast< int >(val2); | |
8716 | { | |
8717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8718 | result = (int)(arg1)->GetIndentUnits(arg2); | |
8719 | wxPyEndAllowThreads(__tstate); | |
8720 | if (PyErr_Occurred()) SWIG_fail; | |
8721 | } | |
8722 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8723 | return resultobj; | |
8724 | fail: | |
8725 | return NULL; | |
8726 | } | |
8727 | ||
8728 | ||
8729 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8730 | PyObject *resultobj = 0; | |
8731 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8732 | wxHtmlTag *arg2 = 0 ; | |
8733 | void *argp1 = 0 ; | |
8734 | int res1 = 0 ; | |
8735 | void *argp2 = 0 ; | |
8736 | int res2 = 0 ; | |
8737 | PyObject * obj0 = 0 ; | |
8738 | PyObject * obj1 = 0 ; | |
8739 | char * kwnames[] = { | |
8740 | (char *) "self",(char *) "tag", NULL | |
8741 | }; | |
8742 | ||
8743 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail; | |
8744 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8745 | if (!SWIG_IsOK(res1)) { | |
8746 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8747 | } | |
8748 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8749 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
8750 | if (!SWIG_IsOK(res2)) { | |
8751 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8752 | } | |
8753 | if (!argp2) { | |
8754 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8755 | } | |
8756 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
8757 | { | |
8758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8759 | (arg1)->SetAlign((wxHtmlTag const &)*arg2); | |
8760 | wxPyEndAllowThreads(__tstate); | |
8761 | if (PyErr_Occurred()) SWIG_fail; | |
8762 | } | |
8763 | resultobj = SWIG_Py_Void(); | |
8764 | return resultobj; | |
8765 | fail: | |
8766 | return NULL; | |
8767 | } | |
8768 | ||
8769 | ||
8770 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8771 | PyObject *resultobj = 0; | |
8772 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8773 | int arg2 ; | |
8774 | int arg3 ; | |
8775 | void *argp1 = 0 ; | |
8776 | int res1 = 0 ; | |
8777 | int val2 ; | |
8778 | int ecode2 = 0 ; | |
8779 | int val3 ; | |
8780 | int ecode3 = 0 ; | |
8781 | PyObject * obj0 = 0 ; | |
8782 | PyObject * obj1 = 0 ; | |
8783 | PyObject * obj2 = 0 ; | |
8784 | char * kwnames[] = { | |
8785 | (char *) "self",(char *) "w",(char *) "units", NULL | |
8786 | }; | |
8787 | ||
8788 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8789 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8790 | if (!SWIG_IsOK(res1)) { | |
8791 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8792 | } | |
8793 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8794 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8795 | if (!SWIG_IsOK(ecode2)) { | |
8796 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'"); | |
8797 | } | |
8798 | arg2 = static_cast< int >(val2); | |
8799 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8800 | if (!SWIG_IsOK(ecode3)) { | |
8801 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'"); | |
8802 | } | |
8803 | arg3 = static_cast< int >(val3); | |
8804 | { | |
8805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8806 | (arg1)->SetWidthFloat(arg2,arg3); | |
8807 | wxPyEndAllowThreads(__tstate); | |
8808 | if (PyErr_Occurred()) SWIG_fail; | |
8809 | } | |
8810 | resultobj = SWIG_Py_Void(); | |
8811 | return resultobj; | |
8812 | fail: | |
8813 | return NULL; | |
8814 | } | |
8815 | ||
8816 | ||
8817 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8818 | PyObject *resultobj = 0; | |
8819 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8820 | wxHtmlTag *arg2 = 0 ; | |
8821 | void *argp1 = 0 ; | |
8822 | int res1 = 0 ; | |
8823 | void *argp2 = 0 ; | |
8824 | int res2 = 0 ; | |
8825 | PyObject * obj0 = 0 ; | |
8826 | PyObject * obj1 = 0 ; | |
8827 | char * kwnames[] = { | |
8828 | (char *) "self",(char *) "tag", NULL | |
8829 | }; | |
8830 | ||
8831 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) SWIG_fail; | |
8832 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8833 | if (!SWIG_IsOK(res1)) { | |
8834 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8835 | } | |
8836 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8837 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
8838 | if (!SWIG_IsOK(res2)) { | |
8839 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8840 | } | |
8841 | if (!argp2) { | |
8842 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8843 | } | |
8844 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
8845 | { | |
8846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8847 | (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2); | |
8848 | wxPyEndAllowThreads(__tstate); | |
8849 | if (PyErr_Occurred()) SWIG_fail; | |
8850 | } | |
8851 | resultobj = SWIG_Py_Void(); | |
8852 | return resultobj; | |
8853 | fail: | |
8854 | return NULL; | |
8855 | } | |
8856 | ||
8857 | ||
8858 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8859 | PyObject *resultobj = 0; | |
8860 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8861 | int arg2 ; | |
8862 | int arg3 = (int) wxHTML_ALIGN_TOP ; | |
8863 | void *argp1 = 0 ; | |
8864 | int res1 = 0 ; | |
8865 | int val2 ; | |
8866 | int ecode2 = 0 ; | |
8867 | int val3 ; | |
8868 | int ecode3 = 0 ; | |
8869 | PyObject * obj0 = 0 ; | |
8870 | PyObject * obj1 = 0 ; | |
8871 | PyObject * obj2 = 0 ; | |
8872 | char * kwnames[] = { | |
8873 | (char *) "self",(char *) "h",(char *) "align", NULL | |
8874 | }; | |
8875 | ||
8876 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8877 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8878 | if (!SWIG_IsOK(res1)) { | |
8879 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8880 | } | |
8881 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8882 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8883 | if (!SWIG_IsOK(ecode2)) { | |
8884 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'"); | |
8885 | } | |
8886 | arg2 = static_cast< int >(val2); | |
8887 | if (obj2) { | |
8888 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8889 | if (!SWIG_IsOK(ecode3)) { | |
8890 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'"); | |
8891 | } | |
8892 | arg3 = static_cast< int >(val3); | |
8893 | } | |
8894 | { | |
8895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8896 | (arg1)->SetMinHeight(arg2,arg3); | |
8897 | wxPyEndAllowThreads(__tstate); | |
8898 | if (PyErr_Occurred()) SWIG_fail; | |
8899 | } | |
8900 | resultobj = SWIG_Py_Void(); | |
8901 | return resultobj; | |
8902 | fail: | |
8903 | return NULL; | |
8904 | } | |
8905 | ||
8906 | ||
8907 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8908 | PyObject *resultobj = 0; | |
8909 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8910 | wxColour *arg2 = 0 ; | |
8911 | void *argp1 = 0 ; | |
8912 | int res1 = 0 ; | |
8913 | wxColour temp2 ; | |
8914 | PyObject * obj0 = 0 ; | |
8915 | PyObject * obj1 = 0 ; | |
8916 | char * kwnames[] = { | |
8917 | (char *) "self",(char *) "clr", NULL | |
8918 | }; | |
8919 | ||
8920 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
8921 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8922 | if (!SWIG_IsOK(res1)) { | |
8923 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8924 | } | |
8925 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8926 | { | |
8927 | arg2 = &temp2; | |
8928 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8929 | } | |
8930 | { | |
8931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8932 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); | |
8933 | wxPyEndAllowThreads(__tstate); | |
8934 | if (PyErr_Occurred()) SWIG_fail; | |
8935 | } | |
8936 | resultobj = SWIG_Py_Void(); | |
8937 | return resultobj; | |
8938 | fail: | |
8939 | return NULL; | |
d14a1e28 RD |
8940 | } |
8941 | ||
8942 | ||
0085ce49 RD |
8943 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8944 | PyObject *resultobj = 0; | |
8945 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8946 | wxColour result; | |
8947 | void *argp1 = 0 ; | |
8948 | int res1 = 0 ; | |
8949 | PyObject *swig_obj[1] ; | |
8950 | ||
8951 | if (!args) SWIG_fail; | |
8952 | swig_obj[0] = args; | |
8953 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8954 | if (!SWIG_IsOK(res1)) { | |
8955 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8956 | } | |
8957 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8958 | { | |
8959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8960 | result = (arg1)->GetBackgroundColour(); | |
8961 | wxPyEndAllowThreads(__tstate); | |
8962 | if (PyErr_Occurred()) SWIG_fail; | |
8963 | } | |
8964 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
8965 | return resultobj; | |
8966 | fail: | |
8967 | return NULL; | |
8968 | } | |
8969 | ||
8970 | ||
8971 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8972 | PyObject *resultobj = 0; | |
8973 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8974 | wxColour *arg2 = 0 ; | |
8975 | wxColour *arg3 = 0 ; | |
8976 | void *argp1 = 0 ; | |
8977 | int res1 = 0 ; | |
8978 | wxColour temp2 ; | |
8979 | wxColour temp3 ; | |
8980 | PyObject * obj0 = 0 ; | |
8981 | PyObject * obj1 = 0 ; | |
8982 | PyObject * obj2 = 0 ; | |
8983 | char * kwnames[] = { | |
8984 | (char *) "self",(char *) "clr1",(char *) "clr2", NULL | |
8985 | }; | |
8986 | ||
8987 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8988 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8989 | if (!SWIG_IsOK(res1)) { | |
8990 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8991 | } | |
8992 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8993 | { | |
8994 | arg2 = &temp2; | |
8995 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8996 | } | |
8997 | { | |
8998 | arg3 = &temp3; | |
8999 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
9000 | } | |
9001 | { | |
9002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9003 | (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3); | |
9004 | wxPyEndAllowThreads(__tstate); | |
9005 | if (PyErr_Occurred()) SWIG_fail; | |
9006 | } | |
9007 | resultobj = SWIG_Py_Void(); | |
9008 | return resultobj; | |
9009 | fail: | |
9010 | return NULL; | |
d14a1e28 RD |
9011 | } |
9012 | ||
9013 | ||
0085ce49 RD |
9014 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9015 | PyObject *resultobj = 0; | |
9016 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
9017 | wxHtmlCell *result = 0 ; | |
9018 | void *argp1 = 0 ; | |
9019 | int res1 = 0 ; | |
9020 | PyObject *swig_obj[1] ; | |
9021 | ||
9022 | if (!args) SWIG_fail; | |
9023 | swig_obj[0] = args; | |
9024 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
9025 | if (!SWIG_IsOK(res1)) { | |
9026 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
9027 | } | |
9028 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
9029 | { | |
9030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9031 | result = (wxHtmlCell *)(arg1)->GetFirstChild(); | |
9032 | wxPyEndAllowThreads(__tstate); | |
9033 | if (PyErr_Occurred()) SWIG_fail; | |
9034 | } | |
9035 | { | |
9036 | resultobj = wxPyMake_wxObject(result, 0); | |
9037 | } | |
9038 | return resultobj; | |
9039 | fail: | |
9040 | return NULL; | |
d14a1e28 RD |
9041 | } |
9042 | ||
9043 | ||
0085ce49 RD |
9044 | SWIGINTERN PyObject *HtmlContainerCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9045 | PyObject *obj; | |
9046 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9047 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell, SWIG_NewClientData(obj)); | |
9048 | return SWIG_Py_Void(); | |
d14a1e28 RD |
9049 | } |
9050 | ||
0085ce49 RD |
9051 | SWIGINTERN PyObject *HtmlContainerCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9052 | return SWIG_Python_InitShadowInstance(args); | |
9053 | } | |
d14a1e28 | 9054 | |
0085ce49 RD |
9055 | SWIGINTERN PyObject *_wrap_new_HtmlColourCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9056 | PyObject *resultobj = 0; | |
9057 | wxColour *arg1 = 0 ; | |
9058 | int arg2 = (int) wxHTML_CLR_FOREGROUND ; | |
9059 | wxHtmlColourCell *result = 0 ; | |
9060 | wxColour temp1 ; | |
9061 | int val2 ; | |
9062 | int ecode2 = 0 ; | |
9063 | PyObject * obj0 = 0 ; | |
9064 | PyObject * obj1 = 0 ; | |
9065 | char * kwnames[] = { | |
9066 | (char *) "clr",(char *) "flags", NULL | |
9067 | }; | |
9068 | ||
9069 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
9070 | { | |
9071 | arg1 = &temp1; | |
9072 | if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail; | |
9073 | } | |
9074 | if (obj1) { | |
9075 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9076 | if (!SWIG_IsOK(ecode2)) { | |
9077 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'"); | |
9078 | } | |
9079 | arg2 = static_cast< int >(val2); | |
9080 | } | |
9081 | { | |
9082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9083 | result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2); | |
9084 | wxPyEndAllowThreads(__tstate); | |
9085 | if (PyErr_Occurred()) SWIG_fail; | |
9086 | } | |
9087 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlColourCell, SWIG_POINTER_NEW | 0 ); | |
9088 | return resultobj; | |
9089 | fail: | |
9090 | return NULL; | |
d14a1e28 RD |
9091 | } |
9092 | ||
9093 | ||
0085ce49 RD |
9094 | SWIGINTERN PyObject *HtmlColourCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9095 | PyObject *obj; | |
9096 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9097 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell, SWIG_NewClientData(obj)); | |
9098 | return SWIG_Py_Void(); | |
4f89f6a3 RD |
9099 | } |
9100 | ||
0085ce49 RD |
9101 | SWIGINTERN PyObject *HtmlColourCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9102 | return SWIG_Python_InitShadowInstance(args); | |
9103 | } | |
4f89f6a3 | 9104 | |
0085ce49 RD |
9105 | SWIGINTERN PyObject *_wrap_new_HtmlFontCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9106 | PyObject *resultobj = 0; | |
9107 | wxFont *arg1 = (wxFont *) 0 ; | |
9108 | wxHtmlFontCell *result = 0 ; | |
9109 | void *argp1 = 0 ; | |
9110 | int res1 = 0 ; | |
9111 | PyObject * obj0 = 0 ; | |
9112 | char * kwnames[] = { | |
9113 | (char *) "font", NULL | |
9114 | }; | |
9115 | ||
9116 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) SWIG_fail; | |
9117 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFont, 0 | 0 ); | |
9118 | if (!SWIG_IsOK(res1)) { | |
9119 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'"); | |
9120 | } | |
9121 | arg1 = reinterpret_cast< wxFont * >(argp1); | |
9122 | { | |
9123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9124 | result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1); | |
9125 | wxPyEndAllowThreads(__tstate); | |
9126 | if (PyErr_Occurred()) SWIG_fail; | |
9127 | } | |
9128 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlFontCell, SWIG_POINTER_NEW | 0 ); | |
9129 | return resultobj; | |
9130 | fail: | |
9131 | return NULL; | |
39f61e25 RD |
9132 | } |
9133 | ||
9134 | ||
0085ce49 RD |
9135 | SWIGINTERN PyObject *HtmlFontCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9136 | PyObject *obj; | |
9137 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9138 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell, SWIG_NewClientData(obj)); | |
9139 | return SWIG_Py_Void(); | |
39f61e25 RD |
9140 | } |
9141 | ||
0085ce49 RD |
9142 | SWIGINTERN PyObject *HtmlFontCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9143 | return SWIG_Python_InitShadowInstance(args); | |
9144 | } | |
39f61e25 | 9145 | |
0085ce49 RD |
9146 | SWIGINTERN PyObject *_wrap_new_HtmlWidgetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9147 | PyObject *resultobj = 0; | |
9148 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9149 | int arg2 = (int) 0 ; | |
9150 | wxHtmlWidgetCell *result = 0 ; | |
9151 | void *argp1 = 0 ; | |
9152 | int res1 = 0 ; | |
9153 | int val2 ; | |
9154 | int ecode2 = 0 ; | |
9155 | PyObject * obj0 = 0 ; | |
9156 | PyObject * obj1 = 0 ; | |
9157 | char * kwnames[] = { | |
9158 | (char *) "wnd",(char *) "w", NULL | |
9159 | }; | |
9160 | ||
9161 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
9162 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
9163 | if (!SWIG_IsOK(res1)) { | |
9164 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
9165 | } | |
9166 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
9167 | if (obj1) { | |
9168 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9169 | if (!SWIG_IsOK(ecode2)) { | |
9170 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'"); | |
9171 | } | |
9172 | arg2 = static_cast< int >(val2); | |
9173 | } | |
9174 | { | |
9175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9176 | result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2); | |
9177 | wxPyEndAllowThreads(__tstate); | |
9178 | if (PyErr_Occurred()) SWIG_fail; | |
9179 | } | |
9180 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWidgetCell, SWIG_POINTER_NEW | 0 ); | |
9181 | return resultobj; | |
9182 | fail: | |
9183 | return NULL; | |
d14a1e28 RD |
9184 | } |
9185 | ||
9186 | ||
0085ce49 RD |
9187 | SWIGINTERN PyObject *HtmlWidgetCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9188 | PyObject *obj; | |
9189 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9190 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell, SWIG_NewClientData(obj)); | |
9191 | return SWIG_Py_Void(); | |
d14a1e28 RD |
9192 | } |
9193 | ||
0085ce49 RD |
9194 | SWIGINTERN PyObject *HtmlWidgetCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9195 | return SWIG_Python_InitShadowInstance(args); | |
9196 | } | |
d14a1e28 | 9197 | |
0085ce49 RD |
9198 | SWIGINTERN PyObject *_wrap_new_HtmlFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9199 | PyObject *resultobj = 0; | |
9200 | wxPyHtmlFilter *result = 0 ; | |
9201 | ||
9202 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlFilter",0,0,0)) SWIG_fail; | |
9203 | { | |
9204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9205 | result = (wxPyHtmlFilter *)new wxPyHtmlFilter(); | |
9206 | wxPyEndAllowThreads(__tstate); | |
9207 | if (PyErr_Occurred()) SWIG_fail; | |
9208 | } | |
9209 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_NEW | 0 ); | |
9210 | return resultobj; | |
9211 | fail: | |
9212 | return NULL; | |
9213 | } | |
9214 | ||
9215 | ||
9216 | SWIGINTERN PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9217 | PyObject *resultobj = 0; | |
9218 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
9219 | PyObject *arg2 = (PyObject *) 0 ; | |
9220 | PyObject *arg3 = (PyObject *) 0 ; | |
9221 | void *argp1 = 0 ; | |
9222 | int res1 = 0 ; | |
9223 | PyObject * obj0 = 0 ; | |
9224 | PyObject * obj1 = 0 ; | |
9225 | PyObject * obj2 = 0 ; | |
9226 | char * kwnames[] = { | |
9227 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9228 | }; | |
9229 | ||
9230 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9231 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 ); | |
9232 | if (!SWIG_IsOK(res1)) { | |
9233 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'"); | |
9234 | } | |
9235 | arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1); | |
9236 | arg2 = obj1; | |
9237 | arg3 = obj2; | |
9238 | { | |
9239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9240 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9241 | wxPyEndAllowThreads(__tstate); | |
9242 | if (PyErr_Occurred()) SWIG_fail; | |
9243 | } | |
9244 | resultobj = SWIG_Py_Void(); | |
9245 | return resultobj; | |
9246 | fail: | |
9247 | return NULL; | |
9248 | } | |
9249 | ||
9250 | ||
9251 | SWIGINTERN PyObject *HtmlFilter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9252 | PyObject *obj; | |
9253 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9254 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter, SWIG_NewClientData(obj)); | |
9255 | return SWIG_Py_Void(); | |
9256 | } | |
9257 | ||
9258 | SWIGINTERN PyObject *HtmlFilter_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9259 | return SWIG_Python_InitShadowInstance(args); | |
9260 | } | |
9261 | ||
e9d6f3a4 RD |
9262 | SWIGINTERN PyObject *_wrap_delete_HtmlWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9263 | PyObject *resultobj = 0; | |
9264 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9265 | void *argp1 = 0 ; | |
9266 | int res1 = 0 ; | |
9267 | PyObject *swig_obj[1] ; | |
9268 | ||
9269 | if (!args) SWIG_fail; | |
9270 | swig_obj[0] = args; | |
9271 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, SWIG_POINTER_DISOWN | 0 ); | |
9272 | if (!SWIG_IsOK(res1)) { | |
9273 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9274 | } | |
9275 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9276 | { | |
9277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9278 | delete arg1; | |
9279 | ||
9280 | wxPyEndAllowThreads(__tstate); | |
9281 | if (PyErr_Occurred()) SWIG_fail; | |
9282 | } | |
9283 | resultobj = SWIG_Py_Void(); | |
9284 | return resultobj; | |
9285 | fail: | |
9286 | return NULL; | |
9287 | } | |
9288 | ||
9289 | ||
9290 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9291 | PyObject *resultobj = 0; | |
9292 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9293 | wxString *arg2 = 0 ; | |
9294 | void *argp1 = 0 ; | |
9295 | int res1 = 0 ; | |
9296 | bool temp2 = false ; | |
9297 | PyObject * obj0 = 0 ; | |
9298 | PyObject * obj1 = 0 ; | |
9299 | char * kwnames[] = { | |
9300 | (char *) "self",(char *) "title", NULL | |
9301 | }; | |
9302 | ||
9303 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames,&obj0,&obj1)) SWIG_fail; | |
9304 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9305 | if (!SWIG_IsOK(res1)) { | |
9306 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9307 | } | |
9308 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9309 | { | |
9310 | arg2 = wxString_in_helper(obj1); | |
9311 | if (arg2 == NULL) SWIG_fail; | |
9312 | temp2 = true; | |
9313 | } | |
9314 | { | |
9315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9316 | (arg1)->SetHTMLWindowTitle((wxString const &)*arg2); | |
9317 | wxPyEndAllowThreads(__tstate); | |
9318 | if (PyErr_Occurred()) SWIG_fail; | |
9319 | } | |
9320 | resultobj = SWIG_Py_Void(); | |
9321 | { | |
9322 | if (temp2) | |
9323 | delete arg2; | |
9324 | } | |
9325 | return resultobj; | |
9326 | fail: | |
9327 | { | |
9328 | if (temp2) | |
9329 | delete arg2; | |
9330 | } | |
9331 | return NULL; | |
9332 | } | |
9333 | ||
9334 | ||
9335 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9336 | PyObject *resultobj = 0; | |
9337 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9338 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
9339 | wxPoint *arg3 = 0 ; | |
9340 | wxPoint result; | |
9341 | void *argp1 = 0 ; | |
9342 | int res1 = 0 ; | |
9343 | void *argp2 = 0 ; | |
9344 | int res2 = 0 ; | |
9345 | wxPoint temp3 ; | |
9346 | PyObject * obj0 = 0 ; | |
9347 | PyObject * obj1 = 0 ; | |
9348 | PyObject * obj2 = 0 ; | |
9349 | char * kwnames[] = { | |
9350 | (char *) "self",(char *) "cell",(char *) "pos", NULL | |
9351 | }; | |
9352 | ||
9353 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9354 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9355 | if (!SWIG_IsOK(res1)) { | |
9356 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'"); | |
9357 | } | |
9358 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9359 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
9360 | if (!SWIG_IsOK(res2)) { | |
9361 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
9362 | } | |
9363 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
9364 | { | |
9365 | arg3 = &temp3; | |
9366 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9367 | } | |
9368 | { | |
9369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9370 | result = ((wxHtmlWindowInterface const *)arg1)->HTMLCoordsToWindow(arg2,(wxPoint const &)*arg3); | |
9371 | wxPyEndAllowThreads(__tstate); | |
9372 | if (PyErr_Occurred()) SWIG_fail; | |
9373 | } | |
9374 | resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 ); | |
9375 | return resultobj; | |
9376 | fail: | |
9377 | return NULL; | |
9378 | } | |
9379 | ||
9380 | ||
9381 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9382 | PyObject *resultobj = 0; | |
9383 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9384 | wxWindow *result = 0 ; | |
9385 | void *argp1 = 0 ; | |
9386 | int res1 = 0 ; | |
9387 | PyObject *swig_obj[1] ; | |
9388 | ||
9389 | if (!args) SWIG_fail; | |
9390 | swig_obj[0] = args; | |
9391 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9392 | if (!SWIG_IsOK(res1)) { | |
9393 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9394 | } | |
9395 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9396 | { | |
9397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9398 | result = (wxWindow *)(arg1)->GetHTMLWindow(); | |
9399 | wxPyEndAllowThreads(__tstate); | |
9400 | if (PyErr_Occurred()) SWIG_fail; | |
9401 | } | |
9402 | { | |
9403 | resultobj = wxPyMake_wxObject(result, 0); | |
9404 | } | |
9405 | return resultobj; | |
9406 | fail: | |
9407 | return NULL; | |
9408 | } | |
9409 | ||
9410 | ||
9411 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9412 | PyObject *resultobj = 0; | |
9413 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9414 | wxColour result; | |
9415 | void *argp1 = 0 ; | |
9416 | int res1 = 0 ; | |
9417 | PyObject *swig_obj[1] ; | |
9418 | ||
9419 | if (!args) SWIG_fail; | |
9420 | swig_obj[0] = args; | |
9421 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9422 | if (!SWIG_IsOK(res1)) { | |
9423 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'"); | |
9424 | } | |
9425 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9426 | { | |
9427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9428 | result = ((wxHtmlWindowInterface const *)arg1)->GetHTMLBackgroundColour(); | |
9429 | wxPyEndAllowThreads(__tstate); | |
9430 | if (PyErr_Occurred()) SWIG_fail; | |
9431 | } | |
9432 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
9433 | return resultobj; | |
9434 | fail: | |
9435 | return NULL; | |
9436 | } | |
9437 | ||
9438 | ||
9439 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9440 | PyObject *resultobj = 0; | |
9441 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9442 | wxColour *arg2 = 0 ; | |
9443 | void *argp1 = 0 ; | |
9444 | int res1 = 0 ; | |
9445 | wxColour temp2 ; | |
9446 | PyObject * obj0 = 0 ; | |
9447 | PyObject * obj1 = 0 ; | |
9448 | char * kwnames[] = { | |
9449 | (char *) "self",(char *) "clr", NULL | |
9450 | }; | |
9451 | ||
9452 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
9453 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9454 | if (!SWIG_IsOK(res1)) { | |
9455 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9456 | } | |
9457 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9458 | { | |
9459 | arg2 = &temp2; | |
9460 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
9461 | } | |
9462 | { | |
9463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9464 | (arg1)->SetHTMLBackgroundColour((wxColour const &)*arg2); | |
9465 | wxPyEndAllowThreads(__tstate); | |
9466 | if (PyErr_Occurred()) SWIG_fail; | |
9467 | } | |
9468 | resultobj = SWIG_Py_Void(); | |
9469 | return resultobj; | |
9470 | fail: | |
9471 | return NULL; | |
9472 | } | |
9473 | ||
9474 | ||
9475 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9476 | PyObject *resultobj = 0; | |
9477 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9478 | wxBitmap *arg2 = 0 ; | |
9479 | void *argp1 = 0 ; | |
9480 | int res1 = 0 ; | |
9481 | void *argp2 = 0 ; | |
9482 | int res2 = 0 ; | |
9483 | PyObject * obj0 = 0 ; | |
9484 | PyObject * obj1 = 0 ; | |
9485 | char * kwnames[] = { | |
9486 | (char *) "self",(char *) "bmpBg", NULL | |
9487 | }; | |
9488 | ||
9489 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9490 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9491 | if (!SWIG_IsOK(res1)) { | |
9492 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9493 | } | |
9494 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9495 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); | |
9496 | if (!SWIG_IsOK(res2)) { | |
9497 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
9498 | } | |
9499 | if (!argp2) { | |
9500 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
9501 | } | |
9502 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
9503 | { | |
9504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9505 | (arg1)->SetHTMLBackgroundImage((wxBitmap const &)*arg2); | |
9506 | wxPyEndAllowThreads(__tstate); | |
9507 | if (PyErr_Occurred()) SWIG_fail; | |
9508 | } | |
9509 | resultobj = SWIG_Py_Void(); | |
9510 | return resultobj; | |
9511 | fail: | |
9512 | return NULL; | |
9513 | } | |
9514 | ||
9515 | ||
9516 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9517 | PyObject *resultobj = 0; | |
9518 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9519 | wxString *arg2 = 0 ; | |
9520 | void *argp1 = 0 ; | |
9521 | int res1 = 0 ; | |
9522 | bool temp2 = false ; | |
9523 | PyObject * obj0 = 0 ; | |
9524 | PyObject * obj1 = 0 ; | |
9525 | char * kwnames[] = { | |
9526 | (char *) "self",(char *) "text", NULL | |
9527 | }; | |
9528 | ||
9529 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames,&obj0,&obj1)) SWIG_fail; | |
9530 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9531 | if (!SWIG_IsOK(res1)) { | |
9532 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9533 | } | |
9534 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9535 | { | |
9536 | arg2 = wxString_in_helper(obj1); | |
9537 | if (arg2 == NULL) SWIG_fail; | |
9538 | temp2 = true; | |
9539 | } | |
9540 | { | |
9541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9542 | (arg1)->SetHTMLStatusText((wxString const &)*arg2); | |
9543 | wxPyEndAllowThreads(__tstate); | |
9544 | if (PyErr_Occurred()) SWIG_fail; | |
9545 | } | |
9546 | resultobj = SWIG_Py_Void(); | |
9547 | { | |
9548 | if (temp2) | |
9549 | delete arg2; | |
9550 | } | |
9551 | return resultobj; | |
9552 | fail: | |
9553 | { | |
9554 | if (temp2) | |
9555 | delete arg2; | |
9556 | } | |
9557 | return NULL; | |
9558 | } | |
9559 | ||
9560 | ||
9561 | SWIGINTERN PyObject *HtmlWindowInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9562 | PyObject *obj; | |
9563 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9564 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface, SWIG_NewClientData(obj)); | |
9565 | return SWIG_Py_Void(); | |
9566 | } | |
9567 | ||
0085ce49 RD |
9568 | SWIGINTERN PyObject *_wrap_new_HtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9569 | PyObject *resultobj = 0; | |
9570 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9571 | int arg2 = (int) -1 ; | |
9572 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
9573 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9574 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9575 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9576 | int arg5 = (int) wxHW_DEFAULT_STYLE ; | |
9577 | wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ; | |
9578 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9579 | wxPyHtmlWindow *result = 0 ; | |
9580 | void *argp1 = 0 ; | |
9581 | int res1 = 0 ; | |
9582 | int val2 ; | |
9583 | int ecode2 = 0 ; | |
9584 | wxPoint temp3 ; | |
9585 | wxSize temp4 ; | |
9586 | int val5 ; | |
9587 | int ecode5 = 0 ; | |
9588 | bool temp6 = false ; | |
9589 | PyObject * obj0 = 0 ; | |
9590 | PyObject * obj1 = 0 ; | |
9591 | PyObject * obj2 = 0 ; | |
9592 | PyObject * obj3 = 0 ; | |
9593 | PyObject * obj4 = 0 ; | |
9594 | PyObject * obj5 = 0 ; | |
9595 | char * kwnames[] = { | |
9596 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9597 | }; | |
9598 | ||
9599 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
9600 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
9601 | if (!SWIG_IsOK(res1)) { | |
9602 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
9603 | } | |
9604 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
9605 | if (obj1) { | |
9606 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9607 | if (!SWIG_IsOK(ecode2)) { | |
9608 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'"); | |
9609 | } | |
9610 | arg2 = static_cast< int >(val2); | |
9611 | } | |
9612 | if (obj2) { | |
d14a1e28 | 9613 | { |
0085ce49 RD |
9614 | arg3 = &temp3; |
9615 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
d14a1e28 | 9616 | } |
0085ce49 RD |
9617 | } |
9618 | if (obj3) { | |
d14a1e28 | 9619 | { |
0085ce49 RD |
9620 | arg4 = &temp4; |
9621 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 9622 | } |
0085ce49 RD |
9623 | } |
9624 | if (obj4) { | |
9625 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
9626 | if (!SWIG_IsOK(ecode5)) { | |
9627 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'"); | |
9628 | } | |
9629 | arg5 = static_cast< int >(val5); | |
9630 | } | |
9631 | if (obj5) { | |
b1fcee84 | 9632 | { |
0085ce49 RD |
9633 | arg6 = wxString_in_helper(obj5); |
9634 | if (arg6 == NULL) SWIG_fail; | |
9635 | temp6 = true; | |
b1fcee84 | 9636 | } |
0085ce49 RD |
9637 | } |
9638 | { | |
9639 | if (!wxPyCheckForApp()) SWIG_fail; | |
9640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9641 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9642 | wxPyEndAllowThreads(__tstate); | |
9643 | if (PyErr_Occurred()) SWIG_fail; | |
9644 | } | |
9645 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_NEW | 0 ); | |
9646 | { | |
9647 | if (temp6) | |
9648 | delete arg6; | |
9649 | } | |
9650 | return resultobj; | |
9651 | fail: | |
9652 | { | |
9653 | if (temp6) | |
9654 | delete arg6; | |
9655 | } | |
9656 | return NULL; | |
d14a1e28 RD |
9657 | } |
9658 | ||
9659 | ||
0085ce49 RD |
9660 | SWIGINTERN PyObject *_wrap_new_PreHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9661 | PyObject *resultobj = 0; | |
9662 | wxPyHtmlWindow *result = 0 ; | |
9663 | ||
9664 | if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlWindow",0,0,0)) SWIG_fail; | |
9665 | { | |
9666 | if (!wxPyCheckForApp()) SWIG_fail; | |
9667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9668 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(); | |
9669 | wxPyEndAllowThreads(__tstate); | |
9670 | if (PyErr_Occurred()) SWIG_fail; | |
9671 | } | |
9672 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_OWN | 0 ); | |
9673 | return resultobj; | |
9674 | fail: | |
9675 | return NULL; | |
9676 | } | |
9677 | ||
9678 | ||
9679 | SWIGINTERN PyObject *_wrap_HtmlWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9680 | PyObject *resultobj = 0; | |
9681 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9682 | wxWindow *arg2 = (wxWindow *) 0 ; | |
9683 | int arg3 = (int) -1 ; | |
9684 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
9685 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9686 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9687 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9688 | int arg6 = (int) wxHW_SCROLLBAR_AUTO ; | |
9689 | wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ; | |
9690 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9691 | bool result; | |
9692 | void *argp1 = 0 ; | |
9693 | int res1 = 0 ; | |
9694 | void *argp2 = 0 ; | |
9695 | int res2 = 0 ; | |
9696 | int val3 ; | |
9697 | int ecode3 = 0 ; | |
9698 | wxPoint temp4 ; | |
9699 | wxSize temp5 ; | |
9700 | int val6 ; | |
9701 | int ecode6 = 0 ; | |
9702 | bool temp7 = false ; | |
9703 | PyObject * obj0 = 0 ; | |
9704 | PyObject * obj1 = 0 ; | |
9705 | PyObject * obj2 = 0 ; | |
9706 | PyObject * obj3 = 0 ; | |
9707 | PyObject * obj4 = 0 ; | |
9708 | PyObject * obj5 = 0 ; | |
9709 | PyObject * obj6 = 0 ; | |
9710 | char * kwnames[] = { | |
9711 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9712 | }; | |
9713 | ||
9714 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
9715 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9716 | if (!SWIG_IsOK(res1)) { | |
9717 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9718 | } | |
9719 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9720 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
9721 | if (!SWIG_IsOK(res2)) { | |
9722 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
9723 | } | |
9724 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
9725 | if (obj2) { | |
9726 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
9727 | if (!SWIG_IsOK(ecode3)) { | |
9728 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'"); | |
9729 | } | |
9730 | arg3 = static_cast< int >(val3); | |
9731 | } | |
9732 | if (obj3) { | |
d14a1e28 | 9733 | { |
0085ce49 RD |
9734 | arg4 = &temp4; |
9735 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 9736 | } |
0085ce49 RD |
9737 | } |
9738 | if (obj4) { | |
d14a1e28 | 9739 | { |
0085ce49 RD |
9740 | arg5 = &temp5; |
9741 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
d14a1e28 | 9742 | } |
0085ce49 RD |
9743 | } |
9744 | if (obj5) { | |
9745 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
9746 | if (!SWIG_IsOK(ecode6)) { | |
9747 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'"); | |
9748 | } | |
9749 | arg6 = static_cast< int >(val6); | |
9750 | } | |
9751 | if (obj6) { | |
4f89f6a3 | 9752 | { |
0085ce49 RD |
9753 | arg7 = wxString_in_helper(obj6); |
9754 | if (arg7 == NULL) SWIG_fail; | |
9755 | temp7 = true; | |
4f89f6a3 | 9756 | } |
0085ce49 RD |
9757 | } |
9758 | { | |
9759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9760 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9761 | wxPyEndAllowThreads(__tstate); | |
9762 | if (PyErr_Occurred()) SWIG_fail; | |
9763 | } | |
9764 | { | |
9765 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9766 | } | |
9767 | { | |
9768 | if (temp7) | |
9769 | delete arg7; | |
9770 | } | |
9771 | return resultobj; | |
9772 | fail: | |
9773 | { | |
9774 | if (temp7) | |
9775 | delete arg7; | |
9776 | } | |
9777 | return NULL; | |
9778 | } | |
9779 | ||
9780 | ||
9781 | SWIGINTERN PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9782 | PyObject *resultobj = 0; | |
9783 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9784 | PyObject *arg2 = (PyObject *) 0 ; | |
9785 | PyObject *arg3 = (PyObject *) 0 ; | |
9786 | void *argp1 = 0 ; | |
9787 | int res1 = 0 ; | |
9788 | PyObject * obj0 = 0 ; | |
9789 | PyObject * obj1 = 0 ; | |
9790 | PyObject * obj2 = 0 ; | |
9791 | char * kwnames[] = { | |
9792 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9793 | }; | |
9794 | ||
9795 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9796 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9797 | if (!SWIG_IsOK(res1)) { | |
9798 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9799 | } | |
9800 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9801 | arg2 = obj1; | |
9802 | arg3 = obj2; | |
9803 | { | |
9804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9805 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9806 | wxPyEndAllowThreads(__tstate); | |
9807 | if (PyErr_Occurred()) SWIG_fail; | |
9808 | } | |
9809 | resultobj = SWIG_Py_Void(); | |
9810 | return resultobj; | |
9811 | fail: | |
9812 | return NULL; | |
9813 | } | |
9814 | ||
9815 | ||
9816 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9817 | PyObject *resultobj = 0; | |
9818 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9819 | wxString *arg2 = 0 ; | |
9820 | bool result; | |
9821 | void *argp1 = 0 ; | |
9822 | int res1 = 0 ; | |
9823 | bool temp2 = false ; | |
9824 | PyObject * obj0 = 0 ; | |
9825 | PyObject * obj1 = 0 ; | |
9826 | char * kwnames[] = { | |
9827 | (char *) "self",(char *) "source", NULL | |
9828 | }; | |
9829 | ||
9830 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9831 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9832 | if (!SWIG_IsOK(res1)) { | |
9833 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9834 | } | |
9835 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9836 | { | |
9837 | arg2 = wxString_in_helper(obj1); | |
9838 | if (arg2 == NULL) SWIG_fail; | |
9839 | temp2 = true; | |
9840 | } | |
9841 | { | |
9842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9843 | result = (bool)(arg1)->SetPage((wxString const &)*arg2); | |
9844 | wxPyEndAllowThreads(__tstate); | |
9845 | if (PyErr_Occurred()) SWIG_fail; | |
9846 | } | |
9847 | { | |
9848 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9849 | } | |
9850 | { | |
9851 | if (temp2) | |
9852 | delete arg2; | |
9853 | } | |
9854 | return resultobj; | |
9855 | fail: | |
9856 | { | |
9857 | if (temp2) | |
9858 | delete arg2; | |
9859 | } | |
9860 | return NULL; | |
9861 | } | |
9862 | ||
9863 | ||
9864 | SWIGINTERN PyObject *_wrap_HtmlWindow_LoadPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9865 | PyObject *resultobj = 0; | |
9866 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9867 | wxString *arg2 = 0 ; | |
9868 | bool result; | |
9869 | void *argp1 = 0 ; | |
9870 | int res1 = 0 ; | |
9871 | bool temp2 = false ; | |
9872 | PyObject * obj0 = 0 ; | |
9873 | PyObject * obj1 = 0 ; | |
9874 | char * kwnames[] = { | |
9875 | (char *) "self",(char *) "location", NULL | |
9876 | }; | |
9877 | ||
9878 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9879 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9880 | if (!SWIG_IsOK(res1)) { | |
9881 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9882 | } | |
9883 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9884 | { | |
9885 | arg2 = wxString_in_helper(obj1); | |
9886 | if (arg2 == NULL) SWIG_fail; | |
9887 | temp2 = true; | |
9888 | } | |
9889 | { | |
9890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9891 | result = (bool)(arg1)->LoadPage((wxString const &)*arg2); | |
9892 | wxPyEndAllowThreads(__tstate); | |
9893 | if (PyErr_Occurred()) SWIG_fail; | |
9894 | } | |
9895 | { | |
9896 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9897 | } | |
9898 | { | |
9899 | if (temp2) | |
9900 | delete arg2; | |
9901 | } | |
9902 | return resultobj; | |
9903 | fail: | |
9904 | { | |
9905 | if (temp2) | |
9906 | delete arg2; | |
9907 | } | |
9908 | return NULL; | |
9909 | } | |
9910 | ||
9911 | ||
9912 | SWIGINTERN PyObject *_wrap_HtmlWindow_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9913 | PyObject *resultobj = 0; | |
9914 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9915 | wxString *arg2 = 0 ; | |
9916 | bool result; | |
9917 | void *argp1 = 0 ; | |
9918 | int res1 = 0 ; | |
9919 | bool temp2 = false ; | |
9920 | PyObject * obj0 = 0 ; | |
9921 | PyObject * obj1 = 0 ; | |
9922 | char * kwnames[] = { | |
9923 | (char *) "self",(char *) "filename", NULL | |
9924 | }; | |
9925 | ||
9926 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
9927 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9928 | if (!SWIG_IsOK(res1)) { | |
9929 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9930 | } | |
9931 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9932 | { | |
9933 | arg2 = wxString_in_helper(obj1); | |
9934 | if (arg2 == NULL) SWIG_fail; | |
9935 | temp2 = true; | |
9936 | } | |
9937 | { | |
9938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9939 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
9940 | wxPyEndAllowThreads(__tstate); | |
9941 | if (PyErr_Occurred()) SWIG_fail; | |
9942 | } | |
9943 | { | |
9944 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9945 | } | |
9946 | { | |
9947 | if (temp2) | |
9948 | delete arg2; | |
9949 | } | |
9950 | return resultobj; | |
9951 | fail: | |
9952 | { | |
9953 | if (temp2) | |
9954 | delete arg2; | |
9955 | } | |
9956 | return NULL; | |
9957 | } | |
9958 | ||
9959 | ||
9960 | SWIGINTERN PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9961 | PyObject *resultobj = 0; | |
9962 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9963 | wxString *arg2 = 0 ; | |
9964 | bool result; | |
9965 | void *argp1 = 0 ; | |
9966 | int res1 = 0 ; | |
9967 | bool temp2 = false ; | |
9968 | PyObject * obj0 = 0 ; | |
9969 | PyObject * obj1 = 0 ; | |
9970 | char * kwnames[] = { | |
9971 | (char *) "self",(char *) "source", NULL | |
9972 | }; | |
9973 | ||
9974 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9975 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9976 | if (!SWIG_IsOK(res1)) { | |
9977 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9978 | } | |
9979 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9980 | { | |
9981 | arg2 = wxString_in_helper(obj1); | |
9982 | if (arg2 == NULL) SWIG_fail; | |
9983 | temp2 = true; | |
9984 | } | |
9985 | { | |
9986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9987 | result = (bool)(arg1)->AppendToPage((wxString const &)*arg2); | |
9988 | wxPyEndAllowThreads(__tstate); | |
9989 | if (PyErr_Occurred()) SWIG_fail; | |
9990 | } | |
9991 | { | |
9992 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9993 | } | |
9994 | { | |
9995 | if (temp2) | |
9996 | delete arg2; | |
9997 | } | |
9998 | return resultobj; | |
9999 | fail: | |
10000 | { | |
10001 | if (temp2) | |
10002 | delete arg2; | |
10003 | } | |
10004 | return NULL; | |
d14a1e28 RD |
10005 | } |
10006 | ||
10007 | ||
0085ce49 RD |
10008 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10009 | PyObject *resultobj = 0; | |
10010 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10011 | wxString result; | |
10012 | void *argp1 = 0 ; | |
10013 | int res1 = 0 ; | |
10014 | PyObject *swig_obj[1] ; | |
10015 | ||
10016 | if (!args) SWIG_fail; | |
10017 | swig_obj[0] = args; | |
10018 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10019 | if (!SWIG_IsOK(res1)) { | |
10020 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10021 | } | |
10022 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10023 | { | |
10024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10025 | result = (arg1)->GetOpenedPage(); | |
10026 | wxPyEndAllowThreads(__tstate); | |
10027 | if (PyErr_Occurred()) SWIG_fail; | |
10028 | } | |
10029 | { | |
10030 | #if wxUSE_UNICODE | |
10031 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10032 | #else | |
10033 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10034 | #endif | |
10035 | } | |
10036 | return resultobj; | |
10037 | fail: | |
10038 | return NULL; | |
d14a1e28 RD |
10039 | } |
10040 | ||
10041 | ||
0085ce49 RD |
10042 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10043 | PyObject *resultobj = 0; | |
10044 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10045 | wxString result; | |
10046 | void *argp1 = 0 ; | |
10047 | int res1 = 0 ; | |
10048 | PyObject *swig_obj[1] ; | |
10049 | ||
10050 | if (!args) SWIG_fail; | |
10051 | swig_obj[0] = args; | |
10052 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10053 | if (!SWIG_IsOK(res1)) { | |
10054 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10055 | } | |
10056 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10057 | { | |
10058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10059 | result = (arg1)->GetOpenedAnchor(); | |
10060 | wxPyEndAllowThreads(__tstate); | |
10061 | if (PyErr_Occurred()) SWIG_fail; | |
10062 | } | |
10063 | { | |
10064 | #if wxUSE_UNICODE | |
10065 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10066 | #else | |
10067 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10068 | #endif | |
10069 | } | |
10070 | return resultobj; | |
10071 | fail: | |
10072 | return NULL; | |
d14a1e28 RD |
10073 | } |
10074 | ||
10075 | ||
0085ce49 RD |
10076 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10077 | PyObject *resultobj = 0; | |
10078 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10079 | wxString result; | |
10080 | void *argp1 = 0 ; | |
10081 | int res1 = 0 ; | |
10082 | PyObject *swig_obj[1] ; | |
10083 | ||
10084 | if (!args) SWIG_fail; | |
10085 | swig_obj[0] = args; | |
10086 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10087 | if (!SWIG_IsOK(res1)) { | |
10088 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10089 | } | |
10090 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10091 | { | |
10092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10093 | result = (arg1)->GetOpenedPageTitle(); | |
10094 | wxPyEndAllowThreads(__tstate); | |
10095 | if (PyErr_Occurred()) SWIG_fail; | |
10096 | } | |
10097 | { | |
10098 | #if wxUSE_UNICODE | |
10099 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10100 | #else | |
10101 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10102 | #endif | |
10103 | } | |
10104 | return resultobj; | |
10105 | fail: | |
10106 | return NULL; | |
10107 | } | |
10108 | ||
10109 | ||
10110 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10111 | PyObject *resultobj = 0; | |
10112 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10113 | wxFrame *arg2 = (wxFrame *) 0 ; | |
10114 | wxString *arg3 = 0 ; | |
10115 | void *argp1 = 0 ; | |
10116 | int res1 = 0 ; | |
10117 | void *argp2 = 0 ; | |
10118 | int res2 = 0 ; | |
10119 | bool temp3 = false ; | |
10120 | PyObject * obj0 = 0 ; | |
10121 | PyObject * obj1 = 0 ; | |
10122 | PyObject * obj2 = 0 ; | |
10123 | char * kwnames[] = { | |
10124 | (char *) "self",(char *) "frame",(char *) "format", NULL | |
10125 | }; | |
10126 | ||
10127 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10128 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10129 | if (!SWIG_IsOK(res1)) { | |
10130 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10131 | } | |
10132 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10133 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 ); | |
10134 | if (!SWIG_IsOK(res2)) { | |
10135 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'"); | |
10136 | } | |
10137 | arg2 = reinterpret_cast< wxFrame * >(argp2); | |
10138 | { | |
10139 | arg3 = wxString_in_helper(obj2); | |
10140 | if (arg3 == NULL) SWIG_fail; | |
10141 | temp3 = true; | |
10142 | } | |
10143 | { | |
10144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10145 | (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3); | |
10146 | wxPyEndAllowThreads(__tstate); | |
10147 | if (PyErr_Occurred()) SWIG_fail; | |
10148 | } | |
10149 | resultobj = SWIG_Py_Void(); | |
10150 | { | |
10151 | if (temp3) | |
10152 | delete arg3; | |
10153 | } | |
10154 | return resultobj; | |
10155 | fail: | |
10156 | { | |
10157 | if (temp3) | |
10158 | delete arg3; | |
10159 | } | |
10160 | return NULL; | |
d14a1e28 RD |
10161 | } |
10162 | ||
10163 | ||
0085ce49 RD |
10164 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10165 | PyObject *resultobj = 0; | |
10166 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10167 | wxFrame *result = 0 ; | |
10168 | void *argp1 = 0 ; | |
10169 | int res1 = 0 ; | |
10170 | PyObject *swig_obj[1] ; | |
10171 | ||
10172 | if (!args) SWIG_fail; | |
10173 | swig_obj[0] = args; | |
10174 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10175 | if (!SWIG_IsOK(res1)) { | |
10176 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10177 | } | |
10178 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10179 | { | |
10180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10181 | result = (wxFrame *)(arg1)->GetRelatedFrame(); | |
10182 | wxPyEndAllowThreads(__tstate); | |
10183 | if (PyErr_Occurred()) SWIG_fail; | |
10184 | } | |
10185 | { | |
10186 | resultobj = wxPyMake_wxObject(result, 0); | |
10187 | } | |
10188 | return resultobj; | |
10189 | fail: | |
10190 | return NULL; | |
10191 | } | |
10192 | ||
10193 | ||
10194 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10195 | PyObject *resultobj = 0; | |
10196 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10197 | int arg2 ; | |
10198 | void *argp1 = 0 ; | |
10199 | int res1 = 0 ; | |
10200 | int val2 ; | |
10201 | int ecode2 = 0 ; | |
10202 | PyObject * obj0 = 0 ; | |
10203 | PyObject * obj1 = 0 ; | |
10204 | char * kwnames[] = { | |
10205 | (char *) "self",(char *) "bar", NULL | |
10206 | }; | |
10207 | ||
10208 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) SWIG_fail; | |
10209 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10210 | if (!SWIG_IsOK(res1)) { | |
10211 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10212 | } | |
10213 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10214 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10215 | if (!SWIG_IsOK(ecode2)) { | |
10216 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'"); | |
10217 | } | |
10218 | arg2 = static_cast< int >(val2); | |
10219 | { | |
10220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10221 | (arg1)->SetRelatedStatusBar(arg2); | |
10222 | wxPyEndAllowThreads(__tstate); | |
10223 | if (PyErr_Occurred()) SWIG_fail; | |
10224 | } | |
10225 | resultobj = SWIG_Py_Void(); | |
10226 | return resultobj; | |
10227 | fail: | |
10228 | return NULL; | |
10229 | } | |
10230 | ||
10231 | ||
10232 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10233 | PyObject *resultobj = 0; | |
10234 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10235 | wxString arg2 ; | |
10236 | wxString arg3 ; | |
10237 | PyObject *arg4 = (PyObject *) NULL ; | |
10238 | void *argp1 = 0 ; | |
10239 | int res1 = 0 ; | |
10240 | PyObject * obj0 = 0 ; | |
10241 | PyObject * obj1 = 0 ; | |
10242 | PyObject * obj2 = 0 ; | |
10243 | PyObject * obj3 = 0 ; | |
10244 | char * kwnames[] = { | |
10245 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
10246 | }; | |
10247 | ||
10248 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
10249 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10250 | if (!SWIG_IsOK(res1)) { | |
10251 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10252 | } | |
10253 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10254 | { | |
10255 | wxString* sptr = wxString_in_helper(obj1); | |
10256 | if (sptr == NULL) SWIG_fail; | |
10257 | arg2 = *sptr; | |
10258 | delete sptr; | |
10259 | } | |
10260 | { | |
10261 | wxString* sptr = wxString_in_helper(obj2); | |
10262 | if (sptr == NULL) SWIG_fail; | |
10263 | arg3 = *sptr; | |
10264 | delete sptr; | |
10265 | } | |
10266 | if (obj3) { | |
10267 | arg4 = obj3; | |
10268 | } | |
10269 | { | |
10270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10271 | wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4); | |
10272 | wxPyEndAllowThreads(__tstate); | |
10273 | if (PyErr_Occurred()) SWIG_fail; | |
10274 | } | |
10275 | resultobj = SWIG_Py_Void(); | |
10276 | return resultobj; | |
10277 | fail: | |
10278 | return NULL; | |
10279 | } | |
10280 | ||
10281 | ||
10282 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10283 | PyObject *resultobj = 0; | |
10284 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10285 | int arg2 = (int) -1 ; | |
10286 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10287 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10288 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
10289 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
10290 | void *argp1 = 0 ; | |
10291 | int res1 = 0 ; | |
10292 | int val2 ; | |
10293 | int ecode2 = 0 ; | |
10294 | bool temp3 = false ; | |
10295 | bool temp4 = false ; | |
10296 | PyObject * obj0 = 0 ; | |
10297 | PyObject * obj1 = 0 ; | |
10298 | PyObject * obj2 = 0 ; | |
10299 | PyObject * obj3 = 0 ; | |
10300 | char * kwnames[] = { | |
10301 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
10302 | }; | |
10303 | ||
10304 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
10305 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10306 | if (!SWIG_IsOK(res1)) { | |
10307 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10308 | } | |
10309 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10310 | if (obj1) { | |
10311 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10312 | if (!SWIG_IsOK(ecode2)) { | |
10313 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
10314 | } | |
10315 | arg2 = static_cast< int >(val2); | |
10316 | } | |
10317 | if (obj2) { | |
093d3ff1 | 10318 | { |
0085ce49 RD |
10319 | arg3 = wxString_in_helper(obj2); |
10320 | if (arg3 == NULL) SWIG_fail; | |
10321 | temp3 = true; | |
093d3ff1 | 10322 | } |
0085ce49 RD |
10323 | } |
10324 | if (obj3) { | |
d14a1e28 | 10325 | { |
0085ce49 RD |
10326 | arg4 = wxString_in_helper(obj3); |
10327 | if (arg4 == NULL) SWIG_fail; | |
10328 | temp4 = true; | |
093d3ff1 | 10329 | } |
0085ce49 RD |
10330 | } |
10331 | { | |
10332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10333 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
10334 | wxPyEndAllowThreads(__tstate); | |
10335 | if (PyErr_Occurred()) SWIG_fail; | |
10336 | } | |
10337 | resultobj = SWIG_Py_Void(); | |
10338 | { | |
10339 | if (temp3) | |
10340 | delete arg3; | |
10341 | } | |
10342 | { | |
10343 | if (temp4) | |
10344 | delete arg4; | |
10345 | } | |
10346 | return resultobj; | |
10347 | fail: | |
10348 | { | |
10349 | if (temp3) | |
10350 | delete arg3; | |
10351 | } | |
10352 | { | |
10353 | if (temp4) | |
10354 | delete arg4; | |
10355 | } | |
10356 | return NULL; | |
10357 | } | |
10358 | ||
10359 | ||
10360 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetBorders(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10361 | PyObject *resultobj = 0; | |
10362 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10363 | int arg2 ; | |
10364 | void *argp1 = 0 ; | |
10365 | int res1 = 0 ; | |
10366 | int val2 ; | |
10367 | int ecode2 = 0 ; | |
10368 | PyObject * obj0 = 0 ; | |
10369 | PyObject * obj1 = 0 ; | |
10370 | char * kwnames[] = { | |
10371 | (char *) "self",(char *) "b", NULL | |
10372 | }; | |
10373 | ||
10374 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) SWIG_fail; | |
10375 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10376 | if (!SWIG_IsOK(res1)) { | |
10377 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10378 | } | |
10379 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10380 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10381 | if (!SWIG_IsOK(ecode2)) { | |
10382 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'"); | |
10383 | } | |
10384 | arg2 = static_cast< int >(val2); | |
10385 | { | |
10386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10387 | (arg1)->SetBorders(arg2); | |
10388 | wxPyEndAllowThreads(__tstate); | |
10389 | if (PyErr_Occurred()) SWIG_fail; | |
10390 | } | |
10391 | resultobj = SWIG_Py_Void(); | |
10392 | return resultobj; | |
10393 | fail: | |
10394 | return NULL; | |
10395 | } | |
10396 | ||
10397 | ||
10398 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10399 | PyObject *resultobj = 0; | |
10400 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10401 | wxBitmap *arg2 = 0 ; | |
10402 | void *argp1 = 0 ; | |
10403 | int res1 = 0 ; | |
10404 | void *argp2 = 0 ; | |
10405 | int res2 = 0 ; | |
10406 | PyObject * obj0 = 0 ; | |
10407 | PyObject * obj1 = 0 ; | |
10408 | char * kwnames[] = { | |
10409 | (char *) "self",(char *) "bmpBg", NULL | |
10410 | }; | |
10411 | ||
10412 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail; | |
10413 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10414 | if (!SWIG_IsOK(res1)) { | |
10415 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10416 | } | |
10417 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10418 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); | |
10419 | if (!SWIG_IsOK(res2)) { | |
10420 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
10421 | } | |
10422 | if (!argp2) { | |
10423 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
10424 | } | |
10425 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
10426 | { | |
10427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10428 | (arg1)->SetBackgroundImage((wxBitmap const &)*arg2); | |
10429 | wxPyEndAllowThreads(__tstate); | |
10430 | if (PyErr_Occurred()) SWIG_fail; | |
10431 | } | |
10432 | resultobj = SWIG_Py_Void(); | |
10433 | return resultobj; | |
10434 | fail: | |
10435 | return NULL; | |
10436 | } | |
10437 | ||
10438 | ||
10439 | SWIGINTERN PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10440 | PyObject *resultobj = 0; | |
10441 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10442 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10443 | wxString arg3 = (wxString) wxPyEmptyString ; | |
10444 | void *argp1 = 0 ; | |
10445 | int res1 = 0 ; | |
10446 | void *argp2 = 0 ; | |
10447 | int res2 = 0 ; | |
10448 | PyObject * obj0 = 0 ; | |
10449 | PyObject * obj1 = 0 ; | |
10450 | PyObject * obj2 = 0 ; | |
10451 | char * kwnames[] = { | |
10452 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10453 | }; | |
10454 | ||
10455 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10456 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10457 | if (!SWIG_IsOK(res1)) { | |
10458 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10459 | } | |
10460 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10461 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
10462 | if (!SWIG_IsOK(res2)) { | |
10463 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
10464 | } | |
10465 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
10466 | if (obj2) { | |
093d3ff1 | 10467 | { |
0085ce49 RD |
10468 | wxString* sptr = wxString_in_helper(obj2); |
10469 | if (sptr == NULL) SWIG_fail; | |
10470 | arg3 = *sptr; | |
10471 | delete sptr; | |
d14a1e28 | 10472 | } |
0085ce49 RD |
10473 | } |
10474 | { | |
10475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10476 | (arg1)->ReadCustomization(arg2,arg3); | |
10477 | wxPyEndAllowThreads(__tstate); | |
10478 | if (PyErr_Occurred()) SWIG_fail; | |
10479 | } | |
10480 | resultobj = SWIG_Py_Void(); | |
10481 | return resultobj; | |
10482 | fail: | |
10483 | return NULL; | |
10484 | } | |
10485 | ||
10486 | ||
10487 | SWIGINTERN PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10488 | PyObject *resultobj = 0; | |
10489 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10490 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10491 | wxString arg3 = (wxString) wxPyEmptyString ; | |
10492 | void *argp1 = 0 ; | |
10493 | int res1 = 0 ; | |
10494 | void *argp2 = 0 ; | |
10495 | int res2 = 0 ; | |
10496 | PyObject * obj0 = 0 ; | |
10497 | PyObject * obj1 = 0 ; | |
10498 | PyObject * obj2 = 0 ; | |
10499 | char * kwnames[] = { | |
10500 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10501 | }; | |
10502 | ||
10503 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10504 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10505 | if (!SWIG_IsOK(res1)) { | |
10506 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10507 | } | |
10508 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10509 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
10510 | if (!SWIG_IsOK(res2)) { | |
10511 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
10512 | } | |
10513 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
10514 | if (obj2) { | |
d14a1e28 | 10515 | { |
0085ce49 RD |
10516 | wxString* sptr = wxString_in_helper(obj2); |
10517 | if (sptr == NULL) SWIG_fail; | |
10518 | arg3 = *sptr; | |
10519 | delete sptr; | |
d14a1e28 | 10520 | } |
0085ce49 RD |
10521 | } |
10522 | { | |
10523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10524 | (arg1)->WriteCustomization(arg2,arg3); | |
10525 | wxPyEndAllowThreads(__tstate); | |
10526 | if (PyErr_Occurred()) SWIG_fail; | |
10527 | } | |
10528 | resultobj = SWIG_Py_Void(); | |
10529 | return resultobj; | |
10530 | fail: | |
10531 | return NULL; | |
d14a1e28 RD |
10532 | } |
10533 | ||
10534 | ||
0085ce49 RD |
10535 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10536 | PyObject *resultobj = 0; | |
10537 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10538 | bool result; | |
10539 | void *argp1 = 0 ; | |
10540 | int res1 = 0 ; | |
10541 | PyObject *swig_obj[1] ; | |
10542 | ||
10543 | if (!args) SWIG_fail; | |
10544 | swig_obj[0] = args; | |
10545 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10546 | if (!SWIG_IsOK(res1)) { | |
10547 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10548 | } | |
10549 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10550 | { | |
10551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10552 | result = (bool)(arg1)->HistoryBack(); | |
10553 | wxPyEndAllowThreads(__tstate); | |
10554 | if (PyErr_Occurred()) SWIG_fail; | |
10555 | } | |
10556 | { | |
10557 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10558 | } | |
10559 | return resultobj; | |
10560 | fail: | |
10561 | return NULL; | |
d14a1e28 RD |
10562 | } |
10563 | ||
10564 | ||
0085ce49 RD |
10565 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10566 | PyObject *resultobj = 0; | |
10567 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10568 | bool result; | |
10569 | void *argp1 = 0 ; | |
10570 | int res1 = 0 ; | |
10571 | PyObject *swig_obj[1] ; | |
10572 | ||
10573 | if (!args) SWIG_fail; | |
10574 | swig_obj[0] = args; | |
10575 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10576 | if (!SWIG_IsOK(res1)) { | |
10577 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10578 | } | |
10579 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10580 | { | |
10581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10582 | result = (bool)(arg1)->HistoryForward(); | |
10583 | wxPyEndAllowThreads(__tstate); | |
10584 | if (PyErr_Occurred()) SWIG_fail; | |
10585 | } | |
10586 | { | |
10587 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10588 | } | |
10589 | return resultobj; | |
10590 | fail: | |
10591 | return NULL; | |
d14a1e28 RD |
10592 | } |
10593 | ||
10594 | ||
0085ce49 RD |
10595 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10596 | PyObject *resultobj = 0; | |
10597 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10598 | bool result; | |
10599 | void *argp1 = 0 ; | |
10600 | int res1 = 0 ; | |
10601 | PyObject *swig_obj[1] ; | |
10602 | ||
10603 | if (!args) SWIG_fail; | |
10604 | swig_obj[0] = args; | |
10605 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10606 | if (!SWIG_IsOK(res1)) { | |
10607 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10608 | } | |
10609 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10610 | { | |
10611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10612 | result = (bool)(arg1)->HistoryCanBack(); | |
10613 | wxPyEndAllowThreads(__tstate); | |
10614 | if (PyErr_Occurred()) SWIG_fail; | |
10615 | } | |
10616 | { | |
10617 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10618 | } | |
10619 | return resultobj; | |
10620 | fail: | |
10621 | return NULL; | |
d14a1e28 RD |
10622 | } |
10623 | ||
10624 | ||
0085ce49 RD |
10625 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10626 | PyObject *resultobj = 0; | |
10627 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10628 | bool result; | |
10629 | void *argp1 = 0 ; | |
10630 | int res1 = 0 ; | |
10631 | PyObject *swig_obj[1] ; | |
10632 | ||
10633 | if (!args) SWIG_fail; | |
10634 | swig_obj[0] = args; | |
10635 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10636 | if (!SWIG_IsOK(res1)) { | |
10637 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10638 | } | |
10639 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10640 | { | |
10641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10642 | result = (bool)(arg1)->HistoryCanForward(); | |
10643 | wxPyEndAllowThreads(__tstate); | |
10644 | if (PyErr_Occurred()) SWIG_fail; | |
10645 | } | |
10646 | { | |
10647 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10648 | } | |
10649 | return resultobj; | |
10650 | fail: | |
10651 | return NULL; | |
d14a1e28 RD |
10652 | } |
10653 | ||
10654 | ||
0085ce49 RD |
10655 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10656 | PyObject *resultobj = 0; | |
10657 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10658 | void *argp1 = 0 ; | |
10659 | int res1 = 0 ; | |
10660 | PyObject *swig_obj[1] ; | |
10661 | ||
10662 | if (!args) SWIG_fail; | |
10663 | swig_obj[0] = args; | |
10664 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10665 | if (!SWIG_IsOK(res1)) { | |
10666 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10667 | } | |
10668 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10669 | { | |
10670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10671 | (arg1)->HistoryClear(); | |
10672 | wxPyEndAllowThreads(__tstate); | |
10673 | if (PyErr_Occurred()) SWIG_fail; | |
10674 | } | |
10675 | resultobj = SWIG_Py_Void(); | |
10676 | return resultobj; | |
10677 | fail: | |
10678 | return NULL; | |
d14a1e28 RD |
10679 | } |
10680 | ||
10681 | ||
0085ce49 RD |
10682 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10683 | PyObject *resultobj = 0; | |
10684 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10685 | wxHtmlContainerCell *result = 0 ; | |
10686 | void *argp1 = 0 ; | |
10687 | int res1 = 0 ; | |
10688 | PyObject *swig_obj[1] ; | |
10689 | ||
10690 | if (!args) SWIG_fail; | |
10691 | swig_obj[0] = args; | |
10692 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10693 | if (!SWIG_IsOK(res1)) { | |
10694 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10695 | } | |
10696 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10697 | { | |
10698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10699 | result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation(); | |
10700 | wxPyEndAllowThreads(__tstate); | |
10701 | if (PyErr_Occurred()) SWIG_fail; | |
10702 | } | |
10703 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
10704 | return resultobj; | |
10705 | fail: | |
10706 | return NULL; | |
d14a1e28 RD |
10707 | } |
10708 | ||
10709 | ||
0085ce49 RD |
10710 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10711 | PyObject *resultobj = 0; | |
10712 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10713 | wxHtmlWinParser *result = 0 ; | |
10714 | void *argp1 = 0 ; | |
10715 | int res1 = 0 ; | |
10716 | PyObject *swig_obj[1] ; | |
10717 | ||
10718 | if (!args) SWIG_fail; | |
10719 | swig_obj[0] = args; | |
10720 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10721 | if (!SWIG_IsOK(res1)) { | |
10722 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10723 | } | |
10724 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10725 | { | |
10726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10727 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
10728 | wxPyEndAllowThreads(__tstate); | |
10729 | if (PyErr_Occurred()) SWIG_fail; | |
10730 | } | |
10731 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
10732 | return resultobj; | |
10733 | fail: | |
10734 | return NULL; | |
10735 | } | |
10736 | ||
10737 | ||
10738 | SWIGINTERN PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10739 | PyObject *resultobj = 0; | |
10740 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10741 | wxString *arg2 = 0 ; | |
10742 | bool result; | |
10743 | void *argp1 = 0 ; | |
10744 | int res1 = 0 ; | |
10745 | bool temp2 = false ; | |
10746 | PyObject * obj0 = 0 ; | |
10747 | PyObject * obj1 = 0 ; | |
10748 | char * kwnames[] = { | |
10749 | (char *) "self",(char *) "anchor", NULL | |
10750 | }; | |
10751 | ||
10752 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) SWIG_fail; | |
10753 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10754 | if (!SWIG_IsOK(res1)) { | |
10755 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10756 | } | |
10757 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10758 | { | |
10759 | arg2 = wxString_in_helper(obj1); | |
10760 | if (arg2 == NULL) SWIG_fail; | |
10761 | temp2 = true; | |
10762 | } | |
10763 | { | |
10764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10765 | result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2); | |
10766 | wxPyEndAllowThreads(__tstate); | |
10767 | if (PyErr_Occurred()) SWIG_fail; | |
10768 | } | |
10769 | { | |
10770 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10771 | } | |
10772 | { | |
10773 | if (temp2) | |
10774 | delete arg2; | |
10775 | } | |
10776 | return resultobj; | |
10777 | fail: | |
10778 | { | |
10779 | if (temp2) | |
10780 | delete arg2; | |
10781 | } | |
10782 | return NULL; | |
10783 | } | |
10784 | ||
10785 | ||
10786 | SWIGINTERN PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10787 | PyObject *resultobj = 0; | |
10788 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10789 | wxString *arg2 = 0 ; | |
10790 | bool result; | |
10791 | void *argp1 = 0 ; | |
10792 | int res1 = 0 ; | |
10793 | bool temp2 = false ; | |
10794 | PyObject * obj0 = 0 ; | |
10795 | PyObject * obj1 = 0 ; | |
10796 | char * kwnames[] = { | |
10797 | (char *) "self",(char *) "anchor", NULL | |
10798 | }; | |
10799 | ||
10800 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) SWIG_fail; | |
10801 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10802 | if (!SWIG_IsOK(res1)) { | |
10803 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10804 | } | |
10805 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10806 | { | |
10807 | arg2 = wxString_in_helper(obj1); | |
10808 | if (arg2 == NULL) SWIG_fail; | |
10809 | temp2 = true; | |
10810 | } | |
10811 | { | |
10812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10813 | result = (bool)(arg1)->HasAnchor((wxString const &)*arg2); | |
10814 | wxPyEndAllowThreads(__tstate); | |
10815 | if (PyErr_Occurred()) SWIG_fail; | |
10816 | } | |
10817 | { | |
10818 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10819 | } | |
10820 | { | |
10821 | if (temp2) | |
10822 | delete arg2; | |
10823 | } | |
10824 | return resultobj; | |
10825 | fail: | |
10826 | { | |
10827 | if (temp2) | |
10828 | delete arg2; | |
10829 | } | |
10830 | return NULL; | |
d14a1e28 RD |
10831 | } |
10832 | ||
10833 | ||
0085ce49 RD |
10834 | SWIGINTERN PyObject *_wrap_HtmlWindow_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10835 | PyObject *resultobj = 0; | |
10836 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
10837 | void *argp1 = 0 ; | |
10838 | int res1 = 0 ; | |
10839 | PyObject * obj0 = 0 ; | |
10840 | char * kwnames[] = { | |
10841 | (char *) "filter", NULL | |
10842 | }; | |
10843 | ||
10844 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) SWIG_fail; | |
10845 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 ); | |
10846 | if (!SWIG_IsOK(res1)) { | |
10847 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'"); | |
10848 | } | |
10849 | arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1); | |
10850 | { | |
10851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10852 | wxPyHtmlWindow::AddFilter(arg1); | |
10853 | wxPyEndAllowThreads(__tstate); | |
10854 | if (PyErr_Occurred()) SWIG_fail; | |
10855 | } | |
10856 | resultobj = SWIG_Py_Void(); | |
10857 | return resultobj; | |
10858 | fail: | |
10859 | return NULL; | |
10860 | } | |
10861 | ||
10862 | ||
10863 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10864 | PyObject *resultobj = 0; | |
10865 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10866 | wxPoint *arg2 = 0 ; | |
10867 | void *argp1 = 0 ; | |
10868 | int res1 = 0 ; | |
10869 | wxPoint temp2 ; | |
10870 | PyObject * obj0 = 0 ; | |
10871 | PyObject * obj1 = 0 ; | |
10872 | char * kwnames[] = { | |
10873 | (char *) "self",(char *) "pos", NULL | |
10874 | }; | |
10875 | ||
10876 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail; | |
10877 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10878 | if (!SWIG_IsOK(res1)) { | |
10879 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10880 | } | |
10881 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10882 | { | |
10883 | arg2 = &temp2; | |
10884 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10885 | } | |
10886 | { | |
10887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10888 | (arg1)->SelectWord((wxPoint const &)*arg2); | |
10889 | wxPyEndAllowThreads(__tstate); | |
10890 | if (PyErr_Occurred()) SWIG_fail; | |
10891 | } | |
10892 | resultobj = SWIG_Py_Void(); | |
10893 | return resultobj; | |
10894 | fail: | |
10895 | return NULL; | |
10896 | } | |
10897 | ||
10898 | ||
10899 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10900 | PyObject *resultobj = 0; | |
10901 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10902 | wxPoint *arg2 = 0 ; | |
10903 | void *argp1 = 0 ; | |
10904 | int res1 = 0 ; | |
10905 | wxPoint temp2 ; | |
10906 | PyObject * obj0 = 0 ; | |
10907 | PyObject * obj1 = 0 ; | |
10908 | char * kwnames[] = { | |
10909 | (char *) "self",(char *) "pos", NULL | |
10910 | }; | |
10911 | ||
10912 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) SWIG_fail; | |
10913 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10914 | if (!SWIG_IsOK(res1)) { | |
10915 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10916 | } | |
10917 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10918 | { | |
10919 | arg2 = &temp2; | |
10920 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10921 | } | |
10922 | { | |
10923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10924 | (arg1)->SelectLine((wxPoint const &)*arg2); | |
10925 | wxPyEndAllowThreads(__tstate); | |
10926 | if (PyErr_Occurred()) SWIG_fail; | |
10927 | } | |
10928 | resultobj = SWIG_Py_Void(); | |
10929 | return resultobj; | |
10930 | fail: | |
10931 | return NULL; | |
d14a1e28 RD |
10932 | } |
10933 | ||
10934 | ||
0085ce49 RD |
10935 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10936 | PyObject *resultobj = 0; | |
10937 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10938 | void *argp1 = 0 ; | |
10939 | int res1 = 0 ; | |
10940 | PyObject *swig_obj[1] ; | |
10941 | ||
10942 | if (!args) SWIG_fail; | |
10943 | swig_obj[0] = args; | |
10944 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10945 | if (!SWIG_IsOK(res1)) { | |
10946 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10947 | } | |
10948 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10949 | { | |
10950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10951 | (arg1)->SelectAll(); | |
10952 | wxPyEndAllowThreads(__tstate); | |
10953 | if (PyErr_Occurred()) SWIG_fail; | |
10954 | } | |
10955 | resultobj = SWIG_Py_Void(); | |
10956 | return resultobj; | |
10957 | fail: | |
10958 | return NULL; | |
d14a1e28 RD |
10959 | } |
10960 | ||
10961 | ||
0085ce49 RD |
10962 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10963 | PyObject *resultobj = 0; | |
10964 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10965 | wxString result; | |
10966 | void *argp1 = 0 ; | |
10967 | int res1 = 0 ; | |
10968 | PyObject *swig_obj[1] ; | |
10969 | ||
10970 | if (!args) SWIG_fail; | |
10971 | swig_obj[0] = args; | |
10972 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10973 | if (!SWIG_IsOK(res1)) { | |
10974 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10975 | } | |
10976 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10977 | { | |
10978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10979 | result = (arg1)->SelectionToText(); | |
10980 | wxPyEndAllowThreads(__tstate); | |
10981 | if (PyErr_Occurred()) SWIG_fail; | |
10982 | } | |
10983 | { | |
10984 | #if wxUSE_UNICODE | |
10985 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10986 | #else | |
10987 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10988 | #endif | |
10989 | } | |
10990 | return resultobj; | |
10991 | fail: | |
10992 | return NULL; | |
d14a1e28 RD |
10993 | } |
10994 | ||
10995 | ||
0085ce49 RD |
10996 | SWIGINTERN PyObject *_wrap_HtmlWindow_ToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10997 | PyObject *resultobj = 0; | |
10998 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10999 | wxString result; | |
11000 | void *argp1 = 0 ; | |
11001 | int res1 = 0 ; | |
11002 | PyObject *swig_obj[1] ; | |
11003 | ||
11004 | if (!args) SWIG_fail; | |
11005 | swig_obj[0] = args; | |
11006 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11007 | if (!SWIG_IsOK(res1)) { | |
11008 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11009 | } | |
11010 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11011 | { | |
11012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11013 | result = (arg1)->ToText(); | |
11014 | wxPyEndAllowThreads(__tstate); | |
11015 | if (PyErr_Occurred()) SWIG_fail; | |
11016 | } | |
11017 | { | |
d14a1e28 | 11018 | #if wxUSE_UNICODE |
0085ce49 | 11019 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 11020 | #else |
0085ce49 | 11021 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 11022 | #endif |
0085ce49 RD |
11023 | } |
11024 | return resultobj; | |
11025 | fail: | |
11026 | return NULL; | |
11027 | } | |
11028 | ||
11029 | ||
11030 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11031 | PyObject *resultobj = 0; | |
11032 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11033 | wxHtmlLinkInfo *arg2 = 0 ; | |
11034 | void *argp1 = 0 ; | |
11035 | int res1 = 0 ; | |
11036 | void *argp2 = 0 ; | |
11037 | int res2 = 0 ; | |
11038 | PyObject * obj0 = 0 ; | |
11039 | PyObject * obj1 = 0 ; | |
11040 | char * kwnames[] = { | |
11041 | (char *) "self",(char *) "link", NULL | |
11042 | }; | |
11043 | ||
11044 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail; | |
11045 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11046 | if (!SWIG_IsOK(res1)) { | |
11047 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11048 | } | |
11049 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11050 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0); | |
11051 | if (!SWIG_IsOK(res2)) { | |
11052 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
11053 | } | |
11054 | if (!argp2) { | |
11055 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
11056 | } | |
11057 | arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2); | |
11058 | { | |
11059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11060 | (arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2); | |
11061 | wxPyEndAllowThreads(__tstate); | |
11062 | if (PyErr_Occurred()) SWIG_fail; | |
11063 | } | |
11064 | resultobj = SWIG_Py_Void(); | |
11065 | return resultobj; | |
11066 | fail: | |
11067 | return NULL; | |
11068 | } | |
11069 | ||
11070 | ||
11071 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11072 | PyObject *resultobj = 0; | |
11073 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11074 | wxString *arg2 = 0 ; | |
11075 | void *argp1 = 0 ; | |
11076 | int res1 = 0 ; | |
11077 | bool temp2 = false ; | |
11078 | PyObject * obj0 = 0 ; | |
11079 | PyObject * obj1 = 0 ; | |
11080 | char * kwnames[] = { | |
11081 | (char *) "self",(char *) "title", NULL | |
11082 | }; | |
11083 | ||
11084 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) SWIG_fail; | |
11085 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11086 | if (!SWIG_IsOK(res1)) { | |
11087 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11088 | } | |
11089 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11090 | { | |
11091 | arg2 = wxString_in_helper(obj1); | |
11092 | if (arg2 == NULL) SWIG_fail; | |
11093 | temp2 = true; | |
11094 | } | |
11095 | { | |
11096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11097 | (arg1)->OnSetTitle((wxString const &)*arg2); | |
11098 | wxPyEndAllowThreads(__tstate); | |
11099 | if (PyErr_Occurred()) SWIG_fail; | |
11100 | } | |
11101 | resultobj = SWIG_Py_Void(); | |
11102 | { | |
11103 | if (temp2) | |
11104 | delete arg2; | |
11105 | } | |
11106 | return resultobj; | |
11107 | fail: | |
11108 | { | |
11109 | if (temp2) | |
11110 | delete arg2; | |
11111 | } | |
11112 | return NULL; | |
11113 | } | |
11114 | ||
11115 | ||
11116 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11117 | PyObject *resultobj = 0; | |
11118 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11119 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
11120 | int arg3 ; | |
11121 | int arg4 ; | |
11122 | void *argp1 = 0 ; | |
11123 | int res1 = 0 ; | |
11124 | void *argp2 = 0 ; | |
11125 | int res2 = 0 ; | |
11126 | int val3 ; | |
11127 | int ecode3 = 0 ; | |
11128 | int val4 ; | |
11129 | int ecode4 = 0 ; | |
11130 | PyObject * obj0 = 0 ; | |
11131 | PyObject * obj1 = 0 ; | |
11132 | PyObject * obj2 = 0 ; | |
11133 | PyObject * obj3 = 0 ; | |
11134 | char * kwnames[] = { | |
11135 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL | |
11136 | }; | |
11137 | ||
11138 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11139 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11140 | if (!SWIG_IsOK(res1)) { | |
11141 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11142 | } | |
11143 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11144 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
11145 | if (!SWIG_IsOK(res2)) { | |
11146 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
11147 | } | |
11148 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
11149 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11150 | if (!SWIG_IsOK(ecode3)) { | |
11151 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'"); | |
11152 | } | |
11153 | arg3 = static_cast< int >(val3); | |
11154 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11155 | if (!SWIG_IsOK(ecode4)) { | |
11156 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'"); | |
11157 | } | |
11158 | arg4 = static_cast< int >(val4); | |
11159 | { | |
11160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11161 | (arg1)->OnCellMouseHover(arg2,arg3,arg4); | |
11162 | wxPyEndAllowThreads(__tstate); | |
11163 | if (PyErr_Occurred()) SWIG_fail; | |
11164 | } | |
11165 | resultobj = SWIG_Py_Void(); | |
11166 | return resultobj; | |
11167 | fail: | |
11168 | return NULL; | |
11169 | } | |
11170 | ||
11171 | ||
11172 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11173 | PyObject *resultobj = 0; | |
11174 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11175 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
11176 | int arg3 ; | |
11177 | int arg4 ; | |
11178 | wxMouseEvent *arg5 = 0 ; | |
e9d6f3a4 | 11179 | bool result; |
0085ce49 RD |
11180 | void *argp1 = 0 ; |
11181 | int res1 = 0 ; | |
11182 | void *argp2 = 0 ; | |
11183 | int res2 = 0 ; | |
11184 | int val3 ; | |
11185 | int ecode3 = 0 ; | |
11186 | int val4 ; | |
11187 | int ecode4 = 0 ; | |
11188 | void *argp5 = 0 ; | |
11189 | int res5 = 0 ; | |
11190 | PyObject * obj0 = 0 ; | |
11191 | PyObject * obj1 = 0 ; | |
11192 | PyObject * obj2 = 0 ; | |
11193 | PyObject * obj3 = 0 ; | |
11194 | PyObject * obj4 = 0 ; | |
11195 | char * kwnames[] = { | |
11196 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL | |
11197 | }; | |
11198 | ||
11199 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
11200 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11201 | if (!SWIG_IsOK(res1)) { | |
11202 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11203 | } | |
11204 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11205 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
11206 | if (!SWIG_IsOK(res2)) { | |
11207 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
11208 | } | |
11209 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
11210 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11211 | if (!SWIG_IsOK(ecode3)) { | |
11212 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'"); | |
11213 | } | |
11214 | arg3 = static_cast< int >(val3); | |
11215 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11216 | if (!SWIG_IsOK(ecode4)) { | |
11217 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'"); | |
11218 | } | |
11219 | arg4 = static_cast< int >(val4); | |
11220 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0); | |
11221 | if (!SWIG_IsOK(res5)) { | |
11222 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); | |
11223 | } | |
11224 | if (!argp5) { | |
11225 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); | |
11226 | } | |
11227 | arg5 = reinterpret_cast< wxMouseEvent * >(argp5); | |
11228 | { | |
11229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e9d6f3a4 | 11230 | result = (bool)(arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5); |
0085ce49 RD |
11231 | wxPyEndAllowThreads(__tstate); |
11232 | if (PyErr_Occurred()) SWIG_fail; | |
11233 | } | |
e9d6f3a4 RD |
11234 | { |
11235 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11236 | } | |
11237 | return resultobj; | |
11238 | fail: | |
11239 | return NULL; | |
11240 | } | |
11241 | ||
11242 | ||
11243 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnOpeningURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11244 | PyObject *resultobj = 0; | |
11245 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11246 | wxHtmlURLType arg2 ; | |
11247 | wxString *arg3 = 0 ; | |
11248 | wxString *arg4 = (wxString *) 0 ; | |
11249 | wxHtmlOpeningStatus result; | |
11250 | void *argp1 = 0 ; | |
11251 | int res1 = 0 ; | |
11252 | int val2 ; | |
11253 | int ecode2 = 0 ; | |
11254 | bool temp3 = false ; | |
11255 | bool temp4 = false ; | |
11256 | PyObject * obj0 = 0 ; | |
11257 | PyObject * obj1 = 0 ; | |
11258 | PyObject * obj2 = 0 ; | |
11259 | PyObject * obj3 = 0 ; | |
11260 | char * kwnames[] = { | |
11261 | (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL | |
11262 | }; | |
11263 | ||
11264 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11265 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11266 | if (!SWIG_IsOK(res1)) { | |
11267 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'"); | |
11268 | } | |
11269 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11270 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11271 | if (!SWIG_IsOK(ecode2)) { | |
11272 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'"); | |
11273 | } | |
11274 | arg2 = static_cast< wxHtmlURLType >(val2); | |
11275 | { | |
11276 | arg3 = wxString_in_helper(obj2); | |
11277 | if (arg3 == NULL) SWIG_fail; | |
11278 | temp3 = true; | |
11279 | } | |
11280 | { | |
11281 | arg4 = wxString_in_helper(obj3); | |
11282 | if (arg4 == NULL) SWIG_fail; | |
11283 | temp4 = true; | |
11284 | } | |
11285 | { | |
11286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11287 | result = (wxHtmlOpeningStatus)((wxPyHtmlWindow const *)arg1)->OnOpeningURL(arg2,(wxString const &)*arg3,arg4); | |
11288 | wxPyEndAllowThreads(__tstate); | |
11289 | if (PyErr_Occurred()) SWIG_fail; | |
11290 | } | |
11291 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11292 | { | |
11293 | if (temp3) | |
11294 | delete arg3; | |
11295 | } | |
11296 | { | |
11297 | if (temp4) | |
11298 | delete arg4; | |
11299 | } | |
0085ce49 RD |
11300 | return resultobj; |
11301 | fail: | |
e9d6f3a4 RD |
11302 | { |
11303 | if (temp3) | |
11304 | delete arg3; | |
11305 | } | |
11306 | { | |
11307 | if (temp4) | |
11308 | delete arg4; | |
11309 | } | |
0085ce49 RD |
11310 | return NULL; |
11311 | } | |
11312 | ||
11313 | ||
11314 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11315 | PyObject *resultobj = 0; | |
11316 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; | |
11317 | SwigValueWrapper<wxVisualAttributes > result; | |
11318 | int val1 ; | |
11319 | int ecode1 = 0 ; | |
11320 | PyObject * obj0 = 0 ; | |
11321 | char * kwnames[] = { | |
11322 | (char *) "variant", NULL | |
11323 | }; | |
11324 | ||
11325 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail; | |
11326 | if (obj0) { | |
11327 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11328 | if (!SWIG_IsOK(ecode1)) { | |
11329 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); | |
11330 | } | |
11331 | arg1 = static_cast< wxWindowVariant >(val1); | |
11332 | } | |
11333 | { | |
11334 | if (!wxPyCheckForApp()) SWIG_fail; | |
11335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11336 | result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1); | |
11337 | wxPyEndAllowThreads(__tstate); | |
11338 | if (PyErr_Occurred()) SWIG_fail; | |
11339 | } | |
11340 | resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 ); | |
11341 | return resultobj; | |
11342 | fail: | |
11343 | return NULL; | |
d14a1e28 RD |
11344 | } |
11345 | ||
11346 | ||
e9d6f3a4 RD |
11347 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11348 | PyObject *resultobj = 0; | |
11349 | wxPyHtmlWindow::HTMLCursor arg1 ; | |
11350 | wxCursor result; | |
11351 | int val1 ; | |
11352 | int ecode1 = 0 ; | |
11353 | PyObject * obj0 = 0 ; | |
11354 | char * kwnames[] = { | |
11355 | (char *) "type", NULL | |
11356 | }; | |
11357 | ||
11358 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames,&obj0)) SWIG_fail; | |
11359 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11360 | if (!SWIG_IsOK(ecode1)) { | |
11361 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'"); | |
11362 | } | |
11363 | arg1 = static_cast< wxPyHtmlWindow::HTMLCursor >(val1); | |
11364 | { | |
11365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11366 | result = wxPyHtmlWindow::GetDefaultHTMLCursor(arg1); | |
11367 | wxPyEndAllowThreads(__tstate); | |
11368 | if (PyErr_Occurred()) SWIG_fail; | |
11369 | } | |
11370 | resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 ); | |
11371 | return resultobj; | |
11372 | fail: | |
11373 | return NULL; | |
11374 | } | |
11375 | ||
11376 | ||
0085ce49 RD |
11377 | SWIGINTERN PyObject *HtmlWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11378 | PyObject *obj; | |
11379 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11380 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow, SWIG_NewClientData(obj)); | |
11381 | return SWIG_Py_Void(); | |
b1fcee84 RD |
11382 | } |
11383 | ||
0085ce49 RD |
11384 | SWIGINTERN PyObject *HtmlWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11385 | return SWIG_Python_InitShadowInstance(args); | |
b1fcee84 RD |
11386 | } |
11387 | ||
0085ce49 RD |
11388 | SWIGINTERN PyObject *_wrap_new_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11389 | PyObject *resultobj = 0; | |
11390 | wxHtmlDCRenderer *result = 0 ; | |
11391 | ||
11392 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlDCRenderer",0,0,0)) SWIG_fail; | |
11393 | { | |
11394 | if (!wxPyCheckForApp()) SWIG_fail; | |
11395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11396 | result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer(); | |
11397 | wxPyEndAllowThreads(__tstate); | |
11398 | if (PyErr_Occurred()) SWIG_fail; | |
11399 | } | |
11400 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_NEW | 0 ); | |
11401 | return resultobj; | |
11402 | fail: | |
11403 | return NULL; | |
b1fcee84 RD |
11404 | } |
11405 | ||
11406 | ||
0085ce49 RD |
11407 | SWIGINTERN PyObject *_wrap_delete_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11408 | PyObject *resultobj = 0; | |
11409 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11410 | void *argp1 = 0 ; | |
11411 | int res1 = 0 ; | |
11412 | PyObject *swig_obj[1] ; | |
11413 | ||
11414 | if (!args) SWIG_fail; | |
11415 | swig_obj[0] = args; | |
11416 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_DISOWN | 0 ); | |
11417 | if (!SWIG_IsOK(res1)) { | |
11418 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11419 | } | |
11420 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11421 | { | |
11422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11423 | delete arg1; | |
d14a1e28 | 11424 | |
0085ce49 RD |
11425 | wxPyEndAllowThreads(__tstate); |
11426 | if (PyErr_Occurred()) SWIG_fail; | |
11427 | } | |
11428 | resultobj = SWIG_Py_Void(); | |
11429 | return resultobj; | |
11430 | fail: | |
11431 | return NULL; | |
11432 | } | |
11433 | ||
11434 | ||
11435 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11436 | PyObject *resultobj = 0; | |
11437 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11438 | wxDC *arg2 = (wxDC *) 0 ; | |
11439 | int arg3 ; | |
11440 | void *argp1 = 0 ; | |
11441 | int res1 = 0 ; | |
11442 | void *argp2 = 0 ; | |
11443 | int res2 = 0 ; | |
11444 | int val3 ; | |
11445 | int ecode3 = 0 ; | |
11446 | PyObject * obj0 = 0 ; | |
11447 | PyObject * obj1 = 0 ; | |
11448 | PyObject * obj2 = 0 ; | |
11449 | char * kwnames[] = { | |
11450 | (char *) "self",(char *) "dc",(char *) "maxwidth", NULL | |
11451 | }; | |
11452 | ||
11453 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
11454 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11455 | if (!SWIG_IsOK(res1)) { | |
11456 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11457 | } | |
11458 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11459 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); | |
11460 | if (!SWIG_IsOK(res2)) { | |
11461 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); | |
11462 | } | |
11463 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
11464 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11465 | if (!SWIG_IsOK(ecode3)) { | |
11466 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'"); | |
11467 | } | |
11468 | arg3 = static_cast< int >(val3); | |
11469 | { | |
11470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11471 | (arg1)->SetDC(arg2,arg3); | |
11472 | wxPyEndAllowThreads(__tstate); | |
11473 | if (PyErr_Occurred()) SWIG_fail; | |
11474 | } | |
11475 | resultobj = SWIG_Py_Void(); | |
11476 | return resultobj; | |
11477 | fail: | |
11478 | return NULL; | |
11479 | } | |
11480 | ||
11481 | ||
11482 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11483 | PyObject *resultobj = 0; | |
11484 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11485 | int arg2 ; | |
11486 | int arg3 ; | |
11487 | void *argp1 = 0 ; | |
11488 | int res1 = 0 ; | |
11489 | int val2 ; | |
11490 | int ecode2 = 0 ; | |
11491 | int val3 ; | |
11492 | int ecode3 = 0 ; | |
11493 | PyObject * obj0 = 0 ; | |
11494 | PyObject * obj1 = 0 ; | |
11495 | PyObject * obj2 = 0 ; | |
11496 | char * kwnames[] = { | |
11497 | (char *) "self",(char *) "width",(char *) "height", NULL | |
11498 | }; | |
11499 | ||
11500 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
11501 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11502 | if (!SWIG_IsOK(res1)) { | |
11503 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11504 | } | |
11505 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11506 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11507 | if (!SWIG_IsOK(ecode2)) { | |
11508 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'"); | |
11509 | } | |
11510 | arg2 = static_cast< int >(val2); | |
11511 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11512 | if (!SWIG_IsOK(ecode3)) { | |
11513 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'"); | |
11514 | } | |
11515 | arg3 = static_cast< int >(val3); | |
11516 | { | |
11517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11518 | (arg1)->SetSize(arg2,arg3); | |
11519 | wxPyEndAllowThreads(__tstate); | |
11520 | if (PyErr_Occurred()) SWIG_fail; | |
11521 | } | |
11522 | resultobj = SWIG_Py_Void(); | |
11523 | return resultobj; | |
11524 | fail: | |
11525 | return NULL; | |
11526 | } | |
11527 | ||
11528 | ||
11529 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11530 | PyObject *resultobj = 0; | |
11531 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11532 | wxString *arg2 = 0 ; | |
11533 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11534 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11535 | bool arg4 = (bool) true ; | |
11536 | void *argp1 = 0 ; | |
11537 | int res1 = 0 ; | |
11538 | bool temp2 = false ; | |
11539 | bool temp3 = false ; | |
11540 | bool val4 ; | |
11541 | int ecode4 = 0 ; | |
11542 | PyObject * obj0 = 0 ; | |
11543 | PyObject * obj1 = 0 ; | |
11544 | PyObject * obj2 = 0 ; | |
11545 | PyObject * obj3 = 0 ; | |
11546 | char * kwnames[] = { | |
11547 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
11548 | }; | |
11549 | ||
11550 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11551 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11552 | if (!SWIG_IsOK(res1)) { | |
11553 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11554 | } | |
11555 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11556 | { | |
11557 | arg2 = wxString_in_helper(obj1); | |
11558 | if (arg2 == NULL) SWIG_fail; | |
11559 | temp2 = true; | |
11560 | } | |
11561 | if (obj2) { | |
d14a1e28 | 11562 | { |
0085ce49 RD |
11563 | arg3 = wxString_in_helper(obj2); |
11564 | if (arg3 == NULL) SWIG_fail; | |
11565 | temp3 = true; | |
d14a1e28 | 11566 | } |
0085ce49 RD |
11567 | } |
11568 | if (obj3) { | |
11569 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
11570 | if (!SWIG_IsOK(ecode4)) { | |
11571 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'"); | |
11572 | } | |
11573 | arg4 = static_cast< bool >(val4); | |
11574 | } | |
11575 | { | |
11576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11577 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
11578 | wxPyEndAllowThreads(__tstate); | |
11579 | if (PyErr_Occurred()) SWIG_fail; | |
11580 | } | |
11581 | resultobj = SWIG_Py_Void(); | |
11582 | { | |
11583 | if (temp2) | |
11584 | delete arg2; | |
11585 | } | |
11586 | { | |
11587 | if (temp3) | |
11588 | delete arg3; | |
11589 | } | |
11590 | return resultobj; | |
11591 | fail: | |
11592 | { | |
11593 | if (temp2) | |
11594 | delete arg2; | |
11595 | } | |
11596 | { | |
11597 | if (temp3) | |
11598 | delete arg3; | |
11599 | } | |
11600 | return NULL; | |
11601 | } | |
11602 | ||
11603 | ||
11604 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11605 | PyObject *resultobj = 0; | |
11606 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11607 | wxString arg2 ; | |
11608 | wxString arg3 ; | |
11609 | PyObject *arg4 = (PyObject *) NULL ; | |
11610 | void *argp1 = 0 ; | |
11611 | int res1 = 0 ; | |
11612 | PyObject * obj0 = 0 ; | |
11613 | PyObject * obj1 = 0 ; | |
11614 | PyObject * obj2 = 0 ; | |
11615 | PyObject * obj3 = 0 ; | |
11616 | char * kwnames[] = { | |
11617 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
11618 | }; | |
11619 | ||
11620 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11621 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11622 | if (!SWIG_IsOK(res1)) { | |
11623 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11624 | } | |
11625 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11626 | { | |
11627 | wxString* sptr = wxString_in_helper(obj1); | |
11628 | if (sptr == NULL) SWIG_fail; | |
11629 | arg2 = *sptr; | |
11630 | delete sptr; | |
11631 | } | |
11632 | { | |
11633 | wxString* sptr = wxString_in_helper(obj2); | |
11634 | if (sptr == NULL) SWIG_fail; | |
11635 | arg3 = *sptr; | |
11636 | delete sptr; | |
11637 | } | |
11638 | if (obj3) { | |
11639 | arg4 = obj3; | |
11640 | } | |
11641 | { | |
11642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11643 | wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4); | |
11644 | wxPyEndAllowThreads(__tstate); | |
11645 | if (PyErr_Occurred()) SWIG_fail; | |
11646 | } | |
11647 | resultobj = SWIG_Py_Void(); | |
11648 | return resultobj; | |
11649 | fail: | |
11650 | return NULL; | |
11651 | } | |
11652 | ||
11653 | ||
11654 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11655 | PyObject *resultobj = 0; | |
11656 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11657 | int arg2 = (int) -1 ; | |
11658 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11659 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11660 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
11661 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
11662 | void *argp1 = 0 ; | |
11663 | int res1 = 0 ; | |
11664 | int val2 ; | |
11665 | int ecode2 = 0 ; | |
11666 | bool temp3 = false ; | |
11667 | bool temp4 = false ; | |
11668 | PyObject * obj0 = 0 ; | |
11669 | PyObject * obj1 = 0 ; | |
11670 | PyObject * obj2 = 0 ; | |
11671 | PyObject * obj3 = 0 ; | |
11672 | char * kwnames[] = { | |
11673 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
11674 | }; | |
11675 | ||
11676 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11677 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11678 | if (!SWIG_IsOK(res1)) { | |
11679 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11680 | } | |
11681 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11682 | if (obj1) { | |
11683 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11684 | if (!SWIG_IsOK(ecode2)) { | |
11685 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
11686 | } | |
11687 | arg2 = static_cast< int >(val2); | |
11688 | } | |
11689 | if (obj2) { | |
d14a1e28 | 11690 | { |
0085ce49 RD |
11691 | arg3 = wxString_in_helper(obj2); |
11692 | if (arg3 == NULL) SWIG_fail; | |
11693 | temp3 = true; | |
d14a1e28 | 11694 | } |
0085ce49 RD |
11695 | } |
11696 | if (obj3) { | |
093d3ff1 | 11697 | { |
0085ce49 RD |
11698 | arg4 = wxString_in_helper(obj3); |
11699 | if (arg4 == NULL) SWIG_fail; | |
11700 | temp4 = true; | |
093d3ff1 | 11701 | } |
0085ce49 RD |
11702 | } |
11703 | { | |
11704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11705 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
11706 | wxPyEndAllowThreads(__tstate); | |
11707 | if (PyErr_Occurred()) SWIG_fail; | |
11708 | } | |
11709 | resultobj = SWIG_Py_Void(); | |
11710 | { | |
11711 | if (temp3) | |
11712 | delete arg3; | |
11713 | } | |
11714 | { | |
11715 | if (temp4) | |
11716 | delete arg4; | |
11717 | } | |
11718 | return resultobj; | |
11719 | fail: | |
11720 | { | |
11721 | if (temp3) | |
11722 | delete arg3; | |
11723 | } | |
11724 | { | |
11725 | if (temp4) | |
11726 | delete arg4; | |
11727 | } | |
11728 | return NULL; | |
11729 | } | |
11730 | ||
11731 | ||
11732 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_Render(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11733 | PyObject *resultobj = 0; | |
11734 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11735 | int arg2 ; | |
11736 | int arg3 ; | |
704eda0c RD |
11737 | wxArrayInt *arg4 = 0 ; |
11738 | int arg5 = (int) 0 ; | |
11739 | int arg6 = (int) FALSE ; | |
11740 | int arg7 = (int) INT_MAX ; | |
0085ce49 RD |
11741 | int result; |
11742 | void *argp1 = 0 ; | |
11743 | int res1 = 0 ; | |
11744 | int val2 ; | |
11745 | int ecode2 = 0 ; | |
11746 | int val3 ; | |
11747 | int ecode3 = 0 ; | |
704eda0c | 11748 | bool temp4 = false ; |
0085ce49 RD |
11749 | int val5 ; |
11750 | int ecode5 = 0 ; | |
11751 | int val6 ; | |
11752 | int ecode6 = 0 ; | |
704eda0c RD |
11753 | int val7 ; |
11754 | int ecode7 = 0 ; | |
0085ce49 RD |
11755 | PyObject * obj0 = 0 ; |
11756 | PyObject * obj1 = 0 ; | |
11757 | PyObject * obj2 = 0 ; | |
11758 | PyObject * obj3 = 0 ; | |
11759 | PyObject * obj4 = 0 ; | |
11760 | PyObject * obj5 = 0 ; | |
11761 | PyObject * obj6 = 0 ; | |
0085ce49 | 11762 | char * kwnames[] = { |
704eda0c | 11763 | (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL |
0085ce49 RD |
11764 | }; |
11765 | ||
704eda0c | 11766 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
0085ce49 RD |
11767 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); |
11768 | if (!SWIG_IsOK(res1)) { | |
11769 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11770 | } | |
11771 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11772 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11773 | if (!SWIG_IsOK(ecode2)) { | |
11774 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'"); | |
11775 | } | |
11776 | arg2 = static_cast< int >(val2); | |
11777 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11778 | if (!SWIG_IsOK(ecode3)) { | |
11779 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'"); | |
11780 | } | |
11781 | arg3 = static_cast< int >(val3); | |
704eda0c RD |
11782 | { |
11783 | if (! PySequence_Check(obj3)) { | |
11784 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
11785 | SWIG_fail; | |
11786 | } | |
11787 | arg4 = new wxArrayInt; | |
11788 | temp4 = true; | |
11789 | int i, len=PySequence_Length(obj3); | |
11790 | for (i=0; i<len; i++) { | |
11791 | PyObject* item = PySequence_GetItem(obj3, i); | |
11792 | PyObject* number = PyNumber_Int(item); | |
ec8a7755 RD |
11793 | if (!number) { |
11794 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
11795 | SWIG_fail; | |
11796 | } | |
704eda0c RD |
11797 | arg4->Add(PyInt_AS_LONG(number)); |
11798 | Py_DECREF(item); | |
11799 | Py_DECREF(number); | |
11800 | } | |
0085ce49 RD |
11801 | } |
11802 | if (obj4) { | |
11803 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
11804 | if (!SWIG_IsOK(ecode5)) { | |
11805 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'"); | |
11806 | } | |
11807 | arg5 = static_cast< int >(val5); | |
11808 | } | |
11809 | if (obj5) { | |
11810 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
11811 | if (!SWIG_IsOK(ecode6)) { | |
11812 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'"); | |
11813 | } | |
11814 | arg6 = static_cast< int >(val6); | |
11815 | } | |
11816 | if (obj6) { | |
704eda0c RD |
11817 | ecode7 = SWIG_AsVal_int(obj6, &val7); |
11818 | if (!SWIG_IsOK(ecode7)) { | |
11819 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'"); | |
0085ce49 | 11820 | } |
704eda0c | 11821 | arg7 = static_cast< int >(val7); |
0085ce49 RD |
11822 | } |
11823 | { | |
11824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
704eda0c | 11825 | result = (int)(arg1)->Render(arg2,arg3,*arg4,arg5,arg6,arg7); |
0085ce49 RD |
11826 | wxPyEndAllowThreads(__tstate); |
11827 | if (PyErr_Occurred()) SWIG_fail; | |
11828 | } | |
11829 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
704eda0c RD |
11830 | { |
11831 | if (temp4) delete arg4; | |
11832 | } | |
0085ce49 RD |
11833 | return resultobj; |
11834 | fail: | |
704eda0c RD |
11835 | { |
11836 | if (temp4) delete arg4; | |
11837 | } | |
0085ce49 | 11838 | return NULL; |
d14a1e28 RD |
11839 | } |
11840 | ||
11841 | ||
0085ce49 RD |
11842 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11843 | PyObject *resultobj = 0; | |
11844 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11845 | int result; | |
11846 | void *argp1 = 0 ; | |
11847 | int res1 = 0 ; | |
11848 | PyObject *swig_obj[1] ; | |
11849 | ||
11850 | if (!args) SWIG_fail; | |
11851 | swig_obj[0] = args; | |
11852 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11853 | if (!SWIG_IsOK(res1)) { | |
11854 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11855 | } | |
11856 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11857 | { | |
11858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11859 | result = (int)(arg1)->GetTotalHeight(); | |
11860 | wxPyEndAllowThreads(__tstate); | |
11861 | if (PyErr_Occurred()) SWIG_fail; | |
11862 | } | |
11863 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11864 | return resultobj; | |
11865 | fail: | |
11866 | return NULL; | |
d14a1e28 RD |
11867 | } |
11868 | ||
11869 | ||
0085ce49 RD |
11870 | SWIGINTERN PyObject *HtmlDCRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11871 | PyObject *obj; | |
11872 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11873 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer, SWIG_NewClientData(obj)); | |
11874 | return SWIG_Py_Void(); | |
d14a1e28 RD |
11875 | } |
11876 | ||
0085ce49 RD |
11877 | SWIGINTERN PyObject *HtmlDCRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11878 | return SWIG_Python_InitShadowInstance(args); | |
11879 | } | |
d14a1e28 | 11880 | |
0085ce49 RD |
11881 | SWIGINTERN PyObject *_wrap_new_HtmlPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11882 | PyObject *resultobj = 0; | |
11883 | wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; | |
11884 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
11885 | wxHtmlPrintout *result = 0 ; | |
11886 | bool temp1 = false ; | |
11887 | PyObject * obj0 = 0 ; | |
11888 | char * kwnames[] = { | |
11889 | (char *) "title", NULL | |
11890 | }; | |
11891 | ||
11892 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) SWIG_fail; | |
11893 | if (obj0) { | |
d14a1e28 | 11894 | { |
0085ce49 RD |
11895 | arg1 = wxString_in_helper(obj0); |
11896 | if (arg1 == NULL) SWIG_fail; | |
11897 | temp1 = true; | |
d14a1e28 | 11898 | } |
0085ce49 RD |
11899 | } |
11900 | { | |
11901 | if (!wxPyCheckForApp()) SWIG_fail; | |
11902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11903 | result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1); | |
11904 | wxPyEndAllowThreads(__tstate); | |
11905 | if (PyErr_Occurred()) SWIG_fail; | |
11906 | } | |
11907 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_NEW | 0 ); | |
11908 | { | |
11909 | if (temp1) | |
11910 | delete arg1; | |
11911 | } | |
11912 | return resultobj; | |
11913 | fail: | |
11914 | { | |
11915 | if (temp1) | |
11916 | delete arg1; | |
11917 | } | |
11918 | return NULL; | |
11919 | } | |
11920 | ||
11921 | ||
11922 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11923 | PyObject *resultobj = 0; | |
11924 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
11925 | wxString *arg2 = 0 ; | |
11926 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11927 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11928 | bool arg4 = (bool) true ; | |
11929 | void *argp1 = 0 ; | |
11930 | int res1 = 0 ; | |
11931 | bool temp2 = false ; | |
11932 | bool temp3 = false ; | |
11933 | bool val4 ; | |
11934 | int ecode4 = 0 ; | |
11935 | PyObject * obj0 = 0 ; | |
11936 | PyObject * obj1 = 0 ; | |
11937 | PyObject * obj2 = 0 ; | |
11938 | PyObject * obj3 = 0 ; | |
11939 | char * kwnames[] = { | |
11940 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
11941 | }; | |
11942 | ||
11943 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11944 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
11945 | if (!SWIG_IsOK(res1)) { | |
11946 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
11947 | } | |
11948 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
11949 | { | |
11950 | arg2 = wxString_in_helper(obj1); | |
11951 | if (arg2 == NULL) SWIG_fail; | |
11952 | temp2 = true; | |
11953 | } | |
11954 | if (obj2) { | |
093d3ff1 | 11955 | { |
0085ce49 RD |
11956 | arg3 = wxString_in_helper(obj2); |
11957 | if (arg3 == NULL) SWIG_fail; | |
11958 | temp3 = true; | |
093d3ff1 | 11959 | } |
0085ce49 RD |
11960 | } |
11961 | if (obj3) { | |
11962 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
11963 | if (!SWIG_IsOK(ecode4)) { | |
11964 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'"); | |
11965 | } | |
11966 | arg4 = static_cast< bool >(val4); | |
11967 | } | |
11968 | { | |
11969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11970 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
11971 | wxPyEndAllowThreads(__tstate); | |
11972 | if (PyErr_Occurred()) SWIG_fail; | |
11973 | } | |
11974 | resultobj = SWIG_Py_Void(); | |
11975 | { | |
11976 | if (temp2) | |
11977 | delete arg2; | |
11978 | } | |
11979 | { | |
11980 | if (temp3) | |
11981 | delete arg3; | |
11982 | } | |
11983 | return resultobj; | |
11984 | fail: | |
11985 | { | |
11986 | if (temp2) | |
11987 | delete arg2; | |
11988 | } | |
11989 | { | |
11990 | if (temp3) | |
11991 | delete arg3; | |
11992 | } | |
11993 | return NULL; | |
d14a1e28 RD |
11994 | } |
11995 | ||
11996 | ||
0085ce49 RD |
11997 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11998 | PyObject *resultobj = 0; | |
11999 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12000 | wxString *arg2 = 0 ; | |
12001 | void *argp1 = 0 ; | |
12002 | int res1 = 0 ; | |
12003 | bool temp2 = false ; | |
12004 | PyObject * obj0 = 0 ; | |
12005 | PyObject * obj1 = 0 ; | |
12006 | char * kwnames[] = { | |
12007 | (char *) "self",(char *) "htmlfile", NULL | |
12008 | }; | |
12009 | ||
12010 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
12011 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12012 | if (!SWIG_IsOK(res1)) { | |
12013 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12014 | } | |
12015 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12016 | { | |
12017 | arg2 = wxString_in_helper(obj1); | |
12018 | if (arg2 == NULL) SWIG_fail; | |
12019 | temp2 = true; | |
12020 | } | |
12021 | { | |
12022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12023 | (arg1)->SetHtmlFile((wxString const &)*arg2); | |
12024 | wxPyEndAllowThreads(__tstate); | |
12025 | if (PyErr_Occurred()) SWIG_fail; | |
12026 | } | |
12027 | resultobj = SWIG_Py_Void(); | |
12028 | { | |
12029 | if (temp2) | |
12030 | delete arg2; | |
12031 | } | |
12032 | return resultobj; | |
12033 | fail: | |
12034 | { | |
12035 | if (temp2) | |
12036 | delete arg2; | |
12037 | } | |
12038 | return NULL; | |
12039 | } | |
12040 | ||
12041 | ||
12042 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12043 | PyObject *resultobj = 0; | |
12044 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12045 | wxString *arg2 = 0 ; | |
12046 | int arg3 = (int) wxPAGE_ALL ; | |
12047 | void *argp1 = 0 ; | |
12048 | int res1 = 0 ; | |
12049 | bool temp2 = false ; | |
12050 | int val3 ; | |
12051 | int ecode3 = 0 ; | |
12052 | PyObject * obj0 = 0 ; | |
12053 | PyObject * obj1 = 0 ; | |
12054 | PyObject * obj2 = 0 ; | |
12055 | char * kwnames[] = { | |
12056 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
12057 | }; | |
12058 | ||
12059 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12060 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12061 | if (!SWIG_IsOK(res1)) { | |
12062 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12063 | } | |
12064 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12065 | { | |
12066 | arg2 = wxString_in_helper(obj1); | |
12067 | if (arg2 == NULL) SWIG_fail; | |
12068 | temp2 = true; | |
12069 | } | |
12070 | if (obj2) { | |
12071 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12072 | if (!SWIG_IsOK(ecode3)) { | |
12073 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'"); | |
12074 | } | |
12075 | arg3 = static_cast< int >(val3); | |
12076 | } | |
12077 | { | |
12078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12079 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
12080 | wxPyEndAllowThreads(__tstate); | |
12081 | if (PyErr_Occurred()) SWIG_fail; | |
12082 | } | |
12083 | resultobj = SWIG_Py_Void(); | |
12084 | { | |
12085 | if (temp2) | |
12086 | delete arg2; | |
12087 | } | |
12088 | return resultobj; | |
12089 | fail: | |
12090 | { | |
12091 | if (temp2) | |
12092 | delete arg2; | |
12093 | } | |
12094 | return NULL; | |
12095 | } | |
12096 | ||
12097 | ||
12098 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12099 | PyObject *resultobj = 0; | |
12100 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12101 | wxString *arg2 = 0 ; | |
12102 | int arg3 = (int) wxPAGE_ALL ; | |
12103 | void *argp1 = 0 ; | |
12104 | int res1 = 0 ; | |
12105 | bool temp2 = false ; | |
12106 | int val3 ; | |
12107 | int ecode3 = 0 ; | |
12108 | PyObject * obj0 = 0 ; | |
12109 | PyObject * obj1 = 0 ; | |
12110 | PyObject * obj2 = 0 ; | |
12111 | char * kwnames[] = { | |
12112 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
12113 | }; | |
12114 | ||
12115 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12116 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12117 | if (!SWIG_IsOK(res1)) { | |
12118 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12119 | } | |
12120 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12121 | { | |
12122 | arg2 = wxString_in_helper(obj1); | |
12123 | if (arg2 == NULL) SWIG_fail; | |
12124 | temp2 = true; | |
12125 | } | |
12126 | if (obj2) { | |
12127 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12128 | if (!SWIG_IsOK(ecode3)) { | |
12129 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'"); | |
12130 | } | |
12131 | arg3 = static_cast< int >(val3); | |
12132 | } | |
12133 | { | |
12134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12135 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
12136 | wxPyEndAllowThreads(__tstate); | |
12137 | if (PyErr_Occurred()) SWIG_fail; | |
12138 | } | |
12139 | resultobj = SWIG_Py_Void(); | |
12140 | { | |
12141 | if (temp2) | |
12142 | delete arg2; | |
12143 | } | |
12144 | return resultobj; | |
12145 | fail: | |
12146 | { | |
12147 | if (temp2) | |
12148 | delete arg2; | |
12149 | } | |
12150 | return NULL; | |
12151 | } | |
12152 | ||
12153 | ||
12154 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12155 | PyObject *resultobj = 0; | |
12156 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12157 | wxString arg2 ; | |
12158 | wxString arg3 ; | |
12159 | PyObject *arg4 = (PyObject *) NULL ; | |
12160 | void *argp1 = 0 ; | |
12161 | int res1 = 0 ; | |
12162 | PyObject * obj0 = 0 ; | |
12163 | PyObject * obj1 = 0 ; | |
12164 | PyObject * obj2 = 0 ; | |
12165 | PyObject * obj3 = 0 ; | |
12166 | char * kwnames[] = { | |
12167 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
12168 | }; | |
12169 | ||
12170 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12171 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12172 | if (!SWIG_IsOK(res1)) { | |
12173 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12174 | } | |
12175 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12176 | { | |
12177 | wxString* sptr = wxString_in_helper(obj1); | |
12178 | if (sptr == NULL) SWIG_fail; | |
12179 | arg2 = *sptr; | |
12180 | delete sptr; | |
12181 | } | |
12182 | { | |
12183 | wxString* sptr = wxString_in_helper(obj2); | |
12184 | if (sptr == NULL) SWIG_fail; | |
12185 | arg3 = *sptr; | |
12186 | delete sptr; | |
12187 | } | |
12188 | if (obj3) { | |
12189 | arg4 = obj3; | |
12190 | } | |
12191 | { | |
12192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12193 | wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4); | |
12194 | wxPyEndAllowThreads(__tstate); | |
12195 | if (PyErr_Occurred()) SWIG_fail; | |
12196 | } | |
12197 | resultobj = SWIG_Py_Void(); | |
12198 | return resultobj; | |
12199 | fail: | |
12200 | return NULL; | |
12201 | } | |
12202 | ||
12203 | ||
12204 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12205 | PyObject *resultobj = 0; | |
12206 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12207 | int arg2 = (int) -1 ; | |
12208 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12209 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12210 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12211 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12212 | void *argp1 = 0 ; | |
12213 | int res1 = 0 ; | |
12214 | int val2 ; | |
12215 | int ecode2 = 0 ; | |
12216 | bool temp3 = false ; | |
12217 | bool temp4 = false ; | |
12218 | PyObject * obj0 = 0 ; | |
12219 | PyObject * obj1 = 0 ; | |
12220 | PyObject * obj2 = 0 ; | |
12221 | PyObject * obj3 = 0 ; | |
12222 | char * kwnames[] = { | |
12223 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
12224 | }; | |
12225 | ||
12226 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12227 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12228 | if (!SWIG_IsOK(res1)) { | |
12229 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12230 | } | |
12231 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12232 | if (obj1) { | |
12233 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12234 | if (!SWIG_IsOK(ecode2)) { | |
12235 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
12236 | } | |
12237 | arg2 = static_cast< int >(val2); | |
12238 | } | |
12239 | if (obj2) { | |
12240 | { | |
12241 | arg3 = wxString_in_helper(obj2); | |
12242 | if (arg3 == NULL) SWIG_fail; | |
12243 | temp3 = true; | |
994141e6 | 12244 | } |
0085ce49 RD |
12245 | } |
12246 | if (obj3) { | |
d14a1e28 | 12247 | { |
0085ce49 RD |
12248 | arg4 = wxString_in_helper(obj3); |
12249 | if (arg4 == NULL) SWIG_fail; | |
12250 | temp4 = true; | |
d14a1e28 | 12251 | } |
0085ce49 RD |
12252 | } |
12253 | { | |
12254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12255 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
12256 | wxPyEndAllowThreads(__tstate); | |
12257 | if (PyErr_Occurred()) SWIG_fail; | |
12258 | } | |
12259 | resultobj = SWIG_Py_Void(); | |
12260 | { | |
12261 | if (temp3) | |
12262 | delete arg3; | |
12263 | } | |
12264 | { | |
12265 | if (temp4) | |
12266 | delete arg4; | |
12267 | } | |
12268 | return resultobj; | |
12269 | fail: | |
12270 | { | |
12271 | if (temp3) | |
12272 | delete arg3; | |
12273 | } | |
12274 | { | |
12275 | if (temp4) | |
12276 | delete arg4; | |
12277 | } | |
12278 | return NULL; | |
12279 | } | |
12280 | ||
12281 | ||
12282 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12283 | PyObject *resultobj = 0; | |
12284 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12285 | float arg2 = (float) 25.2 ; | |
12286 | float arg3 = (float) 25.2 ; | |
12287 | float arg4 = (float) 25.2 ; | |
12288 | float arg5 = (float) 25.2 ; | |
12289 | float arg6 = (float) 5 ; | |
12290 | void *argp1 = 0 ; | |
12291 | int res1 = 0 ; | |
12292 | float val2 ; | |
12293 | int ecode2 = 0 ; | |
12294 | float val3 ; | |
12295 | int ecode3 = 0 ; | |
12296 | float val4 ; | |
12297 | int ecode4 = 0 ; | |
12298 | float val5 ; | |
12299 | int ecode5 = 0 ; | |
12300 | float val6 ; | |
12301 | int ecode6 = 0 ; | |
12302 | PyObject * obj0 = 0 ; | |
12303 | PyObject * obj1 = 0 ; | |
12304 | PyObject * obj2 = 0 ; | |
12305 | PyObject * obj3 = 0 ; | |
12306 | PyObject * obj4 = 0 ; | |
12307 | PyObject * obj5 = 0 ; | |
12308 | char * kwnames[] = { | |
12309 | (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL | |
12310 | }; | |
12311 | ||
12312 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
12313 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12314 | if (!SWIG_IsOK(res1)) { | |
12315 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12316 | } | |
12317 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12318 | if (obj1) { | |
12319 | ecode2 = SWIG_AsVal_float(obj1, &val2); | |
12320 | if (!SWIG_IsOK(ecode2)) { | |
12321 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'"); | |
12322 | } | |
12323 | arg2 = static_cast< float >(val2); | |
12324 | } | |
12325 | if (obj2) { | |
12326 | ecode3 = SWIG_AsVal_float(obj2, &val3); | |
12327 | if (!SWIG_IsOK(ecode3)) { | |
12328 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'"); | |
12329 | } | |
12330 | arg3 = static_cast< float >(val3); | |
12331 | } | |
12332 | if (obj3) { | |
12333 | ecode4 = SWIG_AsVal_float(obj3, &val4); | |
12334 | if (!SWIG_IsOK(ecode4)) { | |
12335 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'"); | |
12336 | } | |
12337 | arg4 = static_cast< float >(val4); | |
12338 | } | |
12339 | if (obj4) { | |
12340 | ecode5 = SWIG_AsVal_float(obj4, &val5); | |
12341 | if (!SWIG_IsOK(ecode5)) { | |
12342 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'"); | |
12343 | } | |
12344 | arg5 = static_cast< float >(val5); | |
12345 | } | |
12346 | if (obj5) { | |
12347 | ecode6 = SWIG_AsVal_float(obj5, &val6); | |
12348 | if (!SWIG_IsOK(ecode6)) { | |
12349 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'"); | |
12350 | } | |
12351 | arg6 = static_cast< float >(val6); | |
12352 | } | |
12353 | { | |
12354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12355 | (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6); | |
12356 | wxPyEndAllowThreads(__tstate); | |
12357 | if (PyErr_Occurred()) SWIG_fail; | |
12358 | } | |
12359 | resultobj = SWIG_Py_Void(); | |
12360 | return resultobj; | |
12361 | fail: | |
12362 | return NULL; | |
d14a1e28 RD |
12363 | } |
12364 | ||
12365 | ||
0085ce49 RD |
12366 | SWIGINTERN PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12367 | PyObject *resultobj = 0; | |
12368 | wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; | |
12369 | void *argp1 = 0 ; | |
12370 | int res1 = 0 ; | |
12371 | PyObject * obj0 = 0 ; | |
12372 | char * kwnames[] = { | |
12373 | (char *) "filter", NULL | |
12374 | }; | |
12375 | ||
12376 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) SWIG_fail; | |
12377 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlFilter, 0 | 0 ); | |
12378 | if (!SWIG_IsOK(res1)) { | |
12379 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'"); | |
12380 | } | |
12381 | arg1 = reinterpret_cast< wxHtmlFilter * >(argp1); | |
12382 | { | |
12383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12384 | wxHtmlPrintout::AddFilter(arg1); | |
12385 | wxPyEndAllowThreads(__tstate); | |
12386 | if (PyErr_Occurred()) SWIG_fail; | |
12387 | } | |
12388 | resultobj = SWIG_Py_Void(); | |
12389 | return resultobj; | |
12390 | fail: | |
12391 | return NULL; | |
d14a1e28 RD |
12392 | } |
12393 | ||
12394 | ||
0085ce49 RD |
12395 | SWIGINTERN PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12396 | PyObject *resultobj = 0; | |
12397 | ||
12398 | if (!SWIG_Python_UnpackTuple(args,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail; | |
12399 | { | |
12400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12401 | wxHtmlPrintout::CleanUpStatics(); | |
12402 | wxPyEndAllowThreads(__tstate); | |
12403 | if (PyErr_Occurred()) SWIG_fail; | |
12404 | } | |
12405 | resultobj = SWIG_Py_Void(); | |
12406 | return resultobj; | |
12407 | fail: | |
12408 | return NULL; | |
d14a1e28 RD |
12409 | } |
12410 | ||
12411 | ||
0085ce49 RD |
12412 | SWIGINTERN PyObject *HtmlPrintout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12413 | PyObject *obj; | |
12414 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12415 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout, SWIG_NewClientData(obj)); | |
12416 | return SWIG_Py_Void(); | |
d14a1e28 RD |
12417 | } |
12418 | ||
0085ce49 RD |
12419 | SWIGINTERN PyObject *HtmlPrintout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12420 | return SWIG_Python_InitShadowInstance(args); | |
12421 | } | |
d14a1e28 | 12422 | |
0085ce49 RD |
12423 | SWIGINTERN PyObject *_wrap_new_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12424 | PyObject *resultobj = 0; | |
12425 | wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; | |
12426 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
12427 | wxWindow *arg2 = (wxWindow *) NULL ; | |
12428 | wxHtmlEasyPrinting *result = 0 ; | |
12429 | bool temp1 = false ; | |
12430 | void *argp2 = 0 ; | |
12431 | int res2 = 0 ; | |
12432 | PyObject * obj0 = 0 ; | |
12433 | PyObject * obj1 = 0 ; | |
12434 | char * kwnames[] = { | |
12435 | (char *) "name",(char *) "parentWindow", NULL | |
12436 | }; | |
12437 | ||
12438 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) SWIG_fail; | |
12439 | if (obj0) { | |
093d3ff1 | 12440 | { |
0085ce49 RD |
12441 | arg1 = wxString_in_helper(obj0); |
12442 | if (arg1 == NULL) SWIG_fail; | |
12443 | temp1 = true; | |
093d3ff1 | 12444 | } |
0085ce49 RD |
12445 | } |
12446 | if (obj1) { | |
12447 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12448 | if (!SWIG_IsOK(res2)) { | |
12449 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
d14a1e28 | 12450 | } |
0085ce49 RD |
12451 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
12452 | } | |
12453 | { | |
12454 | if (!wxPyCheckForApp()) SWIG_fail; | |
12455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12456 | result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2); | |
12457 | wxPyEndAllowThreads(__tstate); | |
12458 | if (PyErr_Occurred()) SWIG_fail; | |
12459 | } | |
12460 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_NEW | 0 ); | |
12461 | { | |
12462 | if (temp1) | |
12463 | delete arg1; | |
12464 | } | |
12465 | return resultobj; | |
12466 | fail: | |
12467 | { | |
12468 | if (temp1) | |
12469 | delete arg1; | |
12470 | } | |
12471 | return NULL; | |
d14a1e28 RD |
12472 | } |
12473 | ||
12474 | ||
0085ce49 RD |
12475 | SWIGINTERN PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12476 | PyObject *resultobj = 0; | |
12477 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12478 | void *argp1 = 0 ; | |
12479 | int res1 = 0 ; | |
12480 | PyObject *swig_obj[1] ; | |
12481 | ||
12482 | if (!args) SWIG_fail; | |
12483 | swig_obj[0] = args; | |
12484 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_DISOWN | 0 ); | |
12485 | if (!SWIG_IsOK(res1)) { | |
12486 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12487 | } | |
12488 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12489 | { | |
12490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12491 | delete arg1; | |
d14a1e28 | 12492 | |
0085ce49 RD |
12493 | wxPyEndAllowThreads(__tstate); |
12494 | if (PyErr_Occurred()) SWIG_fail; | |
12495 | } | |
12496 | resultobj = SWIG_Py_Void(); | |
12497 | return resultobj; | |
12498 | fail: | |
12499 | return NULL; | |
12500 | } | |
12501 | ||
12502 | ||
12503 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12504 | PyObject *resultobj = 0; | |
12505 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12506 | wxString *arg2 = 0 ; | |
12507 | void *argp1 = 0 ; | |
12508 | int res1 = 0 ; | |
12509 | bool temp2 = false ; | |
12510 | PyObject * obj0 = 0 ; | |
12511 | PyObject * obj1 = 0 ; | |
12512 | char * kwnames[] = { | |
12513 | (char *) "self",(char *) "htmlfile", NULL | |
12514 | }; | |
12515 | ||
12516 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
12517 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12518 | if (!SWIG_IsOK(res1)) { | |
12519 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12520 | } | |
12521 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12522 | { | |
12523 | arg2 = wxString_in_helper(obj1); | |
12524 | if (arg2 == NULL) SWIG_fail; | |
12525 | temp2 = true; | |
12526 | } | |
12527 | { | |
12528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12529 | (arg1)->PreviewFile((wxString const &)*arg2); | |
12530 | wxPyEndAllowThreads(__tstate); | |
12531 | if (PyErr_Occurred()) SWIG_fail; | |
12532 | } | |
12533 | resultobj = SWIG_Py_Void(); | |
12534 | { | |
12535 | if (temp2) | |
12536 | delete arg2; | |
12537 | } | |
12538 | return resultobj; | |
12539 | fail: | |
12540 | { | |
12541 | if (temp2) | |
12542 | delete arg2; | |
12543 | } | |
12544 | return NULL; | |
12545 | } | |
12546 | ||
12547 | ||
12548 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12549 | PyObject *resultobj = 0; | |
12550 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12551 | wxString *arg2 = 0 ; | |
12552 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12553 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12554 | void *argp1 = 0 ; | |
12555 | int res1 = 0 ; | |
12556 | bool temp2 = false ; | |
12557 | bool temp3 = false ; | |
12558 | PyObject * obj0 = 0 ; | |
12559 | PyObject * obj1 = 0 ; | |
12560 | PyObject * obj2 = 0 ; | |
12561 | char * kwnames[] = { | |
12562 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
12563 | }; | |
12564 | ||
12565 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12566 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12567 | if (!SWIG_IsOK(res1)) { | |
12568 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12569 | } | |
12570 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12571 | { | |
12572 | arg2 = wxString_in_helper(obj1); | |
12573 | if (arg2 == NULL) SWIG_fail; | |
12574 | temp2 = true; | |
12575 | } | |
12576 | if (obj2) { | |
d14a1e28 | 12577 | { |
0085ce49 RD |
12578 | arg3 = wxString_in_helper(obj2); |
12579 | if (arg3 == NULL) SWIG_fail; | |
12580 | temp3 = true; | |
d14a1e28 | 12581 | } |
0085ce49 RD |
12582 | } |
12583 | { | |
12584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12585 | (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3); | |
12586 | wxPyEndAllowThreads(__tstate); | |
12587 | if (PyErr_Occurred()) SWIG_fail; | |
12588 | } | |
12589 | resultobj = SWIG_Py_Void(); | |
12590 | { | |
12591 | if (temp2) | |
12592 | delete arg2; | |
12593 | } | |
12594 | { | |
12595 | if (temp3) | |
12596 | delete arg3; | |
12597 | } | |
12598 | return resultobj; | |
12599 | fail: | |
12600 | { | |
12601 | if (temp2) | |
12602 | delete arg2; | |
12603 | } | |
12604 | { | |
12605 | if (temp3) | |
12606 | delete arg3; | |
12607 | } | |
12608 | return NULL; | |
d14a1e28 RD |
12609 | } |
12610 | ||
12611 | ||
0085ce49 RD |
12612 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12613 | PyObject *resultobj = 0; | |
12614 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12615 | wxString *arg2 = 0 ; | |
12616 | void *argp1 = 0 ; | |
12617 | int res1 = 0 ; | |
12618 | bool temp2 = false ; | |
12619 | PyObject * obj0 = 0 ; | |
12620 | PyObject * obj1 = 0 ; | |
12621 | char * kwnames[] = { | |
12622 | (char *) "self",(char *) "htmlfile", NULL | |
12623 | }; | |
12624 | ||
12625 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
12626 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12627 | if (!SWIG_IsOK(res1)) { | |
12628 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12629 | } | |
12630 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12631 | { | |
12632 | arg2 = wxString_in_helper(obj1); | |
12633 | if (arg2 == NULL) SWIG_fail; | |
12634 | temp2 = true; | |
12635 | } | |
12636 | { | |
12637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12638 | (arg1)->PrintFile((wxString const &)*arg2); | |
12639 | wxPyEndAllowThreads(__tstate); | |
12640 | if (PyErr_Occurred()) SWIG_fail; | |
12641 | } | |
12642 | resultobj = SWIG_Py_Void(); | |
12643 | { | |
12644 | if (temp2) | |
12645 | delete arg2; | |
12646 | } | |
12647 | return resultobj; | |
12648 | fail: | |
12649 | { | |
12650 | if (temp2) | |
12651 | delete arg2; | |
12652 | } | |
12653 | return NULL; | |
12654 | } | |
12655 | ||
12656 | ||
12657 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12658 | PyObject *resultobj = 0; | |
12659 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12660 | wxString *arg2 = 0 ; | |
12661 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12662 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12663 | void *argp1 = 0 ; | |
12664 | int res1 = 0 ; | |
12665 | bool temp2 = false ; | |
12666 | bool temp3 = false ; | |
12667 | PyObject * obj0 = 0 ; | |
12668 | PyObject * obj1 = 0 ; | |
12669 | PyObject * obj2 = 0 ; | |
12670 | char * kwnames[] = { | |
12671 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
12672 | }; | |
12673 | ||
12674 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12675 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12676 | if (!SWIG_IsOK(res1)) { | |
12677 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12678 | } | |
12679 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12680 | { | |
12681 | arg2 = wxString_in_helper(obj1); | |
12682 | if (arg2 == NULL) SWIG_fail; | |
12683 | temp2 = true; | |
12684 | } | |
12685 | if (obj2) { | |
d14a1e28 | 12686 | { |
0085ce49 RD |
12687 | arg3 = wxString_in_helper(obj2); |
12688 | if (arg3 == NULL) SWIG_fail; | |
12689 | temp3 = true; | |
d14a1e28 | 12690 | } |
0085ce49 RD |
12691 | } |
12692 | { | |
12693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12694 | (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3); | |
12695 | wxPyEndAllowThreads(__tstate); | |
12696 | if (PyErr_Occurred()) SWIG_fail; | |
12697 | } | |
12698 | resultobj = SWIG_Py_Void(); | |
12699 | { | |
12700 | if (temp2) | |
12701 | delete arg2; | |
12702 | } | |
12703 | { | |
12704 | if (temp3) | |
12705 | delete arg3; | |
12706 | } | |
12707 | return resultobj; | |
12708 | fail: | |
12709 | { | |
12710 | if (temp2) | |
12711 | delete arg2; | |
12712 | } | |
12713 | { | |
12714 | if (temp3) | |
12715 | delete arg3; | |
12716 | } | |
12717 | return NULL; | |
d14a1e28 RD |
12718 | } |
12719 | ||
12720 | ||
0085ce49 RD |
12721 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12722 | PyObject *resultobj = 0; | |
12723 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12724 | void *argp1 = 0 ; | |
12725 | int res1 = 0 ; | |
12726 | PyObject *swig_obj[1] ; | |
12727 | ||
12728 | if (!args) SWIG_fail; | |
12729 | swig_obj[0] = args; | |
12730 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12731 | if (!SWIG_IsOK(res1)) { | |
12732 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12733 | } | |
12734 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12735 | { | |
12736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12737 | (arg1)->PageSetup(); | |
12738 | wxPyEndAllowThreads(__tstate); | |
12739 | if (PyErr_Occurred()) SWIG_fail; | |
12740 | } | |
12741 | resultobj = SWIG_Py_Void(); | |
12742 | return resultobj; | |
12743 | fail: | |
12744 | return NULL; | |
12745 | } | |
12746 | ||
12747 | ||
12748 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12749 | PyObject *resultobj = 0; | |
12750 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12751 | wxString *arg2 = 0 ; | |
12752 | int arg3 = (int) wxPAGE_ALL ; | |
12753 | void *argp1 = 0 ; | |
12754 | int res1 = 0 ; | |
12755 | bool temp2 = false ; | |
12756 | int val3 ; | |
12757 | int ecode3 = 0 ; | |
12758 | PyObject * obj0 = 0 ; | |
12759 | PyObject * obj1 = 0 ; | |
12760 | PyObject * obj2 = 0 ; | |
12761 | char * kwnames[] = { | |
12762 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
12763 | }; | |
12764 | ||
12765 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12766 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12767 | if (!SWIG_IsOK(res1)) { | |
12768 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12769 | } | |
12770 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12771 | { | |
12772 | arg2 = wxString_in_helper(obj1); | |
12773 | if (arg2 == NULL) SWIG_fail; | |
12774 | temp2 = true; | |
12775 | } | |
12776 | if (obj2) { | |
12777 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12778 | if (!SWIG_IsOK(ecode3)) { | |
12779 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'"); | |
12780 | } | |
12781 | arg3 = static_cast< int >(val3); | |
12782 | } | |
12783 | { | |
12784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12785 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
12786 | wxPyEndAllowThreads(__tstate); | |
12787 | if (PyErr_Occurred()) SWIG_fail; | |
12788 | } | |
12789 | resultobj = SWIG_Py_Void(); | |
12790 | { | |
12791 | if (temp2) | |
12792 | delete arg2; | |
12793 | } | |
12794 | return resultobj; | |
12795 | fail: | |
12796 | { | |
12797 | if (temp2) | |
12798 | delete arg2; | |
12799 | } | |
12800 | return NULL; | |
12801 | } | |
12802 | ||
12803 | ||
12804 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12805 | PyObject *resultobj = 0; | |
12806 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12807 | wxString *arg2 = 0 ; | |
12808 | int arg3 = (int) wxPAGE_ALL ; | |
12809 | void *argp1 = 0 ; | |
12810 | int res1 = 0 ; | |
12811 | bool temp2 = false ; | |
12812 | int val3 ; | |
12813 | int ecode3 = 0 ; | |
12814 | PyObject * obj0 = 0 ; | |
12815 | PyObject * obj1 = 0 ; | |
12816 | PyObject * obj2 = 0 ; | |
12817 | char * kwnames[] = { | |
12818 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
12819 | }; | |
12820 | ||
12821 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12822 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12823 | if (!SWIG_IsOK(res1)) { | |
12824 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12825 | } | |
12826 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12827 | { | |
12828 | arg2 = wxString_in_helper(obj1); | |
12829 | if (arg2 == NULL) SWIG_fail; | |
12830 | temp2 = true; | |
12831 | } | |
12832 | if (obj2) { | |
12833 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12834 | if (!SWIG_IsOK(ecode3)) { | |
12835 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'"); | |
12836 | } | |
12837 | arg3 = static_cast< int >(val3); | |
12838 | } | |
12839 | { | |
12840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12841 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
12842 | wxPyEndAllowThreads(__tstate); | |
12843 | if (PyErr_Occurred()) SWIG_fail; | |
12844 | } | |
12845 | resultobj = SWIG_Py_Void(); | |
12846 | { | |
12847 | if (temp2) | |
12848 | delete arg2; | |
12849 | } | |
12850 | return resultobj; | |
12851 | fail: | |
12852 | { | |
12853 | if (temp2) | |
12854 | delete arg2; | |
12855 | } | |
12856 | return NULL; | |
12857 | } | |
12858 | ||
12859 | ||
12860 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12861 | PyObject *resultobj = 0; | |
12862 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12863 | wxString arg2 ; | |
12864 | wxString arg3 ; | |
12865 | PyObject *arg4 = (PyObject *) NULL ; | |
12866 | void *argp1 = 0 ; | |
12867 | int res1 = 0 ; | |
12868 | PyObject * obj0 = 0 ; | |
12869 | PyObject * obj1 = 0 ; | |
12870 | PyObject * obj2 = 0 ; | |
12871 | PyObject * obj3 = 0 ; | |
12872 | char * kwnames[] = { | |
12873 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
12874 | }; | |
12875 | ||
12876 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12877 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12878 | if (!SWIG_IsOK(res1)) { | |
12879 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12880 | } | |
12881 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12882 | { | |
12883 | wxString* sptr = wxString_in_helper(obj1); | |
12884 | if (sptr == NULL) SWIG_fail; | |
12885 | arg2 = *sptr; | |
12886 | delete sptr; | |
12887 | } | |
12888 | { | |
12889 | wxString* sptr = wxString_in_helper(obj2); | |
12890 | if (sptr == NULL) SWIG_fail; | |
12891 | arg3 = *sptr; | |
12892 | delete sptr; | |
12893 | } | |
12894 | if (obj3) { | |
12895 | arg4 = obj3; | |
12896 | } | |
12897 | { | |
12898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12899 | wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4); | |
12900 | wxPyEndAllowThreads(__tstate); | |
12901 | if (PyErr_Occurred()) SWIG_fail; | |
12902 | } | |
12903 | resultobj = SWIG_Py_Void(); | |
12904 | return resultobj; | |
12905 | fail: | |
12906 | return NULL; | |
12907 | } | |
12908 | ||
12909 | ||
12910 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12911 | PyObject *resultobj = 0; | |
12912 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12913 | int arg2 = (int) -1 ; | |
12914 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12915 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12916 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12917 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12918 | void *argp1 = 0 ; | |
12919 | int res1 = 0 ; | |
12920 | int val2 ; | |
12921 | int ecode2 = 0 ; | |
12922 | bool temp3 = false ; | |
12923 | bool temp4 = false ; | |
12924 | PyObject * obj0 = 0 ; | |
12925 | PyObject * obj1 = 0 ; | |
12926 | PyObject * obj2 = 0 ; | |
12927 | PyObject * obj3 = 0 ; | |
12928 | char * kwnames[] = { | |
12929 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
12930 | }; | |
12931 | ||
12932 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12933 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12934 | if (!SWIG_IsOK(res1)) { | |
12935 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12936 | } | |
12937 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12938 | if (obj1) { | |
12939 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12940 | if (!SWIG_IsOK(ecode2)) { | |
12941 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
12942 | } | |
12943 | arg2 = static_cast< int >(val2); | |
12944 | } | |
12945 | if (obj2) { | |
d14a1e28 | 12946 | { |
0085ce49 RD |
12947 | arg3 = wxString_in_helper(obj2); |
12948 | if (arg3 == NULL) SWIG_fail; | |
12949 | temp3 = true; | |
d14a1e28 | 12950 | } |
0085ce49 RD |
12951 | } |
12952 | if (obj3) { | |
d14a1e28 | 12953 | { |
0085ce49 RD |
12954 | arg4 = wxString_in_helper(obj3); |
12955 | if (arg4 == NULL) SWIG_fail; | |
12956 | temp4 = true; | |
d14a1e28 | 12957 | } |
0085ce49 RD |
12958 | } |
12959 | { | |
12960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12961 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
12962 | wxPyEndAllowThreads(__tstate); | |
12963 | if (PyErr_Occurred()) SWIG_fail; | |
12964 | } | |
12965 | resultobj = SWIG_Py_Void(); | |
12966 | { | |
12967 | if (temp3) | |
12968 | delete arg3; | |
12969 | } | |
12970 | { | |
12971 | if (temp4) | |
12972 | delete arg4; | |
12973 | } | |
12974 | return resultobj; | |
12975 | fail: | |
12976 | { | |
12977 | if (temp3) | |
12978 | delete arg3; | |
12979 | } | |
12980 | { | |
12981 | if (temp4) | |
12982 | delete arg4; | |
12983 | } | |
12984 | return NULL; | |
d14a1e28 RD |
12985 | } |
12986 | ||
12987 | ||
0085ce49 RD |
12988 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12989 | PyObject *resultobj = 0; | |
12990 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12991 | wxPrintData *result = 0 ; | |
12992 | void *argp1 = 0 ; | |
12993 | int res1 = 0 ; | |
12994 | PyObject *swig_obj[1] ; | |
12995 | ||
12996 | if (!args) SWIG_fail; | |
12997 | swig_obj[0] = args; | |
12998 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12999 | if (!SWIG_IsOK(res1)) { | |
13000 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
13001 | } | |
13002 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
13003 | { | |
13004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13005 | result = (wxPrintData *)(arg1)->GetPrintData(); | |
13006 | wxPyEndAllowThreads(__tstate); | |
13007 | if (PyErr_Occurred()) SWIG_fail; | |
13008 | } | |
13009 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 ); | |
13010 | return resultobj; | |
13011 | fail: | |
13012 | return NULL; | |
d14a1e28 RD |
13013 | } |
13014 | ||
13015 | ||
0085ce49 RD |
13016 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13017 | PyObject *resultobj = 0; | |
13018 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
13019 | wxPageSetupDialogData *result = 0 ; | |
13020 | void *argp1 = 0 ; | |
13021 | int res1 = 0 ; | |
13022 | PyObject *swig_obj[1] ; | |
13023 | ||
13024 | if (!args) SWIG_fail; | |
13025 | swig_obj[0] = args; | |
13026 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
13027 | if (!SWIG_IsOK(res1)) { | |
13028 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
13029 | } | |
13030 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
13031 | { | |
13032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13033 | result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData(); | |
13034 | wxPyEndAllowThreads(__tstate); | |
13035 | if (PyErr_Occurred()) SWIG_fail; | |
13036 | } | |
13037 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 ); | |
13038 | return resultobj; | |
13039 | fail: | |
13040 | return NULL; | |
13041 | } | |
13042 | ||
13043 | ||
13044 | SWIGINTERN PyObject *HtmlEasyPrinting_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13045 | PyObject *obj; | |
13046 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13047 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_NewClientData(obj)); | |
13048 | return SWIG_Py_Void(); | |
13049 | } | |
13050 | ||
13051 | SWIGINTERN PyObject *HtmlEasyPrinting_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13052 | return SWIG_Python_InitShadowInstance(args); | |
13053 | } | |
13054 | ||
13055 | SWIGINTERN PyObject *_wrap_new_HtmlBookRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13056 | PyObject *resultobj = 0; | |
13057 | wxString *arg1 = 0 ; | |
13058 | wxString *arg2 = 0 ; | |
13059 | wxString *arg3 = 0 ; | |
13060 | wxString *arg4 = 0 ; | |
13061 | wxHtmlBookRecord *result = 0 ; | |
13062 | bool temp1 = false ; | |
13063 | bool temp2 = false ; | |
13064 | bool temp3 = false ; | |
13065 | bool temp4 = false ; | |
13066 | PyObject * obj0 = 0 ; | |
13067 | PyObject * obj1 = 0 ; | |
13068 | PyObject * obj2 = 0 ; | |
13069 | PyObject * obj3 = 0 ; | |
13070 | char * kwnames[] = { | |
13071 | (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL | |
13072 | }; | |
13073 | ||
13074 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13075 | { | |
13076 | arg1 = wxString_in_helper(obj0); | |
13077 | if (arg1 == NULL) SWIG_fail; | |
13078 | temp1 = true; | |
13079 | } | |
13080 | { | |
13081 | arg2 = wxString_in_helper(obj1); | |
13082 | if (arg2 == NULL) SWIG_fail; | |
13083 | temp2 = true; | |
13084 | } | |
13085 | { | |
13086 | arg3 = wxString_in_helper(obj2); | |
13087 | if (arg3 == NULL) SWIG_fail; | |
13088 | temp3 = true; | |
13089 | } | |
13090 | { | |
13091 | arg4 = wxString_in_helper(obj3); | |
13092 | if (arg4 == NULL) SWIG_fail; | |
13093 | temp4 = true; | |
13094 | } | |
13095 | { | |
13096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13097 | result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
13098 | wxPyEndAllowThreads(__tstate); | |
13099 | if (PyErr_Occurred()) SWIG_fail; | |
13100 | } | |
13101 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_NEW | 0 ); | |
13102 | { | |
13103 | if (temp1) | |
13104 | delete arg1; | |
13105 | } | |
13106 | { | |
13107 | if (temp2) | |
13108 | delete arg2; | |
13109 | } | |
13110 | { | |
13111 | if (temp3) | |
13112 | delete arg3; | |
13113 | } | |
13114 | { | |
13115 | if (temp4) | |
13116 | delete arg4; | |
13117 | } | |
13118 | return resultobj; | |
13119 | fail: | |
13120 | { | |
13121 | if (temp1) | |
13122 | delete arg1; | |
13123 | } | |
13124 | { | |
13125 | if (temp2) | |
13126 | delete arg2; | |
13127 | } | |
13128 | { | |
13129 | if (temp3) | |
13130 | delete arg3; | |
13131 | } | |
13132 | { | |
13133 | if (temp4) | |
13134 | delete arg4; | |
13135 | } | |
13136 | return NULL; | |
d14a1e28 RD |
13137 | } |
13138 | ||
13139 | ||
0085ce49 RD |
13140 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13141 | PyObject *resultobj = 0; | |
13142 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13143 | wxString result; | |
13144 | void *argp1 = 0 ; | |
13145 | int res1 = 0 ; | |
13146 | PyObject *swig_obj[1] ; | |
13147 | ||
13148 | if (!args) SWIG_fail; | |
13149 | swig_obj[0] = args; | |
13150 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13151 | if (!SWIG_IsOK(res1)) { | |
13152 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13153 | } | |
13154 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13155 | { | |
13156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13157 | result = (arg1)->GetBookFile(); | |
13158 | wxPyEndAllowThreads(__tstate); | |
13159 | if (PyErr_Occurred()) SWIG_fail; | |
13160 | } | |
13161 | { | |
13162 | #if wxUSE_UNICODE | |
13163 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13164 | #else | |
13165 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13166 | #endif | |
13167 | } | |
13168 | return resultobj; | |
13169 | fail: | |
13170 | return NULL; | |
d14a1e28 RD |
13171 | } |
13172 | ||
13173 | ||
0085ce49 RD |
13174 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13175 | PyObject *resultobj = 0; | |
13176 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13177 | wxString result; | |
13178 | void *argp1 = 0 ; | |
13179 | int res1 = 0 ; | |
13180 | PyObject *swig_obj[1] ; | |
13181 | ||
13182 | if (!args) SWIG_fail; | |
13183 | swig_obj[0] = args; | |
13184 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13185 | if (!SWIG_IsOK(res1)) { | |
13186 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13187 | } | |
13188 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13189 | { | |
13190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13191 | result = (arg1)->GetTitle(); | |
13192 | wxPyEndAllowThreads(__tstate); | |
13193 | if (PyErr_Occurred()) SWIG_fail; | |
13194 | } | |
13195 | { | |
13196 | #if wxUSE_UNICODE | |
13197 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13198 | #else | |
13199 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13200 | #endif | |
13201 | } | |
13202 | return resultobj; | |
13203 | fail: | |
13204 | return NULL; | |
d14a1e28 RD |
13205 | } |
13206 | ||
13207 | ||
0085ce49 RD |
13208 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13209 | PyObject *resultobj = 0; | |
13210 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13211 | wxString result; | |
13212 | void *argp1 = 0 ; | |
13213 | int res1 = 0 ; | |
13214 | PyObject *swig_obj[1] ; | |
13215 | ||
13216 | if (!args) SWIG_fail; | |
13217 | swig_obj[0] = args; | |
13218 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13219 | if (!SWIG_IsOK(res1)) { | |
13220 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13221 | } | |
13222 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13223 | { | |
13224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13225 | result = (arg1)->GetStart(); | |
13226 | wxPyEndAllowThreads(__tstate); | |
13227 | if (PyErr_Occurred()) SWIG_fail; | |
13228 | } | |
13229 | { | |
13230 | #if wxUSE_UNICODE | |
13231 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13232 | #else | |
13233 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13234 | #endif | |
13235 | } | |
13236 | return resultobj; | |
13237 | fail: | |
13238 | return NULL; | |
d14a1e28 RD |
13239 | } |
13240 | ||
13241 | ||
0085ce49 RD |
13242 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13243 | PyObject *resultobj = 0; | |
13244 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13245 | wxString result; | |
13246 | void *argp1 = 0 ; | |
13247 | int res1 = 0 ; | |
13248 | PyObject *swig_obj[1] ; | |
13249 | ||
13250 | if (!args) SWIG_fail; | |
13251 | swig_obj[0] = args; | |
13252 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13253 | if (!SWIG_IsOK(res1)) { | |
13254 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13255 | } | |
13256 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13257 | { | |
13258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13259 | result = (arg1)->GetBasePath(); | |
13260 | wxPyEndAllowThreads(__tstate); | |
13261 | if (PyErr_Occurred()) SWIG_fail; | |
13262 | } | |
13263 | { | |
13264 | #if wxUSE_UNICODE | |
13265 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13266 | #else | |
13267 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13268 | #endif | |
13269 | } | |
13270 | return resultobj; | |
13271 | fail: | |
13272 | return NULL; | |
13273 | } | |
13274 | ||
13275 | ||
13276 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13277 | PyObject *resultobj = 0; | |
13278 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13279 | int arg2 ; | |
13280 | int arg3 ; | |
13281 | void *argp1 = 0 ; | |
13282 | int res1 = 0 ; | |
13283 | int val2 ; | |
13284 | int ecode2 = 0 ; | |
13285 | int val3 ; | |
13286 | int ecode3 = 0 ; | |
13287 | PyObject * obj0 = 0 ; | |
13288 | PyObject * obj1 = 0 ; | |
13289 | PyObject * obj2 = 0 ; | |
13290 | char * kwnames[] = { | |
13291 | (char *) "self",(char *) "start",(char *) "end", NULL | |
13292 | }; | |
13293 | ||
13294 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13295 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13296 | if (!SWIG_IsOK(res1)) { | |
13297 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13298 | } | |
13299 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13300 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13301 | if (!SWIG_IsOK(ecode2)) { | |
13302 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'"); | |
13303 | } | |
13304 | arg2 = static_cast< int >(val2); | |
13305 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
13306 | if (!SWIG_IsOK(ecode3)) { | |
13307 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'"); | |
13308 | } | |
13309 | arg3 = static_cast< int >(val3); | |
13310 | { | |
13311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13312 | (arg1)->SetContentsRange(arg2,arg3); | |
13313 | wxPyEndAllowThreads(__tstate); | |
13314 | if (PyErr_Occurred()) SWIG_fail; | |
13315 | } | |
13316 | resultobj = SWIG_Py_Void(); | |
13317 | return resultobj; | |
13318 | fail: | |
13319 | return NULL; | |
d14a1e28 RD |
13320 | } |
13321 | ||
13322 | ||
0085ce49 RD |
13323 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13324 | PyObject *resultobj = 0; | |
13325 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13326 | int result; | |
13327 | void *argp1 = 0 ; | |
13328 | int res1 = 0 ; | |
13329 | PyObject *swig_obj[1] ; | |
13330 | ||
13331 | if (!args) SWIG_fail; | |
13332 | swig_obj[0] = args; | |
13333 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13334 | if (!SWIG_IsOK(res1)) { | |
13335 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13336 | } | |
13337 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13338 | { | |
13339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13340 | result = (int)(arg1)->GetContentsStart(); | |
13341 | wxPyEndAllowThreads(__tstate); | |
13342 | if (PyErr_Occurred()) SWIG_fail; | |
13343 | } | |
13344 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13345 | return resultobj; | |
13346 | fail: | |
13347 | return NULL; | |
d14a1e28 | 13348 | } |
0085ce49 RD |
13349 | |
13350 | ||
13351 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13352 | PyObject *resultobj = 0; | |
13353 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13354 | int result; | |
13355 | void *argp1 = 0 ; | |
13356 | int res1 = 0 ; | |
13357 | PyObject *swig_obj[1] ; | |
13358 | ||
13359 | if (!args) SWIG_fail; | |
13360 | swig_obj[0] = args; | |
13361 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13362 | if (!SWIG_IsOK(res1)) { | |
13363 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13364 | } | |
13365 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13366 | { | |
13367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13368 | result = (int)(arg1)->GetContentsEnd(); | |
13369 | wxPyEndAllowThreads(__tstate); | |
13370 | if (PyErr_Occurred()) SWIG_fail; | |
13371 | } | |
13372 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13373 | return resultobj; | |
13374 | fail: | |
13375 | return NULL; | |
13376 | } | |
13377 | ||
13378 | ||
13379 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13380 | PyObject *resultobj = 0; | |
13381 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13382 | wxString *arg2 = 0 ; | |
13383 | void *argp1 = 0 ; | |
13384 | int res1 = 0 ; | |
13385 | bool temp2 = false ; | |
13386 | PyObject * obj0 = 0 ; | |
13387 | PyObject * obj1 = 0 ; | |
13388 | char * kwnames[] = { | |
13389 | (char *) "self",(char *) "title", NULL | |
13390 | }; | |
13391 | ||
13392 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail; | |
13393 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13394 | if (!SWIG_IsOK(res1)) { | |
13395 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13396 | } | |
13397 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13398 | { | |
13399 | arg2 = wxString_in_helper(obj1); | |
13400 | if (arg2 == NULL) SWIG_fail; | |
13401 | temp2 = true; | |
13402 | } | |
13403 | { | |
13404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13405 | (arg1)->SetTitle((wxString const &)*arg2); | |
13406 | wxPyEndAllowThreads(__tstate); | |
13407 | if (PyErr_Occurred()) SWIG_fail; | |
13408 | } | |
13409 | resultobj = SWIG_Py_Void(); | |
13410 | { | |
13411 | if (temp2) | |
13412 | delete arg2; | |
13413 | } | |
13414 | return resultobj; | |
13415 | fail: | |
13416 | { | |
13417 | if (temp2) | |
13418 | delete arg2; | |
13419 | } | |
13420 | return NULL; | |
d14a1e28 RD |
13421 | } |
13422 | ||
13423 | ||
0085ce49 RD |
13424 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13425 | PyObject *resultobj = 0; | |
13426 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13427 | wxString *arg2 = 0 ; | |
13428 | void *argp1 = 0 ; | |
13429 | int res1 = 0 ; | |
13430 | bool temp2 = false ; | |
13431 | PyObject * obj0 = 0 ; | |
13432 | PyObject * obj1 = 0 ; | |
13433 | char * kwnames[] = { | |
13434 | (char *) "self",(char *) "path", NULL | |
13435 | }; | |
13436 | ||
13437 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) SWIG_fail; | |
13438 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13439 | if (!SWIG_IsOK(res1)) { | |
13440 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13441 | } | |
13442 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13443 | { | |
13444 | arg2 = wxString_in_helper(obj1); | |
13445 | if (arg2 == NULL) SWIG_fail; | |
13446 | temp2 = true; | |
13447 | } | |
13448 | { | |
13449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13450 | (arg1)->SetBasePath((wxString const &)*arg2); | |
13451 | wxPyEndAllowThreads(__tstate); | |
13452 | if (PyErr_Occurred()) SWIG_fail; | |
13453 | } | |
13454 | resultobj = SWIG_Py_Void(); | |
13455 | { | |
13456 | if (temp2) | |
13457 | delete arg2; | |
13458 | } | |
13459 | return resultobj; | |
13460 | fail: | |
13461 | { | |
13462 | if (temp2) | |
13463 | delete arg2; | |
13464 | } | |
13465 | return NULL; | |
d14a1e28 RD |
13466 | } |
13467 | ||
13468 | ||
0085ce49 RD |
13469 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13470 | PyObject *resultobj = 0; | |
13471 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13472 | wxString *arg2 = 0 ; | |
13473 | void *argp1 = 0 ; | |
13474 | int res1 = 0 ; | |
13475 | bool temp2 = false ; | |
13476 | PyObject * obj0 = 0 ; | |
13477 | PyObject * obj1 = 0 ; | |
13478 | char * kwnames[] = { | |
13479 | (char *) "self",(char *) "start", NULL | |
13480 | }; | |
13481 | ||
13482 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) SWIG_fail; | |
13483 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13484 | if (!SWIG_IsOK(res1)) { | |
13485 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13486 | } | |
13487 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13488 | { | |
13489 | arg2 = wxString_in_helper(obj1); | |
13490 | if (arg2 == NULL) SWIG_fail; | |
13491 | temp2 = true; | |
13492 | } | |
13493 | { | |
13494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13495 | (arg1)->SetStart((wxString const &)*arg2); | |
13496 | wxPyEndAllowThreads(__tstate); | |
13497 | if (PyErr_Occurred()) SWIG_fail; | |
13498 | } | |
13499 | resultobj = SWIG_Py_Void(); | |
13500 | { | |
13501 | if (temp2) | |
13502 | delete arg2; | |
13503 | } | |
13504 | return resultobj; | |
13505 | fail: | |
13506 | { | |
13507 | if (temp2) | |
13508 | delete arg2; | |
13509 | } | |
13510 | return NULL; | |
13511 | } | |
13512 | ||
13513 | ||
13514 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13515 | PyObject *resultobj = 0; | |
13516 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13517 | wxString *arg2 = 0 ; | |
13518 | wxString result; | |
13519 | void *argp1 = 0 ; | |
13520 | int res1 = 0 ; | |
13521 | bool temp2 = false ; | |
13522 | PyObject * obj0 = 0 ; | |
13523 | PyObject * obj1 = 0 ; | |
13524 | char * kwnames[] = { | |
13525 | (char *) "self",(char *) "page", NULL | |
13526 | }; | |
13527 | ||
13528 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) SWIG_fail; | |
13529 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13530 | if (!SWIG_IsOK(res1)) { | |
13531 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'"); | |
13532 | } | |
13533 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13534 | { | |
13535 | arg2 = wxString_in_helper(obj1); | |
13536 | if (arg2 == NULL) SWIG_fail; | |
13537 | temp2 = true; | |
13538 | } | |
13539 | { | |
13540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13541 | result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2); | |
13542 | wxPyEndAllowThreads(__tstate); | |
13543 | if (PyErr_Occurred()) SWIG_fail; | |
13544 | } | |
13545 | { | |
13546 | #if wxUSE_UNICODE | |
13547 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13548 | #else | |
13549 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13550 | #endif | |
13551 | } | |
13552 | { | |
13553 | if (temp2) | |
13554 | delete arg2; | |
13555 | } | |
13556 | return resultobj; | |
13557 | fail: | |
13558 | { | |
13559 | if (temp2) | |
13560 | delete arg2; | |
13561 | } | |
13562 | return NULL; | |
d14a1e28 RD |
13563 | } |
13564 | ||
13565 | ||
0085ce49 RD |
13566 | SWIGINTERN PyObject *HtmlBookRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13567 | PyObject *obj; | |
13568 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13569 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord, SWIG_NewClientData(obj)); | |
13570 | return SWIG_Py_Void(); | |
d14a1e28 RD |
13571 | } |
13572 | ||
0085ce49 RD |
13573 | SWIGINTERN PyObject *HtmlBookRecord_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13574 | return SWIG_Python_InitShadowInstance(args); | |
13575 | } | |
d14a1e28 | 13576 | |
0085ce49 RD |
13577 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_Search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13578 | PyObject *resultobj = 0; | |
13579 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13580 | bool result; | |
13581 | void *argp1 = 0 ; | |
13582 | int res1 = 0 ; | |
13583 | PyObject *swig_obj[1] ; | |
13584 | ||
13585 | if (!args) SWIG_fail; | |
13586 | swig_obj[0] = args; | |
13587 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13588 | if (!SWIG_IsOK(res1)) { | |
13589 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13590 | } | |
13591 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13592 | { | |
13593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13594 | result = (bool)(arg1)->Search(); | |
13595 | wxPyEndAllowThreads(__tstate); | |
13596 | if (PyErr_Occurred()) SWIG_fail; | |
13597 | } | |
13598 | { | |
13599 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13600 | } | |
13601 | return resultobj; | |
13602 | fail: | |
13603 | return NULL; | |
d14a1e28 RD |
13604 | } |
13605 | ||
13606 | ||
0085ce49 RD |
13607 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13608 | PyObject *resultobj = 0; | |
13609 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13610 | bool result; | |
13611 | void *argp1 = 0 ; | |
13612 | int res1 = 0 ; | |
13613 | PyObject *swig_obj[1] ; | |
13614 | ||
13615 | if (!args) SWIG_fail; | |
13616 | swig_obj[0] = args; | |
13617 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13618 | if (!SWIG_IsOK(res1)) { | |
13619 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13620 | } | |
13621 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13622 | { | |
13623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13624 | result = (bool)(arg1)->IsActive(); | |
13625 | wxPyEndAllowThreads(__tstate); | |
13626 | if (PyErr_Occurred()) SWIG_fail; | |
13627 | } | |
13628 | { | |
13629 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13630 | } | |
13631 | return resultobj; | |
13632 | fail: | |
13633 | return NULL; | |
d14a1e28 RD |
13634 | } |
13635 | ||
13636 | ||
0085ce49 RD |
13637 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13638 | PyObject *resultobj = 0; | |
13639 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13640 | int result; | |
13641 | void *argp1 = 0 ; | |
13642 | int res1 = 0 ; | |
13643 | PyObject *swig_obj[1] ; | |
13644 | ||
13645 | if (!args) SWIG_fail; | |
13646 | swig_obj[0] = args; | |
13647 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13648 | if (!SWIG_IsOK(res1)) { | |
13649 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13650 | } | |
13651 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13652 | { | |
13653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13654 | result = (int)(arg1)->GetCurIndex(); | |
13655 | wxPyEndAllowThreads(__tstate); | |
13656 | if (PyErr_Occurred()) SWIG_fail; | |
13657 | } | |
13658 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13659 | return resultobj; | |
13660 | fail: | |
13661 | return NULL; | |
d14a1e28 RD |
13662 | } |
13663 | ||
13664 | ||
0085ce49 RD |
13665 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13666 | PyObject *resultobj = 0; | |
13667 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13668 | int result; | |
13669 | void *argp1 = 0 ; | |
13670 | int res1 = 0 ; | |
13671 | PyObject *swig_obj[1] ; | |
13672 | ||
13673 | if (!args) SWIG_fail; | |
13674 | swig_obj[0] = args; | |
13675 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13676 | if (!SWIG_IsOK(res1)) { | |
13677 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13678 | } | |
13679 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13680 | { | |
13681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13682 | result = (int)(arg1)->GetMaxIndex(); | |
13683 | wxPyEndAllowThreads(__tstate); | |
13684 | if (PyErr_Occurred()) SWIG_fail; | |
13685 | } | |
13686 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13687 | return resultobj; | |
13688 | fail: | |
13689 | return NULL; | |
d14a1e28 RD |
13690 | } |
13691 | ||
13692 | ||
0085ce49 RD |
13693 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13694 | PyObject *resultobj = 0; | |
13695 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13696 | wxString *result = 0 ; | |
13697 | void *argp1 = 0 ; | |
13698 | int res1 = 0 ; | |
13699 | PyObject *swig_obj[1] ; | |
13700 | ||
13701 | if (!args) SWIG_fail; | |
13702 | swig_obj[0] = args; | |
13703 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13704 | if (!SWIG_IsOK(res1)) { | |
13705 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13706 | } | |
13707 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13708 | { | |
13709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 13710 | { |
0085ce49 RD |
13711 | wxString const &_result_ref = (arg1)->GetName(); |
13712 | result = (wxString *) &_result_ref; | |
d14a1e28 | 13713 | } |
0085ce49 RD |
13714 | wxPyEndAllowThreads(__tstate); |
13715 | if (PyErr_Occurred()) SWIG_fail; | |
13716 | } | |
13717 | { | |
13718 | #if wxUSE_UNICODE | |
13719 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13720 | #else | |
13721 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13722 | #endif | |
13723 | } | |
13724 | return resultobj; | |
13725 | fail: | |
13726 | return NULL; | |
d14a1e28 RD |
13727 | } |
13728 | ||
13729 | ||
0085ce49 RD |
13730 | SWIGINTERN PyObject *HtmlSearchStatus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13731 | PyObject *obj; | |
13732 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13733 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus, SWIG_NewClientData(obj)); | |
13734 | return SWIG_Py_Void(); | |
13735 | } | |
13736 | ||
13737 | SWIGINTERN PyObject *_wrap_new_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13738 | PyObject *resultobj = 0; | |
13739 | wxHtmlHelpData *result = 0 ; | |
13740 | ||
13741 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlHelpData",0,0,0)) SWIG_fail; | |
13742 | { | |
13743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13744 | result = (wxHtmlHelpData *)new wxHtmlHelpData(); | |
13745 | wxPyEndAllowThreads(__tstate); | |
13746 | if (PyErr_Occurred()) SWIG_fail; | |
13747 | } | |
13748 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_NEW | 0 ); | |
13749 | return resultobj; | |
13750 | fail: | |
13751 | return NULL; | |
d14a1e28 RD |
13752 | } |
13753 | ||
13754 | ||
0085ce49 RD |
13755 | SWIGINTERN PyObject *_wrap_delete_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13756 | PyObject *resultobj = 0; | |
13757 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13758 | void *argp1 = 0 ; | |
13759 | int res1 = 0 ; | |
13760 | PyObject *swig_obj[1] ; | |
13761 | ||
13762 | if (!args) SWIG_fail; | |
13763 | swig_obj[0] = args; | |
13764 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_DISOWN | 0 ); | |
13765 | if (!SWIG_IsOK(res1)) { | |
13766 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13767 | } | |
13768 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13769 | { | |
13770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13771 | delete arg1; | |
d14a1e28 | 13772 | |
0085ce49 RD |
13773 | wxPyEndAllowThreads(__tstate); |
13774 | if (PyErr_Occurred()) SWIG_fail; | |
13775 | } | |
13776 | resultobj = SWIG_Py_Void(); | |
13777 | return resultobj; | |
13778 | fail: | |
13779 | return NULL; | |
13780 | } | |
13781 | ||
13782 | ||
13783 | SWIGINTERN PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13784 | PyObject *resultobj = 0; | |
13785 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13786 | wxString *arg2 = 0 ; | |
13787 | void *argp1 = 0 ; | |
13788 | int res1 = 0 ; | |
13789 | bool temp2 = false ; | |
13790 | PyObject * obj0 = 0 ; | |
13791 | PyObject * obj1 = 0 ; | |
13792 | char * kwnames[] = { | |
13793 | (char *) "self",(char *) "path", NULL | |
13794 | }; | |
13795 | ||
13796 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail; | |
13797 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13798 | if (!SWIG_IsOK(res1)) { | |
13799 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13800 | } | |
13801 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13802 | { | |
13803 | arg2 = wxString_in_helper(obj1); | |
13804 | if (arg2 == NULL) SWIG_fail; | |
13805 | temp2 = true; | |
13806 | } | |
13807 | { | |
13808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13809 | (arg1)->SetTempDir((wxString const &)*arg2); | |
13810 | wxPyEndAllowThreads(__tstate); | |
13811 | if (PyErr_Occurred()) SWIG_fail; | |
13812 | } | |
13813 | resultobj = SWIG_Py_Void(); | |
13814 | { | |
13815 | if (temp2) | |
13816 | delete arg2; | |
13817 | } | |
13818 | return resultobj; | |
13819 | fail: | |
13820 | { | |
13821 | if (temp2) | |
13822 | delete arg2; | |
13823 | } | |
13824 | return NULL; | |
13825 | } | |
13826 | ||
13827 | ||
13828 | SWIGINTERN PyObject *_wrap_HtmlHelpData_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13829 | PyObject *resultobj = 0; | |
13830 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13831 | wxString *arg2 = 0 ; | |
13832 | bool result; | |
13833 | void *argp1 = 0 ; | |
13834 | int res1 = 0 ; | |
13835 | bool temp2 = false ; | |
13836 | PyObject * obj0 = 0 ; | |
13837 | PyObject * obj1 = 0 ; | |
13838 | char * kwnames[] = { | |
13839 | (char *) "self",(char *) "book", NULL | |
13840 | }; | |
13841 | ||
13842 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) SWIG_fail; | |
13843 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13844 | if (!SWIG_IsOK(res1)) { | |
13845 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13846 | } | |
13847 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13848 | { | |
13849 | arg2 = wxString_in_helper(obj1); | |
13850 | if (arg2 == NULL) SWIG_fail; | |
13851 | temp2 = true; | |
13852 | } | |
13853 | { | |
13854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13855 | result = (bool)(arg1)->AddBook((wxString const &)*arg2); | |
13856 | wxPyEndAllowThreads(__tstate); | |
13857 | if (PyErr_Occurred()) SWIG_fail; | |
13858 | } | |
13859 | { | |
13860 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13861 | } | |
13862 | { | |
13863 | if (temp2) | |
13864 | delete arg2; | |
13865 | } | |
13866 | return resultobj; | |
13867 | fail: | |
13868 | { | |
13869 | if (temp2) | |
13870 | delete arg2; | |
13871 | } | |
13872 | return NULL; | |
13873 | } | |
13874 | ||
13875 | ||
13876 | SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13877 | PyObject *resultobj = 0; | |
13878 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13879 | wxString *arg2 = 0 ; | |
13880 | wxString result; | |
13881 | void *argp1 = 0 ; | |
13882 | int res1 = 0 ; | |
13883 | bool temp2 = false ; | |
13884 | PyObject * obj0 = 0 ; | |
13885 | PyObject * obj1 = 0 ; | |
13886 | char * kwnames[] = { | |
13887 | (char *) "self",(char *) "page", NULL | |
13888 | }; | |
13889 | ||
13890 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) SWIG_fail; | |
13891 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13892 | if (!SWIG_IsOK(res1)) { | |
13893 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13894 | } | |
13895 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13896 | { | |
13897 | arg2 = wxString_in_helper(obj1); | |
13898 | if (arg2 == NULL) SWIG_fail; | |
13899 | temp2 = true; | |
13900 | } | |
13901 | { | |
13902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13903 | result = (arg1)->FindPageByName((wxString const &)*arg2); | |
13904 | wxPyEndAllowThreads(__tstate); | |
13905 | if (PyErr_Occurred()) SWIG_fail; | |
13906 | } | |
13907 | { | |
d14a1e28 | 13908 | #if wxUSE_UNICODE |
0085ce49 | 13909 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13910 | #else |
0085ce49 | 13911 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13912 | #endif |
0085ce49 RD |
13913 | } |
13914 | { | |
13915 | if (temp2) | |
13916 | delete arg2; | |
13917 | } | |
13918 | return resultobj; | |
13919 | fail: | |
13920 | { | |
13921 | if (temp2) | |
13922 | delete arg2; | |
13923 | } | |
13924 | return NULL; | |
13925 | } | |
13926 | ||
13927 | ||
13928 | SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13929 | PyObject *resultobj = 0; | |
13930 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13931 | int arg2 ; | |
13932 | wxString result; | |
13933 | void *argp1 = 0 ; | |
13934 | int res1 = 0 ; | |
13935 | int val2 ; | |
13936 | int ecode2 = 0 ; | |
13937 | PyObject * obj0 = 0 ; | |
13938 | PyObject * obj1 = 0 ; | |
13939 | char * kwnames[] = { | |
13940 | (char *) "self",(char *) "id", NULL | |
13941 | }; | |
13942 | ||
13943 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) SWIG_fail; | |
13944 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13945 | if (!SWIG_IsOK(res1)) { | |
13946 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13947 | } | |
13948 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13949 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13950 | if (!SWIG_IsOK(ecode2)) { | |
13951 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'"); | |
13952 | } | |
13953 | arg2 = static_cast< int >(val2); | |
13954 | { | |
13955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13956 | result = (arg1)->FindPageById(arg2); | |
13957 | wxPyEndAllowThreads(__tstate); | |
13958 | if (PyErr_Occurred()) SWIG_fail; | |
13959 | } | |
13960 | { | |
d14a1e28 | 13961 | #if wxUSE_UNICODE |
0085ce49 | 13962 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13963 | #else |
0085ce49 | 13964 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13965 | #endif |
0085ce49 RD |
13966 | } |
13967 | return resultobj; | |
13968 | fail: | |
13969 | return NULL; | |
d14a1e28 RD |
13970 | } |
13971 | ||
13972 | ||
0085ce49 RD |
13973 | SWIGINTERN PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13974 | PyObject *resultobj = 0; | |
13975 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13976 | wxHtmlBookRecArray *result = 0 ; | |
13977 | void *argp1 = 0 ; | |
13978 | int res1 = 0 ; | |
13979 | PyObject *swig_obj[1] ; | |
13980 | ||
13981 | if (!args) SWIG_fail; | |
13982 | swig_obj[0] = args; | |
13983 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13984 | if (!SWIG_IsOK(res1)) { | |
13985 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13986 | } | |
13987 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13988 | { | |
13989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 13990 | { |
0085ce49 RD |
13991 | wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray(); |
13992 | result = (wxHtmlBookRecArray *) &_result_ref; | |
d14a1e28 | 13993 | } |
0085ce49 RD |
13994 | wxPyEndAllowThreads(__tstate); |
13995 | if (PyErr_Occurred()) SWIG_fail; | |
13996 | } | |
13997 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecArray, 0 | 0 ); | |
13998 | return resultobj; | |
13999 | fail: | |
14000 | return NULL; | |
14001 | } | |
14002 | ||
14003 | ||
14004 | SWIGINTERN PyObject *HtmlHelpData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14005 | PyObject *obj; | |
14006 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14007 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData, SWIG_NewClientData(obj)); | |
14008 | return SWIG_Py_Void(); | |
14009 | } | |
14010 | ||
14011 | SWIGINTERN PyObject *HtmlHelpData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14012 | return SWIG_Python_InitShadowInstance(args); | |
14013 | } | |
14014 | ||
14015 | SWIGINTERN PyObject *_wrap_new_HtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14016 | PyObject *resultobj = 0; | |
14017 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14018 | int arg2 ; | |
14019 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
14020 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14021 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14022 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14023 | int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
14024 | int arg6 = (int) wxHF_DEFAULT_STYLE ; | |
14025 | wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ; | |
14026 | wxHtmlHelpWindow *result = 0 ; | |
14027 | void *argp1 = 0 ; | |
14028 | int res1 = 0 ; | |
14029 | int val2 ; | |
14030 | int ecode2 = 0 ; | |
14031 | wxPoint temp3 ; | |
14032 | wxSize temp4 ; | |
14033 | int val5 ; | |
14034 | int ecode5 = 0 ; | |
14035 | int val6 ; | |
14036 | int ecode6 = 0 ; | |
14037 | void *argp7 = 0 ; | |
14038 | int res7 = 0 ; | |
14039 | PyObject * obj0 = 0 ; | |
14040 | PyObject * obj1 = 0 ; | |
14041 | PyObject * obj2 = 0 ; | |
14042 | PyObject * obj3 = 0 ; | |
14043 | PyObject * obj4 = 0 ; | |
14044 | PyObject * obj5 = 0 ; | |
14045 | PyObject * obj6 = 0 ; | |
14046 | char * kwnames[] = { | |
14047 | (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL | |
14048 | }; | |
14049 | ||
14050 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
14051 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14052 | if (!SWIG_IsOK(res1)) { | |
14053 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
14054 | } | |
14055 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14056 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14057 | if (!SWIG_IsOK(ecode2)) { | |
14058 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'"); | |
14059 | } | |
14060 | arg2 = static_cast< int >(val2); | |
14061 | if (obj2) { | |
d14a1e28 | 14062 | { |
0085ce49 RD |
14063 | arg3 = &temp3; |
14064 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
d14a1e28 | 14065 | } |
0085ce49 RD |
14066 | } |
14067 | if (obj3) { | |
d14a1e28 | 14068 | { |
0085ce49 RD |
14069 | arg4 = &temp4; |
14070 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 14071 | } |
0085ce49 RD |
14072 | } |
14073 | if (obj4) { | |
14074 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
14075 | if (!SWIG_IsOK(ecode5)) { | |
14076 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'"); | |
14077 | } | |
14078 | arg5 = static_cast< int >(val5); | |
14079 | } | |
14080 | if (obj5) { | |
14081 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
14082 | if (!SWIG_IsOK(ecode6)) { | |
14083 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'"); | |
14084 | } | |
14085 | arg6 = static_cast< int >(val6); | |
14086 | } | |
14087 | if (obj6) { | |
14088 | res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
14089 | if (!SWIG_IsOK(res7)) { | |
14090 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'"); | |
14091 | } | |
14092 | arg7 = reinterpret_cast< wxHtmlHelpData * >(argp7); | |
14093 | } | |
14094 | { | |
14095 | if (!wxPyCheckForApp()) SWIG_fail; | |
14096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14097 | result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7); | |
14098 | wxPyEndAllowThreads(__tstate); | |
14099 | if (PyErr_Occurred()) SWIG_fail; | |
14100 | } | |
14101 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_NEW | 0 ); | |
14102 | return resultobj; | |
14103 | fail: | |
14104 | return NULL; | |
14105 | } | |
14106 | ||
14107 | ||
14108 | SWIGINTERN PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14109 | PyObject *resultobj = 0; | |
14110 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; | |
14111 | wxHtmlHelpWindow *result = 0 ; | |
14112 | void *argp1 = 0 ; | |
14113 | int res1 = 0 ; | |
14114 | PyObject * obj0 = 0 ; | |
14115 | char * kwnames[] = { | |
14116 | (char *) "data", NULL | |
14117 | }; | |
14118 | ||
14119 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) SWIG_fail; | |
14120 | if (obj0) { | |
14121 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
14122 | if (!SWIG_IsOK(res1)) { | |
14123 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 14124 | } |
0085ce49 RD |
14125 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); |
14126 | } | |
14127 | { | |
14128 | if (!wxPyCheckForApp()) SWIG_fail; | |
14129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14130 | result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1); | |
14131 | wxPyEndAllowThreads(__tstate); | |
14132 | if (PyErr_Occurred()) SWIG_fail; | |
14133 | } | |
14134 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_OWN | 0 ); | |
14135 | return resultobj; | |
14136 | fail: | |
14137 | return NULL; | |
14138 | } | |
14139 | ||
14140 | ||
14141 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14142 | PyObject *resultobj = 0; | |
14143 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14144 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14145 | int arg3 ; | |
14146 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14147 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14148 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14149 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14150 | int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
14151 | int arg7 = (int) wxHF_DEFAULT_STYLE ; | |
14152 | bool result; | |
14153 | void *argp1 = 0 ; | |
14154 | int res1 = 0 ; | |
14155 | void *argp2 = 0 ; | |
14156 | int res2 = 0 ; | |
14157 | int val3 ; | |
14158 | int ecode3 = 0 ; | |
14159 | wxPoint temp4 ; | |
14160 | wxSize temp5 ; | |
14161 | int val6 ; | |
14162 | int ecode6 = 0 ; | |
14163 | int val7 ; | |
14164 | int ecode7 = 0 ; | |
14165 | PyObject * obj0 = 0 ; | |
14166 | PyObject * obj1 = 0 ; | |
14167 | PyObject * obj2 = 0 ; | |
14168 | PyObject * obj3 = 0 ; | |
14169 | PyObject * obj4 = 0 ; | |
14170 | PyObject * obj5 = 0 ; | |
14171 | PyObject * obj6 = 0 ; | |
14172 | char * kwnames[] = { | |
14173 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL | |
14174 | }; | |
14175 | ||
14176 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
14177 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14178 | if (!SWIG_IsOK(res1)) { | |
14179 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14180 | } | |
14181 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14182 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14183 | if (!SWIG_IsOK(res2)) { | |
14184 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14185 | } | |
14186 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14187 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14188 | if (!SWIG_IsOK(ecode3)) { | |
14189 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'"); | |
14190 | } | |
14191 | arg3 = static_cast< int >(val3); | |
14192 | if (obj3) { | |
d14a1e28 | 14193 | { |
0085ce49 RD |
14194 | arg4 = &temp4; |
14195 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 14196 | } |
0085ce49 RD |
14197 | } |
14198 | if (obj4) { | |
d14a1e28 | 14199 | { |
0085ce49 RD |
14200 | arg5 = &temp5; |
14201 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
d14a1e28 | 14202 | } |
0085ce49 RD |
14203 | } |
14204 | if (obj5) { | |
14205 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
14206 | if (!SWIG_IsOK(ecode6)) { | |
14207 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'"); | |
14208 | } | |
14209 | arg6 = static_cast< int >(val6); | |
14210 | } | |
14211 | if (obj6) { | |
14212 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
14213 | if (!SWIG_IsOK(ecode7)) { | |
14214 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'"); | |
14215 | } | |
14216 | arg7 = static_cast< int >(val7); | |
14217 | } | |
14218 | { | |
14219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14220 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7); | |
14221 | wxPyEndAllowThreads(__tstate); | |
14222 | if (PyErr_Occurred()) SWIG_fail; | |
14223 | } | |
14224 | { | |
14225 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14226 | } | |
14227 | return resultobj; | |
14228 | fail: | |
14229 | return NULL; | |
d14a1e28 RD |
14230 | } |
14231 | ||
14232 | ||
0085ce49 RD |
14233 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14234 | PyObject *resultobj = 0; | |
14235 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14236 | wxHtmlHelpData *result = 0 ; | |
14237 | void *argp1 = 0 ; | |
14238 | int res1 = 0 ; | |
14239 | PyObject *swig_obj[1] ; | |
14240 | ||
14241 | if (!args) SWIG_fail; | |
14242 | swig_obj[0] = args; | |
14243 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14244 | if (!SWIG_IsOK(res1)) { | |
14245 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14246 | } | |
14247 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14248 | { | |
14249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14250 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
14251 | wxPyEndAllowThreads(__tstate); | |
14252 | if (PyErr_Occurred()) SWIG_fail; | |
14253 | } | |
14254 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
14255 | return resultobj; | |
14256 | fail: | |
14257 | return NULL; | |
d14a1e28 RD |
14258 | } |
14259 | ||
14260 | ||
0085ce49 RD |
14261 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14262 | PyObject *resultobj = 0; | |
14263 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14264 | wxHtmlHelpController *result = 0 ; | |
14265 | void *argp1 = 0 ; | |
14266 | int res1 = 0 ; | |
14267 | PyObject *swig_obj[1] ; | |
14268 | ||
14269 | if (!args) SWIG_fail; | |
14270 | swig_obj[0] = args; | |
14271 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14272 | if (!SWIG_IsOK(res1)) { | |
14273 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14274 | } | |
14275 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14276 | { | |
14277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14278 | result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController(); | |
14279 | wxPyEndAllowThreads(__tstate); | |
14280 | if (PyErr_Occurred()) SWIG_fail; | |
14281 | } | |
14282 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
14283 | return resultobj; | |
14284 | fail: | |
14285 | return NULL; | |
14286 | } | |
14287 | ||
14288 | ||
14289 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14290 | PyObject *resultobj = 0; | |
14291 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14292 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
14293 | void *argp1 = 0 ; | |
14294 | int res1 = 0 ; | |
14295 | int res2 = 0 ; | |
14296 | PyObject * obj0 = 0 ; | |
14297 | PyObject * obj1 = 0 ; | |
14298 | char * kwnames[] = { | |
14299 | (char *) "self",(char *) "controller", NULL | |
14300 | }; | |
14301 | ||
14302 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) SWIG_fail; | |
14303 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14304 | if (!SWIG_IsOK(res1)) { | |
14305 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14306 | } | |
14307 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14308 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
14309 | if (!SWIG_IsOK(res2)) { | |
14310 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'"); | |
14311 | } | |
14312 | { | |
14313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14314 | (arg1)->SetController(arg2); | |
14315 | wxPyEndAllowThreads(__tstate); | |
14316 | if (PyErr_Occurred()) SWIG_fail; | |
14317 | } | |
14318 | resultobj = SWIG_Py_Void(); | |
14319 | return resultobj; | |
14320 | fail: | |
14321 | return NULL; | |
14322 | } | |
14323 | ||
14324 | ||
14325 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14326 | PyObject *resultobj = 0; | |
14327 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14328 | wxString *arg2 = 0 ; | |
14329 | bool result; | |
14330 | void *argp1 = 0 ; | |
14331 | int res1 = 0 ; | |
14332 | bool temp2 = false ; | |
14333 | PyObject * obj0 = 0 ; | |
14334 | PyObject * obj1 = 0 ; | |
14335 | char * kwnames[] = { | |
14336 | (char *) "self",(char *) "x", NULL | |
14337 | }; | |
14338 | ||
14339 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) SWIG_fail; | |
14340 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14341 | if (!SWIG_IsOK(res1)) { | |
14342 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14343 | } | |
14344 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14345 | { | |
14346 | arg2 = wxString_in_helper(obj1); | |
14347 | if (arg2 == NULL) SWIG_fail; | |
14348 | temp2 = true; | |
14349 | } | |
14350 | { | |
14351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14352 | result = (bool)(arg1)->Display((wxString const &)*arg2); | |
14353 | wxPyEndAllowThreads(__tstate); | |
14354 | if (PyErr_Occurred()) SWIG_fail; | |
14355 | } | |
14356 | { | |
14357 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14358 | } | |
14359 | { | |
14360 | if (temp2) | |
14361 | delete arg2; | |
14362 | } | |
14363 | return resultobj; | |
14364 | fail: | |
14365 | { | |
14366 | if (temp2) | |
14367 | delete arg2; | |
14368 | } | |
14369 | return NULL; | |
14370 | } | |
14371 | ||
14372 | ||
14373 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14374 | PyObject *resultobj = 0; | |
14375 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14376 | int arg2 ; | |
14377 | bool result; | |
14378 | void *argp1 = 0 ; | |
14379 | int res1 = 0 ; | |
14380 | int val2 ; | |
14381 | int ecode2 = 0 ; | |
14382 | PyObject * obj0 = 0 ; | |
14383 | PyObject * obj1 = 0 ; | |
14384 | char * kwnames[] = { | |
14385 | (char *) "self",(char *) "id", NULL | |
14386 | }; | |
14387 | ||
14388 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail; | |
14389 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14390 | if (!SWIG_IsOK(res1)) { | |
14391 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14392 | } | |
14393 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14394 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14395 | if (!SWIG_IsOK(ecode2)) { | |
14396 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'"); | |
14397 | } | |
14398 | arg2 = static_cast< int >(val2); | |
14399 | { | |
14400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14401 | result = (bool)(arg1)->Display(arg2); | |
14402 | wxPyEndAllowThreads(__tstate); | |
14403 | if (PyErr_Occurred()) SWIG_fail; | |
14404 | } | |
14405 | { | |
14406 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14407 | } | |
14408 | return resultobj; | |
14409 | fail: | |
14410 | return NULL; | |
d14a1e28 RD |
14411 | } |
14412 | ||
14413 | ||
0085ce49 RD |
14414 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14415 | PyObject *resultobj = 0; | |
14416 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14417 | bool result; | |
14418 | void *argp1 = 0 ; | |
14419 | int res1 = 0 ; | |
14420 | PyObject *swig_obj[1] ; | |
14421 | ||
14422 | if (!args) SWIG_fail; | |
14423 | swig_obj[0] = args; | |
14424 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14425 | if (!SWIG_IsOK(res1)) { | |
14426 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14427 | } | |
14428 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14429 | { | |
14430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14431 | result = (bool)(arg1)->DisplayContents(); | |
14432 | wxPyEndAllowThreads(__tstate); | |
14433 | if (PyErr_Occurred()) SWIG_fail; | |
14434 | } | |
14435 | { | |
14436 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14437 | } | |
14438 | return resultobj; | |
14439 | fail: | |
14440 | return NULL; | |
d14a1e28 RD |
14441 | } |
14442 | ||
14443 | ||
0085ce49 RD |
14444 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14445 | PyObject *resultobj = 0; | |
14446 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14447 | bool result; | |
14448 | void *argp1 = 0 ; | |
14449 | int res1 = 0 ; | |
14450 | PyObject *swig_obj[1] ; | |
14451 | ||
14452 | if (!args) SWIG_fail; | |
14453 | swig_obj[0] = args; | |
14454 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14455 | if (!SWIG_IsOK(res1)) { | |
14456 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14457 | } | |
14458 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14459 | { | |
14460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14461 | result = (bool)(arg1)->DisplayIndex(); | |
14462 | wxPyEndAllowThreads(__tstate); | |
14463 | if (PyErr_Occurred()) SWIG_fail; | |
14464 | } | |
14465 | { | |
14466 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14467 | } | |
14468 | return resultobj; | |
14469 | fail: | |
14470 | return NULL; | |
14471 | } | |
14472 | ||
14473 | ||
14474 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14475 | PyObject *resultobj = 0; | |
14476 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14477 | wxString *arg2 = 0 ; | |
14478 | wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ; | |
14479 | bool result; | |
14480 | void *argp1 = 0 ; | |
14481 | int res1 = 0 ; | |
14482 | bool temp2 = false ; | |
14483 | void *argp3 ; | |
14484 | int res3 = 0 ; | |
14485 | PyObject * obj0 = 0 ; | |
14486 | PyObject * obj1 = 0 ; | |
14487 | PyObject * obj2 = 0 ; | |
14488 | char * kwnames[] = { | |
14489 | (char *) "self",(char *) "keyword",(char *) "mode", NULL | |
14490 | }; | |
14491 | ||
14492 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14493 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14494 | if (!SWIG_IsOK(res1)) { | |
14495 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14496 | } | |
14497 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14498 | { | |
14499 | arg2 = wxString_in_helper(obj1); | |
14500 | if (arg2 == NULL) SWIG_fail; | |
14501 | temp2 = true; | |
14502 | } | |
14503 | if (obj2) { | |
14504 | { | |
14505 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0); | |
14506 | if (!SWIG_IsOK(res3)) { | |
14507 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
14508 | } | |
14509 | if (!argp3) { | |
14510 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
14511 | } else { | |
14512 | wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3); | |
14513 | arg3 = *temp; | |
14514 | if (SWIG_IsNewObj(res3)) delete temp; | |
14515 | } | |
ae8162c8 | 14516 | } |
0085ce49 RD |
14517 | } |
14518 | { | |
14519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14520 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3); | |
14521 | wxPyEndAllowThreads(__tstate); | |
14522 | if (PyErr_Occurred()) SWIG_fail; | |
14523 | } | |
14524 | { | |
14525 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14526 | } | |
14527 | { | |
14528 | if (temp2) | |
14529 | delete arg2; | |
14530 | } | |
14531 | return resultobj; | |
14532 | fail: | |
14533 | { | |
14534 | if (temp2) | |
14535 | delete arg2; | |
14536 | } | |
14537 | return NULL; | |
14538 | } | |
14539 | ||
14540 | ||
14541 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14542 | PyObject *resultobj = 0; | |
14543 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14544 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
14545 | wxString const &arg3_defvalue = wxEmptyString ; | |
14546 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14547 | void *argp1 = 0 ; | |
14548 | int res1 = 0 ; | |
14549 | void *argp2 = 0 ; | |
14550 | int res2 = 0 ; | |
14551 | bool temp3 = false ; | |
14552 | PyObject * obj0 = 0 ; | |
14553 | PyObject * obj1 = 0 ; | |
14554 | PyObject * obj2 = 0 ; | |
14555 | char * kwnames[] = { | |
14556 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
14557 | }; | |
14558 | ||
14559 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14560 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14561 | if (!SWIG_IsOK(res1)) { | |
14562 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14563 | } | |
14564 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14565 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
14566 | if (!SWIG_IsOK(res2)) { | |
14567 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
14568 | } | |
14569 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
14570 | if (obj2) { | |
ae8162c8 | 14571 | { |
0085ce49 RD |
14572 | arg3 = wxString_in_helper(obj2); |
14573 | if (arg3 == NULL) SWIG_fail; | |
14574 | temp3 = true; | |
ae8162c8 | 14575 | } |
0085ce49 RD |
14576 | } |
14577 | { | |
14578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14579 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
14580 | wxPyEndAllowThreads(__tstate); | |
14581 | if (PyErr_Occurred()) SWIG_fail; | |
14582 | } | |
14583 | resultobj = SWIG_Py_Void(); | |
14584 | { | |
14585 | if (temp3) | |
14586 | delete arg3; | |
14587 | } | |
14588 | return resultobj; | |
14589 | fail: | |
14590 | { | |
14591 | if (temp3) | |
14592 | delete arg3; | |
14593 | } | |
14594 | return NULL; | |
14595 | } | |
14596 | ||
14597 | ||
14598 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14599 | PyObject *resultobj = 0; | |
14600 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14601 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
14602 | wxString const &arg3_defvalue = wxEmptyString ; | |
14603 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14604 | void *argp1 = 0 ; | |
14605 | int res1 = 0 ; | |
14606 | void *argp2 = 0 ; | |
14607 | int res2 = 0 ; | |
14608 | bool temp3 = false ; | |
14609 | PyObject * obj0 = 0 ; | |
14610 | PyObject * obj1 = 0 ; | |
14611 | PyObject * obj2 = 0 ; | |
14612 | char * kwnames[] = { | |
14613 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
14614 | }; | |
14615 | ||
14616 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14617 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14618 | if (!SWIG_IsOK(res1)) { | |
14619 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14620 | } | |
14621 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14622 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
14623 | if (!SWIG_IsOK(res2)) { | |
14624 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
14625 | } | |
14626 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
14627 | if (obj2) { | |
ae8162c8 | 14628 | { |
0085ce49 RD |
14629 | arg3 = wxString_in_helper(obj2); |
14630 | if (arg3 == NULL) SWIG_fail; | |
14631 | temp3 = true; | |
ae8162c8 | 14632 | } |
0085ce49 RD |
14633 | } |
14634 | { | |
14635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14636 | (arg1)->ReadCustomization(arg2,(wxString const &)*arg3); | |
14637 | wxPyEndAllowThreads(__tstate); | |
14638 | if (PyErr_Occurred()) SWIG_fail; | |
14639 | } | |
14640 | resultobj = SWIG_Py_Void(); | |
14641 | { | |
14642 | if (temp3) | |
14643 | delete arg3; | |
14644 | } | |
14645 | return resultobj; | |
14646 | fail: | |
14647 | { | |
14648 | if (temp3) | |
14649 | delete arg3; | |
14650 | } | |
14651 | return NULL; | |
14652 | } | |
14653 | ||
14654 | ||
14655 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14656 | PyObject *resultobj = 0; | |
14657 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14658 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
14659 | wxString const &arg3_defvalue = wxEmptyString ; | |
14660 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14661 | void *argp1 = 0 ; | |
14662 | int res1 = 0 ; | |
14663 | void *argp2 = 0 ; | |
14664 | int res2 = 0 ; | |
14665 | bool temp3 = false ; | |
14666 | PyObject * obj0 = 0 ; | |
14667 | PyObject * obj1 = 0 ; | |
14668 | PyObject * obj2 = 0 ; | |
14669 | char * kwnames[] = { | |
14670 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
14671 | }; | |
14672 | ||
14673 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14674 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14675 | if (!SWIG_IsOK(res1)) { | |
14676 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14677 | } | |
14678 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14679 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
14680 | if (!SWIG_IsOK(res2)) { | |
14681 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
14682 | } | |
14683 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
14684 | if (obj2) { | |
ae8162c8 | 14685 | { |
0085ce49 RD |
14686 | arg3 = wxString_in_helper(obj2); |
14687 | if (arg3 == NULL) SWIG_fail; | |
14688 | temp3 = true; | |
ae8162c8 | 14689 | } |
0085ce49 RD |
14690 | } |
14691 | { | |
14692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14693 | (arg1)->WriteCustomization(arg2,(wxString const &)*arg3); | |
14694 | wxPyEndAllowThreads(__tstate); | |
14695 | if (PyErr_Occurred()) SWIG_fail; | |
14696 | } | |
14697 | resultobj = SWIG_Py_Void(); | |
14698 | { | |
14699 | if (temp3) | |
14700 | delete arg3; | |
14701 | } | |
14702 | return resultobj; | |
14703 | fail: | |
14704 | { | |
14705 | if (temp3) | |
14706 | delete arg3; | |
14707 | } | |
14708 | return NULL; | |
30ee79f7 RD |
14709 | } |
14710 | ||
14711 | ||
0085ce49 RD |
14712 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14713 | PyObject *resultobj = 0; | |
14714 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14715 | void *argp1 = 0 ; | |
14716 | int res1 = 0 ; | |
14717 | PyObject *swig_obj[1] ; | |
14718 | ||
14719 | if (!args) SWIG_fail; | |
14720 | swig_obj[0] = args; | |
14721 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14722 | if (!SWIG_IsOK(res1)) { | |
14723 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14724 | } | |
14725 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14726 | { | |
14727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14728 | (arg1)->NotifyPageChanged(); | |
14729 | wxPyEndAllowThreads(__tstate); | |
14730 | if (PyErr_Occurred()) SWIG_fail; | |
14731 | } | |
14732 | resultobj = SWIG_Py_Void(); | |
14733 | return resultobj; | |
14734 | fail: | |
14735 | return NULL; | |
d14a1e28 RD |
14736 | } |
14737 | ||
14738 | ||
0085ce49 RD |
14739 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14740 | PyObject *resultobj = 0; | |
14741 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14742 | void *argp1 = 0 ; | |
14743 | int res1 = 0 ; | |
14744 | PyObject *swig_obj[1] ; | |
14745 | ||
14746 | if (!args) SWIG_fail; | |
14747 | swig_obj[0] = args; | |
14748 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14749 | if (!SWIG_IsOK(res1)) { | |
14750 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14751 | } | |
14752 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14753 | { | |
14754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14755 | (arg1)->RefreshLists(); | |
14756 | wxPyEndAllowThreads(__tstate); | |
14757 | if (PyErr_Occurred()) SWIG_fail; | |
14758 | } | |
14759 | resultobj = SWIG_Py_Void(); | |
14760 | return resultobj; | |
14761 | fail: | |
14762 | return NULL; | |
d14a1e28 RD |
14763 | } |
14764 | ||
14765 | ||
0085ce49 RD |
14766 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14767 | PyObject *resultobj = 0; | |
14768 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
b6df5cf9 | 14769 | wxPyHtmlWindow *result = 0 ; |
0085ce49 RD |
14770 | void *argp1 = 0 ; |
14771 | int res1 = 0 ; | |
14772 | PyObject *swig_obj[1] ; | |
14773 | ||
14774 | if (!args) SWIG_fail; | |
14775 | swig_obj[0] = args; | |
14776 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14777 | if (!SWIG_IsOK(res1)) { | |
14778 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14779 | } | |
14780 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14781 | { | |
14782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b6df5cf9 | 14783 | result = (wxPyHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow(); |
0085ce49 RD |
14784 | wxPyEndAllowThreads(__tstate); |
14785 | if (PyErr_Occurred()) SWIG_fail; | |
14786 | } | |
b6df5cf9 RD |
14787 | { |
14788 | resultobj = wxPyMake_wxObject(result, 0); | |
14789 | } | |
0085ce49 RD |
14790 | return resultobj; |
14791 | fail: | |
14792 | return NULL; | |
53aa7709 RD |
14793 | } |
14794 | ||
14795 | ||
0085ce49 RD |
14796 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14797 | PyObject *resultobj = 0; | |
14798 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14799 | wxSplitterWindow *result = 0 ; | |
14800 | void *argp1 = 0 ; | |
14801 | int res1 = 0 ; | |
14802 | PyObject *swig_obj[1] ; | |
14803 | ||
14804 | if (!args) SWIG_fail; | |
14805 | swig_obj[0] = args; | |
14806 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14807 | if (!SWIG_IsOK(res1)) { | |
14808 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14809 | } | |
14810 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14811 | { | |
14812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14813 | result = (wxSplitterWindow *)(arg1)->GetSplitterWindow(); | |
14814 | wxPyEndAllowThreads(__tstate); | |
14815 | if (PyErr_Occurred()) SWIG_fail; | |
14816 | } | |
14817 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, 0 | 0 ); | |
14818 | return resultobj; | |
14819 | fail: | |
14820 | return NULL; | |
d14a1e28 RD |
14821 | } |
14822 | ||
14823 | ||
0085ce49 RD |
14824 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14825 | PyObject *resultobj = 0; | |
14826 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14827 | wxToolBar *result = 0 ; | |
14828 | void *argp1 = 0 ; | |
14829 | int res1 = 0 ; | |
14830 | PyObject *swig_obj[1] ; | |
14831 | ||
14832 | if (!args) SWIG_fail; | |
14833 | swig_obj[0] = args; | |
14834 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14835 | if (!SWIG_IsOK(res1)) { | |
14836 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14837 | } | |
14838 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14839 | { | |
14840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14841 | result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar(); | |
14842 | wxPyEndAllowThreads(__tstate); | |
14843 | if (PyErr_Occurred()) SWIG_fail; | |
14844 | } | |
14845 | { | |
14846 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
14847 | } | |
14848 | return resultobj; | |
14849 | fail: | |
14850 | return NULL; | |
d14a1e28 RD |
14851 | } |
14852 | ||
14853 | ||
0085ce49 RD |
14854 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14855 | PyObject *resultobj = 0; | |
14856 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14857 | wxHtmlHelpFrameCfg *result = 0 ; | |
14858 | void *argp1 = 0 ; | |
14859 | int res1 = 0 ; | |
14860 | PyObject *swig_obj[1] ; | |
14861 | ||
14862 | if (!args) SWIG_fail; | |
14863 | swig_obj[0] = args; | |
14864 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14865 | if (!SWIG_IsOK(res1)) { | |
14866 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14867 | } | |
14868 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14869 | { | |
14870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4f89f6a3 | 14871 | { |
0085ce49 RD |
14872 | wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData(); |
14873 | result = (wxHtmlHelpFrameCfg *) &_result_ref; | |
4f89f6a3 | 14874 | } |
0085ce49 RD |
14875 | wxPyEndAllowThreads(__tstate); |
14876 | if (PyErr_Occurred()) SWIG_fail; | |
14877 | } | |
14878 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0 | 0 ); | |
14879 | return resultobj; | |
14880 | fail: | |
14881 | return NULL; | |
d14a1e28 RD |
14882 | } |
14883 | ||
14884 | ||
0085ce49 RD |
14885 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14886 | PyObject *resultobj = 0; | |
14887 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
10044bf1 | 14888 | wxPyTreeCtrl *result = 0 ; |
0085ce49 RD |
14889 | void *argp1 = 0 ; |
14890 | int res1 = 0 ; | |
14891 | PyObject *swig_obj[1] ; | |
14892 | ||
14893 | if (!args) SWIG_fail; | |
14894 | swig_obj[0] = args; | |
14895 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14896 | if (!SWIG_IsOK(res1)) { | |
14897 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14898 | } | |
14899 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14900 | { | |
14901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 14902 | result = (wxPyTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl(); |
0085ce49 RD |
14903 | wxPyEndAllowThreads(__tstate); |
14904 | if (PyErr_Occurred()) SWIG_fail; | |
14905 | } | |
10044bf1 RD |
14906 | { |
14907 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
14908 | } | |
0085ce49 RD |
14909 | return resultobj; |
14910 | fail: | |
14911 | return NULL; | |
d14a1e28 RD |
14912 | } |
14913 | ||
14914 | ||
0085ce49 RD |
14915 | SWIGINTERN PyObject *HtmlHelpWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14916 | PyObject *obj; | |
14917 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14918 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow, SWIG_NewClientData(obj)); | |
14919 | return SWIG_Py_Void(); | |
14920 | } | |
14921 | ||
14922 | SWIGINTERN PyObject *HtmlHelpWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14923 | return SWIG_Python_InitShadowInstance(args); | |
14924 | } | |
14925 | ||
8f514ab4 | 14926 | SWIGINTERN PyObject *_wrap_new_HtmlCellEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 | 14927 | PyObject *resultobj = 0; |
8f514ab4 RD |
14928 | wxEventType arg1 ; |
14929 | int arg2 ; | |
14930 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
14931 | wxPoint *arg4 = 0 ; | |
14932 | wxMouseEvent *arg5 = 0 ; | |
14933 | wxHtmlCellEvent *result = 0 ; | |
0085ce49 RD |
14934 | int val1 ; |
14935 | int ecode1 = 0 ; | |
14936 | int val2 ; | |
14937 | int ecode2 = 0 ; | |
8f514ab4 RD |
14938 | void *argp3 = 0 ; |
14939 | int res3 = 0 ; | |
14940 | wxPoint temp4 ; | |
14941 | void *argp5 = 0 ; | |
14942 | int res5 = 0 ; | |
0085ce49 RD |
14943 | PyObject * obj0 = 0 ; |
14944 | PyObject * obj1 = 0 ; | |
8f514ab4 RD |
14945 | PyObject * obj2 = 0 ; |
14946 | PyObject * obj3 = 0 ; | |
14947 | PyObject * obj4 = 0 ; | |
0085ce49 | 14948 | char * kwnames[] = { |
8f514ab4 | 14949 | (char *) "commandType",(char *) "id",(char *) "cell",(char *) "pt",(char *) "ev", NULL |
0085ce49 RD |
14950 | }; |
14951 | ||
8f514ab4 RD |
14952 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_HtmlCellEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
14953 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
14954 | if (!SWIG_IsOK(ecode1)) { | |
14955 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlCellEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
14956 | } | |
14957 | arg1 = static_cast< wxEventType >(val1); | |
14958 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14959 | if (!SWIG_IsOK(ecode2)) { | |
14960 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlCellEvent" "', expected argument " "2"" of type '" "int""'"); | |
14961 | } | |
14962 | arg2 = static_cast< int >(val2); | |
14963 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
14964 | if (!SWIG_IsOK(res3)) { | |
14965 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_HtmlCellEvent" "', expected argument " "3"" of type '" "wxHtmlCell *""'"); | |
0085ce49 | 14966 | } |
8f514ab4 RD |
14967 | arg3 = reinterpret_cast< wxHtmlCell * >(argp3); |
14968 | { | |
14969 | arg4 = &temp4; | |
14970 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14971 | } | |
14972 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0); | |
14973 | if (!SWIG_IsOK(res5)) { | |
14974 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); | |
0085ce49 | 14975 | } |
8f514ab4 RD |
14976 | if (!argp5) { |
14977 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); | |
14978 | } | |
14979 | arg5 = reinterpret_cast< wxMouseEvent * >(argp5); | |
0085ce49 RD |
14980 | { |
14981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 | 14982 | result = (wxHtmlCellEvent *)new wxHtmlCellEvent(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxMouseEvent const &)*arg5); |
0085ce49 RD |
14983 | wxPyEndAllowThreads(__tstate); |
14984 | if (PyErr_Occurred()) SWIG_fail; | |
14985 | } | |
8f514ab4 | 14986 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCellEvent, SWIG_POINTER_NEW | 0 ); |
0085ce49 RD |
14987 | return resultobj; |
14988 | fail: | |
14989 | return NULL; | |
14990 | } | |
14991 | ||
14992 | ||
8f514ab4 | 14993 | SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
0085ce49 | 14994 | PyObject *resultobj = 0; |
8f514ab4 RD |
14995 | wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ; |
14996 | wxHtmlCell *result = 0 ; | |
0085ce49 RD |
14997 | void *argp1 = 0 ; |
14998 | int res1 = 0 ; | |
8f514ab4 RD |
14999 | PyObject *swig_obj[1] ; |
15000 | ||
15001 | if (!args) SWIG_fail; | |
15002 | swig_obj[0] = args; | |
15003 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 ); | |
15004 | if (!SWIG_IsOK(res1)) { | |
15005 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetCell" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'"); | |
15006 | } | |
15007 | arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1); | |
15008 | { | |
15009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15010 | result = (wxHtmlCell *)((wxHtmlCellEvent const *)arg1)->GetCell(); | |
15011 | wxPyEndAllowThreads(__tstate); | |
15012 | if (PyErr_Occurred()) SWIG_fail; | |
15013 | } | |
15014 | { | |
15015 | resultobj = wxPyMake_wxObject(result, 0); | |
15016 | } | |
15017 | return resultobj; | |
15018 | fail: | |
15019 | return NULL; | |
15020 | } | |
15021 | ||
15022 | ||
15023 | SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15024 | PyObject *resultobj = 0; | |
15025 | wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ; | |
15026 | wxPoint result; | |
15027 | void *argp1 = 0 ; | |
15028 | int res1 = 0 ; | |
15029 | PyObject *swig_obj[1] ; | |
15030 | ||
15031 | if (!args) SWIG_fail; | |
15032 | swig_obj[0] = args; | |
15033 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 ); | |
15034 | if (!SWIG_IsOK(res1)) { | |
15035 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetPoint" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'"); | |
15036 | } | |
15037 | arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1); | |
15038 | { | |
15039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15040 | result = ((wxHtmlCellEvent const *)arg1)->GetPoint(); | |
15041 | wxPyEndAllowThreads(__tstate); | |
15042 | if (PyErr_Occurred()) SWIG_fail; | |
15043 | } | |
15044 | resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 ); | |
15045 | return resultobj; | |
15046 | fail: | |
15047 | return NULL; | |
15048 | } | |
15049 | ||
15050 | ||
15051 | SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15052 | PyObject *resultobj = 0; | |
15053 | wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ; | |
15054 | wxMouseEvent result; | |
15055 | void *argp1 = 0 ; | |
15056 | int res1 = 0 ; | |
15057 | PyObject *swig_obj[1] ; | |
15058 | ||
15059 | if (!args) SWIG_fail; | |
15060 | swig_obj[0] = args; | |
15061 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 ); | |
15062 | if (!SWIG_IsOK(res1)) { | |
15063 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'"); | |
15064 | } | |
15065 | arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1); | |
15066 | { | |
15067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15068 | result = ((wxHtmlCellEvent const *)arg1)->GetMouseEvent(); | |
15069 | wxPyEndAllowThreads(__tstate); | |
15070 | if (PyErr_Occurred()) SWIG_fail; | |
15071 | } | |
15072 | resultobj = SWIG_NewPointerObj((new wxMouseEvent(static_cast< const wxMouseEvent& >(result))), SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_OWN | 0 ); | |
15073 | return resultobj; | |
15074 | fail: | |
15075 | return NULL; | |
15076 | } | |
15077 | ||
15078 | ||
15079 | SWIGINTERN PyObject *_wrap_HtmlCellEvent_SetLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15080 | PyObject *resultobj = 0; | |
15081 | wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ; | |
15082 | bool arg2 ; | |
15083 | void *argp1 = 0 ; | |
15084 | int res1 = 0 ; | |
15085 | bool val2 ; | |
15086 | int ecode2 = 0 ; | |
0085ce49 RD |
15087 | PyObject * obj0 = 0 ; |
15088 | PyObject * obj1 = 0 ; | |
15089 | char * kwnames[] = { | |
8f514ab4 | 15090 | (char *) "self",(char *) "linkclicked", NULL |
0085ce49 RD |
15091 | }; |
15092 | ||
8f514ab4 RD |
15093 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCellEvent_SetLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail; |
15094 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 ); | |
0085ce49 | 15095 | if (!SWIG_IsOK(res1)) { |
8f514ab4 | 15096 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent *""'"); |
0085ce49 | 15097 | } |
8f514ab4 RD |
15098 | arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1); |
15099 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
15100 | if (!SWIG_IsOK(ecode2)) { | |
15101 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "2"" of type '" "bool""'"); | |
15102 | } | |
15103 | arg2 = static_cast< bool >(val2); | |
0085ce49 | 15104 | { |
8f514ab4 RD |
15105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15106 | (arg1)->SetLinkClicked(arg2); | |
15107 | wxPyEndAllowThreads(__tstate); | |
15108 | if (PyErr_Occurred()) SWIG_fail; | |
15109 | } | |
15110 | resultobj = SWIG_Py_Void(); | |
15111 | return resultobj; | |
15112 | fail: | |
15113 | return NULL; | |
15114 | } | |
15115 | ||
15116 | ||
15117 | SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15118 | PyObject *resultobj = 0; | |
15119 | wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ; | |
15120 | bool result; | |
15121 | void *argp1 = 0 ; | |
15122 | int res1 = 0 ; | |
15123 | PyObject *swig_obj[1] ; | |
15124 | ||
15125 | if (!args) SWIG_fail; | |
15126 | swig_obj[0] = args; | |
15127 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 ); | |
15128 | if (!SWIG_IsOK(res1)) { | |
15129 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'"); | |
0085ce49 | 15130 | } |
8f514ab4 | 15131 | arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1); |
0085ce49 RD |
15132 | { |
15133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 | 15134 | result = (bool)((wxHtmlCellEvent const *)arg1)->GetLinkClicked(); |
0085ce49 RD |
15135 | wxPyEndAllowThreads(__tstate); |
15136 | if (PyErr_Occurred()) SWIG_fail; | |
15137 | } | |
0085ce49 | 15138 | { |
8f514ab4 | 15139 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
0085ce49 RD |
15140 | } |
15141 | return resultobj; | |
15142 | fail: | |
8f514ab4 RD |
15143 | return NULL; |
15144 | } | |
15145 | ||
15146 | ||
15147 | SWIGINTERN PyObject *HtmlCellEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15148 | PyObject *obj; | |
15149 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
15150 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCellEvent, SWIG_NewClientData(obj)); | |
15151 | return SWIG_Py_Void(); | |
15152 | } | |
15153 | ||
15154 | SWIGINTERN PyObject *HtmlCellEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15155 | return SWIG_Python_InitShadowInstance(args); | |
15156 | } | |
15157 | ||
15158 | SWIGINTERN PyObject *_wrap_new_HtmlLinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15159 | PyObject *resultobj = 0; | |
15160 | int arg1 ; | |
15161 | wxHtmlLinkInfo *arg2 = 0 ; | |
15162 | wxHtmlLinkEvent *result = 0 ; | |
15163 | int val1 ; | |
15164 | int ecode1 = 0 ; | |
15165 | void *argp2 = 0 ; | |
15166 | int res2 = 0 ; | |
15167 | PyObject * obj0 = 0 ; | |
15168 | PyObject * obj1 = 0 ; | |
15169 | char * kwnames[] = { | |
15170 | (char *) "id",(char *) "linkinfo", NULL | |
15171 | }; | |
15172 | ||
15173 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlLinkEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
15174 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
15175 | if (!SWIG_IsOK(ecode1)) { | |
15176 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlLinkEvent" "', expected argument " "1"" of type '" "int""'"); | |
15177 | } | |
15178 | arg1 = static_cast< int >(val1); | |
15179 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0); | |
15180 | if (!SWIG_IsOK(res2)) { | |
15181 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
15182 | } | |
15183 | if (!argp2) { | |
15184 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
15185 | } | |
15186 | arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2); | |
0085ce49 | 15187 | { |
8f514ab4 RD |
15188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15189 | result = (wxHtmlLinkEvent *)new wxHtmlLinkEvent(arg1,(wxHtmlLinkInfo const &)*arg2); | |
15190 | wxPyEndAllowThreads(__tstate); | |
15191 | if (PyErr_Occurred()) SWIG_fail; | |
0085ce49 | 15192 | } |
8f514ab4 RD |
15193 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkEvent, SWIG_POINTER_NEW | 0 ); |
15194 | return resultobj; | |
15195 | fail: | |
0085ce49 RD |
15196 | return NULL; |
15197 | } | |
15198 | ||
15199 | ||
8f514ab4 | 15200 | SWIGINTERN PyObject *_wrap_HtmlLinkEvent_GetLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
0085ce49 | 15201 | PyObject *resultobj = 0; |
8f514ab4 RD |
15202 | wxHtmlLinkEvent *arg1 = (wxHtmlLinkEvent *) 0 ; |
15203 | wxHtmlLinkInfo *result = 0 ; | |
0085ce49 RD |
15204 | void *argp1 = 0 ; |
15205 | int res1 = 0 ; | |
15206 | PyObject *swig_obj[1] ; | |
15207 | ||
15208 | if (!args) SWIG_fail; | |
15209 | swig_obj[0] = args; | |
8f514ab4 | 15210 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkEvent, 0 | 0 ); |
0085ce49 | 15211 | if (!SWIG_IsOK(res1)) { |
8f514ab4 | 15212 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkEvent_GetLinkInfo" "', expected argument " "1"" of type '" "wxHtmlLinkEvent const *""'"); |
0085ce49 | 15213 | } |
8f514ab4 | 15214 | arg1 = reinterpret_cast< wxHtmlLinkEvent * >(argp1); |
0085ce49 RD |
15215 | { |
15216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 15217 | { |
8f514ab4 RD |
15218 | wxHtmlLinkInfo const &_result_ref = ((wxHtmlLinkEvent const *)arg1)->GetLinkInfo(); |
15219 | result = (wxHtmlLinkInfo *) &_result_ref; | |
d14a1e28 | 15220 | } |
0085ce49 RD |
15221 | wxPyEndAllowThreads(__tstate); |
15222 | if (PyErr_Occurred()) SWIG_fail; | |
15223 | } | |
8f514ab4 | 15224 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); |
0085ce49 RD |
15225 | return resultobj; |
15226 | fail: | |
15227 | return NULL; | |
15228 | } | |
15229 | ||
15230 | ||
8f514ab4 | 15231 | SWIGINTERN PyObject *HtmlLinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
0085ce49 RD |
15232 | PyObject *obj; |
15233 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8f514ab4 | 15234 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkEvent, SWIG_NewClientData(obj)); |
0085ce49 RD |
15235 | return SWIG_Py_Void(); |
15236 | } | |
15237 | ||
8f514ab4 | 15238 | SWIGINTERN PyObject *HtmlLinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
0085ce49 RD |
15239 | return SWIG_Python_InitShadowInstance(args); |
15240 | } | |
15241 | ||
15242 | SWIGINTERN PyObject *_wrap_new_HtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15243 | PyObject *resultobj = 0; | |
15244 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15245 | int arg2 ; | |
15246 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15247 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15248 | int arg4 = (int) wxHF_DEFAULTSTYLE ; | |
15249 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
85965ae1 RD |
15250 | wxConfigBase *arg6 = (wxConfigBase *) NULL ; |
15251 | wxString const &arg7_defvalue = wxPyEmptyString ; | |
15252 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
0085ce49 RD |
15253 | wxHtmlHelpFrame *result = 0 ; |
15254 | void *argp1 = 0 ; | |
15255 | int res1 = 0 ; | |
15256 | int val2 ; | |
15257 | int ecode2 = 0 ; | |
15258 | bool temp3 = false ; | |
15259 | int val4 ; | |
15260 | int ecode4 = 0 ; | |
15261 | void *argp5 = 0 ; | |
15262 | int res5 = 0 ; | |
85965ae1 RD |
15263 | void *argp6 = 0 ; |
15264 | int res6 = 0 ; | |
15265 | bool temp7 = false ; | |
0085ce49 RD |
15266 | PyObject * obj0 = 0 ; |
15267 | PyObject * obj1 = 0 ; | |
15268 | PyObject * obj2 = 0 ; | |
15269 | PyObject * obj3 = 0 ; | |
15270 | PyObject * obj4 = 0 ; | |
85965ae1 RD |
15271 | PyObject * obj5 = 0 ; |
15272 | PyObject * obj6 = 0 ; | |
0085ce49 | 15273 | char * kwnames[] = { |
85965ae1 | 15274 | (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data",(char *) "config",(char *) "rootpath", NULL |
0085ce49 RD |
15275 | }; |
15276 | ||
85965ae1 | 15277 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
0085ce49 RD |
15278 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15279 | if (!SWIG_IsOK(res1)) { | |
15280 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
15281 | } | |
15282 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
15283 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15284 | if (!SWIG_IsOK(ecode2)) { | |
15285 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'"); | |
15286 | } | |
15287 | arg2 = static_cast< int >(val2); | |
15288 | if (obj2) { | |
4f89f6a3 | 15289 | { |
0085ce49 RD |
15290 | arg3 = wxString_in_helper(obj2); |
15291 | if (arg3 == NULL) SWIG_fail; | |
15292 | temp3 = true; | |
4f89f6a3 | 15293 | } |
0085ce49 RD |
15294 | } |
15295 | if (obj3) { | |
15296 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
15297 | if (!SWIG_IsOK(ecode4)) { | |
15298 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'"); | |
15299 | } | |
15300 | arg4 = static_cast< int >(val4); | |
15301 | } | |
15302 | if (obj4) { | |
15303 | res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15304 | if (!SWIG_IsOK(res5)) { | |
15305 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'"); | |
15306 | } | |
15307 | arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5); | |
15308 | } | |
85965ae1 RD |
15309 | if (obj5) { |
15310 | res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
15311 | if (!SWIG_IsOK(res6)) { | |
15312 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_HtmlHelpFrame" "', expected argument " "6"" of type '" "wxConfigBase *""'"); | |
15313 | } | |
15314 | arg6 = reinterpret_cast< wxConfigBase * >(argp6); | |
15315 | } | |
15316 | if (obj6) { | |
15317 | { | |
15318 | arg7 = wxString_in_helper(obj6); | |
15319 | if (arg7 == NULL) SWIG_fail; | |
15320 | temp7 = true; | |
15321 | } | |
15322 | } | |
0085ce49 RD |
15323 | { |
15324 | if (!wxPyCheckForApp()) SWIG_fail; | |
15325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
85965ae1 | 15326 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxString const &)*arg7); |
0085ce49 RD |
15327 | wxPyEndAllowThreads(__tstate); |
15328 | if (PyErr_Occurred()) SWIG_fail; | |
15329 | } | |
15330 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_NEW | 0 ); | |
15331 | { | |
15332 | if (temp3) | |
15333 | delete arg3; | |
15334 | } | |
85965ae1 RD |
15335 | { |
15336 | if (temp7) | |
15337 | delete arg7; | |
15338 | } | |
0085ce49 RD |
15339 | return resultobj; |
15340 | fail: | |
15341 | { | |
15342 | if (temp3) | |
15343 | delete arg3; | |
15344 | } | |
85965ae1 RD |
15345 | { |
15346 | if (temp7) | |
15347 | delete arg7; | |
15348 | } | |
0085ce49 | 15349 | return NULL; |
d14a1e28 RD |
15350 | } |
15351 | ||
15352 | ||
0085ce49 RD |
15353 | SWIGINTERN PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15354 | PyObject *resultobj = 0; | |
15355 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; | |
15356 | wxHtmlHelpFrame *result = 0 ; | |
15357 | void *argp1 = 0 ; | |
15358 | int res1 = 0 ; | |
15359 | PyObject * obj0 = 0 ; | |
15360 | char * kwnames[] = { | |
15361 | (char *) "data", NULL | |
15362 | }; | |
15363 | ||
15364 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) SWIG_fail; | |
15365 | if (obj0) { | |
15366 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15367 | if (!SWIG_IsOK(res1)) { | |
15368 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 15369 | } |
0085ce49 RD |
15370 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); |
15371 | } | |
15372 | { | |
15373 | if (!wxPyCheckForApp()) SWIG_fail; | |
15374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15375 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1); | |
15376 | wxPyEndAllowThreads(__tstate); | |
15377 | if (PyErr_Occurred()) SWIG_fail; | |
15378 | } | |
15379 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_OWN | 0 ); | |
15380 | return resultobj; | |
15381 | fail: | |
15382 | return NULL; | |
15383 | } | |
15384 | ||
15385 | ||
15386 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15387 | PyObject *resultobj = 0; | |
15388 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15389 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15390 | int arg3 ; | |
15391 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15392 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
15393 | int arg5 = (int) wxHF_DEFAULT_STYLE ; | |
85965ae1 RD |
15394 | wxConfigBase *arg6 = (wxConfigBase *) NULL ; |
15395 | wxString const &arg7_defvalue = wxPyEmptyString ; | |
15396 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
0085ce49 RD |
15397 | bool result; |
15398 | void *argp1 = 0 ; | |
15399 | int res1 = 0 ; | |
15400 | void *argp2 = 0 ; | |
15401 | int res2 = 0 ; | |
15402 | int val3 ; | |
15403 | int ecode3 = 0 ; | |
15404 | bool temp4 = false ; | |
15405 | int val5 ; | |
15406 | int ecode5 = 0 ; | |
85965ae1 RD |
15407 | void *argp6 = 0 ; |
15408 | int res6 = 0 ; | |
15409 | bool temp7 = false ; | |
0085ce49 RD |
15410 | PyObject * obj0 = 0 ; |
15411 | PyObject * obj1 = 0 ; | |
15412 | PyObject * obj2 = 0 ; | |
15413 | PyObject * obj3 = 0 ; | |
15414 | PyObject * obj4 = 0 ; | |
85965ae1 RD |
15415 | PyObject * obj5 = 0 ; |
15416 | PyObject * obj6 = 0 ; | |
0085ce49 | 15417 | char * kwnames[] = { |
85965ae1 | 15418 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style",(char *) "config",(char *) "rootpath", NULL |
0085ce49 RD |
15419 | }; |
15420 | ||
85965ae1 | 15421 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
0085ce49 RD |
15422 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); |
15423 | if (!SWIG_IsOK(res1)) { | |
15424 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15425 | } | |
15426 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15427 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15428 | if (!SWIG_IsOK(res2)) { | |
15429 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
15430 | } | |
15431 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15432 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
15433 | if (!SWIG_IsOK(ecode3)) { | |
15434 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'"); | |
15435 | } | |
15436 | arg3 = static_cast< int >(val3); | |
15437 | if (obj3) { | |
4f89f6a3 | 15438 | { |
0085ce49 RD |
15439 | arg4 = wxString_in_helper(obj3); |
15440 | if (arg4 == NULL) SWIG_fail; | |
15441 | temp4 = true; | |
4f89f6a3 | 15442 | } |
0085ce49 RD |
15443 | } |
15444 | if (obj4) { | |
15445 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
15446 | if (!SWIG_IsOK(ecode5)) { | |
15447 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'"); | |
15448 | } | |
15449 | arg5 = static_cast< int >(val5); | |
15450 | } | |
85965ae1 RD |
15451 | if (obj5) { |
15452 | res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
15453 | if (!SWIG_IsOK(res6)) { | |
15454 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "HtmlHelpFrame_Create" "', expected argument " "6"" of type '" "wxConfigBase *""'"); | |
15455 | } | |
15456 | arg6 = reinterpret_cast< wxConfigBase * >(argp6); | |
15457 | } | |
15458 | if (obj6) { | |
15459 | { | |
15460 | arg7 = wxString_in_helper(obj6); | |
15461 | if (arg7 == NULL) SWIG_fail; | |
15462 | temp7 = true; | |
15463 | } | |
15464 | } | |
0085ce49 RD |
15465 | { |
15466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
85965ae1 | 15467 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5,arg6,(wxString const &)*arg7); |
0085ce49 RD |
15468 | wxPyEndAllowThreads(__tstate); |
15469 | if (PyErr_Occurred()) SWIG_fail; | |
15470 | } | |
15471 | { | |
15472 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15473 | } | |
15474 | { | |
15475 | if (temp4) | |
15476 | delete arg4; | |
15477 | } | |
85965ae1 RD |
15478 | { |
15479 | if (temp7) | |
15480 | delete arg7; | |
15481 | } | |
0085ce49 RD |
15482 | return resultobj; |
15483 | fail: | |
15484 | { | |
15485 | if (temp4) | |
15486 | delete arg4; | |
15487 | } | |
85965ae1 RD |
15488 | { |
15489 | if (temp7) | |
15490 | delete arg7; | |
15491 | } | |
0085ce49 | 15492 | return NULL; |
d14a1e28 RD |
15493 | } |
15494 | ||
15495 | ||
0085ce49 RD |
15496 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15497 | PyObject *resultobj = 0; | |
15498 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15499 | wxHtmlHelpData *result = 0 ; | |
15500 | void *argp1 = 0 ; | |
15501 | int res1 = 0 ; | |
15502 | PyObject *swig_obj[1] ; | |
15503 | ||
15504 | if (!args) SWIG_fail; | |
15505 | swig_obj[0] = args; | |
15506 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15507 | if (!SWIG_IsOK(res1)) { | |
15508 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15509 | } | |
15510 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15511 | { | |
15512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15513 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
15514 | wxPyEndAllowThreads(__tstate); | |
15515 | if (PyErr_Occurred()) SWIG_fail; | |
15516 | } | |
15517 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15518 | return resultobj; | |
15519 | fail: | |
15520 | return NULL; | |
15521 | } | |
15522 | ||
15523 | ||
15524 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15525 | PyObject *resultobj = 0; | |
15526 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15527 | wxString *arg2 = 0 ; | |
15528 | void *argp1 = 0 ; | |
15529 | int res1 = 0 ; | |
15530 | bool temp2 = false ; | |
15531 | PyObject * obj0 = 0 ; | |
15532 | PyObject * obj1 = 0 ; | |
15533 | char * kwnames[] = { | |
15534 | (char *) "self",(char *) "format", NULL | |
15535 | }; | |
15536 | ||
15537 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail; | |
15538 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15539 | if (!SWIG_IsOK(res1)) { | |
15540 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15541 | } | |
15542 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15543 | { | |
15544 | arg2 = wxString_in_helper(obj1); | |
15545 | if (arg2 == NULL) SWIG_fail; | |
15546 | temp2 = true; | |
15547 | } | |
15548 | { | |
15549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15550 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
15551 | wxPyEndAllowThreads(__tstate); | |
15552 | if (PyErr_Occurred()) SWIG_fail; | |
15553 | } | |
15554 | resultobj = SWIG_Py_Void(); | |
15555 | { | |
15556 | if (temp2) | |
15557 | delete arg2; | |
15558 | } | |
15559 | return resultobj; | |
15560 | fail: | |
15561 | { | |
15562 | if (temp2) | |
15563 | delete arg2; | |
15564 | } | |
15565 | return NULL; | |
d14a1e28 RD |
15566 | } |
15567 | ||
15568 | ||
0085ce49 RD |
15569 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15570 | PyObject *resultobj = 0; | |
15571 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15572 | void *argp1 = 0 ; | |
15573 | int res1 = 0 ; | |
15574 | PyObject *swig_obj[1] ; | |
15575 | ||
15576 | if (!args) SWIG_fail; | |
15577 | swig_obj[0] = args; | |
15578 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15579 | if (!SWIG_IsOK(res1)) { | |
15580 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15581 | } | |
15582 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15583 | { | |
15584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15585 | (arg1)->AddGrabIfNeeded(); | |
15586 | wxPyEndAllowThreads(__tstate); | |
15587 | if (PyErr_Occurred()) SWIG_fail; | |
15588 | } | |
15589 | resultobj = SWIG_Py_Void(); | |
15590 | return resultobj; | |
15591 | fail: | |
15592 | return NULL; | |
d14a1e28 RD |
15593 | } |
15594 | ||
15595 | ||
0085ce49 RD |
15596 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15597 | PyObject *resultobj = 0; | |
15598 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15599 | wxHtmlHelpController *result = 0 ; | |
15600 | void *argp1 = 0 ; | |
15601 | int res1 = 0 ; | |
15602 | PyObject *swig_obj[1] ; | |
15603 | ||
15604 | if (!args) SWIG_fail; | |
15605 | swig_obj[0] = args; | |
15606 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15607 | if (!SWIG_IsOK(res1)) { | |
15608 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'"); | |
15609 | } | |
15610 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15611 | { | |
15612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15613 | result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController(); | |
15614 | wxPyEndAllowThreads(__tstate); | |
15615 | if (PyErr_Occurred()) SWIG_fail; | |
15616 | } | |
15617 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
15618 | return resultobj; | |
15619 | fail: | |
15620 | return NULL; | |
15621 | } | |
15622 | ||
15623 | ||
15624 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15625 | PyObject *resultobj = 0; | |
15626 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15627 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
15628 | void *argp1 = 0 ; | |
15629 | int res1 = 0 ; | |
15630 | int res2 = 0 ; | |
15631 | PyObject * obj0 = 0 ; | |
15632 | PyObject * obj1 = 0 ; | |
15633 | char * kwnames[] = { | |
15634 | (char *) "self",(char *) "controller", NULL | |
15635 | }; | |
15636 | ||
15637 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) SWIG_fail; | |
15638 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15639 | if (!SWIG_IsOK(res1)) { | |
15640 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15641 | } | |
15642 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15643 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
15644 | if (!SWIG_IsOK(res2)) { | |
15645 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'"); | |
15646 | } | |
15647 | { | |
15648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15649 | (arg1)->SetController(arg2); | |
15650 | wxPyEndAllowThreads(__tstate); | |
15651 | if (PyErr_Occurred()) SWIG_fail; | |
15652 | } | |
15653 | resultobj = SWIG_Py_Void(); | |
15654 | return resultobj; | |
15655 | fail: | |
15656 | return NULL; | |
d14a1e28 RD |
15657 | } |
15658 | ||
15659 | ||
0085ce49 RD |
15660 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15661 | PyObject *resultobj = 0; | |
15662 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15663 | wxHtmlHelpWindow *result = 0 ; | |
15664 | void *argp1 = 0 ; | |
15665 | int res1 = 0 ; | |
15666 | PyObject *swig_obj[1] ; | |
15667 | ||
15668 | if (!args) SWIG_fail; | |
15669 | swig_obj[0] = args; | |
15670 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15671 | if (!SWIG_IsOK(res1)) { | |
15672 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'"); | |
15673 | } | |
15674 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15675 | { | |
15676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15677 | result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow(); | |
15678 | wxPyEndAllowThreads(__tstate); | |
15679 | if (PyErr_Occurred()) SWIG_fail; | |
15680 | } | |
15681 | { | |
15682 | resultobj = wxPyMake_wxObject(result, 0); | |
15683 | } | |
15684 | return resultobj; | |
15685 | fail: | |
15686 | return NULL; | |
15687 | } | |
15688 | ||
15689 | ||
15690 | SWIGINTERN PyObject *HtmlHelpFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15691 | PyObject *obj; | |
15692 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
15693 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame, SWIG_NewClientData(obj)); | |
15694 | return SWIG_Py_Void(); | |
15695 | } | |
15696 | ||
15697 | SWIGINTERN PyObject *HtmlHelpFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15698 | return SWIG_Python_InitShadowInstance(args); | |
15699 | } | |
15700 | ||
15701 | SWIGINTERN PyObject *_wrap_new_HtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15702 | PyObject *resultobj = 0; | |
15703 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15704 | int arg2 ; | |
15705 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15706 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15707 | int arg4 = (int) wxHF_DEFAULT_STYLE ; | |
15708 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
15709 | wxHtmlHelpDialog *result = 0 ; | |
15710 | void *argp1 = 0 ; | |
15711 | int res1 = 0 ; | |
15712 | int val2 ; | |
15713 | int ecode2 = 0 ; | |
15714 | bool temp3 = false ; | |
15715 | int val4 ; | |
15716 | int ecode4 = 0 ; | |
15717 | void *argp5 = 0 ; | |
15718 | int res5 = 0 ; | |
15719 | PyObject * obj0 = 0 ; | |
15720 | PyObject * obj1 = 0 ; | |
15721 | PyObject * obj2 = 0 ; | |
15722 | PyObject * obj3 = 0 ; | |
15723 | PyObject * obj4 = 0 ; | |
15724 | char * kwnames[] = { | |
15725 | (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL | |
15726 | }; | |
15727 | ||
15728 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
15729 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15730 | if (!SWIG_IsOK(res1)) { | |
15731 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
15732 | } | |
15733 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
15734 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15735 | if (!SWIG_IsOK(ecode2)) { | |
15736 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'"); | |
15737 | } | |
15738 | arg2 = static_cast< int >(val2); | |
15739 | if (obj2) { | |
d14a1e28 | 15740 | { |
0085ce49 RD |
15741 | arg3 = wxString_in_helper(obj2); |
15742 | if (arg3 == NULL) SWIG_fail; | |
15743 | temp3 = true; | |
d14a1e28 | 15744 | } |
0085ce49 RD |
15745 | } |
15746 | if (obj3) { | |
15747 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
15748 | if (!SWIG_IsOK(ecode4)) { | |
15749 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'"); | |
15750 | } | |
15751 | arg4 = static_cast< int >(val4); | |
15752 | } | |
15753 | if (obj4) { | |
15754 | res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15755 | if (!SWIG_IsOK(res5)) { | |
15756 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 15757 | } |
0085ce49 RD |
15758 | arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5); |
15759 | } | |
15760 | { | |
15761 | if (!wxPyCheckForApp()) SWIG_fail; | |
15762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15763 | result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5); | |
15764 | wxPyEndAllowThreads(__tstate); | |
15765 | if (PyErr_Occurred()) SWIG_fail; | |
15766 | } | |
15767 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_NEW | 0 ); | |
15768 | { | |
15769 | if (temp3) | |
15770 | delete arg3; | |
15771 | } | |
15772 | return resultobj; | |
15773 | fail: | |
15774 | { | |
15775 | if (temp3) | |
15776 | delete arg3; | |
15777 | } | |
15778 | return NULL; | |
d14a1e28 RD |
15779 | } |
15780 | ||
15781 | ||
0085ce49 RD |
15782 | SWIGINTERN PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15783 | PyObject *resultobj = 0; | |
15784 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; | |
15785 | wxHtmlHelpDialog *result = 0 ; | |
15786 | void *argp1 = 0 ; | |
15787 | int res1 = 0 ; | |
15788 | PyObject * obj0 = 0 ; | |
15789 | char * kwnames[] = { | |
15790 | (char *) "data", NULL | |
15791 | }; | |
15792 | ||
15793 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) SWIG_fail; | |
15794 | if (obj0) { | |
15795 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15796 | if (!SWIG_IsOK(res1)) { | |
15797 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 15798 | } |
0085ce49 RD |
15799 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); |
15800 | } | |
15801 | { | |
15802 | if (!wxPyCheckForApp()) SWIG_fail; | |
15803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15804 | result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1); | |
15805 | wxPyEndAllowThreads(__tstate); | |
15806 | if (PyErr_Occurred()) SWIG_fail; | |
15807 | } | |
15808 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_OWN | 0 ); | |
15809 | return resultobj; | |
15810 | fail: | |
15811 | return NULL; | |
15812 | } | |
15813 | ||
15814 | ||
15815 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15816 | PyObject *resultobj = 0; | |
15817 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15818 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15819 | int arg3 ; | |
15820 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15821 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
15822 | int arg5 = (int) wxHF_DEFAULT_STYLE ; | |
15823 | bool result; | |
15824 | void *argp1 = 0 ; | |
15825 | int res1 = 0 ; | |
15826 | void *argp2 = 0 ; | |
15827 | int res2 = 0 ; | |
15828 | int val3 ; | |
15829 | int ecode3 = 0 ; | |
15830 | bool temp4 = false ; | |
15831 | int val5 ; | |
15832 | int ecode5 = 0 ; | |
15833 | PyObject * obj0 = 0 ; | |
15834 | PyObject * obj1 = 0 ; | |
15835 | PyObject * obj2 = 0 ; | |
15836 | PyObject * obj3 = 0 ; | |
15837 | PyObject * obj4 = 0 ; | |
15838 | char * kwnames[] = { | |
15839 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL | |
15840 | }; | |
15841 | ||
15842 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
15843 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15844 | if (!SWIG_IsOK(res1)) { | |
15845 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
15846 | } | |
15847 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15848 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15849 | if (!SWIG_IsOK(res2)) { | |
15850 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
15851 | } | |
15852 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15853 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
15854 | if (!SWIG_IsOK(ecode3)) { | |
15855 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'"); | |
15856 | } | |
15857 | arg3 = static_cast< int >(val3); | |
15858 | if (obj3) { | |
d14a1e28 | 15859 | { |
0085ce49 RD |
15860 | arg4 = wxString_in_helper(obj3); |
15861 | if (arg4 == NULL) SWIG_fail; | |
15862 | temp4 = true; | |
d14a1e28 | 15863 | } |
0085ce49 RD |
15864 | } |
15865 | if (obj4) { | |
15866 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
15867 | if (!SWIG_IsOK(ecode5)) { | |
15868 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'"); | |
15869 | } | |
15870 | arg5 = static_cast< int >(val5); | |
15871 | } | |
15872 | { | |
15873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15874 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
15875 | wxPyEndAllowThreads(__tstate); | |
15876 | if (PyErr_Occurred()) SWIG_fail; | |
15877 | } | |
15878 | { | |
15879 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15880 | } | |
15881 | { | |
15882 | if (temp4) | |
15883 | delete arg4; | |
15884 | } | |
15885 | return resultobj; | |
15886 | fail: | |
15887 | { | |
15888 | if (temp4) | |
15889 | delete arg4; | |
15890 | } | |
15891 | return NULL; | |
d14a1e28 RD |
15892 | } |
15893 | ||
15894 | ||
0085ce49 RD |
15895 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15896 | PyObject *resultobj = 0; | |
15897 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15898 | wxHtmlHelpData *result = 0 ; | |
15899 | void *argp1 = 0 ; | |
15900 | int res1 = 0 ; | |
15901 | PyObject *swig_obj[1] ; | |
15902 | ||
15903 | if (!args) SWIG_fail; | |
15904 | swig_obj[0] = args; | |
15905 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15906 | if (!SWIG_IsOK(res1)) { | |
15907 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
15908 | } | |
15909 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15910 | { | |
15911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15912 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
15913 | wxPyEndAllowThreads(__tstate); | |
15914 | if (PyErr_Occurred()) SWIG_fail; | |
15915 | } | |
15916 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15917 | return resultobj; | |
15918 | fail: | |
15919 | return NULL; | |
d14a1e28 RD |
15920 | } |
15921 | ||
15922 | ||
0085ce49 RD |
15923 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15924 | PyObject *resultobj = 0; | |
15925 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15926 | wxHtmlHelpController *result = 0 ; | |
15927 | void *argp1 = 0 ; | |
15928 | int res1 = 0 ; | |
15929 | PyObject *swig_obj[1] ; | |
15930 | ||
15931 | if (!args) SWIG_fail; | |
15932 | swig_obj[0] = args; | |
15933 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15934 | if (!SWIG_IsOK(res1)) { | |
15935 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'"); | |
15936 | } | |
15937 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15938 | { | |
15939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15940 | result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController(); | |
15941 | wxPyEndAllowThreads(__tstate); | |
15942 | if (PyErr_Occurred()) SWIG_fail; | |
15943 | } | |
15944 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
15945 | return resultobj; | |
15946 | fail: | |
15947 | return NULL; | |
15948 | } | |
15949 | ||
15950 | ||
15951 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15952 | PyObject *resultobj = 0; | |
15953 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15954 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
15955 | void *argp1 = 0 ; | |
15956 | int res1 = 0 ; | |
15957 | int res2 = 0 ; | |
15958 | PyObject * obj0 = 0 ; | |
15959 | PyObject * obj1 = 0 ; | |
15960 | char * kwnames[] = { | |
15961 | (char *) "self",(char *) "controller", NULL | |
15962 | }; | |
15963 | ||
15964 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) SWIG_fail; | |
15965 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15966 | if (!SWIG_IsOK(res1)) { | |
15967 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
15968 | } | |
15969 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15970 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
15971 | if (!SWIG_IsOK(res2)) { | |
15972 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'"); | |
15973 | } | |
15974 | { | |
15975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15976 | (arg1)->SetController(arg2); | |
15977 | wxPyEndAllowThreads(__tstate); | |
15978 | if (PyErr_Occurred()) SWIG_fail; | |
15979 | } | |
15980 | resultobj = SWIG_Py_Void(); | |
15981 | return resultobj; | |
15982 | fail: | |
15983 | return NULL; | |
db914595 RD |
15984 | } |
15985 | ||
15986 | ||
0085ce49 RD |
15987 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15988 | PyObject *resultobj = 0; | |
15989 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15990 | wxHtmlHelpWindow *result = 0 ; | |
15991 | void *argp1 = 0 ; | |
15992 | int res1 = 0 ; | |
15993 | PyObject *swig_obj[1] ; | |
15994 | ||
15995 | if (!args) SWIG_fail; | |
15996 | swig_obj[0] = args; | |
15997 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15998 | if (!SWIG_IsOK(res1)) { | |
15999 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'"); | |
16000 | } | |
16001 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
16002 | { | |
16003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16004 | result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow(); | |
16005 | wxPyEndAllowThreads(__tstate); | |
16006 | if (PyErr_Occurred()) SWIG_fail; | |
16007 | } | |
16008 | { | |
16009 | resultobj = wxPyMake_wxObject(result, 0); | |
16010 | } | |
16011 | return resultobj; | |
16012 | fail: | |
16013 | return NULL; | |
16014 | } | |
16015 | ||
16016 | ||
16017 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16018 | PyObject *resultobj = 0; | |
16019 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
16020 | wxString *arg2 = 0 ; | |
16021 | void *argp1 = 0 ; | |
16022 | int res1 = 0 ; | |
16023 | bool temp2 = false ; | |
16024 | PyObject * obj0 = 0 ; | |
16025 | PyObject * obj1 = 0 ; | |
16026 | char * kwnames[] = { | |
16027 | (char *) "self",(char *) "format", NULL | |
16028 | }; | |
16029 | ||
16030 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail; | |
16031 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
16032 | if (!SWIG_IsOK(res1)) { | |
16033 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
16034 | } | |
16035 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
16036 | { | |
16037 | arg2 = wxString_in_helper(obj1); | |
16038 | if (arg2 == NULL) SWIG_fail; | |
16039 | temp2 = true; | |
16040 | } | |
16041 | { | |
16042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16043 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
16044 | wxPyEndAllowThreads(__tstate); | |
16045 | if (PyErr_Occurred()) SWIG_fail; | |
16046 | } | |
16047 | resultobj = SWIG_Py_Void(); | |
16048 | { | |
16049 | if (temp2) | |
16050 | delete arg2; | |
16051 | } | |
16052 | return resultobj; | |
16053 | fail: | |
16054 | { | |
16055 | if (temp2) | |
16056 | delete arg2; | |
16057 | } | |
16058 | return NULL; | |
db914595 RD |
16059 | } |
16060 | ||
16061 | ||
0085ce49 RD |
16062 | SWIGINTERN PyObject *HtmlHelpDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16063 | PyObject *obj; | |
16064 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
16065 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog, SWIG_NewClientData(obj)); | |
16066 | return SWIG_Py_Void(); | |
db914595 RD |
16067 | } |
16068 | ||
0085ce49 RD |
16069 | SWIGINTERN PyObject *HtmlHelpDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16070 | return SWIG_Python_InitShadowInstance(args); | |
16071 | } | |
db914595 | 16072 | |
0085ce49 RD |
16073 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
16074 | PyObject *resultobj = 0; | |
16075 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16076 | wxString *arg2 = 0 ; | |
16077 | int arg3 ; | |
16078 | bool result; | |
16079 | void *argp1 = 0 ; | |
16080 | int res1 = 0 ; | |
16081 | bool temp2 = false ; | |
16082 | int val3 ; | |
16083 | int ecode3 = 0 ; | |
16084 | ||
16085 | if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; | |
16086 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16087 | if (!SWIG_IsOK(res1)) { | |
16088 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16089 | } | |
16090 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16091 | { | |
16092 | arg2 = wxString_in_helper(swig_obj[1]); | |
16093 | if (arg2 == NULL) SWIG_fail; | |
16094 | temp2 = true; | |
16095 | } | |
16096 | ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); | |
16097 | if (!SWIG_IsOK(ecode3)) { | |
16098 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'"); | |
16099 | } | |
16100 | arg3 = static_cast< int >(val3); | |
16101 | { | |
16102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16103 | result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3); | |
16104 | wxPyEndAllowThreads(__tstate); | |
16105 | if (PyErr_Occurred()) SWIG_fail; | |
16106 | } | |
16107 | { | |
16108 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16109 | } | |
16110 | { | |
16111 | if (temp2) | |
16112 | delete arg2; | |
16113 | } | |
16114 | return resultobj; | |
16115 | fail: | |
16116 | { | |
16117 | if (temp2) | |
16118 | delete arg2; | |
16119 | } | |
16120 | return NULL; | |
b0f7404b RD |
16121 | } |
16122 | ||
16123 | ||
0085ce49 RD |
16124 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
16125 | PyObject *resultobj = 0; | |
16126 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16127 | wxString *arg2 = 0 ; | |
16128 | bool result; | |
16129 | void *argp1 = 0 ; | |
16130 | int res1 = 0 ; | |
16131 | bool temp2 = false ; | |
16132 | ||
16133 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
16134 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16135 | if (!SWIG_IsOK(res1)) { | |
16136 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16137 | } | |
16138 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16139 | { | |
16140 | arg2 = wxString_in_helper(swig_obj[1]); | |
16141 | if (arg2 == NULL) SWIG_fail; | |
16142 | temp2 = true; | |
16143 | } | |
16144 | { | |
16145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16146 | result = (bool)(arg1)->Initialize((wxString const &)*arg2); | |
16147 | wxPyEndAllowThreads(__tstate); | |
16148 | if (PyErr_Occurred()) SWIG_fail; | |
16149 | } | |
16150 | { | |
16151 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16152 | } | |
16153 | { | |
16154 | if (temp2) | |
16155 | delete arg2; | |
16156 | } | |
16157 | return resultobj; | |
16158 | fail: | |
16159 | { | |
16160 | if (temp2) | |
16161 | delete arg2; | |
16162 | } | |
16163 | return NULL; | |
b0f7404b RD |
16164 | } |
16165 | ||
16166 | ||
0085ce49 RD |
16167 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) { |
16168 | int argc; | |
16169 | PyObject *argv[4]; | |
16170 | ||
16171 | if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_Initialize",0,3,argv))) SWIG_fail; | |
16172 | --argc; | |
16173 | if (argc == 2) { | |
16174 | return _wrap_HelpControllerBase_Initialize__SWIG_1(self, argc, argv); | |
16175 | } | |
16176 | if (argc == 3) { | |
16177 | return _wrap_HelpControllerBase_Initialize__SWIG_0(self, argc, argv); | |
16178 | } | |
16179 | ||
16180 | fail: | |
16181 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'"); | |
16182 | return NULL; | |
16183 | } | |
16184 | ||
16185 | ||
16186 | SWIGINTERN PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16187 | PyObject *resultobj = 0; | |
16188 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16189 | wxString *arg2 = 0 ; | |
16190 | long arg3 = (long) 0 ; | |
16191 | void *argp1 = 0 ; | |
16192 | int res1 = 0 ; | |
16193 | bool temp2 = false ; | |
16194 | long val3 ; | |
16195 | int ecode3 = 0 ; | |
16196 | PyObject * obj0 = 0 ; | |
16197 | PyObject * obj1 = 0 ; | |
16198 | PyObject * obj2 = 0 ; | |
16199 | char * kwnames[] = { | |
16200 | (char *) "self",(char *) "viewer",(char *) "flags", NULL | |
16201 | }; | |
16202 | ||
16203 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
16204 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16205 | if (!SWIG_IsOK(res1)) { | |
16206 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16207 | } | |
16208 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16209 | { | |
16210 | arg2 = wxString_in_helper(obj1); | |
16211 | if (arg2 == NULL) SWIG_fail; | |
16212 | temp2 = true; | |
16213 | } | |
16214 | if (obj2) { | |
16215 | ecode3 = SWIG_AsVal_long(obj2, &val3); | |
16216 | if (!SWIG_IsOK(ecode3)) { | |
16217 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'"); | |
16218 | } | |
16219 | arg3 = static_cast< long >(val3); | |
16220 | } | |
16221 | { | |
16222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16223 | (arg1)->SetViewer((wxString const &)*arg2,arg3); | |
16224 | wxPyEndAllowThreads(__tstate); | |
16225 | if (PyErr_Occurred()) SWIG_fail; | |
16226 | } | |
16227 | resultobj = SWIG_Py_Void(); | |
16228 | { | |
16229 | if (temp2) | |
16230 | delete arg2; | |
16231 | } | |
16232 | return resultobj; | |
16233 | fail: | |
16234 | { | |
16235 | if (temp2) | |
16236 | delete arg2; | |
16237 | } | |
16238 | return NULL; | |
16239 | } | |
16240 | ||
16241 | ||
16242 | SWIGINTERN PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16243 | PyObject *resultobj = 0; | |
16244 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16245 | wxString const &arg2_defvalue = wxEmptyString ; | |
16246 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
16247 | bool result; | |
16248 | void *argp1 = 0 ; | |
16249 | int res1 = 0 ; | |
16250 | bool temp2 = false ; | |
16251 | PyObject * obj0 = 0 ; | |
16252 | PyObject * obj1 = 0 ; | |
16253 | char * kwnames[] = { | |
16254 | (char *) "self",(char *) "file", NULL | |
16255 | }; | |
16256 | ||
16257 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
16258 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16259 | if (!SWIG_IsOK(res1)) { | |
16260 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16261 | } | |
16262 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16263 | if (obj1) { | |
d14a1e28 | 16264 | { |
0085ce49 RD |
16265 | arg2 = wxString_in_helper(obj1); |
16266 | if (arg2 == NULL) SWIG_fail; | |
16267 | temp2 = true; | |
d14a1e28 | 16268 | } |
0085ce49 RD |
16269 | } |
16270 | { | |
16271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16272 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
16273 | wxPyEndAllowThreads(__tstate); | |
16274 | if (PyErr_Occurred()) SWIG_fail; | |
16275 | } | |
16276 | { | |
16277 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16278 | } | |
16279 | { | |
16280 | if (temp2) | |
16281 | delete arg2; | |
16282 | } | |
16283 | return resultobj; | |
16284 | fail: | |
16285 | { | |
16286 | if (temp2) | |
16287 | delete arg2; | |
16288 | } | |
16289 | return NULL; | |
d14a1e28 RD |
16290 | } |
16291 | ||
16292 | ||
0085ce49 RD |
16293 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16294 | PyObject *resultobj = 0; | |
16295 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16296 | bool result; | |
16297 | void *argp1 = 0 ; | |
16298 | int res1 = 0 ; | |
16299 | PyObject *swig_obj[1] ; | |
16300 | ||
16301 | if (!args) SWIG_fail; | |
16302 | swig_obj[0] = args; | |
16303 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16304 | if (!SWIG_IsOK(res1)) { | |
16305 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16306 | } | |
16307 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16308 | { | |
16309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16310 | result = (bool)(arg1)->DisplayContents(); | |
16311 | wxPyEndAllowThreads(__tstate); | |
16312 | if (PyErr_Occurred()) SWIG_fail; | |
16313 | } | |
16314 | { | |
16315 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16316 | } | |
16317 | return resultobj; | |
16318 | fail: | |
16319 | return NULL; | |
d14a1e28 RD |
16320 | } |
16321 | ||
16322 | ||
0085ce49 RD |
16323 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
16324 | PyObject *resultobj = 0; | |
16325 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16326 | int arg2 ; | |
16327 | bool result; | |
16328 | void *argp1 = 0 ; | |
16329 | int res1 = 0 ; | |
16330 | int val2 ; | |
16331 | int ecode2 = 0 ; | |
16332 | ||
16333 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
16334 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16335 | if (!SWIG_IsOK(res1)) { | |
16336 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16337 | } | |
16338 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16339 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
16340 | if (!SWIG_IsOK(ecode2)) { | |
16341 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'"); | |
16342 | } | |
16343 | arg2 = static_cast< int >(val2); | |
16344 | { | |
16345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16346 | result = (bool)(arg1)->DisplaySection(arg2); | |
16347 | wxPyEndAllowThreads(__tstate); | |
16348 | if (PyErr_Occurred()) SWIG_fail; | |
16349 | } | |
16350 | { | |
16351 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16352 | } | |
16353 | return resultobj; | |
16354 | fail: | |
16355 | return NULL; | |
16356 | } | |
16357 | ||
16358 | ||
16359 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16360 | PyObject *resultobj = 0; | |
16361 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16362 | int arg2 ; | |
16363 | bool result; | |
16364 | void *argp1 = 0 ; | |
16365 | int res1 = 0 ; | |
16366 | int val2 ; | |
16367 | int ecode2 = 0 ; | |
16368 | PyObject * obj0 = 0 ; | |
16369 | PyObject * obj1 = 0 ; | |
16370 | char * kwnames[] = { | |
16371 | (char *) "self",(char *) "contextId", NULL | |
16372 | }; | |
16373 | ||
16374 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) SWIG_fail; | |
16375 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16376 | if (!SWIG_IsOK(res1)) { | |
16377 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16378 | } | |
16379 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16380 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
16381 | if (!SWIG_IsOK(ecode2)) { | |
16382 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'"); | |
16383 | } | |
16384 | arg2 = static_cast< int >(val2); | |
16385 | { | |
16386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16387 | result = (bool)(arg1)->DisplayContextPopup(arg2); | |
16388 | wxPyEndAllowThreads(__tstate); | |
16389 | if (PyErr_Occurred()) SWIG_fail; | |
16390 | } | |
16391 | { | |
16392 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16393 | } | |
16394 | return resultobj; | |
16395 | fail: | |
16396 | return NULL; | |
16397 | } | |
16398 | ||
16399 | ||
16400 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16401 | PyObject *resultobj = 0; | |
16402 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16403 | wxString *arg2 = 0 ; | |
16404 | wxPoint *arg3 = 0 ; | |
16405 | bool result; | |
16406 | void *argp1 = 0 ; | |
16407 | int res1 = 0 ; | |
16408 | bool temp2 = false ; | |
16409 | wxPoint temp3 ; | |
16410 | PyObject * obj0 = 0 ; | |
16411 | PyObject * obj1 = 0 ; | |
16412 | PyObject * obj2 = 0 ; | |
16413 | char * kwnames[] = { | |
16414 | (char *) "self",(char *) "text",(char *) "pos", NULL | |
16415 | }; | |
16416 | ||
16417 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
16418 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16419 | if (!SWIG_IsOK(res1)) { | |
16420 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16421 | } | |
16422 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16423 | { | |
16424 | arg2 = wxString_in_helper(obj1); | |
16425 | if (arg2 == NULL) SWIG_fail; | |
16426 | temp2 = true; | |
16427 | } | |
16428 | { | |
16429 | arg3 = &temp3; | |
16430 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
16431 | } | |
16432 | { | |
16433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16434 | result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3); | |
16435 | wxPyEndAllowThreads(__tstate); | |
16436 | if (PyErr_Occurred()) SWIG_fail; | |
16437 | } | |
16438 | { | |
16439 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16440 | } | |
16441 | { | |
16442 | if (temp2) | |
16443 | delete arg2; | |
16444 | } | |
16445 | return resultobj; | |
16446 | fail: | |
16447 | { | |
16448 | if (temp2) | |
16449 | delete arg2; | |
16450 | } | |
16451 | return NULL; | |
d14a1e28 RD |
16452 | } |
16453 | ||
16454 | ||
0085ce49 RD |
16455 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
16456 | PyObject *resultobj = 0; | |
16457 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16458 | wxString *arg2 = 0 ; | |
16459 | bool result; | |
16460 | void *argp1 = 0 ; | |
16461 | int res1 = 0 ; | |
16462 | bool temp2 = false ; | |
16463 | ||
16464 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
16465 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16466 | if (!SWIG_IsOK(res1)) { | |
16467 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16468 | } | |
16469 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16470 | { | |
16471 | arg2 = wxString_in_helper(swig_obj[1]); | |
16472 | if (arg2 == NULL) SWIG_fail; | |
16473 | temp2 = true; | |
16474 | } | |
16475 | { | |
16476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16477 | result = (bool)(arg1)->DisplaySection((wxString const &)*arg2); | |
16478 | wxPyEndAllowThreads(__tstate); | |
16479 | if (PyErr_Occurred()) SWIG_fail; | |
16480 | } | |
16481 | { | |
16482 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16483 | } | |
16484 | { | |
16485 | if (temp2) | |
16486 | delete arg2; | |
16487 | } | |
16488 | return resultobj; | |
16489 | fail: | |
16490 | { | |
16491 | if (temp2) | |
16492 | delete arg2; | |
16493 | } | |
16494 | return NULL; | |
d14a1e28 RD |
16495 | } |
16496 | ||
16497 | ||
0085ce49 RD |
16498 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) { |
16499 | int argc; | |
16500 | PyObject *argv[3]; | |
16501 | ||
16502 | if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_DisplaySection",0,2,argv))) SWIG_fail; | |
16503 | --argc; | |
16504 | if (argc == 2) { | |
16505 | int _v = 0; | |
22bfe96c | 16506 | { |
0085ce49 RD |
16507 | { |
16508 | _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]); | |
16509 | } | |
22bfe96c | 16510 | } |
0085ce49 RD |
16511 | if (!_v) goto check_1; |
16512 | return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self, argc, argv); | |
16513 | } | |
16514 | check_1: | |
16515 | ||
16516 | if (argc == 2) { | |
16517 | return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self, argc, argv); | |
16518 | } | |
16519 | ||
16520 | fail: | |
16521 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'"); | |
16522 | return NULL; | |
16523 | } | |
16524 | ||
16525 | ||
16526 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16527 | PyObject *resultobj = 0; | |
16528 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16529 | long arg2 ; | |
16530 | bool result; | |
16531 | void *argp1 = 0 ; | |
16532 | int res1 = 0 ; | |
16533 | long val2 ; | |
16534 | int ecode2 = 0 ; | |
16535 | PyObject * obj0 = 0 ; | |
16536 | PyObject * obj1 = 0 ; | |
16537 | char * kwnames[] = { | |
16538 | (char *) "self",(char *) "blockNo", NULL | |
16539 | }; | |
16540 | ||
16541 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) SWIG_fail; | |
16542 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16543 | if (!SWIG_IsOK(res1)) { | |
16544 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16545 | } | |
16546 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16547 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
16548 | if (!SWIG_IsOK(ecode2)) { | |
16549 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'"); | |
16550 | } | |
16551 | arg2 = static_cast< long >(val2); | |
16552 | { | |
16553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16554 | result = (bool)(arg1)->DisplayBlock(arg2); | |
16555 | wxPyEndAllowThreads(__tstate); | |
16556 | if (PyErr_Occurred()) SWIG_fail; | |
16557 | } | |
16558 | { | |
16559 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16560 | } | |
16561 | return resultobj; | |
16562 | fail: | |
16563 | return NULL; | |
16564 | } | |
16565 | ||
16566 | ||
16567 | SWIGINTERN PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16568 | PyObject *resultobj = 0; | |
16569 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16570 | wxString *arg2 = 0 ; | |
16571 | wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ; | |
16572 | bool result; | |
16573 | void *argp1 = 0 ; | |
16574 | int res1 = 0 ; | |
16575 | bool temp2 = false ; | |
16576 | void *argp3 ; | |
16577 | int res3 = 0 ; | |
16578 | PyObject * obj0 = 0 ; | |
16579 | PyObject * obj1 = 0 ; | |
16580 | PyObject * obj2 = 0 ; | |
16581 | char * kwnames[] = { | |
16582 | (char *) "self",(char *) "k",(char *) "mode", NULL | |
16583 | }; | |
16584 | ||
16585 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
16586 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16587 | if (!SWIG_IsOK(res1)) { | |
16588 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16589 | } | |
16590 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16591 | { | |
16592 | arg2 = wxString_in_helper(obj1); | |
16593 | if (arg2 == NULL) SWIG_fail; | |
16594 | temp2 = true; | |
16595 | } | |
16596 | if (obj2) { | |
16597 | { | |
16598 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0); | |
16599 | if (!SWIG_IsOK(res3)) { | |
16600 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
16601 | } | |
16602 | if (!argp3) { | |
16603 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
16604 | } else { | |
16605 | wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3); | |
16606 | arg3 = *temp; | |
16607 | if (SWIG_IsNewObj(res3)) delete temp; | |
16608 | } | |
22bfe96c | 16609 | } |
0085ce49 RD |
16610 | } |
16611 | { | |
16612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16613 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3); | |
16614 | wxPyEndAllowThreads(__tstate); | |
16615 | if (PyErr_Occurred()) SWIG_fail; | |
16616 | } | |
16617 | { | |
16618 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16619 | } | |
16620 | { | |
16621 | if (temp2) | |
16622 | delete arg2; | |
16623 | } | |
16624 | return resultobj; | |
16625 | fail: | |
16626 | { | |
16627 | if (temp2) | |
16628 | delete arg2; | |
16629 | } | |
16630 | return NULL; | |
16631 | } | |
16632 | ||
16633 | ||
16634 | SWIGINTERN PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16635 | PyObject *resultobj = 0; | |
16636 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16637 | wxString *arg2 = 0 ; | |
16638 | wxSize *arg3 = 0 ; | |
16639 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
16640 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
16641 | bool arg5 = (bool) false ; | |
16642 | void *argp1 = 0 ; | |
16643 | int res1 = 0 ; | |
16644 | bool temp2 = false ; | |
16645 | wxSize temp3 ; | |
16646 | wxPoint temp4 ; | |
16647 | bool val5 ; | |
16648 | int ecode5 = 0 ; | |
16649 | PyObject * obj0 = 0 ; | |
16650 | PyObject * obj1 = 0 ; | |
16651 | PyObject * obj2 = 0 ; | |
16652 | PyObject * obj3 = 0 ; | |
16653 | PyObject * obj4 = 0 ; | |
16654 | char * kwnames[] = { | |
16655 | (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL | |
16656 | }; | |
16657 | ||
16658 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
16659 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16660 | if (!SWIG_IsOK(res1)) { | |
16661 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16662 | } | |
16663 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16664 | { | |
16665 | arg2 = wxString_in_helper(obj1); | |
16666 | if (arg2 == NULL) SWIG_fail; | |
16667 | temp2 = true; | |
16668 | } | |
16669 | { | |
16670 | arg3 = &temp3; | |
16671 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
16672 | } | |
16673 | if (obj3) { | |
d14a1e28 | 16674 | { |
0085ce49 RD |
16675 | arg4 = &temp4; |
16676 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 16677 | } |
0085ce49 RD |
16678 | } |
16679 | if (obj4) { | |
16680 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
16681 | if (!SWIG_IsOK(ecode5)) { | |
16682 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'"); | |
16683 | } | |
16684 | arg5 = static_cast< bool >(val5); | |
16685 | } | |
16686 | { | |
16687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16688 | (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5); | |
16689 | wxPyEndAllowThreads(__tstate); | |
16690 | if (PyErr_Occurred()) SWIG_fail; | |
16691 | } | |
16692 | resultobj = SWIG_Py_Void(); | |
16693 | { | |
16694 | if (temp2) | |
16695 | delete arg2; | |
16696 | } | |
16697 | return resultobj; | |
16698 | fail: | |
16699 | { | |
16700 | if (temp2) | |
16701 | delete arg2; | |
16702 | } | |
16703 | return NULL; | |
16704 | } | |
16705 | ||
16706 | ||
16707 | SWIGINTERN PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16708 | PyObject *resultobj = 0; | |
16709 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16710 | wxSize *arg2 = (wxSize *) NULL ; | |
16711 | wxPoint *arg3 = (wxPoint *) NULL ; | |
16712 | bool *arg4 = (bool *) NULL ; | |
16713 | wxFrame *result = 0 ; | |
16714 | void *argp1 = 0 ; | |
16715 | int res1 = 0 ; | |
16716 | void *argp2 = 0 ; | |
16717 | int res2 = 0 ; | |
16718 | void *argp3 = 0 ; | |
16719 | int res3 = 0 ; | |
16720 | void *argp4 = 0 ; | |
16721 | int res4 = 0 ; | |
16722 | PyObject * obj0 = 0 ; | |
16723 | PyObject * obj1 = 0 ; | |
16724 | PyObject * obj2 = 0 ; | |
16725 | PyObject * obj3 = 0 ; | |
16726 | char * kwnames[] = { | |
16727 | (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL | |
16728 | }; | |
16729 | ||
16730 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
16731 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16732 | if (!SWIG_IsOK(res1)) { | |
16733 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16734 | } | |
16735 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16736 | if (obj1) { | |
16737 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); | |
16738 | if (!SWIG_IsOK(res2)) { | |
16739 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'"); | |
d14a1e28 | 16740 | } |
0085ce49 RD |
16741 | arg2 = reinterpret_cast< wxSize * >(argp2); |
16742 | } | |
16743 | if (obj2) { | |
16744 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPoint, 0 | 0 ); | |
16745 | if (!SWIG_IsOK(res3)) { | |
16746 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'"); | |
093d3ff1 | 16747 | } |
0085ce49 RD |
16748 | arg3 = reinterpret_cast< wxPoint * >(argp3); |
16749 | } | |
16750 | if (obj3) { | |
16751 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_bool, 0 | 0 ); | |
16752 | if (!SWIG_IsOK(res4)) { | |
16753 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'"); | |
d14a1e28 | 16754 | } |
0085ce49 RD |
16755 | arg4 = reinterpret_cast< bool * >(argp4); |
16756 | } | |
16757 | { | |
16758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16759 | result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4); | |
16760 | wxPyEndAllowThreads(__tstate); | |
16761 | if (PyErr_Occurred()) SWIG_fail; | |
16762 | } | |
16763 | { | |
16764 | resultobj = wxPyMake_wxObject(result, 0); | |
16765 | } | |
16766 | return resultobj; | |
16767 | fail: | |
16768 | return NULL; | |
d14a1e28 RD |
16769 | } |
16770 | ||
16771 | ||
0085ce49 RD |
16772 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Quit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16773 | PyObject *resultobj = 0; | |
16774 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16775 | bool result; | |
16776 | void *argp1 = 0 ; | |
16777 | int res1 = 0 ; | |
16778 | PyObject *swig_obj[1] ; | |
16779 | ||
16780 | if (!args) SWIG_fail; | |
16781 | swig_obj[0] = args; | |
16782 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16783 | if (!SWIG_IsOK(res1)) { | |
16784 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16785 | } | |
16786 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16787 | { | |
16788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16789 | result = (bool)(arg1)->Quit(); | |
16790 | wxPyEndAllowThreads(__tstate); | |
16791 | if (PyErr_Occurred()) SWIG_fail; | |
16792 | } | |
16793 | { | |
16794 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16795 | } | |
16796 | return resultobj; | |
16797 | fail: | |
16798 | return NULL; | |
d14a1e28 RD |
16799 | } |
16800 | ||
16801 | ||
0085ce49 RD |
16802 | SWIGINTERN PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16803 | PyObject *resultobj = 0; | |
16804 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16805 | void *argp1 = 0 ; | |
16806 | int res1 = 0 ; | |
16807 | PyObject *swig_obj[1] ; | |
16808 | ||
16809 | if (!args) SWIG_fail; | |
16810 | swig_obj[0] = args; | |
16811 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16812 | if (!SWIG_IsOK(res1)) { | |
16813 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16814 | } | |
16815 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16816 | { | |
16817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16818 | (arg1)->OnQuit(); | |
16819 | wxPyEndAllowThreads(__tstate); | |
16820 | if (PyErr_Occurred()) SWIG_fail; | |
16821 | } | |
16822 | resultobj = SWIG_Py_Void(); | |
16823 | return resultobj; | |
16824 | fail: | |
16825 | return NULL; | |
16826 | } | |
16827 | ||
16828 | ||
16829 | SWIGINTERN PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16830 | PyObject *resultobj = 0; | |
16831 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16832 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16833 | void *argp1 = 0 ; | |
16834 | int res1 = 0 ; | |
16835 | void *argp2 = 0 ; | |
16836 | int res2 = 0 ; | |
16837 | PyObject * obj0 = 0 ; | |
16838 | PyObject * obj1 = 0 ; | |
16839 | char * kwnames[] = { | |
16840 | (char *) "self",(char *) "win", NULL | |
16841 | }; | |
16842 | ||
16843 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
16844 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16845 | if (!SWIG_IsOK(res1)) { | |
16846 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16847 | } | |
16848 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16849 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
16850 | if (!SWIG_IsOK(res2)) { | |
16851 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
16852 | } | |
16853 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
16854 | { | |
16855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16856 | (arg1)->SetParentWindow(arg2); | |
16857 | wxPyEndAllowThreads(__tstate); | |
16858 | if (PyErr_Occurred()) SWIG_fail; | |
16859 | } | |
16860 | resultobj = SWIG_Py_Void(); | |
16861 | return resultobj; | |
16862 | fail: | |
16863 | return NULL; | |
d14a1e28 RD |
16864 | } |
16865 | ||
16866 | ||
0085ce49 RD |
16867 | SWIGINTERN PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16868 | PyObject *resultobj = 0; | |
16869 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16870 | wxWindow *result = 0 ; | |
16871 | void *argp1 = 0 ; | |
16872 | int res1 = 0 ; | |
16873 | PyObject *swig_obj[1] ; | |
16874 | ||
16875 | if (!args) SWIG_fail; | |
16876 | swig_obj[0] = args; | |
16877 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16878 | if (!SWIG_IsOK(res1)) { | |
16879 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'"); | |
16880 | } | |
16881 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16882 | { | |
16883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16884 | result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow(); | |
16885 | wxPyEndAllowThreads(__tstate); | |
16886 | if (PyErr_Occurred()) SWIG_fail; | |
16887 | } | |
16888 | { | |
16889 | resultobj = wxPyMake_wxObject(result, 0); | |
16890 | } | |
16891 | return resultobj; | |
16892 | fail: | |
16893 | return NULL; | |
16894 | } | |
16895 | ||
16896 | ||
16897 | SWIGINTERN PyObject *HelpControllerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16898 | PyObject *obj; | |
16899 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
16900 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase, SWIG_NewClientData(obj)); | |
16901 | return SWIG_Py_Void(); | |
16902 | } | |
16903 | ||
16904 | SWIGINTERN PyObject *_wrap_new_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16905 | PyObject *resultobj = 0; | |
16906 | int arg1 = (int) wxHF_DEFAULT_STYLE ; | |
16907 | wxWindow *arg2 = (wxWindow *) NULL ; | |
16908 | wxHtmlHelpController *result = 0 ; | |
16909 | int val1 ; | |
16910 | int ecode1 = 0 ; | |
16911 | void *argp2 = 0 ; | |
16912 | int res2 = 0 ; | |
16913 | PyObject * obj0 = 0 ; | |
16914 | PyObject * obj1 = 0 ; | |
16915 | char * kwnames[] = { | |
16916 | (char *) "style",(char *) "parentWindow", NULL | |
16917 | }; | |
16918 | ||
16919 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) SWIG_fail; | |
16920 | if (obj0) { | |
16921 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
16922 | if (!SWIG_IsOK(ecode1)) { | |
16923 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'"); | |
16924 | } | |
16925 | arg1 = static_cast< int >(val1); | |
16926 | } | |
16927 | if (obj1) { | |
16928 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
16929 | if (!SWIG_IsOK(res2)) { | |
16930 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
d14a1e28 | 16931 | } |
0085ce49 RD |
16932 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
16933 | } | |
16934 | { | |
16935 | if (!wxPyCheckForApp()) SWIG_fail; | |
16936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16937 | result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2); | |
16938 | wxPyEndAllowThreads(__tstate); | |
16939 | if (PyErr_Occurred()) SWIG_fail; | |
16940 | } | |
16941 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_NEW | 0 ); | |
16942 | return resultobj; | |
16943 | fail: | |
16944 | return NULL; | |
d14a1e28 RD |
16945 | } |
16946 | ||
16947 | ||
0085ce49 RD |
16948 | SWIGINTERN PyObject *_wrap_delete_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16949 | PyObject *resultobj = 0; | |
16950 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16951 | void *argp1 = 0 ; | |
16952 | int res1 = 0 ; | |
16953 | PyObject *swig_obj[1] ; | |
16954 | ||
16955 | if (!args) SWIG_fail; | |
16956 | swig_obj[0] = args; | |
16957 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
16958 | if (!SWIG_IsOK(res1)) { | |
16959 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16960 | } | |
16961 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16962 | { | |
16963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16964 | delete arg1; | |
30ee79f7 | 16965 | |
0085ce49 RD |
16966 | wxPyEndAllowThreads(__tstate); |
16967 | if (PyErr_Occurred()) SWIG_fail; | |
16968 | } | |
16969 | resultobj = SWIG_Py_Void(); | |
16970 | return resultobj; | |
16971 | fail: | |
16972 | return NULL; | |
30ee79f7 RD |
16973 | } |
16974 | ||
16975 | ||
0085ce49 RD |
16976 | SWIGINTERN PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16977 | PyObject *resultobj = 0; | |
16978 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16979 | wxHtmlHelpWindow *result = 0 ; | |
16980 | void *argp1 = 0 ; | |
16981 | int res1 = 0 ; | |
16982 | PyObject *swig_obj[1] ; | |
16983 | ||
16984 | if (!args) SWIG_fail; | |
16985 | swig_obj[0] = args; | |
16986 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16987 | if (!SWIG_IsOK(res1)) { | |
16988 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16989 | } | |
16990 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16991 | { | |
16992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16993 | result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow(); | |
16994 | wxPyEndAllowThreads(__tstate); | |
16995 | if (PyErr_Occurred()) SWIG_fail; | |
16996 | } | |
16997 | { | |
16998 | resultobj = wxPyMake_wxObject(result, 0); | |
16999 | } | |
17000 | return resultobj; | |
17001 | fail: | |
17002 | return NULL; | |
17003 | } | |
17004 | ||
17005 | ||
17006 | SWIGINTERN PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17007 | PyObject *resultobj = 0; | |
17008 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17009 | wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ; | |
17010 | void *argp1 = 0 ; | |
17011 | int res1 = 0 ; | |
17012 | void *argp2 = 0 ; | |
17013 | int res2 = 0 ; | |
17014 | PyObject * obj0 = 0 ; | |
17015 | PyObject * obj1 = 0 ; | |
17016 | char * kwnames[] = { | |
17017 | (char *) "self",(char *) "helpWindow", NULL | |
17018 | }; | |
17019 | ||
17020 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
17021 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17022 | if (!SWIG_IsOK(res1)) { | |
17023 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17024 | } | |
17025 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17026 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
17027 | if (!SWIG_IsOK(res2)) { | |
17028 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'"); | |
17029 | } | |
17030 | arg2 = reinterpret_cast< wxHtmlHelpWindow * >(argp2); | |
17031 | { | |
17032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17033 | (arg1)->SetHelpWindow(arg2); | |
17034 | wxPyEndAllowThreads(__tstate); | |
17035 | if (PyErr_Occurred()) SWIG_fail; | |
17036 | } | |
17037 | resultobj = SWIG_Py_Void(); | |
17038 | return resultobj; | |
17039 | fail: | |
17040 | return NULL; | |
d14a1e28 RD |
17041 | } |
17042 | ||
17043 | ||
0085ce49 RD |
17044 | SWIGINTERN PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17045 | PyObject *resultobj = 0; | |
17046 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17047 | wxHtmlHelpFrame *result = 0 ; | |
17048 | void *argp1 = 0 ; | |
17049 | int res1 = 0 ; | |
17050 | PyObject *swig_obj[1] ; | |
17051 | ||
17052 | if (!args) SWIG_fail; | |
17053 | swig_obj[0] = args; | |
17054 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17055 | if (!SWIG_IsOK(res1)) { | |
17056 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17057 | } | |
17058 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17059 | { | |
17060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17061 | result = (wxHtmlHelpFrame *)(arg1)->GetFrame(); | |
17062 | wxPyEndAllowThreads(__tstate); | |
17063 | if (PyErr_Occurred()) SWIG_fail; | |
17064 | } | |
17065 | { | |
17066 | resultobj = wxPyMake_wxObject(result, 0); | |
17067 | } | |
17068 | return resultobj; | |
17069 | fail: | |
17070 | return NULL; | |
d14a1e28 RD |
17071 | } |
17072 | ||
17073 | ||
0085ce49 RD |
17074 | SWIGINTERN PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17075 | PyObject *resultobj = 0; | |
17076 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17077 | wxHtmlHelpDialog *result = 0 ; | |
17078 | void *argp1 = 0 ; | |
17079 | int res1 = 0 ; | |
17080 | PyObject *swig_obj[1] ; | |
17081 | ||
17082 | if (!args) SWIG_fail; | |
17083 | swig_obj[0] = args; | |
17084 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17085 | if (!SWIG_IsOK(res1)) { | |
17086 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17087 | } | |
17088 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17089 | { | |
17090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17091 | result = (wxHtmlHelpDialog *)(arg1)->GetDialog(); | |
17092 | wxPyEndAllowThreads(__tstate); | |
17093 | if (PyErr_Occurred()) SWIG_fail; | |
17094 | } | |
17095 | { | |
17096 | resultobj = wxPyMake_wxObject(result, 0); | |
17097 | } | |
17098 | return resultobj; | |
17099 | fail: | |
17100 | return NULL; | |
17101 | } | |
17102 | ||
17103 | ||
17104 | SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17105 | PyObject *resultobj = 0; | |
17106 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17107 | wxString *arg2 = 0 ; | |
17108 | void *argp1 = 0 ; | |
17109 | int res1 = 0 ; | |
17110 | bool temp2 = false ; | |
17111 | PyObject * obj0 = 0 ; | |
17112 | PyObject * obj1 = 0 ; | |
17113 | char * kwnames[] = { | |
17114 | (char *) "self",(char *) "format", NULL | |
17115 | }; | |
17116 | ||
17117 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail; | |
17118 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17119 | if (!SWIG_IsOK(res1)) { | |
17120 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17121 | } | |
17122 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17123 | { | |
17124 | arg2 = wxString_in_helper(obj1); | |
17125 | if (arg2 == NULL) SWIG_fail; | |
17126 | temp2 = true; | |
17127 | } | |
17128 | { | |
17129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17130 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
17131 | wxPyEndAllowThreads(__tstate); | |
17132 | if (PyErr_Occurred()) SWIG_fail; | |
17133 | } | |
17134 | resultobj = SWIG_Py_Void(); | |
17135 | { | |
17136 | if (temp2) | |
17137 | delete arg2; | |
17138 | } | |
17139 | return resultobj; | |
17140 | fail: | |
17141 | { | |
17142 | if (temp2) | |
17143 | delete arg2; | |
17144 | } | |
17145 | return NULL; | |
d14a1e28 RD |
17146 | } |
17147 | ||
17148 | ||
0085ce49 RD |
17149 | SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
17150 | PyObject *resultobj = 0; | |
17151 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17152 | wxString *arg2 = 0 ; | |
17153 | void *argp1 = 0 ; | |
17154 | int res1 = 0 ; | |
17155 | bool temp2 = false ; | |
17156 | PyObject * obj0 = 0 ; | |
17157 | PyObject * obj1 = 0 ; | |
17158 | char * kwnames[] = { | |
17159 | (char *) "self",(char *) "path", NULL | |
17160 | }; | |
17161 | ||
17162 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail; | |
17163 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17164 | if (!SWIG_IsOK(res1)) { | |
17165 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17166 | } | |
17167 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17168 | { | |
17169 | arg2 = wxString_in_helper(obj1); | |
17170 | if (arg2 == NULL) SWIG_fail; | |
17171 | temp2 = true; | |
17172 | } | |
17173 | { | |
17174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17175 | (arg1)->SetTempDir((wxString const &)*arg2); | |
17176 | wxPyEndAllowThreads(__tstate); | |
17177 | if (PyErr_Occurred()) SWIG_fail; | |
17178 | } | |
17179 | resultobj = SWIG_Py_Void(); | |
17180 | { | |
17181 | if (temp2) | |
17182 | delete arg2; | |
17183 | } | |
17184 | return resultobj; | |
17185 | fail: | |
17186 | { | |
17187 | if (temp2) | |
17188 | delete arg2; | |
17189 | } | |
17190 | return NULL; | |
17191 | } | |
17192 | ||
17193 | ||
17194 | SWIGINTERN PyObject *_wrap_HtmlHelpController_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17195 | PyObject *resultobj = 0; | |
17196 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17197 | wxString *arg2 = 0 ; | |
17198 | int arg3 = (int) false ; | |
17199 | bool result; | |
17200 | void *argp1 = 0 ; | |
17201 | int res1 = 0 ; | |
17202 | bool temp2 = false ; | |
17203 | int val3 ; | |
17204 | int ecode3 = 0 ; | |
17205 | PyObject * obj0 = 0 ; | |
17206 | PyObject * obj1 = 0 ; | |
17207 | PyObject * obj2 = 0 ; | |
17208 | char * kwnames[] = { | |
17209 | (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL | |
17210 | }; | |
17211 | ||
17212 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17213 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17214 | if (!SWIG_IsOK(res1)) { | |
17215 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17216 | } | |
17217 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17218 | { | |
17219 | arg2 = wxString_in_helper(obj1); | |
17220 | if (arg2 == NULL) SWIG_fail; | |
17221 | temp2 = true; | |
17222 | } | |
17223 | if (obj2) { | |
17224 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
17225 | if (!SWIG_IsOK(ecode3)) { | |
17226 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'"); | |
17227 | } | |
17228 | arg3 = static_cast< int >(val3); | |
17229 | } | |
17230 | { | |
17231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17232 | result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3); | |
17233 | wxPyEndAllowThreads(__tstate); | |
17234 | if (PyErr_Occurred()) SWIG_fail; | |
17235 | } | |
17236 | { | |
17237 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17238 | } | |
17239 | { | |
17240 | if (temp2) | |
17241 | delete arg2; | |
17242 | } | |
17243 | return resultobj; | |
17244 | fail: | |
17245 | { | |
17246 | if (temp2) | |
17247 | delete arg2; | |
17248 | } | |
17249 | return NULL; | |
d14a1e28 RD |
17250 | } |
17251 | ||
17252 | ||
0085ce49 RD |
17253 | SWIGINTERN PyObject *_wrap_HtmlHelpController_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
17254 | PyObject *resultobj = 0; | |
17255 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17256 | wxString *arg2 = 0 ; | |
17257 | void *argp1 = 0 ; | |
17258 | int res1 = 0 ; | |
17259 | bool temp2 = false ; | |
17260 | PyObject * obj0 = 0 ; | |
17261 | PyObject * obj1 = 0 ; | |
17262 | char * kwnames[] = { | |
17263 | (char *) "self",(char *) "x", NULL | |
17264 | }; | |
17265 | ||
17266 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) SWIG_fail; | |
17267 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17268 | if (!SWIG_IsOK(res1)) { | |
17269 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17270 | } | |
17271 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17272 | { | |
17273 | arg2 = wxString_in_helper(obj1); | |
17274 | if (arg2 == NULL) SWIG_fail; | |
17275 | temp2 = true; | |
17276 | } | |
17277 | { | |
17278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17279 | (arg1)->Display((wxString const &)*arg2); | |
17280 | wxPyEndAllowThreads(__tstate); | |
17281 | if (PyErr_Occurred()) SWIG_fail; | |
17282 | } | |
17283 | resultobj = SWIG_Py_Void(); | |
17284 | { | |
17285 | if (temp2) | |
17286 | delete arg2; | |
17287 | } | |
17288 | return resultobj; | |
17289 | fail: | |
17290 | { | |
17291 | if (temp2) | |
17292 | delete arg2; | |
17293 | } | |
17294 | return NULL; | |
17295 | } | |
17296 | ||
17297 | ||
17298 | SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17299 | PyObject *resultobj = 0; | |
17300 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17301 | int arg2 ; | |
17302 | void *argp1 = 0 ; | |
17303 | int res1 = 0 ; | |
17304 | int val2 ; | |
17305 | int ecode2 = 0 ; | |
17306 | PyObject * obj0 = 0 ; | |
17307 | PyObject * obj1 = 0 ; | |
17308 | char * kwnames[] = { | |
17309 | (char *) "self",(char *) "id", NULL | |
17310 | }; | |
17311 | ||
17312 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail; | |
17313 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17314 | if (!SWIG_IsOK(res1)) { | |
17315 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17316 | } | |
17317 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17318 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
17319 | if (!SWIG_IsOK(ecode2)) { | |
17320 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'"); | |
17321 | } | |
17322 | arg2 = static_cast< int >(val2); | |
17323 | { | |
17324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17325 | (arg1)->Display(arg2); | |
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 | ||
0085ce49 RD |
17336 | SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayContents(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_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17348 | } | |
17349 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17350 | { | |
17351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17352 | (arg1)->DisplayContents(); | |
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 | ||
0085ce49 RD |
17363 | SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17364 | PyObject *resultobj = 0; | |
17365 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17366 | void *argp1 = 0 ; | |
17367 | int res1 = 0 ; | |
17368 | PyObject *swig_obj[1] ; | |
17369 | ||
17370 | if (!args) SWIG_fail; | |
17371 | swig_obj[0] = args; | |
17372 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17373 | if (!SWIG_IsOK(res1)) { | |
17374 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17375 | } | |
17376 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17377 | { | |
17378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17379 | (arg1)->DisplayIndex(); | |
17380 | wxPyEndAllowThreads(__tstate); | |
17381 | if (PyErr_Occurred()) SWIG_fail; | |
17382 | } | |
17383 | resultobj = SWIG_Py_Void(); | |
17384 | return resultobj; | |
17385 | fail: | |
17386 | return NULL; | |
17387 | } | |
17388 | ||
17389 | ||
17390 | SWIGINTERN PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17391 | PyObject *resultobj = 0; | |
17392 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17393 | wxString *arg2 = 0 ; | |
17394 | bool result; | |
17395 | void *argp1 = 0 ; | |
17396 | int res1 = 0 ; | |
17397 | bool temp2 = false ; | |
17398 | PyObject * obj0 = 0 ; | |
17399 | PyObject * obj1 = 0 ; | |
17400 | char * kwnames[] = { | |
17401 | (char *) "self",(char *) "keyword", NULL | |
17402 | }; | |
17403 | ||
17404 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) SWIG_fail; | |
17405 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17406 | if (!SWIG_IsOK(res1)) { | |
17407 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17408 | } | |
17409 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17410 | { | |
17411 | arg2 = wxString_in_helper(obj1); | |
17412 | if (arg2 == NULL) SWIG_fail; | |
17413 | temp2 = true; | |
17414 | } | |
17415 | { | |
17416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17417 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
17418 | wxPyEndAllowThreads(__tstate); | |
17419 | if (PyErr_Occurred()) SWIG_fail; | |
17420 | } | |
17421 | { | |
17422 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17423 | } | |
17424 | { | |
17425 | if (temp2) | |
17426 | delete arg2; | |
17427 | } | |
17428 | return resultobj; | |
17429 | fail: | |
17430 | { | |
17431 | if (temp2) | |
17432 | delete arg2; | |
17433 | } | |
17434 | return NULL; | |
17435 | } | |
17436 | ||
17437 | ||
17438 | SWIGINTERN PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17439 | PyObject *resultobj = 0; | |
17440 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17441 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
17442 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
17443 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
17444 | void *argp1 = 0 ; | |
17445 | int res1 = 0 ; | |
17446 | void *argp2 = 0 ; | |
17447 | int res2 = 0 ; | |
17448 | bool temp3 = false ; | |
17449 | PyObject * obj0 = 0 ; | |
17450 | PyObject * obj1 = 0 ; | |
17451 | PyObject * obj2 = 0 ; | |
17452 | char * kwnames[] = { | |
17453 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
17454 | }; | |
17455 | ||
17456 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17457 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17458 | if (!SWIG_IsOK(res1)) { | |
17459 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17460 | } | |
17461 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17462 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
17463 | if (!SWIG_IsOK(res2)) { | |
17464 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
17465 | } | |
17466 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
17467 | if (obj2) { | |
ae8162c8 | 17468 | { |
0085ce49 RD |
17469 | arg3 = wxString_in_helper(obj2); |
17470 | if (arg3 == NULL) SWIG_fail; | |
17471 | temp3 = true; | |
ae8162c8 | 17472 | } |
0085ce49 RD |
17473 | } |
17474 | { | |
17475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17476 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
17477 | wxPyEndAllowThreads(__tstate); | |
17478 | if (PyErr_Occurred()) SWIG_fail; | |
17479 | } | |
17480 | resultobj = SWIG_Py_Void(); | |
17481 | { | |
17482 | if (temp3) | |
17483 | delete arg3; | |
17484 | } | |
17485 | return resultobj; | |
17486 | fail: | |
17487 | { | |
17488 | if (temp3) | |
17489 | delete arg3; | |
17490 | } | |
17491 | return NULL; | |
17492 | } | |
17493 | ||
17494 | ||
17495 | SWIGINTERN PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17496 | PyObject *resultobj = 0; | |
17497 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17498 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
17499 | wxString arg3 = (wxString) wxPyEmptyString ; | |
17500 | void *argp1 = 0 ; | |
17501 | int res1 = 0 ; | |
17502 | void *argp2 = 0 ; | |
17503 | int res2 = 0 ; | |
17504 | PyObject * obj0 = 0 ; | |
17505 | PyObject * obj1 = 0 ; | |
17506 | PyObject * obj2 = 0 ; | |
17507 | char * kwnames[] = { | |
17508 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
17509 | }; | |
17510 | ||
17511 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17512 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17513 | if (!SWIG_IsOK(res1)) { | |
17514 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17515 | } | |
17516 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17517 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
17518 | if (!SWIG_IsOK(res2)) { | |
17519 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
17520 | } | |
17521 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
17522 | if (obj2) { | |
ae8162c8 | 17523 | { |
0085ce49 RD |
17524 | wxString* sptr = wxString_in_helper(obj2); |
17525 | if (sptr == NULL) SWIG_fail; | |
17526 | arg3 = *sptr; | |
17527 | delete sptr; | |
994141e6 | 17528 | } |
0085ce49 RD |
17529 | } |
17530 | { | |
17531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17532 | (arg1)->ReadCustomization(arg2,arg3); | |
17533 | wxPyEndAllowThreads(__tstate); | |
17534 | if (PyErr_Occurred()) SWIG_fail; | |
17535 | } | |
17536 | resultobj = SWIG_Py_Void(); | |
17537 | return resultobj; | |
17538 | fail: | |
17539 | return NULL; | |
17540 | } | |
17541 | ||
17542 | ||
17543 | SWIGINTERN PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17544 | PyObject *resultobj = 0; | |
17545 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17546 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
17547 | wxString arg3 = (wxString) wxPyEmptyString ; | |
17548 | void *argp1 = 0 ; | |
17549 | int res1 = 0 ; | |
17550 | void *argp2 = 0 ; | |
17551 | int res2 = 0 ; | |
17552 | PyObject * obj0 = 0 ; | |
17553 | PyObject * obj1 = 0 ; | |
17554 | PyObject * obj2 = 0 ; | |
17555 | char * kwnames[] = { | |
17556 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
17557 | }; | |
17558 | ||
17559 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17560 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17561 | if (!SWIG_IsOK(res1)) { | |
17562 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17563 | } | |
17564 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17565 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
17566 | if (!SWIG_IsOK(res2)) { | |
17567 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
17568 | } | |
17569 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
17570 | if (obj2) { | |
d14a1e28 | 17571 | { |
0085ce49 RD |
17572 | wxString* sptr = wxString_in_helper(obj2); |
17573 | if (sptr == NULL) SWIG_fail; | |
17574 | arg3 = *sptr; | |
17575 | delete sptr; | |
d14a1e28 | 17576 | } |
0085ce49 RD |
17577 | } |
17578 | { | |
17579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17580 | (arg1)->WriteCustomization(arg2,arg3); | |
17581 | wxPyEndAllowThreads(__tstate); | |
17582 | if (PyErr_Occurred()) SWIG_fail; | |
17583 | } | |
17584 | resultobj = SWIG_Py_Void(); | |
17585 | return resultobj; | |
17586 | fail: | |
17587 | return NULL; | |
d14a1e28 RD |
17588 | } |
17589 | ||
17590 | ||
0085ce49 RD |
17591 | SWIGINTERN PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17592 | PyObject *resultobj = 0; | |
17593 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17594 | void *argp1 = 0 ; | |
17595 | int res1 = 0 ; | |
17596 | PyObject *swig_obj[1] ; | |
17597 | ||
17598 | if (!args) SWIG_fail; | |
17599 | swig_obj[0] = args; | |
17600 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17601 | if (!SWIG_IsOK(res1)) { | |
17602 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17603 | } | |
17604 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17605 | { | |
17606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17607 | (arg1)->MakeModalIfNeeded(); | |
17608 | wxPyEndAllowThreads(__tstate); | |
17609 | if (PyErr_Occurred()) SWIG_fail; | |
17610 | } | |
17611 | resultobj = SWIG_Py_Void(); | |
17612 | return resultobj; | |
17613 | fail: | |
17614 | return NULL; | |
d14a1e28 RD |
17615 | } |
17616 | ||
17617 | ||
0085ce49 RD |
17618 | SWIGINTERN PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17619 | PyObject *resultobj = 0; | |
17620 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17621 | wxWindow *result = 0 ; | |
17622 | void *argp1 = 0 ; | |
17623 | int res1 = 0 ; | |
17624 | PyObject *swig_obj[1] ; | |
17625 | ||
17626 | if (!args) SWIG_fail; | |
17627 | swig_obj[0] = args; | |
17628 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17629 | if (!SWIG_IsOK(res1)) { | |
17630 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17631 | } | |
17632 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17633 | { | |
17634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17635 | result = (wxWindow *)(arg1)->FindTopLevelWindow(); | |
17636 | wxPyEndAllowThreads(__tstate); | |
17637 | if (PyErr_Occurred()) SWIG_fail; | |
17638 | } | |
17639 | { | |
17640 | resultobj = wxPyMake_wxObject(result, 0); | |
17641 | } | |
17642 | return resultobj; | |
17643 | fail: | |
17644 | return NULL; | |
17645 | } | |
17646 | ||
17647 | ||
17648 | SWIGINTERN PyObject *HtmlHelpController_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17649 | PyObject *obj; | |
17650 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
17651 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController, SWIG_NewClientData(obj)); | |
17652 | return SWIG_Py_Void(); | |
17653 | } | |
17654 | ||
17655 | SWIGINTERN PyObject *HtmlHelpController_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17656 | return SWIG_Python_InitShadowInstance(args); | |
17657 | } | |
17658 | ||
17659 | SWIGINTERN PyObject *_wrap_new_HtmlModalHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17660 | PyObject *resultobj = 0; | |
17661 | wxWindow *arg1 = (wxWindow *) 0 ; | |
17662 | wxString *arg2 = 0 ; | |
17663 | wxString const &arg3_defvalue = wxEmptyString ; | |
17664 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
17665 | int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ; | |
17666 | wxHtmlModalHelp *result = 0 ; | |
17667 | void *argp1 = 0 ; | |
17668 | int res1 = 0 ; | |
17669 | bool temp2 = false ; | |
17670 | bool temp3 = false ; | |
17671 | int val4 ; | |
17672 | int ecode4 = 0 ; | |
17673 | PyObject * obj0 = 0 ; | |
17674 | PyObject * obj1 = 0 ; | |
17675 | PyObject * obj2 = 0 ; | |
17676 | PyObject * obj3 = 0 ; | |
17677 | char * kwnames[] = { | |
17678 | (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL | |
17679 | }; | |
17680 | ||
17681 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
17682 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
17683 | if (!SWIG_IsOK(res1)) { | |
17684 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
17685 | } | |
17686 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
17687 | { | |
17688 | arg2 = wxString_in_helper(obj1); | |
17689 | if (arg2 == NULL) SWIG_fail; | |
17690 | temp2 = true; | |
17691 | } | |
17692 | if (obj2) { | |
d14a1e28 | 17693 | { |
0085ce49 RD |
17694 | arg3 = wxString_in_helper(obj2); |
17695 | if (arg3 == NULL) SWIG_fail; | |
17696 | temp3 = true; | |
d14a1e28 | 17697 | } |
0085ce49 RD |
17698 | } |
17699 | if (obj3) { | |
17700 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
17701 | if (!SWIG_IsOK(ecode4)) { | |
17702 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'"); | |
17703 | } | |
17704 | arg4 = static_cast< int >(val4); | |
17705 | } | |
17706 | { | |
17707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17708 | result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
17709 | wxPyEndAllowThreads(__tstate); | |
17710 | if (PyErr_Occurred()) SWIG_fail; | |
17711 | } | |
17712 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlModalHelp, SWIG_POINTER_NEW | 0 ); | |
17713 | { | |
17714 | if (temp2) | |
17715 | delete arg2; | |
17716 | } | |
17717 | { | |
17718 | if (temp3) | |
17719 | delete arg3; | |
17720 | } | |
17721 | return resultobj; | |
17722 | fail: | |
17723 | { | |
17724 | if (temp2) | |
17725 | delete arg2; | |
17726 | } | |
17727 | { | |
17728 | if (temp3) | |
17729 | delete arg3; | |
17730 | } | |
17731 | return NULL; | |
d14a1e28 RD |
17732 | } |
17733 | ||
17734 | ||
0085ce49 RD |
17735 | SWIGINTERN PyObject *HtmlModalHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17736 | PyObject *obj; | |
17737 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
17738 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp, SWIG_NewClientData(obj)); | |
17739 | return SWIG_Py_Void(); | |
d14a1e28 RD |
17740 | } |
17741 | ||
0085ce49 RD |
17742 | SWIGINTERN PyObject *HtmlModalHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17743 | return SWIG_Python_InitShadowInstance(args); | |
d14a1e28 RD |
17744 | } |
17745 | ||
091f5bed RD |
17746 | static PyMethodDef SwigMethods[] = { |
17747 | { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17748 | { (char *)"HtmlLinkInfo_GetHref", (PyCFunction)_wrap_HtmlLinkInfo_GetHref, METH_O, NULL}, |
17749 | { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction)_wrap_HtmlLinkInfo_GetTarget, METH_O, NULL}, | |
17750 | { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction)_wrap_HtmlLinkInfo_GetEvent, METH_O, NULL}, | |
17751 | { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction)_wrap_HtmlLinkInfo_GetHtmlCell, METH_O, NULL}, | |
091f5bed RD |
17752 | { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
17753 | { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17754 | { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL}, | |
0085ce49 RD |
17755 | { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit, METH_VARARGS, NULL}, |
17756 | { (char *)"HtmlTag_GetName", (PyCFunction)_wrap_HtmlTag_GetName, METH_O, NULL}, | |
091f5bed RD |
17757 | { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL}, |
17758 | { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17759 | { (char *)"HtmlTag_GetAllParams", (PyCFunction)_wrap_HtmlTag_GetAllParams, METH_O, NULL}, |
17760 | { (char *)"HtmlTag_HasEnding", (PyCFunction)_wrap_HtmlTag_HasEnding, METH_O, NULL}, | |
17761 | { (char *)"HtmlTag_GetBeginPos", (PyCFunction)_wrap_HtmlTag_GetBeginPos, METH_O, NULL}, | |
17762 | { (char *)"HtmlTag_GetEndPos1", (PyCFunction)_wrap_HtmlTag_GetEndPos1, METH_O, NULL}, | |
17763 | { (char *)"HtmlTag_GetEndPos2", (PyCFunction)_wrap_HtmlTag_GetEndPos2, METH_O, NULL}, | |
093d3ff1 RD |
17764 | { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL}, |
17765 | { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 17766 | { (char *)"HtmlParser_GetFS", (PyCFunction)_wrap_HtmlParser_GetFS, METH_O, NULL}, |
093d3ff1 RD |
17767 | { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL}, |
17768 | { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 17769 | { (char *)"HtmlParser_DoneParser", (PyCFunction)_wrap_HtmlParser_DoneParser, METH_O, NULL}, |
093d3ff1 | 17770 | { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17771 | { (char *)"HtmlParser_StopParsing", (PyCFunction)_wrap_HtmlParser_StopParsing, METH_O, NULL}, |
093d3ff1 | 17772 | { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17773 | { (char *)"HtmlParser_GetSource", (PyCFunction)_wrap_HtmlParser_GetSource, METH_O, NULL}, |
093d3ff1 | 17774 | { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17775 | { (char *)"HtmlParser_PopTagHandler", (PyCFunction)_wrap_HtmlParser_PopTagHandler, METH_O, NULL}, |
e9d6f3a4 | 17776 | { (char *)"HtmlParser_GetInnerSource", (PyCFunction) _wrap_HtmlParser_GetInnerSource, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
17777 | { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL}, |
17778 | { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17779 | { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17780 | { (char *)"HtmlWinParser_GetDC", (PyCFunction)_wrap_HtmlWinParser_GetDC, METH_O, NULL}, |
17781 | { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction)_wrap_HtmlWinParser_GetCharHeight, METH_O, NULL}, | |
17782 | { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction)_wrap_HtmlWinParser_GetCharWidth, METH_O, NULL}, | |
17783 | { (char *)"HtmlWinParser_GetWindow", (PyCFunction)_wrap_HtmlWinParser_GetWindow, METH_O, NULL}, | |
e9d6f3a4 | 17784 | { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction)_wrap_HtmlWinParser_GetWindowInterface, METH_O, NULL}, |
093d3ff1 RD |
17785 | { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, |
17786 | { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17787 | { (char *)"HtmlWinParser_GetContainer", (PyCFunction)_wrap_HtmlWinParser_GetContainer, METH_O, NULL}, |
17788 | { (char *)"HtmlWinParser_OpenContainer", (PyCFunction)_wrap_HtmlWinParser_OpenContainer, METH_O, NULL}, | |
093d3ff1 | 17789 | { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
17790 | { (char *)"HtmlWinParser_CloseContainer", (PyCFunction)_wrap_HtmlWinParser_CloseContainer, METH_O, NULL}, |
17791 | { (char *)"HtmlWinParser_GetFontSize", (PyCFunction)_wrap_HtmlWinParser_GetFontSize, METH_O, NULL}, | |
093d3ff1 | 17792 | { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17793 | { (char *)"HtmlWinParser_GetFontBold", (PyCFunction)_wrap_HtmlWinParser_GetFontBold, METH_O, NULL}, |
093d3ff1 | 17794 | { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17795 | { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction)_wrap_HtmlWinParser_GetFontItalic, METH_O, NULL}, |
093d3ff1 | 17796 | { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17797 | { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction)_wrap_HtmlWinParser_GetFontUnderlined, METH_O, NULL}, |
093d3ff1 | 17798 | { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17799 | { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction)_wrap_HtmlWinParser_GetFontFixed, METH_O, NULL}, |
093d3ff1 | 17800 | { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17801 | { (char *)"HtmlWinParser_GetAlign", (PyCFunction)_wrap_HtmlWinParser_GetAlign, METH_O, NULL}, |
093d3ff1 | 17802 | { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17803 | { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction)_wrap_HtmlWinParser_GetLinkColor, METH_O, NULL}, |
093d3ff1 | 17804 | { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17805 | { (char *)"HtmlWinParser_GetActualColor", (PyCFunction)_wrap_HtmlWinParser_GetActualColor, METH_O, NULL}, |
093d3ff1 RD |
17806 | { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL}, |
17807 | { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17808 | { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction)_wrap_HtmlWinParser_CreateCurrentFont, METH_O, NULL}, |
17809 | { (char *)"HtmlWinParser_GetLink", (PyCFunction)_wrap_HtmlWinParser_GetLink, METH_O, NULL}, | |
093d3ff1 | 17810 | { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL}, |
0085ce49 RD |
17811 | { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit, METH_VARARGS, NULL}, |
17812 | { (char *)"new_HtmlTagHandler", (PyCFunction)_wrap_new_HtmlTagHandler, METH_NOARGS, NULL}, | |
093d3ff1 RD |
17813 | { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
17814 | { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 17815 | { (char *)"HtmlTagHandler_GetParser", (PyCFunction)_wrap_HtmlTagHandler_GetParser, METH_O, NULL}, |
093d3ff1 RD |
17816 | { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL}, |
17817 | { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL}, | |
0085ce49 RD |
17818 | { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit, METH_VARARGS, NULL}, |
17819 | { (char *)"new_HtmlWinTagHandler", (PyCFunction)_wrap_new_HtmlWinTagHandler, METH_NOARGS, NULL}, | |
093d3ff1 RD |
17820 | { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
17821 | { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 17822 | { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction)_wrap_HtmlWinTagHandler_GetParser, METH_O, NULL}, |
093d3ff1 RD |
17823 | { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL}, |
17824 | { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 17825 | { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 17826 | { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
17827 | { (char *)"new_HtmlSelection", (PyCFunction)_wrap_new_HtmlSelection, METH_NOARGS, NULL}, |
17828 | { (char *)"delete_HtmlSelection", (PyCFunction)_wrap_delete_HtmlSelection, METH_O, NULL}, | |
093d3ff1 RD |
17829 | { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL}, |
17830 | { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17831 | { (char *)"HtmlSelection_GetFromCell", (PyCFunction)_wrap_HtmlSelection_GetFromCell, METH_O, NULL}, |
17832 | { (char *)"HtmlSelection_GetToCell", (PyCFunction)_wrap_HtmlSelection_GetToCell, METH_O, NULL}, | |
17833 | { (char *)"HtmlSelection_GetFromPos", (PyCFunction)_wrap_HtmlSelection_GetFromPos, METH_O, NULL}, | |
17834 | { (char *)"HtmlSelection_GetToPos", (PyCFunction)_wrap_HtmlSelection_GetToPos, METH_O, NULL}, | |
17835 | { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction)_wrap_HtmlSelection_GetFromPrivPos, METH_O, NULL}, | |
17836 | { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction)_wrap_HtmlSelection_GetToPrivPos, METH_O, NULL}, | |
093d3ff1 RD |
17837 | { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL}, |
17838 | { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17839 | { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction)_wrap_HtmlSelection_ClearPrivPos, METH_O, NULL}, |
17840 | { (char *)"HtmlSelection_IsEmpty", (PyCFunction)_wrap_HtmlSelection_IsEmpty, METH_O, NULL}, | |
093d3ff1 | 17841 | { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL}, |
0085ce49 RD |
17842 | { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit, METH_VARARGS, NULL}, |
17843 | { (char *)"new_HtmlRenderingState", (PyCFunction)_wrap_new_HtmlRenderingState, METH_NOARGS, NULL}, | |
17844 | { (char *)"delete_HtmlRenderingState", (PyCFunction)_wrap_delete_HtmlRenderingState, METH_O, NULL}, | |
093d3ff1 | 17845 | { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17846 | { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction)_wrap_HtmlRenderingState_GetSelectionState, METH_O, NULL}, |
093d3ff1 | 17847 | { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17848 | { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction)_wrap_HtmlRenderingState_GetFgColour, METH_O, NULL}, |
093d3ff1 | 17849 | { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17850 | { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction)_wrap_HtmlRenderingState_GetBgColour, METH_O, NULL}, |
093d3ff1 | 17851 | { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 17852 | { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17853 | { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
17854 | { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17855 | { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL}, | |
093d3ff1 | 17856 | { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL}, |
0085ce49 RD |
17857 | { (char *)"new_HtmlRenderingInfo", (PyCFunction)_wrap_new_HtmlRenderingInfo, METH_NOARGS, NULL}, |
17858 | { (char *)"delete_HtmlRenderingInfo", (PyCFunction)_wrap_delete_HtmlRenderingInfo, METH_O, NULL}, | |
093d3ff1 | 17859 | { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17860 | { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction)_wrap_HtmlRenderingInfo_GetSelection, METH_O, NULL}, |
093d3ff1 | 17861 | { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
17862 | { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction)_wrap_HtmlRenderingInfo_GetStyle, METH_O, NULL}, |
17863 | { (char *)"HtmlRenderingInfo_GetState", (PyCFunction)_wrap_HtmlRenderingInfo_GetState, METH_O, NULL}, | |
093d3ff1 | 17864 | { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL}, |
0085ce49 RD |
17865 | { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit, METH_VARARGS, NULL}, |
17866 | { (char *)"new_HtmlCell", (PyCFunction)_wrap_new_HtmlCell, METH_NOARGS, NULL}, | |
17867 | { (char *)"delete_HtmlCell", (PyCFunction)_wrap_delete_HtmlCell, METH_O, NULL}, | |
17868 | { (char *)"HtmlCell_GetPosX", (PyCFunction)_wrap_HtmlCell_GetPosX, METH_O, NULL}, | |
17869 | { (char *)"HtmlCell_GetPosY", (PyCFunction)_wrap_HtmlCell_GetPosY, METH_O, NULL}, | |
17870 | { (char *)"HtmlCell_GetWidth", (PyCFunction)_wrap_HtmlCell_GetWidth, METH_O, NULL}, | |
17871 | { (char *)"HtmlCell_GetHeight", (PyCFunction)_wrap_HtmlCell_GetHeight, METH_O, NULL}, | |
17872 | { (char *)"HtmlCell_GetDescent", (PyCFunction)_wrap_HtmlCell_GetDescent, METH_O, NULL}, | |
17873 | { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction)_wrap_HtmlCell_GetMaxTotalWidth, METH_O, NULL}, | |
17874 | { (char *)"HtmlCell_GetId", (PyCFunction)_wrap_HtmlCell_GetId, METH_O, NULL}, | |
093d3ff1 RD |
17875 | { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL}, |
17876 | { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17877 | { (char *)"HtmlCell_GetNext", (PyCFunction)_wrap_HtmlCell_GetNext, METH_O, NULL}, |
17878 | { (char *)"HtmlCell_GetParent", (PyCFunction)_wrap_HtmlCell_GetParent, METH_O, NULL}, | |
17879 | { (char *)"HtmlCell_GetFirstChild", (PyCFunction)_wrap_HtmlCell_GetFirstChild, METH_O, NULL}, | |
e9d6f3a4 | 17880 | { (char *)"HtmlCell_GetMouseCursor", (PyCFunction) _wrap_HtmlCell_GetMouseCursor, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
17881 | { (char *)"HtmlCell_GetCursor", (PyCFunction)_wrap_HtmlCell_GetCursor, METH_O, NULL}, |
17882 | { (char *)"HtmlCell_IsFormattingCell", (PyCFunction)_wrap_HtmlCell_IsFormattingCell, METH_O, NULL}, | |
093d3ff1 RD |
17883 | { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL}, |
17884 | { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17885 | { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17886 | { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17887 | { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17888 | { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17889 | { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17890 | { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL}, | |
e9d6f3a4 | 17891 | { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction) _wrap_HtmlCell_ProcessMouseClick, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 17892 | { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
17893 | { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlCell_IsLinebreakAllowed, METH_O, NULL}, |
17894 | { (char *)"HtmlCell_IsTerminalCell", (PyCFunction)_wrap_HtmlCell_IsTerminalCell, METH_O, NULL}, | |
093d3ff1 | 17895 | { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL}, |
e9d6f3a4 RD |
17896 | { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL}, |
17897 | { (char *)"HtmlCell_GetRootCell", (PyCFunction)_wrap_HtmlCell_GetRootCell, METH_O, NULL}, | |
0085ce49 RD |
17898 | { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction)_wrap_HtmlCell_GetFirstTerminal, METH_O, NULL}, |
17899 | { (char *)"HtmlCell_GetLastTerminal", (PyCFunction)_wrap_HtmlCell_GetLastTerminal, METH_O, NULL}, | |
17900 | { (char *)"HtmlCell_GetDepth", (PyCFunction)_wrap_HtmlCell_GetDepth, METH_O, NULL}, | |
093d3ff1 RD |
17901 | { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL}, |
17902 | { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17903 | { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 17904 | { (char *)"HtmlCell_swiginit", HtmlCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 17905 | { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
b1fcee84 | 17906 | { (char *)"HtmlWordCell_ConvertToText", (PyCFunction) _wrap_HtmlWordCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17907 | { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlWordCell_IsLinebreakAllowed, METH_O, NULL}, |
b1fcee84 | 17908 | { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction) _wrap_HtmlWordCell_SetPreviousWord, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 17909 | { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 17910 | { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17911 | { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17912 | { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17913 | { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 17914 | { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction)_wrap_HtmlContainerCell_GetAlignHor, METH_O, NULL}, |
093d3ff1 | 17915 | { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17916 | { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction)_wrap_HtmlContainerCell_GetAlignVer, METH_O, NULL}, |
093d3ff1 RD |
17917 | { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, |
17918 | { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17919 | { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17920 | { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17921 | { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17922 | { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17923 | { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17924 | { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 17925 | { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction)_wrap_HtmlContainerCell_GetBackgroundColour, METH_O, NULL}, |
093d3ff1 | 17926 | { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17927 | { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction)_wrap_HtmlContainerCell_GetFirstChild, METH_O, NULL}, |
093d3ff1 | 17928 | { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 17929 | { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17930 | { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17931 | { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 17932 | { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17933 | { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17934 | { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 17935 | { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17936 | { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17937 | { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL}, | |
0085ce49 RD |
17938 | { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit, METH_VARARGS, NULL}, |
17939 | { (char *)"new_HtmlFilter", (PyCFunction)_wrap_new_HtmlFilter, METH_NOARGS, NULL}, | |
093d3ff1 RD |
17940 | { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
17941 | { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 17942 | { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit, METH_VARARGS, NULL}, |
e9d6f3a4 RD |
17943 | { (char *)"delete_HtmlWindowInterface", (PyCFunction)_wrap_delete_HtmlWindowInterface, METH_O, NULL}, |
17944 | { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLWindowTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17945 | { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction) _wrap_HtmlWindowInterface_HTMLCoordsToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17946 | { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLWindow, METH_O, NULL}, | |
17947 | { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour, METH_O, NULL}, | |
17948 | { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17949 | { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17950 | { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17951 | { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister, METH_VARARGS, NULL}, | |
093d3ff1 | 17952 | { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17953 | { (char *)"new_PreHtmlWindow", (PyCFunction)_wrap_new_PreHtmlWindow, METH_NOARGS, NULL}, |
093d3ff1 RD |
17954 | { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, |
17955 | { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17956 | { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17957 | { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17958 | { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17959 | { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17960 | { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction)_wrap_HtmlWindow_GetOpenedPage, METH_O, NULL}, |
17961 | { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction)_wrap_HtmlWindow_GetOpenedAnchor, METH_O, NULL}, | |
17962 | { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction)_wrap_HtmlWindow_GetOpenedPageTitle, METH_O, NULL}, | |
093d3ff1 | 17963 | { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17964 | { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction)_wrap_HtmlWindow_GetRelatedFrame, METH_O, NULL}, |
093d3ff1 RD |
17965 | { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, |
17966 | { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17967 | { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 | 17968 | { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL}, |
53aa7709 | 17969 | { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
17970 | { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, |
17971 | { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17972 | { (char *)"HtmlWindow_HistoryBack", (PyCFunction)_wrap_HtmlWindow_HistoryBack, METH_O, NULL}, |
17973 | { (char *)"HtmlWindow_HistoryForward", (PyCFunction)_wrap_HtmlWindow_HistoryForward, METH_O, NULL}, | |
17974 | { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction)_wrap_HtmlWindow_HistoryCanBack, METH_O, NULL}, | |
17975 | { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction)_wrap_HtmlWindow_HistoryCanForward, METH_O, NULL}, | |
17976 | { (char *)"HtmlWindow_HistoryClear", (PyCFunction)_wrap_HtmlWindow_HistoryClear, METH_O, NULL}, | |
17977 | { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction)_wrap_HtmlWindow_GetInternalRepresentation, METH_O, NULL}, | |
17978 | { (char *)"HtmlWindow_GetParser", (PyCFunction)_wrap_HtmlWindow_GetParser, METH_O, NULL}, | |
093d3ff1 RD |
17979 | { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, |
17980 | { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17981 | { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17982 | { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17983 | { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17984 | { (char *)"HtmlWindow_SelectAll", (PyCFunction)_wrap_HtmlWindow_SelectAll, METH_O, NULL}, |
17985 | { (char *)"HtmlWindow_SelectionToText", (PyCFunction)_wrap_HtmlWindow_SelectionToText, METH_O, NULL}, | |
17986 | { (char *)"HtmlWindow_ToText", (PyCFunction)_wrap_HtmlWindow_ToText, METH_O, NULL}, | |
c26d9ab4 RD |
17987 | { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL}, |
17988 | { (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17989 | { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17990 | { (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL}, | |
e9d6f3a4 | 17991 | { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction) _wrap_HtmlWindow_OnOpeningURL, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 17992 | { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, |
e9d6f3a4 | 17993 | { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction) _wrap_HtmlWindow_GetDefaultHTMLCursor, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 17994 | { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL}, |
0085ce49 RD |
17995 | { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit, METH_VARARGS, NULL}, |
17996 | { (char *)"new_HtmlDCRenderer", (PyCFunction)_wrap_new_HtmlDCRenderer, METH_NOARGS, NULL}, | |
17997 | { (char *)"delete_HtmlDCRenderer", (PyCFunction)_wrap_delete_HtmlDCRenderer, METH_O, NULL}, | |
093d3ff1 RD |
17998 | { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, |
17999 | { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18000 | { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18001 | { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18002 | { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18003 | { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 18004 | { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction)_wrap_HtmlDCRenderer_GetTotalHeight, METH_O, NULL}, |
093d3ff1 | 18005 | { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 18006 | { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
18007 | { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, |
18008 | { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18009 | { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18010 | { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18011 | { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18012 | { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18013 | { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18014 | { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18015 | { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 18016 | { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction)_wrap_HtmlPrintout_CleanUpStatics, METH_NOARGS, NULL}, |
093d3ff1 | 18017 | { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 18018 | { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 18019 | { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 18020 | { (char *)"delete_HtmlEasyPrinting", (PyCFunction)_wrap_delete_HtmlEasyPrinting, METH_O, NULL}, |
093d3ff1 RD |
18021 | { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL}, |
18022 | { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18023 | { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18024 | { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 18025 | { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction)_wrap_HtmlEasyPrinting_PageSetup, METH_O, NULL}, |
093d3ff1 RD |
18026 | { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL}, |
18027 | { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18028 | { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18029 | { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
18030 | { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPrintData, METH_O, NULL}, |
18031 | { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPageSetupData, METH_O, NULL}, | |
093d3ff1 | 18032 | { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 18033 | { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 18034 | { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
18035 | { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction)_wrap_HtmlBookRecord_GetBookFile, METH_O, NULL}, |
18036 | { (char *)"HtmlBookRecord_GetTitle", (PyCFunction)_wrap_HtmlBookRecord_GetTitle, METH_O, NULL}, | |
18037 | { (char *)"HtmlBookRecord_GetStart", (PyCFunction)_wrap_HtmlBookRecord_GetStart, METH_O, NULL}, | |
18038 | { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction)_wrap_HtmlBookRecord_GetBasePath, METH_O, NULL}, | |
093d3ff1 | 18039 | { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
18040 | { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction)_wrap_HtmlBookRecord_GetContentsStart, METH_O, NULL}, |
18041 | { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction)_wrap_HtmlBookRecord_GetContentsEnd, METH_O, NULL}, | |
093d3ff1 RD |
18042 | { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, |
18043 | { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18044 | { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18045 | { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18046 | { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL}, | |
0085ce49 RD |
18047 | { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit, METH_VARARGS, NULL}, |
18048 | { (char *)"HtmlSearchStatus_Search", (PyCFunction)_wrap_HtmlSearchStatus_Search, METH_O, NULL}, | |
18049 | { (char *)"HtmlSearchStatus_IsActive", (PyCFunction)_wrap_HtmlSearchStatus_IsActive, METH_O, NULL}, | |
18050 | { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetCurIndex, METH_O, NULL}, | |
18051 | { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetMaxIndex, METH_O, NULL}, | |
18052 | { (char *)"HtmlSearchStatus_GetName", (PyCFunction)_wrap_HtmlSearchStatus_GetName, METH_O, NULL}, | |
093d3ff1 | 18053 | { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL}, |
0085ce49 RD |
18054 | { (char *)"new_HtmlHelpData", (PyCFunction)_wrap_new_HtmlHelpData, METH_NOARGS, NULL}, |
18055 | { (char *)"delete_HtmlHelpData", (PyCFunction)_wrap_delete_HtmlHelpData, METH_O, NULL}, | |
093d3ff1 RD |
18056 | { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL}, |
18057 | { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18058 | { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18059 | { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 18060 | { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction)_wrap_HtmlHelpData_GetBookRecArray, METH_O, NULL}, |
093d3ff1 | 18061 | { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 18062 | { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit, METH_VARARGS, NULL}, |
091f5bed RD |
18063 | { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
18064 | { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18065 | { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
18066 | { (char *)"HtmlHelpWindow_GetData", (PyCFunction)_wrap_HtmlHelpWindow_GetData, METH_O, NULL}, |
18067 | { (char *)"HtmlHelpWindow_GetController", (PyCFunction)_wrap_HtmlHelpWindow_GetController, METH_O, NULL}, | |
091f5bed RD |
18068 | { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, |
18069 | { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18070 | { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
18071 | { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction)_wrap_HtmlHelpWindow_DisplayContents, METH_O, NULL}, |
18072 | { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction)_wrap_HtmlHelpWindow_DisplayIndex, METH_O, NULL}, | |
091f5bed RD |
18073 | { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, |
18074 | { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18075 | { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18076 | { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
18077 | { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction)_wrap_HtmlHelpWindow_NotifyPageChanged, METH_O, NULL}, |
18078 | { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction)_wrap_HtmlHelpWindow_RefreshLists, METH_O, NULL}, | |
18079 | { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetHtmlWindow, METH_O, NULL}, | |
18080 | { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetSplitterWindow, METH_O, NULL}, | |
18081 | { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction)_wrap_HtmlHelpWindow_GetToolBar, METH_O, NULL}, | |
18082 | { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction)_wrap_HtmlHelpWindow_GetCfgData, METH_O, NULL}, | |
18083 | { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction)_wrap_HtmlHelpWindow_GetTreeCtrl, METH_O, NULL}, | |
091f5bed | 18084 | { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 18085 | { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit, METH_VARARGS, NULL}, |
8f514ab4 RD |
18086 | { (char *)"new_HtmlCellEvent", (PyCFunction) _wrap_new_HtmlCellEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
18087 | { (char *)"HtmlCellEvent_GetCell", (PyCFunction)_wrap_HtmlCellEvent_GetCell, METH_O, NULL}, | |
18088 | { (char *)"HtmlCellEvent_GetPoint", (PyCFunction)_wrap_HtmlCellEvent_GetPoint, METH_O, NULL}, | |
18089 | { (char *)"HtmlCellEvent_GetMouseEvent", (PyCFunction)_wrap_HtmlCellEvent_GetMouseEvent, METH_O, NULL}, | |
18090 | { (char *)"HtmlCellEvent_SetLinkClicked", (PyCFunction) _wrap_HtmlCellEvent_SetLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18091 | { (char *)"HtmlCellEvent_GetLinkClicked", (PyCFunction)_wrap_HtmlCellEvent_GetLinkClicked, METH_O, NULL}, | |
18092 | { (char *)"HtmlCellEvent_swigregister", HtmlCellEvent_swigregister, METH_VARARGS, NULL}, | |
18093 | { (char *)"HtmlCellEvent_swiginit", HtmlCellEvent_swiginit, METH_VARARGS, NULL}, | |
18094 | { (char *)"new_HtmlLinkEvent", (PyCFunction) _wrap_new_HtmlLinkEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18095 | { (char *)"HtmlLinkEvent_GetLinkInfo", (PyCFunction)_wrap_HtmlLinkEvent_GetLinkInfo, METH_O, NULL}, | |
18096 | { (char *)"HtmlLinkEvent_swigregister", HtmlLinkEvent_swigregister, METH_VARARGS, NULL}, | |
18097 | { (char *)"HtmlLinkEvent_swiginit", HtmlLinkEvent_swiginit, METH_VARARGS, NULL}, | |
093d3ff1 | 18098 | { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
091f5bed RD |
18099 | { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
18100 | { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 18101 | { (char *)"HtmlHelpFrame_GetData", (PyCFunction)_wrap_HtmlHelpFrame_GetData, METH_O, NULL}, |
093d3ff1 | 18102 | { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
18103 | { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction)_wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_O, NULL}, |
18104 | { (char *)"HtmlHelpFrame_GetController", (PyCFunction)_wrap_HtmlHelpFrame_GetController, METH_O, NULL}, | |
091f5bed | 18105 | { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 18106 | { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpFrame_GetHelpWindow, METH_O, NULL}, |
093d3ff1 | 18107 | { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 18108 | { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit, METH_VARARGS, NULL}, |
091f5bed RD |
18109 | { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL}, |
18110 | { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18111 | { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
18112 | { (char *)"HtmlHelpDialog_GetData", (PyCFunction)_wrap_HtmlHelpDialog_GetData, METH_O, NULL}, |
18113 | { (char *)"HtmlHelpDialog_GetController", (PyCFunction)_wrap_HtmlHelpDialog_GetController, METH_O, NULL}, | |
091f5bed | 18114 | { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 18115 | { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpDialog_GetHelpWindow, METH_O, NULL}, |
091f5bed RD |
18116 | { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, |
18117 | { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 18118 | { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit, METH_VARARGS, NULL}, |
091f5bed RD |
18119 | { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL}, |
18120 | { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18121 | { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 18122 | { (char *)"HelpControllerBase_DisplayContents", (PyCFunction)_wrap_HelpControllerBase_DisplayContents, METH_O, NULL}, |
091f5bed RD |
18123 | { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL}, |
18124 | { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18125 | { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL}, | |
18126 | { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18127 | { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18128 | { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18129 | { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
18130 | { (char *)"HelpControllerBase_Quit", (PyCFunction)_wrap_HelpControllerBase_Quit, METH_O, NULL}, |
18131 | { (char *)"HelpControllerBase_OnQuit", (PyCFunction)_wrap_HelpControllerBase_OnQuit, METH_O, NULL}, | |
091f5bed | 18132 | { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 18133 | { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction)_wrap_HelpControllerBase_GetParentWindow, METH_O, NULL}, |
091f5bed | 18134 | { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL}, |
093d3ff1 | 18135 | { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
18136 | { (char *)"delete_HtmlHelpController", (PyCFunction)_wrap_delete_HtmlHelpController, METH_O, NULL}, |
18137 | { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpController_GetHelpWindow, METH_O, NULL}, | |
091f5bed | 18138 | { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
18139 | { (char *)"HtmlHelpController_GetFrame", (PyCFunction)_wrap_HtmlHelpController_GetFrame, METH_O, NULL}, |
18140 | { (char *)"HtmlHelpController_GetDialog", (PyCFunction)_wrap_HtmlHelpController_GetDialog, METH_O, NULL}, | |
093d3ff1 RD |
18141 | { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, |
18142 | { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18143 | { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18144 | { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18145 | { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
18146 | { (char *)"HtmlHelpController_DisplayContents", (PyCFunction)_wrap_HtmlHelpController_DisplayContents, METH_O, NULL}, |
18147 | { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction)_wrap_HtmlHelpController_DisplayIndex, METH_O, NULL}, | |
093d3ff1 RD |
18148 | { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, |
18149 | { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18150 | { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18151 | { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
18152 | { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction)_wrap_HtmlHelpController_MakeModalIfNeeded, METH_O, NULL}, |
18153 | { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction)_wrap_HtmlHelpController_FindTopLevelWindow, METH_O, NULL}, | |
093d3ff1 | 18154 | { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 18155 | { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit, METH_VARARGS, NULL}, |
091f5bed RD |
18156 | { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL}, |
18157 | { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 18158 | { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit, METH_VARARGS, NULL}, |
c32bde28 | 18159 | { NULL, NULL, 0, NULL } |
d14a1e28 RD |
18160 | }; |
18161 | ||
18162 | ||
18163 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
18164 | ||
18165 | static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) { | |
18166 | return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x)); | |
18167 | } | |
091f5bed RD |
18168 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
18169 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
18170 | } | |
18171 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
18172 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
18173 | } | |
18174 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
18175 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
18176 | } | |
18177 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
18178 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
d14a1e28 | 18179 | } |
091f5bed RD |
18180 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { |
18181 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
d14a1e28 | 18182 | } |
091f5bed RD |
18183 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { |
18184 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
d14a1e28 | 18185 | } |
091f5bed RD |
18186 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { |
18187 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
823f0cfe | 18188 | } |
091f5bed RD |
18189 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { |
18190 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
d14a1e28 | 18191 | } |
091f5bed RD |
18192 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { |
18193 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
d14a1e28 | 18194 | } |
091f5bed RD |
18195 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { |
18196 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
d14a1e28 | 18197 | } |
8f514ab4 RD |
18198 | static void *_p_wxHtmlCellEventTo_p_wxEvent(void *x) { |
18199 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxHtmlCellEvent *) x)); | |
18200 | } | |
091f5bed RD |
18201 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { |
18202 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
d14a1e28 | 18203 | } |
34e0a3bb RD |
18204 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
18205 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
18206 | } | |
2131d850 RD |
18207 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
18208 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
18209 | } | |
091f5bed RD |
18210 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { |
18211 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
d14a1e28 | 18212 | } |
091f5bed RD |
18213 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
18214 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
d14a1e28 | 18215 | } |
091f5bed RD |
18216 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { |
18217 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
823f0cfe | 18218 | } |
091f5bed RD |
18219 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { |
18220 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
d14a1e28 | 18221 | } |
091f5bed RD |
18222 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { |
18223 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
d14a1e28 | 18224 | } |
091f5bed RD |
18225 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { |
18226 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
d14a1e28 | 18227 | } |
091f5bed RD |
18228 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { |
18229 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
d14a1e28 | 18230 | } |
091f5bed RD |
18231 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { |
18232 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
d14a1e28 | 18233 | } |
091f5bed RD |
18234 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { |
18235 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
d14a1e28 | 18236 | } |
091f5bed RD |
18237 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { |
18238 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
d14a1e28 | 18239 | } |
091f5bed RD |
18240 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
18241 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
d14a1e28 | 18242 | } |
091f5bed RD |
18243 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { |
18244 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
d14a1e28 | 18245 | } |
34e0a3bb RD |
18246 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
18247 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
18248 | } | |
091f5bed RD |
18249 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
18250 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
d3b6e4ff | 18251 | } |
091f5bed RD |
18252 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { |
18253 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
d14a1e28 | 18254 | } |
091f5bed RD |
18255 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { |
18256 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
d14a1e28 | 18257 | } |
091f5bed RD |
18258 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { |
18259 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
d14a1e28 | 18260 | } |
091f5bed RD |
18261 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { |
18262 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
18263 | } | |
8f514ab4 RD |
18264 | static void *_p_wxHtmlLinkEventTo_p_wxEvent(void *x) { |
18265 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxHtmlLinkEvent *) x)); | |
18266 | } | |
091f5bed RD |
18267 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { |
18268 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
18269 | } | |
18270 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
18271 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
18272 | } | |
18273 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
18274 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
18275 | } | |
18276 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
18277 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
18278 | } | |
18279 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
18280 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
18281 | } | |
18282 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
18283 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
18284 | } | |
091f5bed RD |
18285 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { |
18286 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
18287 | } | |
18288 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
18289 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
18290 | } | |
18291 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
18292 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
18293 | } | |
18294 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
18295 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
18296 | } | |
18297 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
18298 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
18299 | } | |
18300 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
18301 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
18302 | } | |
18303 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
18304 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
18305 | } | |
18306 | static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) { | |
18307 | return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
18308 | } | |
18309 | static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) { | |
18310 | return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
18311 | } | |
18312 | static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) { | |
18313 | return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
18314 | } | |
18315 | static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) { | |
18316 | return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
18317 | } | |
18318 | static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) { | |
18319 | return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
18320 | } | |
091f5bed RD |
18321 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { |
18322 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
18323 | } | |
18324 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
18325 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
18326 | } | |
4976f996 RD |
18327 | static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) { |
18328 | return (void *)((wxEvtHandler *) ((wxEventBlocker *) x)); | |
18329 | } | |
091f5bed RD |
18330 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { |
18331 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
18332 | } | |
18333 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
18334 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
18335 | } | |
18336 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
18337 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
18338 | } | |
18339 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
18340 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
18341 | } | |
18342 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
18343 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
18344 | } | |
091f5bed RD |
18345 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { |
18346 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
18347 | } | |
18348 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
18349 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
18350 | } | |
18351 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
18352 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
18353 | } | |
4976f996 RD |
18354 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
18355 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
18356 | } | |
f9bf356b RD |
18357 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
18358 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
18359 | } | |
27e45892 RD |
18360 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { |
18361 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
18362 | } | |
091f5bed RD |
18363 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { |
18364 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
18365 | } | |
18366 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
18367 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
18368 | } | |
18369 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
18370 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
18371 | } | |
18372 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
18373 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
18374 | } | |
18375 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
18376 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
18377 | } | |
18378 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
18379 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
18380 | } | |
18381 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
18382 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
18383 | } | |
18384 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
18385 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
18386 | } | |
18387 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
18388 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
18389 | } | |
18390 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
18391 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
18392 | } | |
18393 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
18394 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
18395 | } | |
18396 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
18397 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
18398 | } | |
18399 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
18400 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
18401 | } | |
18402 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
18403 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
18404 | } | |
18405 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
18406 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
18407 | } | |
18408 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
18409 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
18410 | } | |
18411 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
18412 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
18413 | } | |
18414 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
18415 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
18416 | } | |
18417 | static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) { | |
18418 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
18419 | } | |
18420 | static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) { | |
18421 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x)); | |
18422 | } | |
18423 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
18424 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
18425 | } | |
18426 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
18427 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
18428 | } | |
18429 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
18430 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
18431 | } | |
18432 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
18433 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
18434 | } | |
18435 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
18436 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
18437 | } | |
18438 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
18439 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
18440 | } | |
18441 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
18442 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
18443 | } | |
18444 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
18445 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
18446 | } | |
f9bf356b RD |
18447 | static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) { |
18448 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
18449 | } | |
091f5bed RD |
18450 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { |
18451 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
18452 | } | |
18453 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
18454 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
18455 | } | |
18456 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
18457 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
18458 | } | |
18459 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
18460 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
18461 | } | |
18462 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
18463 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
18464 | } | |
18465 | static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) { | |
18466 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
18467 | } | |
18468 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
18469 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
18470 | } | |
18471 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
18472 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
18473 | } | |
18474 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
18475 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
18476 | } | |
18477 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
18478 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
18479 | } | |
18480 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
18481 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
18482 | } | |
18483 | static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) { | |
18484 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
18485 | } | |
18486 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
18487 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
18488 | } | |
18489 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) { | |
18490 | return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
18491 | } | |
18492 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
18493 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
18494 | } | |
18495 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
18496 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
18497 | } | |
18498 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
18499 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
18500 | } | |
18501 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
18502 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
18503 | } | |
18504 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
18505 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 18506 | } |
091f5bed RD |
18507 | static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) { |
18508 | return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 18509 | } |
091f5bed RD |
18510 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { |
18511 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 18512 | } |
091f5bed RD |
18513 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { |
18514 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 18515 | } |
091f5bed RD |
18516 | static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) { |
18517 | return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
d14a1e28 | 18518 | } |
091f5bed RD |
18519 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { |
18520 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
d14a1e28 | 18521 | } |
091f5bed RD |
18522 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { |
18523 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 18524 | } |
091f5bed RD |
18525 | static void *_p_wxEventTo_p_wxObject(void *x) { |
18526 | return (void *)((wxObject *) ((wxEvent *) x)); | |
d14a1e28 | 18527 | } |
091f5bed RD |
18528 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { |
18529 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
d14a1e28 | 18530 | } |
091f5bed RD |
18531 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { |
18532 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
d14a1e28 | 18533 | } |
091f5bed RD |
18534 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { |
18535 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
d14a1e28 | 18536 | } |
091f5bed RD |
18537 | static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) { |
18538 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
d14a1e28 | 18539 | } |
091f5bed RD |
18540 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { |
18541 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 18542 | } |
091f5bed RD |
18543 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { |
18544 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
d3b6e4ff | 18545 | } |
091f5bed RD |
18546 | static void *_p_wxHtmlTagTo_p_wxObject(void *x) { |
18547 | return (void *)((wxObject *) ((wxHtmlTag *) x)); | |
823f0cfe | 18548 | } |
091f5bed RD |
18549 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { |
18550 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
d14a1e28 | 18551 | } |
091f5bed RD |
18552 | static void *_p_wxImageTo_p_wxObject(void *x) { |
18553 | return (void *)((wxObject *) ((wxImage *) x)); | |
d14a1e28 | 18554 | } |
091f5bed RD |
18555 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
18556 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
d14a1e28 | 18557 | } |
091f5bed RD |
18558 | static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) { |
18559 | return (void *)((wxObject *) ((wxPyHtmlFilter *) x)); | |
d14a1e28 | 18560 | } |
091f5bed RD |
18561 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
18562 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d14a1e28 | 18563 | } |
091f5bed RD |
18564 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { |
18565 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
d14a1e28 | 18566 | } |
091f5bed RD |
18567 | static void *_p_wxPyAppTo_p_wxObject(void *x) { |
18568 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
d14a1e28 | 18569 | } |
091f5bed RD |
18570 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { |
18571 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
d14a1e28 | 18572 | } |
091f5bed RD |
18573 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { |
18574 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
d14a1e28 | 18575 | } |
091f5bed RD |
18576 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { |
18577 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
d14a1e28 | 18578 | } |
091f5bed RD |
18579 | static void *_p_wxValidatorTo_p_wxObject(void *x) { |
18580 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
d14a1e28 | 18581 | } |
091f5bed RD |
18582 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { |
18583 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
d14a1e28 | 18584 | } |
091f5bed RD |
18585 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { |
18586 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
d14a1e28 | 18587 | } |
091f5bed RD |
18588 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { |
18589 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
d14a1e28 | 18590 | } |
091f5bed RD |
18591 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { |
18592 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
d14a1e28 | 18593 | } |
091f5bed RD |
18594 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
18595 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
d14a1e28 | 18596 | } |
4976f996 RD |
18597 | static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) { |
18598 | return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x)); | |
18599 | } | |
580080c5 RD |
18600 | static void *_p_wxHtmlCellEventTo_p_wxObject(void *x) { |
18601 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHtmlCellEvent *) x)); | |
18602 | } | |
091f5bed RD |
18603 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { |
18604 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
d3b6e4ff | 18605 | } |
091f5bed RD |
18606 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { |
18607 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
d14a1e28 | 18608 | } |
091f5bed RD |
18609 | static void *_p_wxPrinterTo_p_wxObject(void *x) { |
18610 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
d14a1e28 | 18611 | } |
091f5bed RD |
18612 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { |
18613 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
d14a1e28 | 18614 | } |
091f5bed RD |
18615 | static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) { |
18616 | return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
d14a1e28 | 18617 | } |
091f5bed RD |
18618 | static void *_p_wxHtmlParserTo_p_wxObject(void *x) { |
18619 | return (void *)((wxObject *) ((wxHtmlParser *) x)); | |
d3b6e4ff | 18620 | } |
091f5bed RD |
18621 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { |
18622 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
d14a1e28 | 18623 | } |
4976f996 RD |
18624 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { |
18625 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
18626 | } | |
091f5bed RD |
18627 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
18628 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
943e8dfd | 18629 | } |
091f5bed RD |
18630 | static void *_p_wxControlTo_p_wxObject(void *x) { |
18631 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
943e8dfd | 18632 | } |
091f5bed RD |
18633 | static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) { |
18634 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
943e8dfd | 18635 | } |
091f5bed RD |
18636 | static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) { |
18637 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
943e8dfd | 18638 | } |
091f5bed RD |
18639 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
18640 | return (void *)((wxObject *) ((wxColourData *) x)); | |
943e8dfd | 18641 | } |
091f5bed RD |
18642 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { |
18643 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
943e8dfd | 18644 | } |
091f5bed RD |
18645 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { |
18646 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
943e8dfd | 18647 | } |
091f5bed RD |
18648 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { |
18649 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
943e8dfd | 18650 | } |
091f5bed RD |
18651 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { |
18652 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
943e8dfd | 18653 | } |
091f5bed RD |
18654 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { |
18655 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
943e8dfd | 18656 | } |
091f5bed RD |
18657 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { |
18658 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
943e8dfd | 18659 | } |
091f5bed RD |
18660 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { |
18661 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
943e8dfd | 18662 | } |
091f5bed RD |
18663 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { |
18664 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
943e8dfd | 18665 | } |
091f5bed RD |
18666 | static void *_p_wxDateEventTo_p_wxObject(void *x) { |
18667 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
d14a1e28 | 18668 | } |
091f5bed RD |
18669 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
18670 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
d14a1e28 | 18671 | } |
34e0a3bb RD |
18672 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
18673 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
18674 | } | |
091f5bed RD |
18675 | static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) { |
18676 | return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
d14a1e28 | 18677 | } |
091f5bed RD |
18678 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { |
18679 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
d14a1e28 | 18680 | } |
091f5bed RD |
18681 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { |
18682 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 18683 | } |
091f5bed RD |
18684 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
18685 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
d14a1e28 | 18686 | } |
091f5bed RD |
18687 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { |
18688 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
d14a1e28 | 18689 | } |
091f5bed RD |
18690 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { |
18691 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
d14a1e28 | 18692 | } |
091f5bed RD |
18693 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
18694 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
d14a1e28 | 18695 | } |
091f5bed RD |
18696 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
18697 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
d14a1e28 | 18698 | } |
f9bf356b RD |
18699 | static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) { |
18700 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
18701 | } | |
091f5bed RD |
18702 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { |
18703 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 18704 | } |
091f5bed RD |
18705 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { |
18706 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 18707 | } |
091f5bed RD |
18708 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { |
18709 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
d14a1e28 | 18710 | } |
091f5bed RD |
18711 | static void *_p_wxFontDataTo_p_wxObject(void *x) { |
18712 | return (void *)((wxObject *) ((wxFontData *) x)); | |
d14a1e28 | 18713 | } |
091f5bed RD |
18714 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
18715 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 18716 | } |
091f5bed RD |
18717 | static void *_p_wxFrameTo_p_wxObject(void *x) { |
18718 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 RD |
18719 | } |
18720 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
18721 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
18722 | } | |
091f5bed RD |
18723 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { |
18724 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
d14a1e28 | 18725 | } |
091f5bed RD |
18726 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { |
18727 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 18728 | } |
091f5bed RD |
18729 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { |
18730 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
d14a1e28 | 18731 | } |
091f5bed RD |
18732 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { |
18733 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
d14a1e28 | 18734 | } |
091f5bed RD |
18735 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { |
18736 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
d14a1e28 | 18737 | } |
091f5bed RD |
18738 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { |
18739 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
d14a1e28 | 18740 | } |
091f5bed RD |
18741 | static void *_p_wxSizerTo_p_wxObject(void *x) { |
18742 | return (void *)((wxObject *) ((wxSizer *) x)); | |
d14a1e28 | 18743 | } |
091f5bed RD |
18744 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { |
18745 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
d14a1e28 | 18746 | } |
091f5bed RD |
18747 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { |
18748 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
d14a1e28 | 18749 | } |
091f5bed RD |
18750 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { |
18751 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
d14a1e28 | 18752 | } |
091f5bed RD |
18753 | static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) { |
18754 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
d14a1e28 RD |
18755 | } |
18756 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
18757 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
18758 | } | |
091f5bed RD |
18759 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { |
18760 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
d14a1e28 | 18761 | } |
2131d850 RD |
18762 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
18763 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
18764 | } | |
091f5bed RD |
18765 | static void *_p_wxFSFileTo_p_wxObject(void *x) { |
18766 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
d14a1e28 | 18767 | } |
091f5bed RD |
18768 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { |
18769 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
d14a1e28 | 18770 | } |
091f5bed RD |
18771 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { |
18772 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
d14a1e28 | 18773 | } |
091f5bed RD |
18774 | static void *_p_wxMenuTo_p_wxObject(void *x) { |
18775 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
d14a1e28 | 18776 | } |
091f5bed RD |
18777 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
18778 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
d14a1e28 | 18779 | } |
34e0a3bb RD |
18780 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
18781 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
18782 | } | |
091f5bed RD |
18783 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { |
18784 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
d14a1e28 | 18785 | } |
091f5bed RD |
18786 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { |
18787 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
d14a1e28 | 18788 | } |
091f5bed RD |
18789 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { |
18790 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 18791 | } |
091f5bed RD |
18792 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { |
18793 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 18794 | } |
091f5bed RD |
18795 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { |
18796 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 18797 | } |
091f5bed RD |
18798 | static void *_p_wxDialogTo_p_wxObject(void *x) { |
18799 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
d14a1e28 | 18800 | } |
091f5bed RD |
18801 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { |
18802 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
d14a1e28 RD |
18803 | } |
18804 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
18805 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
18806 | } | |
27e45892 RD |
18807 | static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) { |
18808 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
18809 | } | |
091f5bed RD |
18810 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) { |
18811 | return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
d14a1e28 | 18812 | } |
091f5bed RD |
18813 | static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) { |
18814 | return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x)); | |
d14a1e28 | 18815 | } |
091f5bed RD |
18816 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
18817 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
d14a1e28 | 18818 | } |
580080c5 RD |
18819 | static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { |
18820 | return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); | |
18821 | } | |
091f5bed RD |
18822 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { |
18823 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
d14a1e28 | 18824 | } |
091f5bed RD |
18825 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { |
18826 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
d14a1e28 | 18827 | } |
091f5bed RD |
18828 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { |
18829 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
d14a1e28 | 18830 | } |
091f5bed RD |
18831 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { |
18832 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
d14a1e28 | 18833 | } |
091f5bed RD |
18834 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { |
18835 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
d3b6e4ff | 18836 | } |
091f5bed RD |
18837 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { |
18838 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
d14a1e28 | 18839 | } |
091f5bed RD |
18840 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { |
18841 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
d14a1e28 | 18842 | } |
091f5bed RD |
18843 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { |
18844 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
d14a1e28 | 18845 | } |
091f5bed RD |
18846 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { |
18847 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
d14a1e28 | 18848 | } |
091f5bed RD |
18849 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { |
18850 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
d14a1e28 | 18851 | } |
091f5bed RD |
18852 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { |
18853 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
d14a1e28 | 18854 | } |
091f5bed RD |
18855 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { |
18856 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
53aa7709 | 18857 | } |
091f5bed RD |
18858 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { |
18859 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
d14a1e28 | 18860 | } |
091f5bed RD |
18861 | static void *_p_wxShowEventTo_p_wxObject(void *x) { |
18862 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
d14a1e28 | 18863 | } |
091f5bed RD |
18864 | static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) { |
18865 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 18866 | } |
091f5bed RD |
18867 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
18868 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 18869 | } |
091f5bed RD |
18870 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { |
18871 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
d14a1e28 | 18872 | } |
091f5bed RD |
18873 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { |
18874 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
d14a1e28 | 18875 | } |
091f5bed RD |
18876 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { |
18877 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
d14a1e28 | 18878 | } |
091f5bed RD |
18879 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { |
18880 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
d14a1e28 | 18881 | } |
091f5bed RD |
18882 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { |
18883 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
d14a1e28 | 18884 | } |
091f5bed RD |
18885 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { |
18886 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
d14a1e28 | 18887 | } |
091f5bed RD |
18888 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { |
18889 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
d14a1e28 | 18890 | } |
091f5bed RD |
18891 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { |
18892 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
d14a1e28 | 18893 | } |
091f5bed RD |
18894 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { |
18895 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
d14a1e28 | 18896 | } |
091f5bed RD |
18897 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
18898 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
d14a1e28 | 18899 | } |
091f5bed RD |
18900 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
18901 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 18902 | } |
091f5bed RD |
18903 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
18904 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
d14a1e28 | 18905 | } |
f9bf356b RD |
18906 | static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) { |
18907 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x)); | |
18908 | } | |
091f5bed RD |
18909 | static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) { |
18910 | return (void *)((wxObject *) ((wxHelpControllerBase *) x)); | |
943e8dfd | 18911 | } |
091f5bed RD |
18912 | static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) { |
18913 | return (void *)((wxObject *) ((wxHtmlDCRenderer *) x)); | |
d14a1e28 | 18914 | } |
091f5bed RD |
18915 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { |
18916 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
943e8dfd | 18917 | } |
091f5bed RD |
18918 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { |
18919 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
d14a1e28 | 18920 | } |
091f5bed RD |
18921 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
18922 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 18923 | } |
27e45892 RD |
18924 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { |
18925 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
18926 | } | |
091f5bed RD |
18927 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
18928 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 18929 | } |
091f5bed RD |
18930 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { |
18931 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 18932 | } |
091f5bed RD |
18933 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { |
18934 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 18935 | } |
091f5bed RD |
18936 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { |
18937 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 18938 | } |
091f5bed RD |
18939 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { |
18940 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 18941 | } |
091f5bed RD |
18942 | static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) { |
18943 | return (void *)((wxObject *) ((wxHtmlLinkInfo *) x)); | |
51b83b37 | 18944 | } |
091f5bed RD |
18945 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { |
18946 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
d14a1e28 | 18947 | } |
091f5bed RD |
18948 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { |
18949 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
d14a1e28 | 18950 | } |
091f5bed RD |
18951 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { |
18952 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
d14a1e28 | 18953 | } |
091f5bed RD |
18954 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { |
18955 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
d14a1e28 | 18956 | } |
091f5bed RD |
18957 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { |
18958 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
d14a1e28 | 18959 | } |
4976f996 RD |
18960 | static void *_p_wxEventBlockerTo_p_wxObject(void *x) { |
18961 | return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x)); | |
18962 | } | |
091f5bed RD |
18963 | static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) { |
18964 | return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x)); | |
d14a1e28 | 18965 | } |
8f514ab4 RD |
18966 | static void *_p_wxHtmlLinkEventTo_p_wxObject(void *x) { |
18967 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHtmlLinkEvent *) x)); | |
18968 | } | |
091f5bed RD |
18969 | static void *_p_wxPanelTo_p_wxObject(void *x) { |
18970 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
d14a1e28 RD |
18971 | } |
18972 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
18973 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
18974 | } | |
091f5bed RD |
18975 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { |
18976 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
d14a1e28 | 18977 | } |
091f5bed RD |
18978 | static void *_p_wxHtmlCellTo_p_wxObject(void *x) { |
18979 | return (void *)((wxObject *) ((wxHtmlCell *) x)); | |
d14a1e28 | 18980 | } |
091f5bed RD |
18981 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { |
18982 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
d14a1e28 | 18983 | } |
091f5bed RD |
18984 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { |
18985 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
d14a1e28 | 18986 | } |
091f5bed RD |
18987 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { |
18988 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
d14a1e28 | 18989 | } |
091f5bed RD |
18990 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { |
18991 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
d14a1e28 | 18992 | } |
091f5bed RD |
18993 | static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) { |
18994 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
d14a1e28 | 18995 | } |
091f5bed RD |
18996 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
18997 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
d14a1e28 | 18998 | } |
091f5bed RD |
18999 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { |
19000 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
0df68c9f | 19001 | } |
091f5bed RD |
19002 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { |
19003 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
d14a1e28 | 19004 | } |
091f5bed RD |
19005 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { |
19006 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
d14a1e28 | 19007 | } |
091f5bed RD |
19008 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { |
19009 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 19010 | } |
091f5bed RD |
19011 | static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) { |
19012 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
d14a1e28 | 19013 | } |
091f5bed RD |
19014 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { |
19015 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
d14a1e28 | 19016 | } |
8f514ab4 RD |
19017 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
19018 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
19019 | } | |
19020 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
19021 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
19022 | } | |
19023 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
19024 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
19025 | } | |
19026 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
19027 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
19028 | } | |
19029 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
19030 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
19031 | } | |
19032 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
19033 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
19034 | } | |
19035 | static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) { | |
19036 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x)); | |
19037 | } | |
19038 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
19039 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
19040 | } | |
19041 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
19042 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
19043 | } | |
19044 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
19045 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
19046 | } | |
19047 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
19048 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
19049 | } | |
19050 | static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
19051 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x)); | |
19052 | } | |
19053 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
19054 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
19055 | } | |
19056 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
19057 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
19058 | } | |
19059 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
19060 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
19061 | } | |
19062 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
19063 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
19064 | } | |
19065 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
19066 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
19067 | } | |
19068 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
19069 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
19070 | } | |
19071 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
19072 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
19073 | } | |
19074 | static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) { | |
19075 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x)); | |
19076 | } | |
19077 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
19078 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
19079 | } | |
19080 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
19081 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
19082 | } | |
091f5bed RD |
19083 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { |
19084 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 19085 | } |
091f5bed RD |
19086 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { |
19087 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 19088 | } |
091f5bed RD |
19089 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { |
19090 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
d14a1e28 | 19091 | } |
091f5bed RD |
19092 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { |
19093 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
d14a1e28 | 19094 | } |
091f5bed RD |
19095 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { |
19096 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
d14a1e28 | 19097 | } |
091f5bed RD |
19098 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { |
19099 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
823f0cfe | 19100 | } |
091f5bed RD |
19101 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { |
19102 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 19103 | } |
27e45892 RD |
19104 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { |
19105 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
19106 | } | |
091f5bed RD |
19107 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
19108 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 19109 | } |
091f5bed RD |
19110 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
19111 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 19112 | } |
091f5bed RD |
19113 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { |
19114 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 19115 | } |
091f5bed RD |
19116 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { |
19117 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 19118 | } |
091f5bed RD |
19119 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { |
19120 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 19121 | } |
091f5bed RD |
19122 | static void *_p_wxPanelTo_p_wxWindow(void *x) { |
19123 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
d14a1e28 | 19124 | } |
091f5bed RD |
19125 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { |
19126 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
d14a1e28 | 19127 | } |
091f5bed RD |
19128 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
19129 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
d14a1e28 | 19130 | } |
091f5bed RD |
19131 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { |
19132 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
d14a1e28 | 19133 | } |
091f5bed RD |
19134 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { |
19135 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
d14a1e28 | 19136 | } |
091f5bed RD |
19137 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { |
19138 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
d14a1e28 | 19139 | } |
091f5bed RD |
19140 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { |
19141 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
d14a1e28 | 19142 | } |
091f5bed RD |
19143 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { |
19144 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 19145 | } |
091f5bed RD |
19146 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { |
19147 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
d14a1e28 | 19148 | } |
091f5bed RD |
19149 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { |
19150 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
d14a1e28 | 19151 | } |
091f5bed RD |
19152 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { |
19153 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
d14a1e28 | 19154 | } |
091f5bed RD |
19155 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { |
19156 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
d14a1e28 | 19157 | } |
091f5bed RD |
19158 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
19159 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
d14a1e28 | 19160 | } |
091f5bed RD |
19161 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
19162 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 19163 | } |
091f5bed RD |
19164 | static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) { |
19165 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 19166 | } |
091f5bed RD |
19167 | static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) { |
19168 | return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x)); | |
d14a1e28 | 19169 | } |
091f5bed RD |
19170 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
19171 | return (void *)((wxWindow *) ((wxControl *) x)); | |
d14a1e28 | 19172 | } |
091f5bed RD |
19173 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { |
19174 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 19175 | } |
091f5bed RD |
19176 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { |
19177 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 19178 | } |
091f5bed RD |
19179 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { |
19180 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 19181 | } |
091f5bed RD |
19182 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { |
19183 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
d14a1e28 | 19184 | } |
091f5bed RD |
19185 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { |
19186 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
d14a1e28 | 19187 | } |
091f5bed RD |
19188 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { |
19189 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 19190 | } |
f9bf356b RD |
19191 | static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) { |
19192 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
19193 | } | |
091f5bed RD |
19194 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
19195 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 19196 | } |
091f5bed RD |
19197 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { |
19198 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 19199 | } |
091f5bed RD |
19200 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
19201 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
d14a1e28 | 19202 | } |
091f5bed RD |
19203 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { |
19204 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
d14a1e28 | 19205 | } |
091f5bed RD |
19206 | static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) { |
19207 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 19208 | } |
091f5bed RD |
19209 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
19210 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 | 19211 | } |
091f5bed RD |
19212 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { |
19213 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 19214 | } |
091f5bed RD |
19215 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { |
19216 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 19217 | } |
091f5bed RD |
19218 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { |
19219 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 19220 | } |
091f5bed RD |
19221 | static void *_p_wxDialogTo_p_wxWindow(void *x) { |
19222 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
d14a1e28 | 19223 | } |
091f5bed RD |
19224 | static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) { |
19225 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 19226 | } |
091f5bed RD |
19227 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
19228 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 19229 | } |
091f5bed RD |
19230 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
19231 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 19232 | } |
091f5bed RD |
19233 | static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) { |
19234 | return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 19235 | } |
091f5bed RD |
19236 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { |
19237 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 19238 | } |
091f5bed RD |
19239 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { |
19240 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 19241 | } |
091f5bed RD |
19242 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { |
19243 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 19244 | } |
091f5bed RD |
19245 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { |
19246 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 19247 | } |
091f5bed RD |
19248 | static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) { |
19249 | return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 19250 | } |
091f5bed RD |
19251 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { |
19252 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 19253 | } |
091f5bed RD |
19254 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { |
19255 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 19256 | } |
091f5bed RD |
19257 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { |
19258 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 19259 | } |
091f5bed RD |
19260 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { |
19261 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
d3b6e4ff | 19262 | } |
091f5bed RD |
19263 | static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) { |
19264 | return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 19265 | } |
27e45892 RD |
19266 | static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) { |
19267 | return (void *)((wxDialog *) ((wxNumberEntryDialog *) x)); | |
19268 | } | |
091f5bed RD |
19269 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { |
19270 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 19271 | } |
091f5bed RD |
19272 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { |
19273 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
d14a1e28 | 19274 | } |
091f5bed RD |
19275 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { |
19276 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 19277 | } |
091f5bed RD |
19278 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { |
19279 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
d14a1e28 | 19280 | } |
091f5bed RD |
19281 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
19282 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 19283 | } |
091f5bed RD |
19284 | static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) { |
19285 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 19286 | } |
091f5bed RD |
19287 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
19288 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 19289 | } |
091f5bed RD |
19290 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { |
19291 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 19292 | } |
f9bf356b RD |
19293 | static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) { |
19294 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
19295 | } | |
091f5bed RD |
19296 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { |
19297 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
d14a1e28 | 19298 | } |
091f5bed RD |
19299 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { |
19300 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 19301 | } |
091f5bed RD |
19302 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { |
19303 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
d14a1e28 | 19304 | } |
091f5bed RD |
19305 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { |
19306 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
d14a1e28 | 19307 | } |
091f5bed RD |
19308 | static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) { |
19309 | return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
d14a1e28 | 19310 | } |
091f5bed RD |
19311 | static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) { |
19312 | return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x)); | |
53aa7709 | 19313 | } |
2131d850 RD |
19314 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
19315 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
53aa7709 | 19316 | } |
2131d850 RD |
19317 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { |
19318 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
53aa7709 | 19319 | } |
8f514ab4 RD |
19320 | static void *_p_wxHtmlLinkEventTo_p_wxCommandEvent(void *x) { |
19321 | return (void *)((wxCommandEvent *) ((wxHtmlLinkEvent *) x)); | |
19322 | } | |
2131d850 RD |
19323 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { |
19324 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
53aa7709 | 19325 | } |
2131d850 RD |
19326 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { |
19327 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
53aa7709 | 19328 | } |
8f514ab4 RD |
19329 | static void *_p_wxHtmlCellEventTo_p_wxCommandEvent(void *x) { |
19330 | return (void *)((wxCommandEvent *) ((wxHtmlCellEvent *) x)); | |
19331 | } | |
2131d850 RD |
19332 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { |
19333 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
53aa7709 | 19334 | } |
2131d850 RD |
19335 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { |
19336 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
53aa7709 | 19337 | } |
091f5bed RD |
19338 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { |
19339 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
53aa7709 | 19340 | } |
2131d850 RD |
19341 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { |
19342 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
19343 | } | |
19344 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
19345 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
19346 | } | |
19347 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
19348 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
53aa7709 | 19349 | } |
091f5bed RD |
19350 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { |
19351 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
53aa7709 | 19352 | } |
2131d850 RD |
19353 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { |
19354 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
19355 | } | |
19356 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
19357 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
d14a1e28 | 19358 | } |
0085ce49 RD |
19359 | static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0}; |
19360 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; | |
19361 | 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 | 19362 | static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0}; |
0085ce49 RD |
19363 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
19364 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
19365 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
704eda0c | 19366 | static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0}; |
0085ce49 RD |
19367 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; |
19368 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; | |
19369 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; | |
19370 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
19371 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
19372 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
2131d850 | 19373 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19374 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; |
19375 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
19376 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
19377 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
0085ce49 | 19378 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; |
2131d850 | 19379 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; |
8f514ab4 | 19380 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19381 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; |
19382 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
19383 | static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0}; | |
19384 | static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0}; | |
19385 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; | |
19386 | static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0}; | |
19387 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0}; | |
19388 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
19389 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
19390 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
19391 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
19392 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
19393 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
19394 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
19395 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
27e45892 | 19396 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19397 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; |
19398 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
19399 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; | |
19400 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
19401 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; | |
19402 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; | |
19403 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
19404 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
19405 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; | |
19406 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; | |
34e0a3bb | 19407 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19408 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
19409 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
19410 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; | |
19411 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
19412 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
19413 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; | |
19414 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; | |
19415 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
19416 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; | |
19417 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
19418 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; | |
19419 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
19420 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
19421 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
2131d850 | 19422 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; |
8f514ab4 | 19423 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19424 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
19425 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
19426 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; | |
19427 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
19428 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
19429 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
19430 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
19431 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
19432 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
19433 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
4976f996 | 19434 | static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19435 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; |
19436 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; | |
19437 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
19438 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
19439 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
19440 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
19441 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
19442 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
19443 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
19444 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
19445 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
19446 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
19447 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
19448 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
0085ce49 | 19449 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; |
f9bf356b | 19450 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19451 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0}; |
19452 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
19453 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
19454 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
19455 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
19456 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
f9bf356b | 19457 | static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19458 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
19459 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
19460 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
19461 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
19462 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; | |
19463 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; | |
19464 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
19465 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0}; | |
19466 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; | |
19467 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
19468 | static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0}; | |
19469 | static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0}; | |
19470 | static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0}; | |
19471 | static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0}; | |
19472 | static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0}; | |
8f514ab4 | 19473 | static swig_type_info _swigt__p_wxHtmlCellEvent = {"_p_wxHtmlCellEvent", "wxHtmlCellEvent *", 0, 0, (void*)0, 0}; |
0085ce49 RD |
19474 | static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0}; |
19475 | static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0}; | |
19476 | static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0}; | |
19477 | static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0}; | |
19478 | static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0}; | |
19479 | static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0}; | |
19480 | static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0}; | |
19481 | static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0}; | |
19482 | static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0}; | |
19483 | static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0}; | |
19484 | static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0}; | |
19485 | static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0}; | |
8f514ab4 | 19486 | static swig_type_info _swigt__p_wxHtmlLinkEvent = {"_p_wxHtmlLinkEvent", "wxHtmlLinkEvent *", 0, 0, (void*)0, 0}; |
0085ce49 RD |
19487 | static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0}; |
19488 | static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0}; | |
19489 | static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0}; | |
19490 | static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0}; | |
19491 | static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0}; | |
19492 | static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0}; | |
19493 | static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0}; | |
19494 | static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0}; | |
19495 | static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0}; | |
19496 | static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0}; | |
19497 | static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0}; | |
19498 | static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0}; | |
19499 | static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0}; | |
e9d6f3a4 | 19500 | static swig_type_info _swigt__p_wxHtmlWindowInterface = {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0}; |
0085ce49 RD |
19501 | static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0}; |
19502 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0}; | |
0085ce49 RD |
19503 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; |
19504 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
19505 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
19506 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
19507 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
19508 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
19509 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
19510 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
19511 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
8f514ab4 | 19512 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; |
4976f996 | 19513 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19514 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; |
19515 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
19516 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; | |
19517 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
19518 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
19519 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
19520 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
0085ce49 | 19521 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0}; |
34e0a3bb | 19522 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19523 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; |
19524 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
19525 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
0085ce49 | 19526 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; |
34e0a3bb | 19527 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19528 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; |
19529 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
580080c5 | 19530 | static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19531 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; |
19532 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
19533 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
19534 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
19535 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; | |
19536 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
19537 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; | |
19538 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; | |
19539 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; | |
19540 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; | |
19541 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; | |
19542 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
19543 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
19544 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0}; | |
19545 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; | |
19546 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; | |
19547 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
19548 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0}; | |
19549 | static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0}; | |
19550 | static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0}; | |
19551 | static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0}; | |
19552 | static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0}; | |
19553 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0}; | |
19554 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0}; | |
19555 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
19556 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0}; | |
19557 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
19558 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; | |
0085ce49 RD |
19559 | static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0}; |
19560 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
32fe5131 RD |
19561 | |
19562 | static swig_type_info *swig_type_initial[] = { | |
19563 | &_swigt__p_bool, | |
19564 | &_swigt__p_char, | |
19565 | &_swigt__p_form_ops_t, | |
19566 | &_swigt__p_int, | |
19567 | &_swigt__p_unsigned_char, | |
19568 | &_swigt__p_unsigned_int, | |
19569 | &_swigt__p_unsigned_long, | |
19570 | &_swigt__p_wxANIHandler, | |
19571 | &_swigt__p_wxAcceleratorTable, | |
19572 | &_swigt__p_wxActivateEvent, | |
704eda0c | 19573 | &_swigt__p_wxArrayInt, |
32fe5131 RD |
19574 | &_swigt__p_wxBMPHandler, |
19575 | &_swigt__p_wxBitmap, | |
19576 | &_swigt__p_wxBoxSizer, | |
19577 | &_swigt__p_wxCURHandler, | |
19578 | &_swigt__p_wxCalculateLayoutEvent, | |
19579 | &_swigt__p_wxChildFocusEvent, | |
2131d850 | 19580 | &_swigt__p_wxClipboardTextEvent, |
32fe5131 RD |
19581 | &_swigt__p_wxCloseEvent, |
19582 | &_swigt__p_wxColour, | |
19583 | &_swigt__p_wxColourData, | |
19584 | &_swigt__p_wxColourDialog, | |
19585 | &_swigt__p_wxCommandEvent, | |
19586 | &_swigt__p_wxConfigBase, | |
19587 | &_swigt__p_wxContextMenuEvent, | |
19588 | &_swigt__p_wxControl, | |
19589 | &_swigt__p_wxControlWithItems, | |
19590 | &_swigt__p_wxCursor, | |
19591 | &_swigt__p_wxDC, | |
19592 | &_swigt__p_wxDateEvent, | |
19593 | &_swigt__p_wxDefaultHtmlRenderingStyle, | |
19594 | &_swigt__p_wxDialog, | |
19595 | &_swigt__p_wxDirDialog, | |
19596 | &_swigt__p_wxDisplayChangedEvent, | |
19597 | &_swigt__p_wxDropFilesEvent, | |
19598 | &_swigt__p_wxDuplexMode, | |
19599 | &_swigt__p_wxEraseEvent, | |
19600 | &_swigt__p_wxEvent, | |
4976f996 | 19601 | &_swigt__p_wxEventBlocker, |
32fe5131 RD |
19602 | &_swigt__p_wxEvtHandler, |
19603 | &_swigt__p_wxFSFile, | |
19604 | &_swigt__p_wxFileDialog, | |
19605 | &_swigt__p_wxFileSystem, | |
19606 | &_swigt__p_wxFindDialogEvent, | |
19607 | &_swigt__p_wxFindReplaceData, | |
19608 | &_swigt__p_wxFindReplaceDialog, | |
19609 | &_swigt__p_wxFlexGridSizer, | |
19610 | &_swigt__p_wxFocusEvent, | |
19611 | &_swigt__p_wxFont, | |
19612 | &_swigt__p_wxFontData, | |
19613 | &_swigt__p_wxFontDialog, | |
19614 | &_swigt__p_wxFrame, | |
19615 | &_swigt__p_wxGBSizerItem, | |
19616 | &_swigt__p_wxGIFHandler, | |
19617 | &_swigt__p_wxGridBagSizer, | |
19618 | &_swigt__p_wxGridSizer, | |
19619 | &_swigt__p_wxHelpControllerBase, | |
19620 | &_swigt__p_wxHelpSearchMode, | |
19621 | &_swigt__p_wxHtmlBookRecArray, | |
19622 | &_swigt__p_wxHtmlBookRecord, | |
19623 | &_swigt__p_wxHtmlCell, | |
8f514ab4 | 19624 | &_swigt__p_wxHtmlCellEvent, |
32fe5131 RD |
19625 | &_swigt__p_wxHtmlColourCell, |
19626 | &_swigt__p_wxHtmlContainerCell, | |
19627 | &_swigt__p_wxHtmlDCRenderer, | |
19628 | &_swigt__p_wxHtmlEasyPrinting, | |
19629 | &_swigt__p_wxHtmlFilter, | |
19630 | &_swigt__p_wxHtmlFontCell, | |
19631 | &_swigt__p_wxHtmlHelpController, | |
19632 | &_swigt__p_wxHtmlHelpData, | |
19633 | &_swigt__p_wxHtmlHelpDialog, | |
19634 | &_swigt__p_wxHtmlHelpFrame, | |
19635 | &_swigt__p_wxHtmlHelpFrameCfg, | |
19636 | &_swigt__p_wxHtmlHelpWindow, | |
8f514ab4 | 19637 | &_swigt__p_wxHtmlLinkEvent, |
32fe5131 RD |
19638 | &_swigt__p_wxHtmlLinkInfo, |
19639 | &_swigt__p_wxHtmlModalHelp, | |
19640 | &_swigt__p_wxHtmlParser, | |
19641 | &_swigt__p_wxHtmlPrintout, | |
19642 | &_swigt__p_wxHtmlRenderingInfo, | |
19643 | &_swigt__p_wxHtmlRenderingState, | |
19644 | &_swigt__p_wxHtmlRenderingStyle, | |
19645 | &_swigt__p_wxHtmlSearchStatus, | |
19646 | &_swigt__p_wxHtmlSelection, | |
19647 | &_swigt__p_wxHtmlTag, | |
19648 | &_swigt__p_wxHtmlTagHandler, | |
19649 | &_swigt__p_wxHtmlWidgetCell, | |
19650 | &_swigt__p_wxHtmlWinParser, | |
e9d6f3a4 | 19651 | &_swigt__p_wxHtmlWindowInterface, |
32fe5131 RD |
19652 | &_swigt__p_wxHtmlWordCell, |
19653 | &_swigt__p_wxICOHandler, | |
19654 | &_swigt__p_wxIconizeEvent, | |
19655 | &_swigt__p_wxIdleEvent, | |
19656 | &_swigt__p_wxImage, | |
19657 | &_swigt__p_wxImageHandler, | |
19658 | &_swigt__p_wxIndividualLayoutConstraint, | |
19659 | &_swigt__p_wxInitDialogEvent, | |
19660 | &_swigt__p_wxJPEGHandler, | |
19661 | &_swigt__p_wxKeyEvent, | |
19662 | &_swigt__p_wxLayoutAlgorithm, | |
19663 | &_swigt__p_wxLayoutConstraints, | |
19664 | &_swigt__p_wxMDIChildFrame, | |
19665 | &_swigt__p_wxMDIClientWindow, | |
19666 | &_swigt__p_wxMDIParentFrame, | |
19667 | &_swigt__p_wxMaximizeEvent, | |
19668 | &_swigt__p_wxMenu, | |
19669 | &_swigt__p_wxMenuBar, | |
19670 | &_swigt__p_wxMenuEvent, | |
19671 | &_swigt__p_wxMenuItem, | |
19672 | &_swigt__p_wxMessageDialog, | |
19673 | &_swigt__p_wxMiniFrame, | |
19674 | &_swigt__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 19675 | &_swigt__p_wxMouseCaptureLostEvent, |
32fe5131 RD |
19676 | &_swigt__p_wxMouseEvent, |
19677 | &_swigt__p_wxMoveEvent, | |
19678 | &_swigt__p_wxMultiChoiceDialog, | |
19679 | &_swigt__p_wxNavigationKeyEvent, | |
19680 | &_swigt__p_wxNcPaintEvent, | |
19681 | &_swigt__p_wxNotifyEvent, | |
27e45892 | 19682 | &_swigt__p_wxNumberEntryDialog, |
32fe5131 RD |
19683 | &_swigt__p_wxObject, |
19684 | &_swigt__p_wxPCXHandler, | |
19685 | &_swigt__p_wxPNGHandler, | |
19686 | &_swigt__p_wxPNMHandler, | |
19687 | &_swigt__p_wxPageSetupDialog, | |
19688 | &_swigt__p_wxPageSetupDialogData, | |
19689 | &_swigt__p_wxPaintEvent, | |
19690 | &_swigt__p_wxPaletteChangedEvent, | |
19691 | &_swigt__p_wxPanel, | |
19692 | &_swigt__p_wxPaperSize, | |
19693 | &_swigt__p_wxPasswordEntryDialog, | |
19694 | &_swigt__p_wxPoint, | |
19695 | &_swigt__p_wxPopupWindow, | |
19696 | &_swigt__p_wxPreviewCanvas, | |
19697 | &_swigt__p_wxPreviewControlBar, | |
19698 | &_swigt__p_wxPreviewFrame, | |
19699 | &_swigt__p_wxPrintData, | |
19700 | &_swigt__p_wxPrintDialog, | |
19701 | &_swigt__p_wxPrintDialogData, | |
19702 | &_swigt__p_wxPrintPreview, | |
19703 | &_swigt__p_wxPrinter, | |
19704 | &_swigt__p_wxProgressDialog, | |
19705 | &_swigt__p_wxPyApp, | |
19706 | &_swigt__p_wxPyCommandEvent, | |
19707 | &_swigt__p_wxPyEvent, | |
19708 | &_swigt__p_wxPyHtmlFilter, | |
19709 | &_swigt__p_wxPyHtmlListBox, | |
19710 | &_swigt__p_wxPyHtmlTagHandler, | |
19711 | &_swigt__p_wxPyHtmlWinTagHandler, | |
19712 | &_swigt__p_wxPyHtmlWindow, | |
19713 | &_swigt__p_wxPyImageHandler, | |
19714 | &_swigt__p_wxPyPanel, | |
19715 | &_swigt__p_wxPyPopupTransientWindow, | |
19716 | &_swigt__p_wxPyPreviewControlBar, | |
19717 | &_swigt__p_wxPyPreviewFrame, | |
19718 | &_swigt__p_wxPyPrintPreview, | |
19719 | &_swigt__p_wxPyPrintout, | |
19720 | &_swigt__p_wxPyScrolledWindow, | |
19721 | &_swigt__p_wxPySizer, | |
19722 | &_swigt__p_wxPyTaskBarIcon, | |
19723 | &_swigt__p_wxPyVListBox, | |
19724 | &_swigt__p_wxPyVScrolledWindow, | |
19725 | &_swigt__p_wxPyValidator, | |
19726 | &_swigt__p_wxPyWindow, | |
19727 | &_swigt__p_wxQueryLayoutInfoEvent, | |
19728 | &_swigt__p_wxQueryNewPaletteEvent, | |
19729 | &_swigt__p_wxSashEvent, | |
19730 | &_swigt__p_wxSashLayoutWindow, | |
19731 | &_swigt__p_wxSashWindow, | |
19732 | &_swigt__p_wxScrollEvent, | |
19733 | &_swigt__p_wxScrollWinEvent, | |
19734 | &_swigt__p_wxScrolledWindow, | |
19735 | &_swigt__p_wxSetCursorEvent, | |
19736 | &_swigt__p_wxShowEvent, | |
f9bf356b | 19737 | &_swigt__p_wxSimpleHtmlListBox, |
32fe5131 RD |
19738 | &_swigt__p_wxSingleChoiceDialog, |
19739 | &_swigt__p_wxSize, | |
19740 | &_swigt__p_wxSizeEvent, | |
19741 | &_swigt__p_wxSizer, | |
19742 | &_swigt__p_wxSizerItem, | |
19743 | &_swigt__p_wxSplashScreen, | |
19744 | &_swigt__p_wxSplashScreenWindow, | |
19745 | &_swigt__p_wxSplitterEvent, | |
19746 | &_swigt__p_wxSplitterWindow, | |
19747 | &_swigt__p_wxStaticBoxSizer, | |
19748 | &_swigt__p_wxStatusBar, | |
19749 | &_swigt__p_wxStdDialogButtonSizer, | |
19750 | &_swigt__p_wxString, | |
19751 | &_swigt__p_wxSysColourChangedEvent, | |
580080c5 | 19752 | &_swigt__p_wxTGAHandler, |
32fe5131 RD |
19753 | &_swigt__p_wxTIFFHandler, |
19754 | &_swigt__p_wxTaskBarIconEvent, | |
19755 | &_swigt__p_wxTextEntryDialog, | |
19756 | &_swigt__p_wxTipWindow, | |
19757 | &_swigt__p_wxTopLevelWindow, | |
32fe5131 RD |
19758 | &_swigt__p_wxUpdateUIEvent, |
19759 | &_swigt__p_wxValidator, | |
19760 | &_swigt__p_wxVisualAttributes, | |
19761 | &_swigt__p_wxWindow, | |
19762 | &_swigt__p_wxWindowCreateEvent, | |
19763 | &_swigt__p_wxWindowDestroyEvent, | |
19764 | &_swigt__p_wxXPMHandler, | |
32fe5131 RD |
19765 | }; |
19766 | ||
19767 | static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}}; | |
19768 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
19769 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
19770 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
19771 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; | |
19772 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
19773 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
704eda0c | 19774 | static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19775 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; |
19776 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
19777 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19778 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19779 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
2131d850 | 19780 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19781 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; |
19782 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19783 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19784 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 | 19785 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; |
2131d850 | 19786 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; |
8f514ab4 | 19787 | static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19788 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
19789 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
8f514ab4 | 19790 | static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHtmlLinkEvent, _p_wxHtmlLinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHtmlCellEvent, _p_wxHtmlCellEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19791 | static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}}; |
19792 | static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}}; | |
19793 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; | |
19794 | static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}}; | |
19795 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19796 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19797 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19798 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19799 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19800 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19801 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19802 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 19803 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19804 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; |
19805 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 19806 | static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19807 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; |
19808 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19809 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19810 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19811 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19812 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19813 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
34e0a3bb | 19814 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19815 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
19816 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19817 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19818 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19819 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19820 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19821 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19822 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19823 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19824 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19825 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19826 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19827 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19828 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
2131d850 | 19829 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; |
8f514ab4 | 19830 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19831 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
19832 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19833 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19834 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19835 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19836 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
8f514ab4 | 19837 | static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHtmlCellEvent, _p_wxHtmlCellEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHtmlLinkEvent, _p_wxHtmlLinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19838 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
19839 | static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
19840 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 19841 | static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19842 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; |
19843 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
19844 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
19845 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19846 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
19847 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19848 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19849 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19850 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19851 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19852 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19853 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19854 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19855 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 | 19856 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 19857 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19858 | static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; |
19859 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
19860 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
19861 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
19862 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
19863 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 19864 | static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19865 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
19866 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
19867 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
19868 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
19869 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
19870 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
19871 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 19872 | static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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}}; |
32fe5131 RD |
19873 | static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; |
19874 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; | |
19875 | 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}}; | |
19876 | 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}}; | |
19877 | static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}}; | |
19878 | static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}}; | |
19879 | static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}}; | |
19880 | static swig_cast_info _swigc__p_wxHtmlCell[] = { {&_swigt__p_wxHtmlCell, 0, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxHtmlCell, 0, 0},{0, 0, 0, 0}}; | |
8f514ab4 | 19881 | static swig_cast_info _swigc__p_wxHtmlCellEvent[] = { {&_swigt__p_wxHtmlCellEvent, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19882 | static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}}; |
19883 | static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}}; | |
19884 | static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}}; | |
19885 | static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}}; | |
19886 | static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}}; | |
19887 | static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}}; | |
19888 | static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}}; | |
19889 | static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}}; | |
19890 | static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19891 | static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
19892 | static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}}; | |
19893 | static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
8f514ab4 | 19894 | static swig_cast_info _swigc__p_wxHtmlLinkEvent[] = { {&_swigt__p_wxHtmlLinkEvent, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19895 | static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}}; |
19896 | static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}}; | |
19897 | 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}}; | |
19898 | static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
19899 | static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
19900 | static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}}; | |
19901 | 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}}; | |
19902 | static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}}; | |
19903 | static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}}; | |
19904 | static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}}; | |
19905 | static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19906 | static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}}; | |
19907 | static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}}; | |
e9d6f3a4 | 19908 | static swig_cast_info _swigc__p_wxHtmlWindowInterface[] = { {&_swigt__p_wxHtmlWindowInterface, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19909 | static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}}; |
19910 | static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 RD |
19911 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; |
19912 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
19913 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
19914 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
19915 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
19916 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
19917 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
19918 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
8f514ab4 | 19919 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; |
4976f996 | 19920 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19921 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; |
19922 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
19923 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
19924 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
19925 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
19926 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
19927 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 | 19928 | static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}}; |
34e0a3bb | 19929 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19930 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; |
19931 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
19932 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 | 19933 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; |
34e0a3bb | 19934 | static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19935 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; |
19936 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 19937 | static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19938 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; |
19939 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19940 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19941 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19942 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19943 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19944 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19945 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19946 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19947 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19948 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19949 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19950 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 19951 | static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlTag, _p_wxHtmlTagTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlFilter, _p_wxPyHtmlFilterTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlEasyPrinting, _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlCellEvent, _p_wxHtmlCellEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlParser, _p_wxHtmlParserTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler, _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_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_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_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_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpControllerBase, _p_wxHelpControllerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlDCRenderer, _p_wxHtmlDCRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkInfo, _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkEvent, _p_wxHtmlLinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlCell, _p_wxHtmlCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; |
32fe5131 | 19952 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 19953 | 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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19954 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; |
19955 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
19956 | static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
19957 | static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}}; | |
19958 | 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}}; | |
19959 | static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19960 | static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19961 | 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}}; | |
19962 | 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}}; | |
19963 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
19964 | static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19965 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 19966 | static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; |
32fe5131 | 19967 | static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 19968 | static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_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}}; |
32fe5131 RD |
19969 | |
19970 | static swig_cast_info *swig_cast_initial[] = { | |
19971 | _swigc__p_bool, | |
19972 | _swigc__p_char, | |
19973 | _swigc__p_form_ops_t, | |
19974 | _swigc__p_int, | |
19975 | _swigc__p_unsigned_char, | |
19976 | _swigc__p_unsigned_int, | |
19977 | _swigc__p_unsigned_long, | |
19978 | _swigc__p_wxANIHandler, | |
19979 | _swigc__p_wxAcceleratorTable, | |
19980 | _swigc__p_wxActivateEvent, | |
704eda0c | 19981 | _swigc__p_wxArrayInt, |
32fe5131 RD |
19982 | _swigc__p_wxBMPHandler, |
19983 | _swigc__p_wxBitmap, | |
19984 | _swigc__p_wxBoxSizer, | |
19985 | _swigc__p_wxCURHandler, | |
19986 | _swigc__p_wxCalculateLayoutEvent, | |
19987 | _swigc__p_wxChildFocusEvent, | |
2131d850 | 19988 | _swigc__p_wxClipboardTextEvent, |
32fe5131 RD |
19989 | _swigc__p_wxCloseEvent, |
19990 | _swigc__p_wxColour, | |
19991 | _swigc__p_wxColourData, | |
19992 | _swigc__p_wxColourDialog, | |
19993 | _swigc__p_wxCommandEvent, | |
19994 | _swigc__p_wxConfigBase, | |
19995 | _swigc__p_wxContextMenuEvent, | |
19996 | _swigc__p_wxControl, | |
19997 | _swigc__p_wxControlWithItems, | |
19998 | _swigc__p_wxCursor, | |
19999 | _swigc__p_wxDC, | |
20000 | _swigc__p_wxDateEvent, | |
20001 | _swigc__p_wxDefaultHtmlRenderingStyle, | |
20002 | _swigc__p_wxDialog, | |
20003 | _swigc__p_wxDirDialog, | |
20004 | _swigc__p_wxDisplayChangedEvent, | |
20005 | _swigc__p_wxDropFilesEvent, | |
20006 | _swigc__p_wxDuplexMode, | |
20007 | _swigc__p_wxEraseEvent, | |
20008 | _swigc__p_wxEvent, | |
4976f996 | 20009 | _swigc__p_wxEventBlocker, |
32fe5131 RD |
20010 | _swigc__p_wxEvtHandler, |
20011 | _swigc__p_wxFSFile, | |
20012 | _swigc__p_wxFileDialog, | |
20013 | _swigc__p_wxFileSystem, | |
20014 | _swigc__p_wxFindDialogEvent, | |
20015 | _swigc__p_wxFindReplaceData, | |
20016 | _swigc__p_wxFindReplaceDialog, | |
20017 | _swigc__p_wxFlexGridSizer, | |
20018 | _swigc__p_wxFocusEvent, | |
20019 | _swigc__p_wxFont, | |
20020 | _swigc__p_wxFontData, | |
20021 | _swigc__p_wxFontDialog, | |
20022 | _swigc__p_wxFrame, | |
20023 | _swigc__p_wxGBSizerItem, | |
20024 | _swigc__p_wxGIFHandler, | |
20025 | _swigc__p_wxGridBagSizer, | |
20026 | _swigc__p_wxGridSizer, | |
20027 | _swigc__p_wxHelpControllerBase, | |
20028 | _swigc__p_wxHelpSearchMode, | |
20029 | _swigc__p_wxHtmlBookRecArray, | |
20030 | _swigc__p_wxHtmlBookRecord, | |
20031 | _swigc__p_wxHtmlCell, | |
8f514ab4 | 20032 | _swigc__p_wxHtmlCellEvent, |
32fe5131 RD |
20033 | _swigc__p_wxHtmlColourCell, |
20034 | _swigc__p_wxHtmlContainerCell, | |
20035 | _swigc__p_wxHtmlDCRenderer, | |
20036 | _swigc__p_wxHtmlEasyPrinting, | |
20037 | _swigc__p_wxHtmlFilter, | |
20038 | _swigc__p_wxHtmlFontCell, | |
20039 | _swigc__p_wxHtmlHelpController, | |
20040 | _swigc__p_wxHtmlHelpData, | |
20041 | _swigc__p_wxHtmlHelpDialog, | |
20042 | _swigc__p_wxHtmlHelpFrame, | |
20043 | _swigc__p_wxHtmlHelpFrameCfg, | |
20044 | _swigc__p_wxHtmlHelpWindow, | |
8f514ab4 | 20045 | _swigc__p_wxHtmlLinkEvent, |
32fe5131 RD |
20046 | _swigc__p_wxHtmlLinkInfo, |
20047 | _swigc__p_wxHtmlModalHelp, | |
20048 | _swigc__p_wxHtmlParser, | |
20049 | _swigc__p_wxHtmlPrintout, | |
20050 | _swigc__p_wxHtmlRenderingInfo, | |
20051 | _swigc__p_wxHtmlRenderingState, | |
20052 | _swigc__p_wxHtmlRenderingStyle, | |
20053 | _swigc__p_wxHtmlSearchStatus, | |
20054 | _swigc__p_wxHtmlSelection, | |
20055 | _swigc__p_wxHtmlTag, | |
20056 | _swigc__p_wxHtmlTagHandler, | |
20057 | _swigc__p_wxHtmlWidgetCell, | |
20058 | _swigc__p_wxHtmlWinParser, | |
e9d6f3a4 | 20059 | _swigc__p_wxHtmlWindowInterface, |
32fe5131 RD |
20060 | _swigc__p_wxHtmlWordCell, |
20061 | _swigc__p_wxICOHandler, | |
20062 | _swigc__p_wxIconizeEvent, | |
20063 | _swigc__p_wxIdleEvent, | |
20064 | _swigc__p_wxImage, | |
20065 | _swigc__p_wxImageHandler, | |
20066 | _swigc__p_wxIndividualLayoutConstraint, | |
20067 | _swigc__p_wxInitDialogEvent, | |
20068 | _swigc__p_wxJPEGHandler, | |
20069 | _swigc__p_wxKeyEvent, | |
20070 | _swigc__p_wxLayoutAlgorithm, | |
20071 | _swigc__p_wxLayoutConstraints, | |
20072 | _swigc__p_wxMDIChildFrame, | |
20073 | _swigc__p_wxMDIClientWindow, | |
20074 | _swigc__p_wxMDIParentFrame, | |
20075 | _swigc__p_wxMaximizeEvent, | |
20076 | _swigc__p_wxMenu, | |
20077 | _swigc__p_wxMenuBar, | |
20078 | _swigc__p_wxMenuEvent, | |
20079 | _swigc__p_wxMenuItem, | |
20080 | _swigc__p_wxMessageDialog, | |
20081 | _swigc__p_wxMiniFrame, | |
20082 | _swigc__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 20083 | _swigc__p_wxMouseCaptureLostEvent, |
32fe5131 RD |
20084 | _swigc__p_wxMouseEvent, |
20085 | _swigc__p_wxMoveEvent, | |
20086 | _swigc__p_wxMultiChoiceDialog, | |
20087 | _swigc__p_wxNavigationKeyEvent, | |
20088 | _swigc__p_wxNcPaintEvent, | |
20089 | _swigc__p_wxNotifyEvent, | |
27e45892 | 20090 | _swigc__p_wxNumberEntryDialog, |
32fe5131 RD |
20091 | _swigc__p_wxObject, |
20092 | _swigc__p_wxPCXHandler, | |
20093 | _swigc__p_wxPNGHandler, | |
20094 | _swigc__p_wxPNMHandler, | |
20095 | _swigc__p_wxPageSetupDialog, | |
20096 | _swigc__p_wxPageSetupDialogData, | |
20097 | _swigc__p_wxPaintEvent, | |
20098 | _swigc__p_wxPaletteChangedEvent, | |
20099 | _swigc__p_wxPanel, | |
20100 | _swigc__p_wxPaperSize, | |
20101 | _swigc__p_wxPasswordEntryDialog, | |
20102 | _swigc__p_wxPoint, | |
20103 | _swigc__p_wxPopupWindow, | |
20104 | _swigc__p_wxPreviewCanvas, | |
20105 | _swigc__p_wxPreviewControlBar, | |
20106 | _swigc__p_wxPreviewFrame, | |
20107 | _swigc__p_wxPrintData, | |
20108 | _swigc__p_wxPrintDialog, | |
20109 | _swigc__p_wxPrintDialogData, | |
20110 | _swigc__p_wxPrintPreview, | |
20111 | _swigc__p_wxPrinter, | |
20112 | _swigc__p_wxProgressDialog, | |
20113 | _swigc__p_wxPyApp, | |
20114 | _swigc__p_wxPyCommandEvent, | |
20115 | _swigc__p_wxPyEvent, | |
20116 | _swigc__p_wxPyHtmlFilter, | |
20117 | _swigc__p_wxPyHtmlListBox, | |
20118 | _swigc__p_wxPyHtmlTagHandler, | |
20119 | _swigc__p_wxPyHtmlWinTagHandler, | |
20120 | _swigc__p_wxPyHtmlWindow, | |
20121 | _swigc__p_wxPyImageHandler, | |
20122 | _swigc__p_wxPyPanel, | |
20123 | _swigc__p_wxPyPopupTransientWindow, | |
20124 | _swigc__p_wxPyPreviewControlBar, | |
20125 | _swigc__p_wxPyPreviewFrame, | |
20126 | _swigc__p_wxPyPrintPreview, | |
20127 | _swigc__p_wxPyPrintout, | |
20128 | _swigc__p_wxPyScrolledWindow, | |
20129 | _swigc__p_wxPySizer, | |
20130 | _swigc__p_wxPyTaskBarIcon, | |
20131 | _swigc__p_wxPyVListBox, | |
20132 | _swigc__p_wxPyVScrolledWindow, | |
20133 | _swigc__p_wxPyValidator, | |
20134 | _swigc__p_wxPyWindow, | |
20135 | _swigc__p_wxQueryLayoutInfoEvent, | |
20136 | _swigc__p_wxQueryNewPaletteEvent, | |
20137 | _swigc__p_wxSashEvent, | |
20138 | _swigc__p_wxSashLayoutWindow, | |
20139 | _swigc__p_wxSashWindow, | |
20140 | _swigc__p_wxScrollEvent, | |
20141 | _swigc__p_wxScrollWinEvent, | |
20142 | _swigc__p_wxScrolledWindow, | |
20143 | _swigc__p_wxSetCursorEvent, | |
20144 | _swigc__p_wxShowEvent, | |
f9bf356b | 20145 | _swigc__p_wxSimpleHtmlListBox, |
32fe5131 RD |
20146 | _swigc__p_wxSingleChoiceDialog, |
20147 | _swigc__p_wxSize, | |
20148 | _swigc__p_wxSizeEvent, | |
20149 | _swigc__p_wxSizer, | |
20150 | _swigc__p_wxSizerItem, | |
20151 | _swigc__p_wxSplashScreen, | |
20152 | _swigc__p_wxSplashScreenWindow, | |
20153 | _swigc__p_wxSplitterEvent, | |
20154 | _swigc__p_wxSplitterWindow, | |
20155 | _swigc__p_wxStaticBoxSizer, | |
20156 | _swigc__p_wxStatusBar, | |
20157 | _swigc__p_wxStdDialogButtonSizer, | |
20158 | _swigc__p_wxString, | |
20159 | _swigc__p_wxSysColourChangedEvent, | |
580080c5 | 20160 | _swigc__p_wxTGAHandler, |
32fe5131 RD |
20161 | _swigc__p_wxTIFFHandler, |
20162 | _swigc__p_wxTaskBarIconEvent, | |
20163 | _swigc__p_wxTextEntryDialog, | |
20164 | _swigc__p_wxTipWindow, | |
20165 | _swigc__p_wxTopLevelWindow, | |
32fe5131 RD |
20166 | _swigc__p_wxUpdateUIEvent, |
20167 | _swigc__p_wxValidator, | |
20168 | _swigc__p_wxVisualAttributes, | |
20169 | _swigc__p_wxWindow, | |
20170 | _swigc__p_wxWindowCreateEvent, | |
20171 | _swigc__p_wxWindowDestroyEvent, | |
20172 | _swigc__p_wxXPMHandler, | |
d14a1e28 RD |
20173 | }; |
20174 | ||
20175 | ||
20176 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
20177 | ||
20178 | static swig_const_info swig_const_table[] = { | |
c32bde28 | 20179 | {0, 0, 0, 0.0, 0, 0}}; |
d14a1e28 RD |
20180 | |
20181 | #ifdef __cplusplus | |
20182 | } | |
20183 | #endif | |
0085ce49 | 20184 | /* ----------------------------------------------------------------------------- |
32fe5131 RD |
20185 | * Type initialization: |
20186 | * This problem is tough by the requirement that no dynamic | |
20187 | * memory is used. Also, since swig_type_info structures store pointers to | |
20188 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
20189 | * to swig_type_info structures, we need some lookup code at initialization. | |
20190 | * The idea is that swig generates all the structures that are needed. | |
20191 | * The runtime then collects these partially filled structures. | |
20192 | * The SWIG_InitializeModule function takes these initial arrays out of | |
20193 | * swig_module, and does all the lookup, filling in the swig_module.types | |
20194 | * array with the correct data and linking the correct swig_cast_info | |
20195 | * structures together. | |
0085ce49 | 20196 | * |
32fe5131 RD |
20197 | * The generated swig_type_info structures are assigned staticly to an initial |
20198 | * array. We just loop though that array, and handle each type individually. | |
20199 | * First we lookup if this type has been already loaded, and if so, use the | |
20200 | * loaded structure instead of the generated one. Then we have to fill in the | |
20201 | * cast linked list. The cast data is initially stored in something like a | |
20202 | * two-dimensional array. Each row corresponds to a type (there are the same | |
20203 | * number of rows as there are in the swig_type_initial array). Each entry in | |
20204 | * a column is one of the swig_cast_info structures for that type. | |
20205 | * The cast_initial array is actually an array of arrays, because each row has | |
20206 | * a variable number of columns. So to actually build the cast linked list, | |
20207 | * we find the array of casts associated with the type, and loop through it | |
20208 | * adding the casts to the list. The one last trick we need to do is making | |
20209 | * sure the type pointer in the swig_cast_info struct is correct. | |
0085ce49 | 20210 | * |
32fe5131 RD |
20211 | * First off, we lookup the cast->type name to see if it is already loaded. |
20212 | * There are three cases to handle: | |
20213 | * 1) If the cast->type has already been loaded AND the type we are adding | |
20214 | * casting info to has not been loaded (it is in this module), THEN we | |
20215 | * replace the cast->type pointer with the type pointer that has already | |
20216 | * been loaded. | |
20217 | * 2) If BOTH types (the one we are adding casting info to, and the | |
20218 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
20219 | * the previous module so we just ignore it. | |
20220 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
20221 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
20222 | * be correct. | |
0085ce49 | 20223 | * ----------------------------------------------------------------------------- */ |
32fe5131 RD |
20224 | |
20225 | #ifdef __cplusplus | |
20226 | extern "C" { | |
20227 | #if 0 | |
20228 | } /* c-mode */ | |
20229 | #endif | |
20230 | #endif | |
20231 | ||
20232 | #if 0 | |
20233 | #define SWIGRUNTIME_DEBUG | |
20234 | #endif | |
20235 | ||
20236 | SWIGRUNTIME void | |
20237 | SWIG_InitializeModule(void *clientdata) { | |
0085ce49 RD |
20238 | size_t i; |
20239 | swig_module_info *module_head; | |
20240 | static int init_run = 0; | |
20241 | ||
20242 | clientdata = clientdata; | |
20243 | ||
20244 | if (init_run) return; | |
20245 | init_run = 1; | |
20246 | ||
20247 | /* Initialize the swig_module */ | |
20248 | swig_module.type_initial = swig_type_initial; | |
20249 | swig_module.cast_initial = swig_cast_initial; | |
20250 | ||
20251 | /* Try and load any already created modules */ | |
20252 | module_head = SWIG_GetModule(clientdata); | |
20253 | if (module_head) { | |
20254 | swig_module.next = module_head->next; | |
20255 | module_head->next = &swig_module; | |
20256 | } else { | |
20257 | /* This is the first module loaded */ | |
20258 | swig_module.next = &swig_module; | |
20259 | SWIG_SetModule(clientdata, &swig_module); | |
20260 | } | |
20261 | ||
20262 | /* Now work on filling in swig_module.types */ | |
32fe5131 | 20263 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20264 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); |
32fe5131 | 20265 | #endif |
0085ce49 RD |
20266 | for (i = 0; i < swig_module.size; ++i) { |
20267 | swig_type_info *type = 0; | |
20268 | swig_type_info *ret; | |
20269 | swig_cast_info *cast; | |
20270 | ||
32fe5131 | 20271 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20272 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); |
32fe5131 | 20273 | #endif |
0085ce49 RD |
20274 | |
20275 | /* if there is another module already loaded */ | |
20276 | if (swig_module.next != &swig_module) { | |
20277 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
20278 | } | |
20279 | if (type) { | |
20280 | /* Overwrite clientdata field */ | |
32fe5131 | 20281 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20282 | printf("SWIG_InitializeModule: found type %s\n", type->name); |
32fe5131 | 20283 | #endif |
0085ce49 RD |
20284 | if (swig_module.type_initial[i]->clientdata) { |
20285 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
32fe5131 | 20286 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20287 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); |
32fe5131 | 20288 | #endif |
0085ce49 RD |
20289 | } |
20290 | } else { | |
20291 | type = swig_module.type_initial[i]; | |
20292 | } | |
20293 | ||
20294 | /* Insert casting types */ | |
20295 | cast = swig_module.cast_initial[i]; | |
20296 | while (cast->type) { | |
20297 | /* Don't need to add information already in the list */ | |
20298 | ret = 0; | |
32fe5131 | 20299 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20300 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); |
32fe5131 | 20301 | #endif |
0085ce49 RD |
20302 | if (swig_module.next != &swig_module) { |
20303 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
32fe5131 | 20304 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20305 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); |
32fe5131 | 20306 | #endif |
0085ce49 RD |
20307 | } |
20308 | if (ret) { | |
20309 | if (type == swig_module.type_initial[i]) { | |
32fe5131 | 20310 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20311 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); |
32fe5131 | 20312 | #endif |
0085ce49 RD |
20313 | cast->type = ret; |
20314 | ret = 0; | |
20315 | } else { | |
20316 | /* Check for casting already in the list */ | |
20317 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
32fe5131 | 20318 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20319 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); |
32fe5131 | 20320 | #endif |
0085ce49 RD |
20321 | if (!ocast) ret = 0; |
20322 | } | |
20323 | } | |
20324 | ||
20325 | if (!ret) { | |
32fe5131 | 20326 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20327 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); |
32fe5131 | 20328 | #endif |
0085ce49 RD |
20329 | if (type->cast) { |
20330 | type->cast->prev = cast; | |
20331 | cast->next = type->cast; | |
32fe5131 | 20332 | } |
0085ce49 RD |
20333 | type->cast = cast; |
20334 | } | |
20335 | cast++; | |
32fe5131 | 20336 | } |
0085ce49 RD |
20337 | /* Set entry in modules->types array equal to the type */ |
20338 | swig_module.types[i] = type; | |
20339 | } | |
20340 | swig_module.types[i] = 0; | |
20341 | ||
32fe5131 | 20342 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 RD |
20343 | printf("**** SWIG_InitializeModule: Cast List ******\n"); |
20344 | for (i = 0; i < swig_module.size; ++i) { | |
20345 | int j = 0; | |
20346 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
20347 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
20348 | while (cast->type) { | |
20349 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
20350 | cast++; | |
20351 | ++j; | |
20352 | } | |
20353 | printf("---- Total casts: %d\n",j); | |
20354 | } | |
20355 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
32fe5131 RD |
20356 | #endif |
20357 | } | |
20358 | ||
20359 | /* This function will propagate the clientdata field of type to | |
20360 | * any new swig_type_info structures that have been added into the list | |
20361 | * of equivalent types. It is like calling | |
20362 | * SWIG_TypeClientData(type, clientdata) a second time. | |
20363 | */ | |
20364 | SWIGRUNTIME void | |
20365 | SWIG_PropagateClientData(void) { | |
0085ce49 RD |
20366 | size_t i; |
20367 | swig_cast_info *equiv; | |
20368 | static int init_run = 0; | |
20369 | ||
20370 | if (init_run) return; | |
20371 | init_run = 1; | |
20372 | ||
20373 | for (i = 0; i < swig_module.size; i++) { | |
20374 | if (swig_module.types[i]->clientdata) { | |
20375 | equiv = swig_module.types[i]->cast; | |
20376 | while (equiv) { | |
20377 | if (!equiv->converter) { | |
20378 | if (equiv->type && !equiv->type->clientdata) | |
20379 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
32fe5131 | 20380 | } |
0085ce49 RD |
20381 | equiv = equiv->next; |
20382 | } | |
32fe5131 | 20383 | } |
0085ce49 | 20384 | } |
32fe5131 RD |
20385 | } |
20386 | ||
20387 | #ifdef __cplusplus | |
20388 | #if 0 | |
20389 | { | |
0085ce49 | 20390 | /* c-mode */ |
32fe5131 RD |
20391 | #endif |
20392 | } | |
20393 | #endif | |
20394 | ||
d14a1e28 | 20395 | |
093d3ff1 RD |
20396 | |
20397 | #ifdef __cplusplus | |
20398 | extern "C" { | |
20399 | #endif | |
0085ce49 RD |
20400 | |
20401 | /* Python-specific SWIG API */ | |
093d3ff1 RD |
20402 | #define SWIG_newvarlink() SWIG_Python_newvarlink() |
20403 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
20404 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
0085ce49 RD |
20405 | |
20406 | /* ----------------------------------------------------------------------------- | |
20407 | * global variable support code. | |
20408 | * ----------------------------------------------------------------------------- */ | |
20409 | ||
20410 | typedef struct swig_globalvar { | |
20411 | char *name; /* Name of global variable */ | |
20412 | PyObject *(*get_attr)(void); /* Return the current value */ | |
20413 | int (*set_attr)(PyObject *); /* Set the value */ | |
20414 | struct swig_globalvar *next; | |
20415 | } swig_globalvar; | |
20416 | ||
20417 | typedef struct swig_varlinkobject { | |
20418 | PyObject_HEAD | |
20419 | swig_globalvar *vars; | |
20420 | } swig_varlinkobject; | |
20421 | ||
20422 | SWIGINTERN PyObject * | |
20423 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
20424 | return PyString_FromString("<Swig global variables>"); | |
20425 | } | |
20426 | ||
20427 | SWIGINTERN PyObject * | |
20428 | swig_varlink_str(swig_varlinkobject *v) { | |
20429 | PyObject *str = PyString_FromString("("); | |
20430 | swig_globalvar *var; | |
20431 | for (var = v->vars; var; var=var->next) { | |
20432 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
20433 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
20434 | } | |
20435 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
20436 | return str; | |
20437 | } | |
20438 | ||
20439 | SWIGINTERN int | |
20440 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
20441 | PyObject *str = swig_varlink_str(v); | |
20442 | fprintf(fp,"Swig global variables "); | |
20443 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
20444 | Py_DECREF(str); | |
20445 | return 0; | |
20446 | } | |
20447 | ||
20448 | SWIGINTERN void | |
20449 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
20450 | swig_globalvar *var = v->vars; | |
20451 | while (var) { | |
20452 | swig_globalvar *n = var->next; | |
20453 | free(var->name); | |
20454 | free(var); | |
20455 | var = n; | |
093d3ff1 | 20456 | } |
0085ce49 RD |
20457 | } |
20458 | ||
20459 | SWIGINTERN PyObject * | |
20460 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
20461 | PyObject *res = NULL; | |
20462 | swig_globalvar *var = v->vars; | |
20463 | while (var) { | |
20464 | if (strcmp(var->name,n) == 0) { | |
20465 | res = (*var->get_attr)(); | |
20466 | break; | |
20467 | } | |
20468 | var = var->next; | |
093d3ff1 | 20469 | } |
0085ce49 RD |
20470 | if (res == NULL && !PyErr_Occurred()) { |
20471 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
093d3ff1 | 20472 | } |
0085ce49 RD |
20473 | return res; |
20474 | } | |
20475 | ||
20476 | SWIGINTERN int | |
20477 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
20478 | int res = 1; | |
20479 | swig_globalvar *var = v->vars; | |
20480 | while (var) { | |
20481 | if (strcmp(var->name,n) == 0) { | |
20482 | res = (*var->set_attr)(p); | |
20483 | break; | |
20484 | } | |
20485 | var = var->next; | |
093d3ff1 | 20486 | } |
0085ce49 RD |
20487 | if (res == 1 && !PyErr_Occurred()) { |
20488 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
20489 | } | |
20490 | return res; | |
20491 | } | |
20492 | ||
20493 | SWIGINTERN PyTypeObject* | |
20494 | swig_varlink_type(void) { | |
20495 | static char varlink__doc__[] = "Swig var link object"; | |
20496 | static PyTypeObject varlink_type; | |
20497 | static int type_init = 0; | |
20498 | if (!type_init) { | |
20499 | const PyTypeObject tmp | |
20500 | = { | |
20501 | PyObject_HEAD_INIT(NULL) | |
20502 | 0, /* Number of items in variable part (ob_size) */ | |
20503 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
20504 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
20505 | 0, /* Itemsize (tp_itemsize) */ | |
20506 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
20507 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
20508 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
20509 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
20510 | 0, /* tp_compare */ | |
20511 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
20512 | 0, /* tp_as_number */ | |
20513 | 0, /* tp_as_sequence */ | |
20514 | 0, /* tp_as_mapping */ | |
20515 | 0, /* tp_hash */ | |
20516 | 0, /* tp_call */ | |
20517 | (reprfunc)swig_varlink_str, /* tp_str */ | |
20518 | 0, /* tp_getattro */ | |
20519 | 0, /* tp_setattro */ | |
20520 | 0, /* tp_as_buffer */ | |
20521 | 0, /* tp_flags */ | |
20522 | varlink__doc__, /* tp_doc */ | |
20523 | 0, /* tp_traverse */ | |
20524 | 0, /* tp_clear */ | |
20525 | 0, /* tp_richcompare */ | |
20526 | 0, /* tp_weaklistoffset */ | |
093d3ff1 | 20527 | #if PY_VERSION_HEX >= 0x02020000 |
0085ce49 | 20528 | 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 |
20529 | #endif |
20530 | #if PY_VERSION_HEX >= 0x02030000 | |
0085ce49 | 20531 | 0, /* tp_del */ |
093d3ff1 RD |
20532 | #endif |
20533 | #ifdef COUNT_ALLOCS | |
0085ce49 | 20534 | 0,0,0,0 /* tp_alloc -> tp_next */ |
32fe5131 | 20535 | #endif |
0085ce49 RD |
20536 | }; |
20537 | varlink_type = tmp; | |
20538 | varlink_type.ob_type = &PyType_Type; | |
20539 | type_init = 1; | |
32fe5131 | 20540 | } |
0085ce49 RD |
20541 | return &varlink_type; |
20542 | } | |
20543 | ||
20544 | /* Create a variable linking object for use later */ | |
20545 | SWIGINTERN PyObject * | |
20546 | SWIG_Python_newvarlink(void) { | |
20547 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
20548 | if (result) { | |
20549 | result->vars = 0; | |
20550 | } | |
20551 | return ((PyObject*) result); | |
20552 | } | |
20553 | ||
20554 | SWIGINTERN void | |
20555 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
20556 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
20557 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
20558 | if (gv) { | |
20559 | size_t size = strlen(name)+1; | |
20560 | gv->name = (char *)malloc(size); | |
20561 | if (gv->name) { | |
20562 | strncpy(gv->name,name,size); | |
20563 | gv->get_attr = get_attr; | |
20564 | gv->set_attr = set_attr; | |
20565 | gv->next = v->vars; | |
20566 | } | |
093d3ff1 | 20567 | } |
0085ce49 RD |
20568 | v->vars = gv; |
20569 | } | |
20570 | ||
20571 | SWIGINTERN PyObject * | |
20572 | SWIG_globals() { | |
20573 | static PyObject *_SWIG_globals = 0; | |
20574 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
20575 | return _SWIG_globals; | |
20576 | } | |
20577 | ||
20578 | /* ----------------------------------------------------------------------------- | |
20579 | * constants/methods manipulation | |
20580 | * ----------------------------------------------------------------------------- */ | |
20581 | ||
20582 | /* Install Constants */ | |
20583 | SWIGINTERN void | |
20584 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
20585 | PyObject *obj = 0; | |
20586 | size_t i; | |
20587 | for (i = 0; constants[i].type; ++i) { | |
20588 | switch(constants[i].type) { | |
20589 | case SWIG_PY_POINTER: | |
20590 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
20591 | break; | |
20592 | case SWIG_PY_BINARY: | |
20593 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
20594 | break; | |
20595 | default: | |
20596 | obj = 0; | |
20597 | break; | |
20598 | } | |
20599 | if (obj) { | |
20600 | PyDict_SetItemString(d, constants[i].name, obj); | |
20601 | Py_DECREF(obj); | |
20602 | } | |
093d3ff1 | 20603 | } |
0085ce49 RD |
20604 | } |
20605 | ||
20606 | /* -----------------------------------------------------------------------------*/ | |
20607 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
20608 | /* -----------------------------------------------------------------------------*/ | |
20609 | ||
20610 | SWIGINTERN void | |
20611 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
093d3ff1 RD |
20612 | swig_const_info *const_table, |
20613 | swig_type_info **types, | |
20614 | swig_type_info **types_initial) { | |
0085ce49 RD |
20615 | size_t i; |
20616 | for (i = 0; methods[i].ml_name; ++i) { | |
453fb36b | 20617 | const char *c = methods[i].ml_doc; |
0085ce49 RD |
20618 | if (c && (c = strstr(c, "swig_ptr: "))) { |
20619 | int j; | |
20620 | swig_const_info *ci = 0; | |
453fb36b | 20621 | const char *name = c + 10; |
0085ce49 RD |
20622 | for (j = 0; const_table[j].type; ++j) { |
20623 | if (strncmp(const_table[j].name, name, | |
20624 | strlen(const_table[j].name)) == 0) { | |
20625 | ci = &(const_table[j]); | |
20626 | break; | |
20627 | } | |
20628 | } | |
20629 | if (ci) { | |
20630 | size_t shift = (ci->ptype) - types; | |
20631 | swig_type_info *ty = types_initial[shift]; | |
20632 | size_t ldoc = (c - methods[i].ml_doc); | |
20633 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
20634 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
20635 | if (ndoc) { | |
20636 | char *buff = ndoc; | |
20637 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
20638 | if (ptr) { | |
20639 | strncpy(buff, methods[i].ml_doc, ldoc); | |
20640 | buff += ldoc; | |
20641 | strncpy(buff, "swig_ptr: ", 10); | |
20642 | buff += 10; | |
20643 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
20644 | methods[i].ml_doc = ndoc; | |
093d3ff1 | 20645 | } |
0085ce49 | 20646 | } |
093d3ff1 | 20647 | } |
0085ce49 | 20648 | } |
093d3ff1 | 20649 | } |
0085ce49 RD |
20650 | } |
20651 | ||
093d3ff1 RD |
20652 | #ifdef __cplusplus |
20653 | } | |
20654 | #endif | |
20655 | ||
20656 | /* -----------------------------------------------------------------------------* | |
20657 | * Partial Init method | |
20658 | * -----------------------------------------------------------------------------*/ | |
20659 | ||
d14a1e28 RD |
20660 | #ifdef __cplusplus |
20661 | extern "C" | |
20662 | #endif | |
32fe5131 | 20663 | SWIGEXPORT void SWIG_init(void) { |
0085ce49 RD |
20664 | PyObject *m, *d; |
20665 | ||
20666 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
20667 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
20668 | ||
20669 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
20670 | d = PyModule_GetDict(m); | |
20671 | ||
20672 | SWIG_InitializeModule(0); | |
20673 | SWIG_InstallConstants(d,swig_const_table); | |
20674 | ||
20675 | ||
20676 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
20677 | SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get, HtmlWindowNameStr_set); | |
20678 | SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get, HtmlPrintoutTitleStr_set); | |
20679 | SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get, HtmlPrintingTitleStr_set); | |
20680 | SWIG_Python_SetConstant(d, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT))); | |
20681 | SWIG_Python_SetConstant(d, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER))); | |
20682 | SWIG_Python_SetConstant(d, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT))); | |
20683 | SWIG_Python_SetConstant(d, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM))); | |
20684 | SWIG_Python_SetConstant(d, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP))); | |
20685 | SWIG_Python_SetConstant(d, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND))); | |
20686 | SWIG_Python_SetConstant(d, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND))); | |
20687 | SWIG_Python_SetConstant(d, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS))); | |
20688 | SWIG_Python_SetConstant(d, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT))); | |
20689 | SWIG_Python_SetConstant(d, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT))); | |
20690 | SWIG_Python_SetConstant(d, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT))); | |
20691 | SWIG_Python_SetConstant(d, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP))); | |
20692 | SWIG_Python_SetConstant(d, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM))); | |
20693 | SWIG_Python_SetConstant(d, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL))); | |
20694 | SWIG_Python_SetConstant(d, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL))); | |
20695 | SWIG_Python_SetConstant(d, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL))); | |
20696 | SWIG_Python_SetConstant(d, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR))); | |
20697 | SWIG_Python_SetConstant(d, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP))); | |
20698 | SWIG_Python_SetConstant(d, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER))); | |
0085ce49 RD |
20699 | SWIG_Python_SetConstant(d, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER))); |
20700 | SWIG_Python_SetConstant(d, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO))); | |
20701 | SWIG_Python_SetConstant(d, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION))); | |
20702 | SWIG_Python_SetConstant(d, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE))); | |
20703 | SWIG_Python_SetConstant(d, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN))); | |
20704 | SWIG_Python_SetConstant(d, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK))); | |
20705 | SWIG_Python_SetConstant(d, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT))); | |
20706 | SWIG_Python_SetConstant(d, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE))); | |
20707 | SWIG_Python_SetConstant(d, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE))); | |
20708 | SWIG_Python_SetConstant(d, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER))); | |
20709 | SWIG_Python_SetConstant(d, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT))); | |
20710 | SWIG_Python_SetConstant(d, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN))); | |
20711 | SWIG_Python_SetConstant(d, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING))); | |
20712 | SWIG_Python_SetConstant(d, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT))); | |
20713 | SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE))); | |
20714 | SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER))); | |
e9d6f3a4 RD |
20715 | SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default))); |
20716 | SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link))); | |
20717 | SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text))); | |
20718 | SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default))); | |
20719 | SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link))); | |
20720 | SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text))); | |
0085ce49 RD |
20721 | SWIG_Python_SetConstant(d, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD))); |
20722 | SWIG_Python_SetConstant(d, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN))); | |
20723 | SWIG_Python_SetConstant(d, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL))); | |
20724 | SWIG_Python_SetConstant(d, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR))); | |
20725 | SWIG_Python_SetConstant(d, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS))); | |
20726 | SWIG_Python_SetConstant(d, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX))); | |
20727 | SWIG_Python_SetConstant(d, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH))); | |
20728 | SWIG_Python_SetConstant(d, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS))); | |
20729 | SWIG_Python_SetConstant(d, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES))); | |
20730 | SWIG_Python_SetConstant(d, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT))); | |
20731 | SWIG_Python_SetConstant(d, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR))); | |
20732 | SWIG_Python_SetConstant(d, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS))); | |
20733 | SWIG_Python_SetConstant(d, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK))); | |
20734 | SWIG_Python_SetConstant(d, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER))); | |
20735 | SWIG_Python_SetConstant(d, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER))); | |
20736 | SWIG_Python_SetConstant(d, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE))); | |
20737 | SWIG_Python_SetConstant(d, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED))); | |
20738 | SWIG_Python_SetConstant(d, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG))); | |
20739 | SWIG_Python_SetConstant(d, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME))); | |
20740 | SWIG_Python_SetConstant(d, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL))); | |
20741 | SWIG_Python_SetConstant(d, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL))); | |
20742 | SWIG_Python_SetConstant(d, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK))); | |
20743 | SWIG_Python_SetConstant(d, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD))); | |
20744 | SWIG_Python_SetConstant(d, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE))); | |
20745 | SWIG_Python_SetConstant(d, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP))); | |
20746 | SWIG_Python_SetConstant(d, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN))); | |
20747 | SWIG_Python_SetConstant(d, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT))); | |
20748 | SWIG_Python_SetConstant(d, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE))); | |
20749 | SWIG_Python_SetConstant(d, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS))); | |
20750 | SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST))); | |
20751 | SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD))); | |
20752 | SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE))); | |
20753 | SWIG_Python_SetConstant(d, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL))); | |
20754 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE))); | |
20755 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST))); | |
20756 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT))); | |
20757 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON))); | |
20758 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL))); | |
20759 | SWIG_Python_SetConstant(d, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK))); | |
20760 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE))); | |
20761 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT))); | |
20762 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST))); | |
20763 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON))); | |
20764 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE))); | |
20765 | SWIG_Python_SetConstant(d, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO))); | |
8f514ab4 RD |
20766 | PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_CELL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_CLICKED)); |
20767 | PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_CELL_HOVER", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_HOVER)); | |
20768 | PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_LINK_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_LINK_CLICKED)); | |
0085ce49 RD |
20769 | |
20770 | wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); | |
20771 | wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler"); | |
20772 | wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow"); | |
20773 | wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter"); | |
20774 | ||
d14a1e28 RD |
20775 | } |
20776 |